@ukic/web-components 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. package/README.md +28 -0
  2. package/dist/cjs/core.cjs.js +1 -1
  3. package/dist/cjs/{helpers-a0a128bd.js → helpers-789082d4.js} +16 -37
  4. package/dist/cjs/helpers-789082d4.js.map +1 -0
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-alert.cjs.entry.js +63 -36
  10. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
  12. package/dist/cjs/ic-badge.cjs.entry.js +40 -16
  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.cjs.entry.js +3 -3
  16. package/dist/cjs/ic-button_3.cjs.entry.js +32 -7
  17. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-card-vertical.cjs.entry.js +6 -6
  19. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  21. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -6
  22. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-chip.cjs.entry.js +4 -4
  24. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  25. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  26. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  27. package/dist/cjs/ic-dialog.cjs.entry.js +3 -3
  28. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-divider.cjs.entry.js +2 -2
  30. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
  32. package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
  33. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  35. package/dist/cjs/ic-footer.cjs.entry.js +4 -4
  36. package/dist/cjs/ic-hero.cjs.entry.js +5 -5
  37. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  38. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +9 -9
  39. package/dist/cjs/ic-input-label_2.cjs.entry.js +8 -8
  40. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  41. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  42. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
  45. package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
  46. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-navigation-item.cjs.entry.js +12 -7
  48. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  50. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  51. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
  52. package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
  53. package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
  54. package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
  55. package/dist/cjs/ic-radio-option.cjs.entry.js +6 -6
  56. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
  58. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  59. package/dist/cjs/ic-select.cjs.entry.js +46 -49
  60. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
  62. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  64. package/dist/cjs/ic-skip-link.cjs.entry.js +10 -3
  65. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  67. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-step.cjs.entry.js +15 -15
  69. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  71. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  72. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  73. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  74. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  75. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  76. package/dist/cjs/ic-text-field.cjs.entry.js +7 -7
  77. package/dist/cjs/ic-theme.cjs.entry.js +4 -2
  78. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  80. package/dist/cjs/ic-toast.cjs.entry.js +4 -4
  81. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  82. package/dist/cjs/ic-toggle-button.cjs.entry.js +4 -4
  83. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
  85. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-typography.cjs.entry.js +4 -4
  87. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  88. package/dist/cjs/loader.cjs.js +1 -1
  89. package/dist/collection/components/ic-accordion/ic-accordion.css +3 -0
  90. package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +1 -0
  91. package/dist/collection/components/ic-alert/ic-alert.css +3 -1
  92. package/dist/collection/components/ic-alert/ic-alert.js +85 -50
  93. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  94. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
  95. package/dist/collection/components/ic-badge/ic-badge.js +39 -15
  96. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  97. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +2 -2
  98. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  99. package/dist/collection/components/ic-button/ic-button.css +18 -5
  100. package/dist/collection/components/ic-button/ic-button.stories.js +29 -52
  101. package/dist/collection/components/ic-card-vertical/ic-card-vertical.css +20 -4
  102. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
  103. package/dist/collection/components/ic-checkbox/ic-checkbox.css +3 -1
  104. package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
  105. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +3 -3
  106. package/dist/collection/components/ic-chip/ic-chip.js +3 -3
  107. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -2
  108. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  109. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  110. package/dist/collection/components/ic-dialog/ic-dialog.css +2 -1
  111. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  112. package/dist/collection/components/ic-divider/ic-divider.css +7 -4
  113. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  114. package/dist/collection/components/ic-footer/ic-footer.js +3 -3
  115. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  116. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +0 -3
  117. package/dist/collection/components/ic-hero/ic-hero.js +4 -4
  118. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  119. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  120. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  121. package/dist/collection/components/ic-input-label/ic-input-label.js +4 -4
  122. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  123. package/dist/collection/components/ic-link/ic-link.js +1 -1
  124. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +3 -3
  125. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  126. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  127. package/dist/collection/components/ic-menu-item/ic-menu-item.css +2 -0
  128. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
  129. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -4
  130. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  131. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +20 -1
  132. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +11 -6
  133. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  134. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  135. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  136. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  137. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  138. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
  139. package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
  140. package/dist/collection/components/ic-radio-option/ic-radio-option.css +2 -1
  141. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  142. package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
  143. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  144. package/dist/collection/components/ic-select/ic-select.js +45 -48
  145. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  146. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +2 -1
  147. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  148. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  149. package/dist/collection/components/ic-skip-link/ic-skip-link.js +31 -3
  150. package/dist/collection/components/ic-skip-link/ic-skip-link.js.map +1 -1
  151. package/dist/collection/components/ic-status-tag/ic-status-tag.css +6 -0
  152. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  153. package/dist/collection/components/ic-step/ic-step.css +0 -3
  154. package/dist/collection/components/ic-step/ic-step.js +13 -13
  155. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  156. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  157. package/dist/collection/components/ic-tab/ic-tab.js +2 -2
  158. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  159. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  160. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  161. package/dist/collection/components/ic-text-field/ic-text-field.js +6 -6
  162. package/dist/collection/components/ic-theme/ic-theme.js +31 -3
  163. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  164. package/dist/collection/components/ic-toast/ic-toast.js +3 -3
  165. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  166. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +6 -8
  167. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  168. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  169. package/dist/collection/components/ic-tooltip/ic-tooltip.js +32 -2
  170. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  171. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +3 -1
  172. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
  173. package/dist/collection/components/ic-typography/ic-typography.css +2 -2
  174. package/dist/collection/components/ic-typography/ic-typography.js +2 -2
  175. package/dist/collection/utils/helpers.js +15 -36
  176. package/dist/collection/utils/helpers.js.map +1 -1
  177. package/dist/collection/utils/types.js.map +1 -1
  178. package/dist/components/helpers.js +16 -37
  179. package/dist/components/helpers.js.map +1 -1
  180. package/dist/components/ic-accordion-group.js.map +1 -1
  181. package/dist/components/ic-accordion.js.map +1 -1
  182. package/dist/components/ic-alert.js +66 -37
  183. package/dist/components/ic-alert.js.map +1 -1
  184. package/dist/components/ic-back-to-top.js +3 -3
  185. package/dist/components/ic-badge.js +39 -15
  186. package/dist/components/ic-badge.js.map +1 -1
  187. package/dist/components/ic-breadcrumb-group.js +2 -2
  188. package/dist/components/ic-breadcrumb2.js +2 -2
  189. package/dist/components/ic-button2.js +1 -1
  190. package/dist/components/ic-button2.js.map +1 -1
  191. package/dist/components/ic-card-vertical.js +5 -5
  192. package/dist/components/ic-card-vertical.js.map +1 -1
  193. package/dist/components/ic-checkbox-group.js +4 -4
  194. package/dist/components/ic-checkbox.js +6 -6
  195. package/dist/components/ic-checkbox.js.map +1 -1
  196. package/dist/components/ic-chip.js +3 -3
  197. package/dist/components/ic-classification-banner.js +2 -2
  198. package/dist/components/ic-data-list.js +2 -2
  199. package/dist/components/ic-data-row.js +3 -3
  200. package/dist/components/ic-dialog.js +2 -2
  201. package/dist/components/ic-dialog.js.map +1 -1
  202. package/dist/components/ic-divider2.js +2 -2
  203. package/dist/components/ic-divider2.js.map +1 -1
  204. package/dist/components/ic-empty-state.js +2 -2
  205. package/dist/components/ic-footer-link-group.js +1 -1
  206. package/dist/components/ic-footer-link-group.js.map +1 -1
  207. package/dist/components/ic-footer-link.js +2 -2
  208. package/dist/components/ic-footer.js +4 -4
  209. package/dist/components/ic-hero.js +5 -5
  210. package/dist/components/ic-horizontal-scroll2.js +6 -6
  211. package/dist/components/ic-input-component-container2.js +4 -4
  212. package/dist/components/ic-input-container2.js +2 -2
  213. package/dist/components/ic-input-label2.js +5 -5
  214. package/dist/components/ic-input-validation2.js +4 -4
  215. package/dist/components/ic-link2.js +1 -1
  216. package/dist/components/ic-loading-indicator2.js +3 -3
  217. package/dist/components/ic-menu-group.js +1 -1
  218. package/dist/components/ic-menu-item2.js.map +1 -1
  219. package/dist/components/ic-menu2.js +4 -4
  220. package/dist/components/ic-navigation-button.js +2 -2
  221. package/dist/components/ic-navigation-group.js +3 -3
  222. package/dist/components/ic-navigation-group.js.map +1 -1
  223. package/dist/components/ic-navigation-item.js +12 -7
  224. package/dist/components/ic-navigation-item.js.map +1 -1
  225. package/dist/components/ic-navigation-menu2.js +5 -5
  226. package/dist/components/ic-page-header.js +6 -6
  227. package/dist/components/ic-pagination-item2.js +2 -2
  228. package/dist/components/ic-pagination.js +4 -4
  229. package/dist/components/ic-popover-menu.js +4 -4
  230. package/dist/components/ic-popover-menu.js.map +1 -1
  231. package/dist/components/ic-radio-group.js +5 -5
  232. package/dist/components/ic-radio-option.js +6 -6
  233. package/dist/components/ic-radio-option.js.map +1 -1
  234. package/dist/components/ic-search-bar.js +10 -10
  235. package/dist/components/ic-section-container2.js +2 -2
  236. package/dist/components/ic-select.js +46 -49
  237. package/dist/components/ic-select.js.map +1 -1
  238. package/dist/components/ic-side-navigation.js +5 -5
  239. package/dist/components/ic-side-navigation.js.map +1 -1
  240. package/dist/components/ic-skeleton.js +2 -2
  241. package/dist/components/ic-skip-link.js +12 -4
  242. package/dist/components/ic-skip-link.js.map +1 -1
  243. package/dist/components/ic-status-tag.js +2 -2
  244. package/dist/components/ic-status-tag.js.map +1 -1
  245. package/dist/components/ic-step.js +14 -14
  246. package/dist/components/ic-step.js.map +1 -1
  247. package/dist/components/ic-stepper.js +3 -3
  248. package/dist/components/ic-switch.js +5 -5
  249. package/dist/components/ic-tab-context.js +1 -1
  250. package/dist/components/ic-tab-group.js +2 -2
  251. package/dist/components/ic-tab-panel.js +2 -2
  252. package/dist/components/ic-tab-panel.js.map +1 -1
  253. package/dist/components/ic-tab.js +2 -2
  254. package/dist/components/ic-text-field.js +7 -7
  255. package/dist/components/ic-theme.js +3 -1
  256. package/dist/components/ic-theme.js.map +1 -1
  257. package/dist/components/ic-toast-region.js +1 -1
  258. package/dist/components/ic-toast.js +4 -4
  259. package/dist/components/ic-toggle-button-group.js +2 -2
  260. package/dist/components/ic-toggle-button.js +3 -3
  261. package/dist/components/ic-toggle-button.js.map +1 -1
  262. package/dist/components/ic-tooltip2.js +30 -2
  263. package/dist/components/ic-tooltip2.js.map +1 -1
  264. package/dist/components/ic-top-navigation.js +5 -5
  265. package/dist/components/ic-top-navigation.js.map +1 -1
  266. package/dist/components/ic-typography2.js +3 -3
  267. package/dist/components/ic-typography2.js.map +1 -1
  268. package/dist/core/core.css +1 -1
  269. package/dist/core/core.esm.js +1 -1
  270. package/dist/core/core.esm.js.map +1 -1
  271. package/dist/core/{p-c9726fbd.entry.js → p-005cd8a8.entry.js} +2 -2
  272. package/dist/core/p-005cd8a8.entry.js.map +1 -0
  273. package/dist/core/p-0631c3ab.entry.js +2 -0
  274. package/dist/core/p-0631c3ab.entry.js.map +1 -0
  275. package/dist/core/{p-5e1fd097.entry.js → p-0a8b3967.entry.js} +2 -2
  276. package/dist/core/{p-f43f411a.entry.js → p-0b4350df.entry.js} +2 -2
  277. package/dist/core/p-0e618fc5.entry.js +2 -0
  278. package/dist/core/{p-811d447b.entry.js.map → p-0e618fc5.entry.js.map} +1 -1
  279. package/dist/core/p-18ecba80.entry.js +2 -0
  280. package/dist/core/{p-a794b724.entry.js.map → p-18ecba80.entry.js.map} +1 -1
  281. package/dist/core/{p-f34efc17.entry.js → p-1e4cdd2d.entry.js} +2 -2
  282. package/dist/core/{p-a71055c9.entry.js → p-23d059ff.entry.js} +2 -2
  283. package/dist/core/{p-071f4748.entry.js → p-23ed8b99.entry.js} +2 -2
  284. package/dist/core/{p-ed8957da.js → p-281ce313.js} +2 -2
  285. package/dist/core/p-281ce313.js.map +1 -0
  286. package/dist/core/{p-49768069.entry.js → p-30abe545.entry.js} +2 -2
  287. package/dist/core/p-3132270d.entry.js +2 -0
  288. package/dist/core/p-3132270d.entry.js.map +1 -0
  289. package/dist/core/{p-1ac08e6d.entry.js → p-33c86ba6.entry.js} +2 -2
  290. package/dist/core/p-3675c4b4.entry.js +2 -0
  291. package/dist/core/p-3675c4b4.entry.js.map +1 -0
  292. package/dist/core/{p-a20a7cd3.entry.js → p-3b5d3e24.entry.js} +2 -2
  293. package/dist/core/{p-972671ea.entry.js → p-3eb7ef1d.entry.js} +2 -2
  294. package/dist/core/{p-110486f0.entry.js → p-40f2f58e.entry.js} +2 -2
  295. package/dist/core/p-4245a976.entry.js +2 -0
  296. package/dist/core/p-4245a976.entry.js.map +1 -0
  297. package/dist/core/{p-264ce7a0.entry.js → p-44e4e8c1.entry.js} +2 -2
  298. package/dist/core/p-44e4e8c1.entry.js.map +1 -0
  299. package/dist/core/{p-5c349c9d.entry.js → p-45432bf5.entry.js} +2 -2
  300. package/dist/core/p-45432bf5.entry.js.map +1 -0
  301. package/dist/core/p-4b601e06.entry.js +2 -0
  302. package/dist/core/p-4b601e06.entry.js.map +1 -0
  303. package/dist/core/{p-fa02a267.entry.js → p-4b6818d9.entry.js} +2 -2
  304. package/dist/core/p-517d7afb.entry.js +2 -0
  305. package/dist/core/p-517d7afb.entry.js.map +1 -0
  306. package/dist/core/{p-a103068b.entry.js → p-5206a978.entry.js} +2 -2
  307. package/dist/core/p-5d4b0480.entry.js +2 -0
  308. package/dist/core/p-5d4b0480.entry.js.map +1 -0
  309. package/dist/core/{p-1f455336.entry.js → p-5e18b899.entry.js} +2 -2
  310. package/dist/core/{p-0e96d4d8.entry.js → p-6337fe1f.entry.js} +2 -2
  311. package/dist/core/p-6337fe1f.entry.js.map +1 -0
  312. package/dist/core/p-63fe83ad.entry.js +2 -0
  313. package/dist/core/p-63fe83ad.entry.js.map +1 -0
  314. package/dist/core/{p-7e79bd0e.entry.js → p-6de6b6b7.entry.js} +2 -2
  315. package/dist/core/p-70700c7a.entry.js +2 -0
  316. package/dist/core/{p-20c4d90b.entry.js → p-7a0d238b.entry.js} +2 -2
  317. package/dist/core/{p-10cd26dc.entry.js → p-7afc71d0.entry.js} +2 -2
  318. package/dist/core/{p-10cd26dc.entry.js.map → p-7afc71d0.entry.js.map} +1 -1
  319. package/dist/core/{p-69e4daec.entry.js → p-7c0914e7.entry.js} +2 -2
  320. package/dist/core/{p-0d016565.entry.js → p-7dfe0284.entry.js} +2 -2
  321. package/dist/core/p-81a12e36.entry.js +2 -0
  322. package/dist/core/p-81a12e36.entry.js.map +1 -0
  323. package/dist/core/p-88924aef.entry.js +2 -0
  324. package/dist/core/p-88924aef.entry.js.map +1 -0
  325. package/dist/core/p-8ba129fc.entry.js +2 -0
  326. package/dist/core/p-8ba129fc.entry.js.map +1 -0
  327. package/dist/core/{p-85734ebf.entry.js → p-950db960.entry.js} +2 -2
  328. package/dist/core/p-950db960.entry.js.map +1 -0
  329. package/dist/core/{p-44e32417.entry.js → p-959a9cdf.entry.js} +2 -2
  330. package/dist/core/p-9ea9a4ce.entry.js +2 -0
  331. package/dist/core/p-9ea9a4ce.entry.js.map +1 -0
  332. package/dist/core/p-a9c96e3e.entry.js +2 -0
  333. package/dist/core/p-a9c96e3e.entry.js.map +1 -0
  334. package/dist/core/{p-74600ed8.entry.js → p-abaea607.entry.js} +2 -2
  335. package/dist/core/{p-85b7d931.entry.js → p-ac7db165.entry.js} +2 -2
  336. package/dist/core/p-ac7db165.entry.js.map +1 -0
  337. package/dist/core/p-acebb05c.entry.js +2 -0
  338. package/dist/core/p-acebb05c.entry.js.map +1 -0
  339. package/dist/core/{p-37df68fe.entry.js → p-b3ac38c5.entry.js} +2 -2
  340. package/dist/core/{p-17cf7b50.entry.js → p-b3d6d5be.entry.js} +2 -2
  341. package/dist/core/{p-729745d3.entry.js → p-bbe5596b.entry.js} +2 -2
  342. package/dist/core/p-c04f36c5.entry.js +2 -0
  343. package/dist/core/{p-4f2a1950.entry.js → p-c2ca6274.entry.js} +2 -2
  344. package/dist/core/p-c62318a8.entry.js +2 -0
  345. package/dist/core/{p-2537f33e.entry.js.map → p-c62318a8.entry.js.map} +1 -1
  346. package/dist/core/{p-701696aa.entry.js → p-de43d375.entry.js} +2 -2
  347. package/dist/core/{p-2b1a331b.entry.js → p-e2f893f0.entry.js} +2 -2
  348. package/dist/core/{p-d9aec0dd.entry.js → p-e56d0db2.entry.js} +2 -2
  349. package/dist/core/{p-33243fff.entry.js → p-e586ae7b.entry.js} +2 -2
  350. package/dist/core/{p-45595f98.entry.js → p-ef09b450.entry.js} +2 -2
  351. package/dist/core/p-ef09b450.entry.js.map +1 -0
  352. package/dist/core/{p-50f4d151.entry.js → p-f34eee68.entry.js} +2 -2
  353. package/dist/core/{p-8b268274.entry.js → p-f3c72ffb.entry.js} +2 -2
  354. package/dist/core/{p-8856dff4.entry.js → p-f815f8c9.entry.js} +2 -2
  355. package/dist/core/{p-a55e7988.entry.js → p-fbde763c.entry.js} +2 -2
  356. package/dist/core/p-fc50d582.entry.js +2 -0
  357. package/dist/core/p-fc50d582.entry.js.map +1 -0
  358. package/dist/core/{p-78e7a859.entry.js → p-fe833509.entry.js} +2 -2
  359. package/dist/esm/core.js +1 -1
  360. package/dist/esm/{helpers-dd035d0d.js → helpers-46a2d1fd.js} +17 -38
  361. package/dist/esm/helpers-46a2d1fd.js.map +1 -0
  362. package/dist/esm/ic-accordion-group.entry.js +1 -1
  363. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  364. package/dist/esm/ic-accordion.entry.js +1 -1
  365. package/dist/esm/ic-accordion.entry.js.map +1 -1
  366. package/dist/esm/ic-alert.entry.js +63 -36
  367. package/dist/esm/ic-alert.entry.js.map +1 -1
  368. package/dist/esm/ic-back-to-top.entry.js +4 -4
  369. package/dist/esm/ic-badge.entry.js +40 -16
  370. package/dist/esm/ic-badge.entry.js.map +1 -1
  371. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  372. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  373. package/dist/esm/ic-button_3.entry.js +32 -7
  374. package/dist/esm/ic-button_3.entry.js.map +1 -1
  375. package/dist/esm/ic-card-vertical.entry.js +6 -6
  376. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  377. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  378. package/dist/esm/ic-checkbox.entry.js +6 -6
  379. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  380. package/dist/esm/ic-chip.entry.js +4 -4
  381. package/dist/esm/ic-classification-banner.entry.js +2 -2
  382. package/dist/esm/ic-data-list.entry.js +2 -2
  383. package/dist/esm/ic-data-row.entry.js +3 -3
  384. package/dist/esm/ic-dialog.entry.js +3 -3
  385. package/dist/esm/ic-dialog.entry.js.map +1 -1
  386. package/dist/esm/ic-divider.entry.js +2 -2
  387. package/dist/esm/ic-divider.entry.js.map +1 -1
  388. package/dist/esm/ic-empty-state.entry.js +3 -3
  389. package/dist/esm/ic-footer-link-group.entry.js +2 -2
  390. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  391. package/dist/esm/ic-footer-link.entry.js +3 -3
  392. package/dist/esm/ic-footer.entry.js +4 -4
  393. package/dist/esm/ic-hero.entry.js +5 -5
  394. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  395. package/dist/esm/ic-input-component-container_3.entry.js +9 -9
  396. package/dist/esm/ic-input-label_2.entry.js +8 -8
  397. package/dist/esm/ic-link.entry.js +2 -2
  398. package/dist/esm/ic-menu-group.entry.js +2 -2
  399. package/dist/esm/ic-menu-item.entry.js +1 -1
  400. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  401. package/dist/esm/ic-navigation-button.entry.js +3 -3
  402. package/dist/esm/ic-navigation-group.entry.js +3 -3
  403. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  404. package/dist/esm/ic-navigation-item.entry.js +12 -7
  405. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  406. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  407. package/dist/esm/ic-page-header.entry.js +7 -7
  408. package/dist/esm/ic-pagination-item.entry.js +2 -2
  409. package/dist/esm/ic-pagination.entry.js +5 -5
  410. package/dist/esm/ic-popover-menu.entry.js +5 -5
  411. package/dist/esm/ic-radio-group.entry.js +5 -5
  412. package/dist/esm/ic-radio-option.entry.js +6 -6
  413. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  414. package/dist/esm/ic-search-bar.entry.js +10 -10
  415. package/dist/esm/ic-section-container.entry.js +2 -2
  416. package/dist/esm/ic-select.entry.js +46 -49
  417. package/dist/esm/ic-select.entry.js.map +1 -1
  418. package/dist/esm/ic-side-navigation.entry.js +5 -5
  419. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  420. package/dist/esm/ic-skeleton.entry.js +2 -2
  421. package/dist/esm/ic-skip-link.entry.js +10 -3
  422. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  423. package/dist/esm/ic-status-tag.entry.js +3 -3
  424. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  425. package/dist/esm/ic-step.entry.js +15 -15
  426. package/dist/esm/ic-step.entry.js.map +1 -1
  427. package/dist/esm/ic-stepper.entry.js +3 -3
  428. package/dist/esm/ic-switch.entry.js +5 -5
  429. package/dist/esm/ic-tab-context.entry.js +1 -1
  430. package/dist/esm/ic-tab-group.entry.js +3 -3
  431. package/dist/esm/ic-tab-panel.entry.js +2 -2
  432. package/dist/esm/ic-tab.entry.js +3 -3
  433. package/dist/esm/ic-text-field.entry.js +7 -7
  434. package/dist/esm/ic-theme.entry.js +4 -2
  435. package/dist/esm/ic-theme.entry.js.map +1 -1
  436. package/dist/esm/ic-toast-region.entry.js +1 -1
  437. package/dist/esm/ic-toast.entry.js +4 -4
  438. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  439. package/dist/esm/ic-toggle-button.entry.js +4 -4
  440. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  441. package/dist/esm/ic-top-navigation.entry.js +5 -5
  442. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  443. package/dist/esm/ic-typography.entry.js +4 -4
  444. package/dist/esm/ic-typography.entry.js.map +1 -1
  445. package/dist/esm/loader.js +1 -1
  446. package/dist/types/components/ic-alert/ic-alert.d.ts +17 -9
  447. package/dist/types/components/ic-badge/ic-badge.d.ts +4 -0
  448. package/dist/types/components/ic-select/ic-select.d.ts +1 -0
  449. package/dist/types/components/ic-skip-link/ic-skip-link.d.ts +5 -0
  450. package/dist/types/components/ic-theme/ic-theme.d.ts +6 -2
  451. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +3 -0
  452. package/dist/types/components.d.ts +20 -11
  453. package/dist/types/utils/helpers.d.ts +5 -1
  454. package/dist/types/utils/types.d.ts +1 -0
  455. package/hydrate/index.js +385 -318
  456. package/hydrate/index.mjs +385 -318
  457. package/package.json +3 -3
  458. package/dist/cjs/helpers-a0a128bd.js.map +0 -1
  459. package/dist/core/p-06d97789.entry.js +0 -2
  460. package/dist/core/p-06d97789.entry.js.map +0 -1
  461. package/dist/core/p-09070f61.entry.js +0 -2
  462. package/dist/core/p-0c0ac69d.entry.js +0 -2
  463. package/dist/core/p-0c0ac69d.entry.js.map +0 -1
  464. package/dist/core/p-0e96d4d8.entry.js.map +0 -1
  465. package/dist/core/p-116ad73d.entry.js +0 -2
  466. package/dist/core/p-116ad73d.entry.js.map +0 -1
  467. package/dist/core/p-1171a945.entry.js +0 -2
  468. package/dist/core/p-1171a945.entry.js.map +0 -1
  469. package/dist/core/p-2537f33e.entry.js +0 -2
  470. package/dist/core/p-264ce7a0.entry.js.map +0 -1
  471. package/dist/core/p-28656111.entry.js +0 -2
  472. package/dist/core/p-28656111.entry.js.map +0 -1
  473. package/dist/core/p-45595f98.entry.js.map +0 -1
  474. package/dist/core/p-4c68494c.entry.js +0 -2
  475. package/dist/core/p-4c68494c.entry.js.map +0 -1
  476. package/dist/core/p-55a37101.entry.js +0 -2
  477. package/dist/core/p-55a37101.entry.js.map +0 -1
  478. package/dist/core/p-5c349c9d.entry.js.map +0 -1
  479. package/dist/core/p-73fc198f.entry.js +0 -2
  480. package/dist/core/p-73fc198f.entry.js.map +0 -1
  481. package/dist/core/p-7eaf8da8.entry.js +0 -2
  482. package/dist/core/p-811d447b.entry.js +0 -2
  483. package/dist/core/p-85734ebf.entry.js.map +0 -1
  484. package/dist/core/p-85b7d931.entry.js.map +0 -1
  485. package/dist/core/p-98328cb9.entry.js +0 -2
  486. package/dist/core/p-98328cb9.entry.js.map +0 -1
  487. package/dist/core/p-a22658fb.entry.js +0 -2
  488. package/dist/core/p-a22658fb.entry.js.map +0 -1
  489. package/dist/core/p-a794b724.entry.js +0 -2
  490. package/dist/core/p-b21b4fea.entry.js +0 -2
  491. package/dist/core/p-b21b4fea.entry.js.map +0 -1
  492. package/dist/core/p-b953b22f.entry.js +0 -2
  493. package/dist/core/p-b953b22f.entry.js.map +0 -1
  494. package/dist/core/p-c9726fbd.entry.js.map +0 -1
  495. package/dist/core/p-d981598e.entry.js +0 -2
  496. package/dist/core/p-d981598e.entry.js.map +0 -1
  497. package/dist/core/p-ed8957da.js.map +0 -1
  498. package/dist/core/p-f3315216.entry.js +0 -2
  499. package/dist/core/p-f3315216.entry.js.map +0 -1
  500. package/dist/core/p-ff995eb8.entry.js +0 -2
  501. package/dist/core/p-ff995eb8.entry.js.map +0 -1
  502. package/dist/esm/helpers-dd035d0d.js.map +0 -1
  503. /package/dist/core/{p-5e1fd097.entry.js.map → p-0a8b3967.entry.js.map} +0 -0
  504. /package/dist/core/{p-f43f411a.entry.js.map → p-0b4350df.entry.js.map} +0 -0
  505. /package/dist/core/{p-f34efc17.entry.js.map → p-1e4cdd2d.entry.js.map} +0 -0
  506. /package/dist/core/{p-a71055c9.entry.js.map → p-23d059ff.entry.js.map} +0 -0
  507. /package/dist/core/{p-071f4748.entry.js.map → p-23ed8b99.entry.js.map} +0 -0
  508. /package/dist/core/{p-49768069.entry.js.map → p-30abe545.entry.js.map} +0 -0
  509. /package/dist/core/{p-1ac08e6d.entry.js.map → p-33c86ba6.entry.js.map} +0 -0
  510. /package/dist/core/{p-a20a7cd3.entry.js.map → p-3b5d3e24.entry.js.map} +0 -0
  511. /package/dist/core/{p-972671ea.entry.js.map → p-3eb7ef1d.entry.js.map} +0 -0
  512. /package/dist/core/{p-110486f0.entry.js.map → p-40f2f58e.entry.js.map} +0 -0
  513. /package/dist/core/{p-fa02a267.entry.js.map → p-4b6818d9.entry.js.map} +0 -0
  514. /package/dist/core/{p-a103068b.entry.js.map → p-5206a978.entry.js.map} +0 -0
  515. /package/dist/core/{p-1f455336.entry.js.map → p-5e18b899.entry.js.map} +0 -0
  516. /package/dist/core/{p-7e79bd0e.entry.js.map → p-6de6b6b7.entry.js.map} +0 -0
  517. /package/dist/core/{p-09070f61.entry.js.map → p-70700c7a.entry.js.map} +0 -0
  518. /package/dist/core/{p-20c4d90b.entry.js.map → p-7a0d238b.entry.js.map} +0 -0
  519. /package/dist/core/{p-69e4daec.entry.js.map → p-7c0914e7.entry.js.map} +0 -0
  520. /package/dist/core/{p-0d016565.entry.js.map → p-7dfe0284.entry.js.map} +0 -0
  521. /package/dist/core/{p-44e32417.entry.js.map → p-959a9cdf.entry.js.map} +0 -0
  522. /package/dist/core/{p-74600ed8.entry.js.map → p-abaea607.entry.js.map} +0 -0
  523. /package/dist/core/{p-37df68fe.entry.js.map → p-b3ac38c5.entry.js.map} +0 -0
  524. /package/dist/core/{p-17cf7b50.entry.js.map → p-b3d6d5be.entry.js.map} +0 -0
  525. /package/dist/core/{p-729745d3.entry.js.map → p-bbe5596b.entry.js.map} +0 -0
  526. /package/dist/core/{p-7eaf8da8.entry.js.map → p-c04f36c5.entry.js.map} +0 -0
  527. /package/dist/core/{p-4f2a1950.entry.js.map → p-c2ca6274.entry.js.map} +0 -0
  528. /package/dist/core/{p-701696aa.entry.js.map → p-de43d375.entry.js.map} +0 -0
  529. /package/dist/core/{p-2b1a331b.entry.js.map → p-e2f893f0.entry.js.map} +0 -0
  530. /package/dist/core/{p-d9aec0dd.entry.js.map → p-e56d0db2.entry.js.map} +0 -0
  531. /package/dist/core/{p-33243fff.entry.js.map → p-e586ae7b.entry.js.map} +0 -0
  532. /package/dist/core/{p-50f4d151.entry.js.map → p-f34eee68.entry.js.map} +0 -0
  533. /package/dist/core/{p-8b268274.entry.js.map → p-f3c72ffb.entry.js.map} +0 -0
  534. /package/dist/core/{p-8856dff4.entry.js.map → p-f815f8c9.entry.js.map} +0 -0
  535. /package/dist/core/{p-a55e7988.entry.js.map → p-fbde763c.entry.js.map} +0 -0
  536. /package/dist/core/{p-78e7a859.entry.js.map → p-fe833509.entry.js.map} +0 -0
@@ -33,12 +33,12 @@ export class StatusTag {
33
33
  }
34
34
  render() {
35
35
  const { label, status, variant, size, announced, theme, uppercase } = this;
36
- return (h(Host, { key: '2ac2523a20a7520be1219cb32374b08a9bb6db57', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: '9098c32e9038dc2eb76ca5425537f0f9e5dc3947', class: {
36
+ return (h(Host, { key: '05da4b9dad7f0b5201de00ca980fa718fe35d5e7', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: '2127b5788fbc664f0d85fa93416992cf3401df2c', class: {
37
37
  ["tag"]: true,
38
38
  [`${variant}-${status}`]: true,
39
39
  ["outlined"]: variant === "outlined",
40
40
  [`${size}`]: true,
41
- } }, h("ic-typography", { key: 'e54d4ef968acc6ccfa85fca33cb6c76b62c2ce51', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: '5dae654cf0367927bb3a89fb075dd2b467f66dcf' }, label)))));
41
+ } }, h("ic-typography", { key: '9ebf0f3e09cf60c0bf70e10bb50b07f314550f9b', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: '4901eb5f043ab616995b4af00dab982f3429d57a' }, label)))));
42
42
  }
43
43
  static get is() { return "ic-status-tag"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -141,9 +141,6 @@
141
141
 
142
142
  :host(.ic-step-default) .step-icon {
143
143
  border-radius: 50%;
144
- }
145
-
146
- :host(.ic-step-default) .step-icon {
147
144
  background-color: var(--ic-step-number-inactive);
148
145
  }
149
146
 
@@ -57,29 +57,29 @@ export class Step {
57
57
  // STATUS ICON FOR COMPACT STEP
58
58
  let statusIcon;
59
59
  if (this.type === "completed" || this.compactStepStyling === "completed") {
60
- statusIcon = (h("span", { key: '037cdd093417bdeff6f9de2795a2c0a29e23db63', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
60
+ statusIcon = (h("span", { key: '1f427dac76b7c702380db8e1357ae397d54af00c', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
61
61
  }
62
62
  else if (this.type === "disabled" ||
63
63
  this.compactStepStyling === "disabled") {
64
- statusIcon = (h("span", { key: '115e2d476464fb4b4c48516e6cfc108928e6ebdc', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
64
+ statusIcon = (h("span", { key: '21a771d7bff59a75347c14cdb4116578d7b79f59', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
65
65
  }
66
66
  // COMPACT STEP COMPONENT
67
- const compactStep = (h("div", { key: 'ff799c9a5ac470cd917ecf47896c07d3e8ad6a55', class: {
67
+ const compactStep = (h("div", { key: 'f868a8e639267dbb0cd161de1599f6b3bf3d8760', class: {
68
68
  ["step"]: true,
69
69
  ["current"]: !!this.current,
70
70
  [`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
71
71
  ["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
72
- } }, h("ic-loading-indicator", { key: 'd96083b68c5bd6c34adb1062ab508adf2f3274c0', class: {
72
+ } }, h("ic-loading-indicator", { key: '2eed845c114493edd44643010a9e88ffaf565348', class: {
73
73
  "compact-step-progress-indicator": true,
74
74
  "not-required": this.type === "disabled" ||
75
75
  this.compactStepStyling === "disabled",
76
- }, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { key: '1f6b95b5b99ab252f68e3501f6909b9b8240546b', class: "heading-area" }, h("ic-typography", { key: '8de4cab1512b2406d9d6e38a34026dd786727c56', variant: "h4", class: "heading" }, this.heading), h("div", { key: 'f0aac2d40c6d7c75dba1a8ea061fe70fde1684f8', class: "info-line" }, h("ic-typography", { key: 'd7802839d057c38f72319063302e0f556b4b8799', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, h("span", { key: 'b1f8716701f30af917c056dea0b77b23cbb86a09', class: "visually-hidden" }, " steps")), (this.subheading ||
76
+ }, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { key: '6554399f3dd141e54a48a943e02a4a322e762812', class: "heading-area" }, h("ic-typography", { key: 'a9c8228de33980926374dff5cb37aee8bae1701e', variant: "h4", class: "heading" }, this.heading), h("div", { key: '78613aa18d9e4fb26c94513901510a5f45d948a5', class: "info-line" }, h("ic-typography", { key: '9d786cc1a59083003b592decf4d6b8606cf2355c', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, h("span", { key: 'db88aecec5664dc35751a6df96772f184f521a9b', class: "visually-hidden" }, " steps")), (this.subheading ||
77
77
  this.type === "completed" ||
78
78
  this.type === "disabled" ||
79
79
  (this.variant === "compact" &&
80
80
  !!this.compactStepStyling &&
81
81
  this.compactStepStyling !== "active") ||
82
- !!this.status) && (h("div", { key: '230dc72e7a579193f8cf1a8552d1ef5749b1d04c', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (h("ic-typography", { key: '4a089ec12dc7e4f77d3469e08e4ef77b3d3144a3', variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
82
+ !!this.status) && (h("div", { key: '40088862f2851ba8ce6847eed204e30eadbf492e', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (h("ic-typography", { key: 'ec4817f24ad5ca76e23a1a514377a6955866c767', variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
83
83
  ? this.subheading
84
84
  : this.type === "disabled" ||
85
85
  (this.variant === "compact" &&
@@ -92,26 +92,26 @@ export class Step {
92
92
  // ICON FOR DEFAULT STEP
93
93
  let icon;
94
94
  if (this.type !== "completed") {
95
- icon = (h("ic-typography", { key: '74584e3b8e9d2d3554723b3b7f23ca9fd2637800', variant: "subtitle-small" }, h("span", { key: '60a00009b73f622ff0d040d09d9b569b28be9cde', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
95
+ icon = (h("ic-typography", { key: '7c3761c9d24ff5dfe8c964854a48ff252b1e9fd9', variant: "subtitle-small" }, h("span", { key: '6c8f4f3a50672c2488f8a315710873ef6c52786e', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
96
96
  }
97
97
  else {
98
- icon = (h("div", { key: 'fae4dd9d0eab63264e9aed6e7b659da9d3ff511e', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: '7f83174116e62e676940ca9ec23561250803d15f', class: "check-icon", innerHTML: checkIcon })));
98
+ icon = (h("div", { key: 'b1c4ef50a261eb03fc59c163b81b066da552bc9e', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: '1c6f70f13630721dc346fd060ef5762db64d0060', class: "check-icon", innerHTML: checkIcon })));
99
99
  }
100
100
  // STEP CONNECT FOR DEFAULT STEP
101
- const partialBar = this.type === "current" && (h("div", { key: 'eb8b63c2d0af8d883c09a56b8d3c47afac3e5f81', class: "step-connect-inner" }));
102
- const finalStep = !this.lastStep && (h("div", { key: 'cc6e694712782a11aeccc78a0a4f06f39fec3819', class: {
101
+ const partialBar = this.type === "current" && (h("div", { key: '0bd1f88968b4dade7e3ac0d59366d1617eefbf05', class: "step-connect-inner" }));
102
+ const finalStep = !this.lastStep && (h("div", { key: 'e5ba2386bb41b73ba403f4b25cb35490337f2438', class: {
103
103
  ["step-connect"]: true,
104
104
  ["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
105
105
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
106
106
  } }, partialBar));
107
107
  // DEFAULT STEP COMPONENT
108
- const defaultStep = (h("div", { key: '91c97641133852cc4a5f4d3b8d1cae4996789cc3', class: {
108
+ const defaultStep = (h("div", { key: '566b8850396d217c860d56cb888d7c2aef0c37f1', class: {
109
109
  ["step"]: true,
110
110
  [`${this.type}`]: true,
111
- } }, h("div", { key: '6ebf175f84536a4ab79e3a130e952b592ec9e965', class: "step-top" }, h("div", { key: '23f9b5a7cd4fb0908b7f65ea55c192ee3a2964de', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (h("div", { key: '7be8f0257f73a29c0ff6f6bf31830a40cb3fe81f', class: "heading-area" }, this.heading && (h("ic-typography", { key: 'fd775a67501c4bd5db9498fc8fa57404f2a51163', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (h("ic-typography", { key: '2a857f45ff18834e6199a56330e68d40b034afae', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
111
+ } }, h("div", { key: '186c7bef279eeb2946386575feeeced052f08138', class: "step-top" }, h("div", { key: '5d10ecf14bb246c027a5da06e8b20021ee2acc6c', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (h("div", { key: '040d206eb85fd8d92196e98c00b36d91a1df4abe', class: "heading-area" }, this.heading && (h("ic-typography", { key: 'f6dd0dcde3f9b6f7f1c6af2f70f9becd03755ed7', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (h("ic-typography", { key: 'cba0c001b4d95b8831eca60d15a915be72ffa137', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
112
112
  ? this.subheading
113
113
  : stepStatus))))));
114
- return (h(Host, { key: 'ad0c3301d762c11a2a2c78c3a25b4581dca348e9', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
114
+ return (h(Host, { key: 'd438a7069a17cac764091211852688fdad1fb91c', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
115
115
  ["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
116
116
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
117
117
  [`ic-step-${this.variant}`]: true,
@@ -241,11 +241,11 @@ export class Stepper {
241
241
  checkResizeObserver(this.runResizeObserver);
242
242
  }
243
243
  render() {
244
- return (h(Host, { key: '6184a1c30e7030f1e364eda2e56f3ead3c8c5e8f', class: {
244
+ return (h(Host, { key: 'a1d7a617e934f7802920dbdc4051dc3179780635', class: {
245
245
  [`ic-stepper-${this.variant}`]: true,
246
246
  ["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
247
247
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
248
- } }, h("ul", { key: 'b0cb92330e78579947ec33066858ee53ae2c1adb', class: "step-item-list" }, h("slot", { key: 'd797bf78df3340efc566de5e1f62f3ecf8245d49' }))));
248
+ } }, h("ul", { key: '1c3d2859f17c11c184378a910dd4afaa026be6f9', class: "step-item-list" }, h("slot", { key: '346c45c4f7292f9b9712cfd6cc7559daa5f69573' }))));
249
249
  }
250
250
  static get is() { return "ic-stepper"; }
251
251
  static get encapsulation() { return "shadow"; }
@@ -90,16 +90,16 @@ export class Switch {
90
90
  const { label, checkedState, size, disabled, name, value, hideLabel, helperText, inputId, theme, } = this;
91
91
  const isSmall = size === "small";
92
92
  renderHiddenInput(true, this.el, name, checkedState ? value : "", disabled);
93
- return (h(Host, { key: '4654ef1f6473fdea79fd053879fa7bbf1699418d', class: {
93
+ return (h(Host, { key: 'dc6214323bf2e4bbe8bb0330b0ee7923bc7aa1f5', class: {
94
94
  [`ic-theme-${theme}`]: theme !== "inherit",
95
- } }, h("label", { key: 'c6dca6f468eeb7c9e8151af1168fd8429c82d72b', class: {
95
+ } }, h("label", { key: '373c897b0d6bc5a18cdfffac069cb5f81f8a572d', class: {
96
96
  "ic-switch-container": true,
97
97
  "ic-switch-disabled": !!disabled,
98
98
  "ic-switch-small": isSmall,
99
- }, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: '5622227e775f787aac275619841e65c34209102a', for: inputId, label: label, helperText: helperText, readonly: true, disabled: disabled, class: {
99
+ }, htmlFor: inputId }, !hideLabel && (h("ic-input-label", { key: '6b84222939b9524c55f7f71365d1c98c0f2f09d4', for: inputId, label: label, helperText: helperText, readonly: true, disabled: disabled, class: {
100
100
  "ic-switch-label": true,
101
101
  "ic-switch-label-small": isSmall,
102
- } })), !hideLabel && h("span", { key: '74ec90ef32d23a02c7c6ceb7571e19d4c81091c8', class: "ic-switch-line-break" }), h("input", { key: 'f518a9a4db7eeb7ceafe5bb44c632ba6d3a9f64f', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), h("span", { key: '72c49eeeb4bf26416dba25a612757a172a896bf0', class: "ic-switch-toggle" }, h("svg", { key: '2b31b154fd70258f3386013e287d0e10e4e4e56c', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("line", { key: '61f089501da929a5bec439c9b6c7bf3cd1233b6f', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), h("svg", { key: '1ed62e82659c4c1a0a6935eb3805aa65a3117353', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '54012f70a4ed7c1fba7a0679cab8bdc8c0179b80', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), h("slot", { key: '89de0ba1f401d01ae0cf6cb9be70f802686577fd', name: "right-adornment" }))));
102
+ } })), !hideLabel && h("span", { key: '1a74ab2972112bb4dc563c5f008a1aa28ec1f271', class: "ic-switch-line-break" }), h("input", { key: '5871bd60383e2d714b0c2672581fd51066d68f71', checked: checkedState, disabled: disabled, "aria-label": label, "aria-checked": checkedState ? "true" : "false", "aria-describedby": getInputDescribedByText(inputId, helperText !== "", false), role: "switch", class: "ic-switch-input", type: "checkbox", name: "toggle", id: inputId, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange }), h("span", { key: '713e8d487702539bcf693f17e1f19db48e7fccf7', class: "ic-switch-toggle" }, h("svg", { key: '3bd2e78e073de2038503c6e96d9892920ba4ede8', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("line", { key: '5736eb63f0e43b14b92881675e90eeb584a3d534', class: "ic-switch-icon-line", x1: "9", y1: isSmall ? "2" : "1", x2: "9", y2: isSmall ? "8" : "9" })), h("svg", { key: '0a242caa62aba03887edd998c5d6155db1f4a739', class: "ic-switch-icon", "aria-hidden": "true", focusable: "false", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '426cf57606cf3ef83507a371e401c3d5077c6e2f', class: "ic-switch-icon-circle", fill: "none", cx: "5", cy: "5", r: isSmall ? "3.335" : "4.445" }))), h("slot", { key: 'c1b0a28db368ffcde6c20f73b10bd77d923c5f44', name: "right-adornment" }))));
103
103
  }
104
104
  static get is() { return "ic-switch"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -82,13 +82,13 @@ export class Tab {
82
82
  }
83
83
  render() {
84
84
  const { disabled, selected, theme, monochrome, handleClick, handleFocus, handleMouseDown, } = this;
85
- return (h(Host, { key: '954c5dd86688230d4ebb36c8a98b9c30c1524fc9', class: {
85
+ return (h(Host, { key: '1ed05e38ce9bbc72b8ff0c714e5fb2b032252f9f', class: {
86
86
  ["with-transition"]: !this.isInitialRender,
87
87
  ["ic-tab-selected"]: !!selected,
88
88
  ["ic-tab-disabled"]: !!disabled,
89
89
  [`ic-theme-${theme}`]: theme !== "inherit",
90
90
  ["ic-tab-monochrome"]: !!monochrome,
91
- }, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed(this.el, "icon") && h("slot", { key: '11506c4354b5dc44310df86479b02ed0638bbe32', name: "icon" }), h("ic-typography", { key: 'd466ad914e607cabb9ff47dc31b6428a081b08a7', class: "ic-tab-label", variant: "label" }, h("span", { key: '8cc33760084b7735ed7db8b222a2b0374c936f3f' }, h("slot", { key: '04bdfe11cd1eef76fad7f6e0afa7e059251ba3cc' }))), isSlotUsed(this.el, "badge") && h("slot", { key: 'a29692b7826b09874aba3ec5579dbca979cd791a', name: "badge" })));
91
+ }, role: "tab", "aria-selected": `${selected}`, onClick: handleClick, onFocus: handleFocus, onMouseDown: handleMouseDown, "aria-disabled": `${disabled}`, tabindex: selected ? 0 : -1 }, isSlotUsed(this.el, "icon") && h("slot", { key: '33db782cd42b31986cf34a6540d9c4ec42fac4b7', name: "icon" }), h("ic-typography", { key: '2b6dcbcd63858abfd865ffd5c22e8501817b26c7', class: "ic-tab-label", variant: "label" }, h("span", { key: 'a43a40ddcd00a31ebacf68ed143ce07eb87ac2e9' }, h("slot", { key: '35c756071a95bf5a57a0c3389c7bcc3221dbc8f8' }))), isSlotUsed(this.el, "badge") && h("slot", { key: '56b5d0f259fc8e42cd70e790c3e4b5d2a10a99d9', name: "badge" })));
92
92
  }
93
93
  static get is() { return "ic-tab"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -220,7 +220,7 @@ export class TabContext {
220
220
  }
221
221
  }
222
222
  render() {
223
- return h("slot", { key: '83e9c882369eebc5fd170b2ceabf423047cd14d6' });
223
+ return h("slot", { key: '0df9be3f91695a070675c0809d85e94e4d64ec3b' });
224
224
  }
225
225
  static get is() { return "ic-tab-context"; }
226
226
  static get properties() {
@@ -16,11 +16,11 @@ export class TabGroup {
16
16
  }
17
17
  render() {
18
18
  const { inline, theme, label, monochrome } = this;
19
- return (h(Host, { key: 'f42b97ec6fa8e200fbb5b5d2114f3f98d4f6ad35', role: "tablist", "aria-label": label, class: {
19
+ return (h(Host, { key: '08da1fef9eb0a16a7f9d0f7cffff3894b3319b09', role: "tablist", "aria-label": label, class: {
20
20
  ["ic-tab-group-inline"]: !!inline,
21
21
  [`ic-theme-${theme}`]: theme !== "inherit",
22
22
  ["ic-tab-group-monochrome"]: !!monochrome,
23
- } }, h("ic-horizontal-scroll", { key: 'fdfe2de9cecf661c164dda34f523c73520f6bce6', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, h("div", { key: '6523acdad07d4b4a48dab269da3cca2bf3003899', class: "tabs-container" }, h("slot", { key: '032517ca94833114e39faf4ad5da3126197e780a' })))));
23
+ } }, h("ic-horizontal-scroll", { key: 'c12cc06aba78c85277b3eab2250c8e61a3b4c4da', theme: theme, "focus-trigger": "tabFocus", monochrome: monochrome }, h("div", { key: '01c299ea10f8600e2e9df303e06c4e97dcdab7c3', class: "tabs-container" }, h("slot", { key: '1f2cb7d4f2f86c7e3ba8f910797a963d15d9a7e0' })))));
24
24
  }
25
25
  static get is() { return "ic-tab-group"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -17,10 +17,10 @@ export class TabPanel {
17
17
  }
18
18
  render() {
19
19
  const { active, theme } = this;
20
- return (h(Host, { key: '629c66ac51b529d443ad613d61f6875958e9d1a2', class: {
20
+ return (h(Host, { key: 'ec5befdef261599b9f010a547bec533c28422dcd', class: {
21
21
  [`ic-theme-${theme}`]: theme !== "inherit",
22
22
  "ic-tab-panel-hidden": !active,
23
- }, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: '1f018abefa14feeaa6a1de08aa3c84c78788e8ea' }, h("slot", { key: '86343dd2934fa698c26dfe09b88a4b9004b62184' }))));
23
+ }, role: "tabpanel", "aria-hidden": `${!active}` }, h("div", { key: '76bf7fc0f05bd9422c79ba6a592561c211b20bec' }, h("slot", { key: '5ecfbc0ad3dc9c11b482f81557afc2afa5dd2803' }))));
24
24
  }
25
25
  static get is() { return "ic-tab-panel"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -358,14 +358,14 @@ export class TextField {
358
358
  hiddenInput
359
359
  ? renderHiddenInput(true, this.el, name, value, disabledMode)
360
360
  : removeHiddenInput(this.el);
361
- return (h(Host, { key: 'a16e8b0c4d27b90cba5a803030c4932f3d249009', class: {
361
+ return (h(Host, { key: '23cb6b387a381e50b3f1854c3870a1f7e3bfa23e', class: {
362
362
  "ic-text-field-full-width": !!fullWidth,
363
363
  [`ic-theme-${theme}`]: theme !== "inherit",
364
364
  "ic-text-field-disabled": !!disabledMode,
365
- } }, h("ic-input-container", { key: '2ee3748b5fa24de95435f7064c589e18472727f4', readonly: readonly, disabled: disabledMode }, !this.hideLabel && (h("ic-input-label", { key: '090bf27c1c5a0d357f6e2c03951ae51439fe5061', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), h("ic-input-component-container", { key: '4322dbcb83430ff93a958f1cdfd68fb8f919b541', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { key: 'e1cb91443a86bd3499ba3637f462b763217156e1', class: {
365
+ } }, h("ic-input-container", { key: '87bc697a55a04e7aefdeafd6d37eff3824990034', readonly: readonly, disabled: disabledMode }, !this.hideLabel && (h("ic-input-label", { key: 'a289d63c13ed94a8282eab7b16ace632a59c83ed', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), h("ic-input-component-container", { key: '51b602029de06b6147c17a01ba427a558410c4df', size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { key: 'c1ac46bc7a8114f4a6dce0126784a7333777b168', class: {
366
366
  readonly: !!readonly,
367
367
  "has-value": this.getNumberOfCharacters(value) > 0,
368
- }, slot: "left-icon" }, h("slot", { key: 'd7a7432973ab5ac4d1f9f99307810239bc1e5bb8', name: "icon" }))), !multiline ? (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
368
+ }, slot: "left-icon" }, h("slot", { key: '312ac15fb4ccb3873bfddec4c60c4fb234aa0e28', name: "icon" }))), !multiline ? (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
369
369
  "no-left-pad": !showLeftIcon && !!readonly,
370
370
  readonly: !!readonly,
371
371
  "truncate-value": !!truncateValue,
@@ -373,19 +373,19 @@ export class TextField {
373
373
  "no-resize": resize === false || !!readonly,
374
374
  "no-left-pad": !showLeftIcon && !!readonly,
375
375
  readonly: !!readonly,
376
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder ? placeholder : "", readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, this.inheritedAttributes))), isSlotUsed(el, "clear-button") && (h("slot", { key: '606b2c481ed91fa410073510d8b08ecefa141fd1', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (h("slot", { key: '63e74e7017fe754d8b223d4583e66edf44c5b174', name: "search-submit-button" }))), isSlotUsed(el, "menu") && h("slot", { key: 'fdc9f4ece2151b4907c5d64b45a8d3ee1c8da3de', name: "menu" }), (!isEmptyString(validationStatus) ||
376
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder ? placeholder : "", readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, this.inheritedAttributes))), isSlotUsed(el, "clear-button") && (h("slot", { key: '86e21e2775c078a2322e1fdf6cf3323cba757917', name: "clear-button" })), isSlotUsed(el, "search-submit-button") && (h("slot", { key: '9a1800781608f067e5e6f4a0b097ab4fec148fc2', name: "search-submit-button" }))), isSlotUsed(el, "menu") && h("slot", { key: '1281dfee838c2af0822b8ec2d477c6290cd5b020', name: "menu" }), (!isEmptyString(validationStatus) ||
377
377
  !isEmptyString(validationText) ||
378
378
  maxNumChars > 0 ||
379
379
  maxValueExceeded ||
380
380
  maxCharactersWarning ||
381
381
  minCharactersUnattained ||
382
382
  minValueUnattained) &&
383
- !validationInlineInternal && (h("ic-input-validation", { key: '7c8469ca2b9b3d8aa0c629ff50ef25f6dc069215', status: this.hasStatus(currentStatus) === false ||
383
+ !validationInlineInternal && (h("ic-input-validation", { key: '3adb6e2274e123e2c96985b0008e887b791d8e21', status: this.hasStatus(currentStatus) === false ||
384
384
  (currentStatus === IcInformationStatus.Success &&
385
385
  validationInline) ||
386
386
  validationInlineInternal
387
387
  ? ""
388
- : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { key: '68f3bdd2d91bb1d782671f67ff8fa54480b18933', slot: "validation-message-adornment" }, !hideCharCount && (h("ic-typography", { key: '7e6e2cc156a86ff7e5dd26cc11c7107d9058a87f', variant: "caption", class: "char-count-text" }, h("span", { key: '163ab75acf24098bc8543b4dae1feb202ef0eb4e', class: "char-count" }, numChars, "/", maxNumChars))), h("span", { key: '547ba76763a57afc09cadab6074885e94d44c32d', class: "remaining-char-count-desc", "aria-live": "polite" }, hiddenRemainingCharCountDesc), h("span", { key: '49b425896e53566c693604cbdc54782d2fbed6b2', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
388
+ : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { key: '0d35ea132f089aa5554d0d4387fc92f0ba256ec4', slot: "validation-message-adornment" }, !hideCharCount && (h("ic-typography", { key: '27132c969fa6d92e21c84795341a7eb520307df0', variant: "caption", class: "char-count-text" }, h("span", { key: 'db55472d6e4d40e03a5a8442d9e5dc388e77ca14', class: "char-count" }, numChars, "/", maxNumChars))), h("span", { key: 'a42b206be46d1df23b01c1688cb430a062c4fbc9', class: "remaining-char-count-desc", "aria-live": "polite" }, hiddenRemainingCharCountDesc), h("span", { key: 'b5e3a90f0cc7cfb16e3a337d886cf0360748fca2', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
389
389
  }
390
390
  static get is() { return "ic-text-field"; }
391
391
  static get encapsulation() { return "shadow"; }
@@ -24,6 +24,7 @@ export class Theme {
24
24
  else {
25
25
  this.themeClass = `ic-theme-${this.theme}`;
26
26
  }
27
+ this.icThemeChange.emit(this.theme);
27
28
  };
28
29
  this.checkBrandColorContrast = () => {
29
30
  if (getBrandColorBrightness() < BLACK_MIN_COLOR_BRIGHTNESS &&
@@ -64,7 +65,7 @@ export class Theme {
64
65
  }
65
66
  render() {
66
67
  const { themeClass } = this;
67
- return (h(Host, { key: '8b3a86598f9539940fdfc534c4482246b043985c', class: themeClass }, h("slot", { key: '0d55a0ae9b75cfeccf0aa30bd31a2c3a09058ce7' })));
68
+ return (h(Host, { key: '512d47b99bd3f18979a2e5bf12dc1959c4135026', class: themeClass }, h("slot", { key: '16f87dc2ea22a43fa7208a9a4e37c5e37e779fc6' })));
68
69
  }
69
70
  static get is() { return "ic-theme"; }
70
71
  static get properties() {
@@ -99,9 +100,15 @@ export class Theme {
99
100
  "type": "string",
100
101
  "mutable": false,
101
102
  "complexType": {
102
- "original": "\"dark\" | \"light\" | \"system\"",
103
+ "original": "IcThemeSettings",
103
104
  "resolved": "\"dark\" | \"light\" | \"system\" | undefined",
104
- "references": {}
105
+ "references": {
106
+ "IcThemeSettings": {
107
+ "location": "import",
108
+ "path": "../../utils/types",
109
+ "id": "src/utils/types.ts::IcThemeSettings"
110
+ }
111
+ }
105
112
  },
106
113
  "required": false,
107
114
  "optional": true,
@@ -147,6 +154,27 @@ export class Theme {
147
154
  }
148
155
  }
149
156
  }
157
+ }, {
158
+ "method": "icThemeChange",
159
+ "name": "icThemeChange",
160
+ "bubbles": true,
161
+ "cancelable": true,
162
+ "composed": true,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "Emitted when the theme is changed."
166
+ },
167
+ "complexType": {
168
+ "original": "IcThemeSettings",
169
+ "resolved": "\"dark\" | \"light\" | \"system\"",
170
+ "references": {
171
+ "IcThemeSettings": {
172
+ "location": "import",
173
+ "path": "../../utils/types",
174
+ "id": "src/utils/types.ts::IcThemeSettings"
175
+ }
176
+ }
177
+ }
150
178
  }];
151
179
  }
152
180
  static get watchers() {
@@ -1 +1 @@
1
- {"version":3,"file":"ic-theme.js","sourceRoot":"","sources":["../../../src/components/ic-theme/ic-theme.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Host,\n Event,\n EventEmitter,\n h,\n Watch,\n Prop,\n State,\n} from \"@stencil/core\";\n\nimport { IcColor, IcBrand } from \"../../utils/types\";\nimport {\n convertToRGBA,\n getBrandForegroundAppearance,\n} from \"../../utils/helpers\";\nimport { getBrandColorBrightness } from \"../../utils/helpers\";\nimport {\n BLACK_MIN_COLOR_BRIGHTNESS,\n WHITE_MAX_COLOR_BRIGHTNESS,\n} from \"../../utils/constants\";\n\n@Component({\n tag: \"ic-theme\",\n})\nexport class Theme {\n @State() themeClass: string = \"\";\n\n /**\n * The brand colour. Can be a hex value e.g. \"#ff0000\", RGB e.g. \"rgb(255, 0, 0)\", or RGBA e.g. \"rgba(255, 0, 0, 1)\".\n */\n @Prop() brandColor?: IcColor | null = null;\n\n @Watch(\"brandColor\")\n watchBrandColorPropHandler(): void {\n this.setBrandColor();\n }\n\n /**\n * The theme mode. Can be \"dark\", \"light\", or \"system\". \"system\" will use the device or browser settings.\n */\n @Prop() theme?: \"dark\" | \"light\" | \"system\" = \"light\";\n\n @Watch(\"theme\")\n watchThemePropHandler(): void {\n this.darkModeChangeHandler();\n }\n\n /**\n * @internal Emitted when the brand color is changed.\n */\n @Event() brandChange: EventEmitter<IcBrand>;\n\n componentWillLoad(): void {\n this.darkModeChangeHandler();\n this.setBrandColor();\n\n window.matchMedia &&\n window\n .matchMedia(\"(prefers-color-scheme: dark)\")\n .addEventListener(\"change\", this.darkModeChangeHandler);\n }\n\n private darkModeChangeHandler = (): void => {\n if (this.theme === \"system\") {\n this.themeClass =\n window.matchMedia &&\n window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n ? \"ic-theme-dark\"\n : \"ic-theme-light\";\n } else {\n this.themeClass = `ic-theme-${this.theme}`;\n }\n };\n\n private checkBrandColorContrast = (): void => {\n if (\n getBrandColorBrightness() < BLACK_MIN_COLOR_BRIGHTNESS &&\n getBrandColorBrightness() > WHITE_MAX_COLOR_BRIGHTNESS\n ) {\n console.warn(\n `The brand colour does not provide enough contrast with either of the ICDS black or white foreground colours. Consider choosing a colour with a different brightness to achieve sufficient colour contrast for good visibility. See https://www.w3.org/TR/AERT/#color-contrast for more information about colour contrast.`\n );\n }\n };\n\n private setBrandColor = () => {\n const colorRGBA = this.brandColor ? convertToRGBA(this.brandColor) : null;\n\n if (colorRGBA) {\n const { r, g, b, a } = colorRGBA;\n const { style } = document.documentElement;\n style.setProperty(\"--ic-brand-color-primary-r\", `${r}`);\n style.setProperty(\"--ic-brand-color-primary-g\", `${g}`);\n style.setProperty(\"--ic-brand-color-primary-b\", `${b}`);\n style.setProperty(\"--ic-brand-color-primary-a\", `${a}`);\n\n this.checkBrandColorContrast();\n\n this.brandChange.emit({\n mode: getBrandForegroundAppearance(),\n color: colorRGBA,\n });\n }\n };\n\n render() {\n const { themeClass } = this;\n\n return (\n <Host class={themeClass}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-theme.js","sourceRoot":"","sources":["../../../src/components/ic-theme/ic-theme.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Host,\n Event,\n EventEmitter,\n h,\n Watch,\n Prop,\n State,\n} from \"@stencil/core\";\n\nimport { IcColor, IcBrand, IcThemeSettings } from \"../../utils/types\";\nimport {\n convertToRGBA,\n getBrandForegroundAppearance,\n} from \"../../utils/helpers\";\nimport { getBrandColorBrightness } from \"../../utils/helpers\";\nimport {\n BLACK_MIN_COLOR_BRIGHTNESS,\n WHITE_MAX_COLOR_BRIGHTNESS,\n} from \"../../utils/constants\";\n\n@Component({\n tag: \"ic-theme\",\n})\nexport class Theme {\n @State() themeClass: string = \"\";\n\n /**\n * The brand colour. Can be a hex value e.g. \"#ff0000\", RGB e.g. \"rgb(255, 0, 0)\", or RGBA e.g. \"rgba(255, 0, 0, 1)\".\n */\n @Prop() brandColor?: IcColor | null = null;\n\n @Watch(\"brandColor\")\n watchBrandColorPropHandler(): void {\n this.setBrandColor();\n }\n\n /**\n * The theme mode. Can be \"dark\", \"light\", or \"system\". \"system\" will use the device or browser settings.\n */\n @Prop() theme?: IcThemeSettings = \"light\";\n\n @Watch(\"theme\")\n watchThemePropHandler(): void {\n this.darkModeChangeHandler();\n }\n\n /**\n * @internal Emitted when the brand color is changed.\n */\n @Event() brandChange: EventEmitter<IcBrand>;\n\n /**\n * Emitted when the theme is changed.\n */\n @Event() icThemeChange: EventEmitter<IcThemeSettings>;\n\n componentWillLoad(): void {\n this.darkModeChangeHandler();\n this.setBrandColor();\n\n window.matchMedia &&\n window\n .matchMedia(\"(prefers-color-scheme: dark)\")\n .addEventListener(\"change\", this.darkModeChangeHandler);\n }\n\n private darkModeChangeHandler = (): void => {\n if (this.theme === \"system\") {\n this.themeClass =\n window.matchMedia &&\n window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n ? \"ic-theme-dark\"\n : \"ic-theme-light\";\n } else {\n this.themeClass = `ic-theme-${this.theme}`;\n }\n\n this.icThemeChange.emit(this.theme);\n };\n\n private checkBrandColorContrast = (): void => {\n if (\n getBrandColorBrightness() < BLACK_MIN_COLOR_BRIGHTNESS &&\n getBrandColorBrightness() > WHITE_MAX_COLOR_BRIGHTNESS\n ) {\n console.warn(\n `The brand colour does not provide enough contrast with either of the ICDS black or white foreground colours. Consider choosing a colour with a different brightness to achieve sufficient colour contrast for good visibility. See https://www.w3.org/TR/AERT/#color-contrast for more information about colour contrast.`\n );\n }\n };\n\n private setBrandColor = () => {\n const colorRGBA = this.brandColor ? convertToRGBA(this.brandColor) : null;\n\n if (colorRGBA) {\n const { r, g, b, a } = colorRGBA;\n const { style } = document.documentElement;\n style.setProperty(\"--ic-brand-color-primary-r\", `${r}`);\n style.setProperty(\"--ic-brand-color-primary-g\", `${g}`);\n style.setProperty(\"--ic-brand-color-primary-b\", `${b}`);\n style.setProperty(\"--ic-brand-color-primary-a\", `${a}`);\n\n this.checkBrandColorContrast();\n\n this.brandChange.emit({\n mode: getBrandForegroundAppearance(),\n color: colorRGBA,\n });\n }\n };\n\n render() {\n const { themeClass } = this;\n\n return (\n <Host class={themeClass}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -202,13 +202,13 @@ export class Toast {
202
202
  }
203
203
  render() {
204
204
  const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
205
- return (h(Host, { key: '3bb9efd8ae3679ba4558b388a275d2cd634268b8', class: { ["ic-toast-hidden"]: !visible }, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, h("div", { key: '49277a9c418908cfd3eb9302bae684462e1c6d55', class: "container" }, variant && visible && (h("div", { key: '805dbac817d5a7e714ce5b4478e426144df02cb8', class: "toast-icon-container" }, h("div", { key: '769af7c12a009955bff31c02008f09530bc19a77', class: {
205
+ return (h(Host, { key: '72285c4f90a5364563549c3991a56ea15a7f09b0', class: { ["ic-toast-hidden"]: !visible }, tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur, role: isManual ? "dialog" : "alert", "aria-live": isManual ? null : "polite" }, h("div", { key: '165ac4c4776633f826dfb4da11ec950ab5ee1d74', class: "container" }, variant && visible && (h("div", { key: '646d6326faeb131c256375eaa7a422862e603c87', class: "toast-icon-container" }, h("div", { key: '1a679a2ad07206ce49af54f099aab135db3dc863', class: {
206
206
  ["divider"]: true,
207
207
  [`divider-${variant}`]: true,
208
- } }), variant === "neutral" ? (h("slot", { name: "neutral-icon" })) : (h("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), h("div", { key: 'b9987c78c1bdd2def39ecd64ad5a7acb19568a90', class: {
208
+ } }), variant === "neutral" ? (h("slot", { name: "neutral-icon" })) : (h("span", { class: "toast-icon", innerHTML: VARIANT_ICONS[variant].icon })))), h("div", { key: 'faec1abb053c98b482f2cbbc3b6cbb097bc7cfca', class: {
209
209
  ["toast-content"]: true,
210
210
  ["no-icon"]: variant === "neutral" && !isSlotUsed(this.el, "neutral-icon"),
211
- } }, h("div", { key: 'bda1df0dfb9e5a05a84ec6d825a4eef72978127e', class: "toast-text" }, h("ic-typography", { key: '9631f1f1ec54f4694cbe3d80849079d04d9e987e', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? h("h5", null, heading) : h("p", null, heading))), message && (h("ic-typography", { key: '87dd87445e270972bab5d931c48b0ae2a70c94ad', variant: "body", class: "toast-message" }, visible && h("p", { key: 'bfe2daf83b1d9e62c4606a00c8615f1f899d0506' }, message)))), isSlotUsed(this.el, "action") && (h("div", { key: '8041f14d81743cd478241aae8e4921b204d68745', class: "toast-action-container" }, h("slot", { key: '0d3cc468aeee3827643be5e0ae17791cd1332f84', name: "action" })))), !isManual ? (h("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (h("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", "aria-label": dismissButtonAriaLabel })))));
211
+ } }, h("div", { key: '66a53a2d8f2433d55b353b8b19f487007baea78a', class: "toast-text" }, h("ic-typography", { key: 'af86eaaef197aff5faae041b32c3823ffcbb785b', variant: "subtitle-large", class: "toast-heading" }, visible && (isManual ? h("h5", null, heading) : h("p", null, heading))), message && (h("ic-typography", { key: '9a04f32939a2739826207d6b3df6796eb0d424ac', variant: "body", class: "toast-message" }, visible && h("p", { key: '9ba710ed859c1dd9e8a6ed448207890faad5d706' }, message)))), isSlotUsed(this.el, "action") && (h("div", { key: '68bf4d05f52322d6d056a583194e21b2dcadc2d1', class: "toast-action-container" }, h("slot", { key: '39524496fb13e55b7828f5c6d70172ffe80ebae8', name: "action" })))), !isManual ? (h("ic-loading-indicator", { class: "toast-dismiss-timer", theme: "dark", monochrome: true, size: "icon", progress: this.timerProgress, description: "Dismiss timer" })) : (h("ic-button", { id: "dismiss-button", innerHTML: closeIcon, onClick: this.dismissAction, variant: "icon", "aria-label": dismissButtonAriaLabel })))));
212
212
  }
213
213
  static get is() { return "ic-toast"; }
214
214
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class ToastRegion {
40
40
  }
41
41
  }
42
42
  render() {
43
- return h("slot", { key: '6dbc76c96060dfd2265e50d622e10ee5c2202b67' });
43
+ return h("slot", { key: '304f72b97b4c6fe1ff998e46f6d2daf80dca9c18' });
44
44
  }
45
45
  static get is() { return "ic-toast-region"; }
46
46
  static get properties() {
@@ -576,11 +576,13 @@ video {
576
576
  :host ::part(button):hover {
577
577
  border: var(--ic-border-width) solid var(--toggle-button-border-hover);
578
578
  color: var(--toggle-button-text-colour-hover);
579
+ background-color: var(--ic-toggle-button-unselected-background-hover);
579
580
  }
580
581
 
581
582
  :host ::part(button):active {
582
583
  border: var(--ic-border-width) solid var(--toggle-button-border-active);
583
584
  color: var(--toggle-button-text-colour-active);
585
+ background-color: var(--ic-toggle-button-unselected-background-pressed);
584
586
  }
585
587
 
586
588
  :host(.ic-toggle-button-disabled) ::part(button) {
@@ -600,14 +602,6 @@ video {
600
602
  var(--ic-border-focus);
601
603
  }
602
604
 
603
- :host ::part(button):hover {
604
- background-color: var(--ic-toggle-button-unselected-background-hover);
605
- }
606
-
607
- :host ::part(button):active {
608
- background-color: var(--ic-toggle-button-unselected-background-pressed);
609
- }
610
-
611
605
  :host(.ic-toggle-button-checked) ::part(button):hover {
612
606
  background-color: var(--ic-toggle-button-selected-background-hover);
613
607
  }
@@ -714,6 +708,7 @@ video {
714
708
  --loading-button-background: var(
715
709
  --ic-toggle-button-selected-background-pressed
716
710
  );
711
+
717
712
  background-color: var(--ic-toggle-button-selected-background-pressed);
718
713
  }
719
714
 
@@ -721,6 +716,7 @@ video {
721
716
  --loading-button-background: var(
722
717
  --ic-toggle-button-unselected-background-pressed
723
718
  );
719
+
724
720
  background-color: var(--ic-toggle-button-unselected-background-pressed);
725
721
  }
726
722
 
@@ -738,6 +734,7 @@ video {
738
734
  --loading-button-background: var(
739
735
  --ic-toggle-button-selected-background-pressed-monochrome
740
736
  );
737
+
741
738
  background-color: var(
742
739
  --ic-toggle-button-selected-background-pressed-monochrome
743
740
  );
@@ -747,6 +744,7 @@ video {
747
744
  --loading-button-background: var(
748
745
  --ic-toggle-button-unselected-background-pressed-monochrome
749
746
  );
747
+
750
748
  background-color: var(
751
749
  --ic-toggle-button-unselected-background-pressed-monochrome
752
750
  );
@@ -131,7 +131,7 @@ export class ToggleButton {
131
131
  }
132
132
  }
133
133
  render() {
134
- return (h(Host, { key: '3af5618d6fcc757a400771e528fb0cf9f6bca618', class: {
134
+ return (h(Host, { key: '52df8ea7e88a94edef05a3212d5abd8e7e4e5321', class: {
135
135
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
136
136
  ["ic-toggle-button-disabled"]: !!this.disabled,
137
137
  ["ic-toggle-button-checked"]: !!this.checked,
@@ -140,7 +140,7 @@ export class ToggleButton {
140
140
  ["ic-toggle-button-loading"]: !!this.loading,
141
141
  ["ic-toggle-button-monochrome"]: !!this.monochrome,
142
142
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
143
- }, onFocus: this.handleFocus }, h("ic-button", { key: 'ebdfe0fb37f690d9cfd1b3fac8a00bf07adcb4bf', "aria-pressed": this.checked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.checked ? "ticked" : "unticked"}`, disabled: this.disabled, size: this.size, fullWidth: this.fullWidth, loading: this.loading, tooltipPlacement: this.tooltipPlacement }, this.variant !== "icon" && this.label, h("slot", { key: '70d7727fa11def0e2a584cf4f109f478c7ea890b' }), isSlotUsed(this.el, "icon") && (h("slot", { key: '1ea0fbc98887941e6aa06c8424c6d32c70236238', name: "icon", slot: `${this.iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (h("slot", { key: '9d15b5e6e2dc70c046d0425738601bbcd20500e2', name: "badge", slot: "badge" })))));
143
+ }, onFocus: this.handleFocus }, h("ic-button", { key: '332f1ce7a102149b54ddec12af25b110bd1b69ea', "aria-pressed": this.checked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.checked ? "ticked" : "unticked"}`, disabled: this.disabled, size: this.size, fullWidth: this.fullWidth, loading: this.loading, tooltipPlacement: this.tooltipPlacement }, this.variant !== "icon" && this.label, h("slot", { key: '08cd5315510551d00f0e357297f34bf058dfa61c' }), isSlotUsed(this.el, "icon") && (h("slot", { key: '517575dc1d0a7a383ebb746a0945041ca269fad4', name: "icon", slot: `${this.iconPlacement}-icon` })), isSlotUsed(this.el, "badge") && (h("slot", { key: '533e591e1bbe1fc5a138ebf826044a6943b3ab01', name: "badge", slot: "badge" })))));
144
144
  }
145
145
  static get is() { return "ic-toggle-button"; }
146
146
  static get encapsulation() { return "shadow"; }
@@ -231,14 +231,14 @@ export class ToggleButtonGroup {
231
231
  return Array.from(this.el.querySelectorAll("ic-toggle-button"));
232
232
  }
233
233
  render() {
234
- return (h(Host, { key: '38b50c347fb706a9cf4f047bacf37141b68d2163', role: "group", "aria-label": this.accessibleLabel, tabindex: 0, class: {
234
+ return (h(Host, { key: '2e71b71fdfd5980825026f5c070a5ebd5a253450', role: "group", "aria-label": this.accessibleLabel, tabindex: 0, class: {
235
235
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
236
236
  ["ic-toggle-button-group-full-width"]: !!this.fullWidth,
237
237
  ["ic-toggle-button-group-loading"]: !!this.loading,
238
238
  ["ic-toggle-button-group-disabled"]: this.disabled,
239
239
  [`ic-toggle-button-group-monochrome`]: !!this.monochrome,
240
240
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
241
- }, onFocus: this.handleHostFocus }, h("slot", { key: '5364b0056716f8a66296eb3a680961f8d2424b6d' })));
241
+ }, onFocus: this.handleHostFocus }, h("slot", { key: 'd4d53025593fe484f1c64339775fbb2bea8f96d0' })));
242
242
  }
243
243
  static get is() { return "ic-toggle-button-group"; }
244
244
  static get encapsulation() { return "shadow"; }
@@ -178,6 +178,27 @@ export class Tooltip {
178
178
  });
179
179
  document[method]("keydown", this.handleKeyDown);
180
180
  };
181
+ this.updateTooltipEvents = () => {
182
+ this.manageEventListeners("remove");
183
+ this.showEvents = [
184
+ !this.disableHover && "mouseenter",
185
+ !this.disableHover && "focusin",
186
+ !this.disableClick && "click",
187
+ ];
188
+ this.manageEventListeners("add");
189
+ };
190
+ }
191
+ watchDisableClickHandler() {
192
+ if (this.disableClick) {
193
+ this.hide();
194
+ }
195
+ this.updateTooltipEvents();
196
+ }
197
+ watchDisableHoverHandler() {
198
+ if (this.disableHover) {
199
+ this.hide();
200
+ }
201
+ this.updateTooltipEvents();
181
202
  }
182
203
  /**
183
204
  * @internal This method allows props to be added to the PopperJS createPopper instance outside of tooltip
@@ -225,10 +246,10 @@ export class Tooltip {
225
246
  }
226
247
  render() {
227
248
  const { label, maxLines, silent, theme } = this;
228
- return (h(Host, { key: 'aca3cbb8e55d42c027d6a83039f98679ec1d5142', class: {
249
+ return (h(Host, { key: '39999a7bb106014b7f0215458ef997764b73b611', class: {
229
250
  "ic-tooltip": true,
230
251
  [`ic-theme-${theme}`]: theme !== "inherit",
231
- } }, h("div", { key: '8032257b76f3569c736149a8528312509504dfd0', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, h("ic-typography", { key: '7d7eff208fb832a622261a77ba34ca21ce8b436e', maxLines: maxLines, variant: "caption" }, label), h("div", { key: 'dafaff61bbe8699ce3e33614ce08db4843dd24f2', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), h("slot", { key: '9d2d6e403d1bb02ee999a1ea6afffccf9208b7a8' })));
252
+ } }, h("div", { key: 'd4861c09ff54a1565af6cdc8fe37c77b169d6494', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, h("ic-typography", { key: '03150cac8c30839c8419dd6c9eef72aa393aa3fb', maxLines: maxLines, variant: "caption" }, label), h("div", { key: '326142d5d9c11602545c4178ef09b42ceeb4a21b', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), h("slot", { key: '22d9540e5918b570cfd358012240e0383e5c3c10' })));
232
253
  }
233
254
  static get is() { return "ic-tooltip"; }
234
255
  static get encapsulation() { return "shadow"; }
@@ -519,5 +540,14 @@ export class Tooltip {
519
540
  };
520
541
  }
521
542
  static get elementRef() { return "el"; }
543
+ static get watchers() {
544
+ return [{
545
+ "propName": "disableClick",
546
+ "methodName": "watchDisableClickHandler"
547
+ }, {
548
+ "propName": "disableHover",
549
+ "methodName": "watchDisableHoverHandler"
550
+ }];
551
+ }
522
552
  }
523
553
  //# sourceMappingURL=ic-tooltip.js.map