@ukic/web-components 3.19.0 → 3.20.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 (449) hide show
  1. package/dist/cjs/{constants-3a9ba64a.js → constants-4d389abc.js} +14 -1
  2. package/dist/cjs/constants-4d389abc.js.map +1 -0
  3. package/dist/cjs/{helpers-15fae358.js → helpers-3a796e7a.js} +161 -2
  4. package/dist/cjs/helpers-3a796e7a.js.map +1 -0
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js +8 -5
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-accordion.cjs.entry.js +2 -2
  8. package/dist/cjs/ic-action-chip.cjs.entry.js +5 -5
  9. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +5 -5
  11. package/dist/cjs/ic-badge.cjs.entry.js +4 -4
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +4 -4
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js +4 -4
  14. package/dist/cjs/ic-button_3.cjs.entry.js +23 -22
  15. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-card-vertical.cjs.entry.js +6 -6
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  18. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -6
  19. package/dist/cjs/ic-chip.cjs.entry.js +5 -5
  20. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  21. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  22. package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
  23. package/dist/cjs/ic-dialog.cjs.entry.js +34 -125
  24. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-divider.cjs.entry.js +2 -2
  26. package/dist/cjs/ic-empty-state.cjs.entry.js +4 -4
  27. package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
  28. package/dist/cjs/ic-footer-link.cjs.entry.js +4 -4
  29. package/dist/cjs/ic-footer.cjs.entry.js +5 -5
  30. package/dist/cjs/ic-hero.cjs.entry.js +6 -6
  31. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +7 -7
  32. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +10 -10
  33. package/dist/cjs/ic-input-label_2.cjs.entry.js +7 -7
  34. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +2 -2
  35. package/dist/cjs/ic-layout-grid.cjs.entry.js +2 -2
  36. package/dist/cjs/ic-link.cjs.entry.js +3 -3
  37. package/dist/cjs/ic-menu-group.cjs.entry.js +3 -3
  38. package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
  39. package/dist/cjs/ic-navigation-button.cjs.entry.js +4 -4
  40. package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
  41. package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
  42. package/dist/cjs/ic-navigation-menu.cjs.entry.js +6 -6
  43. package/dist/cjs/ic-page-header.cjs.entry.js +8 -8
  44. package/dist/cjs/ic-pagination-item.cjs.entry.js +3 -3
  45. package/dist/cjs/ic-pagination.cjs.entry.js +6 -6
  46. package/dist/cjs/ic-popover-menu.cjs.entry.js +6 -6
  47. package/dist/cjs/ic-radio-group.cjs.entry.js +6 -6
  48. package/dist/cjs/ic-radio-option.cjs.entry.js +6 -6
  49. package/dist/cjs/ic-search-bar.cjs.entry.js +11 -11
  50. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  51. package/dist/cjs/ic-select.cjs.entry.js +8 -8
  52. package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
  53. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  54. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  55. package/dist/cjs/ic-status-tag.cjs.entry.js +4 -4
  56. package/dist/cjs/ic-step.cjs.entry.js +15 -15
  57. package/dist/cjs/ic-stepper.cjs.entry.js +4 -4
  58. package/dist/cjs/ic-switch.cjs.entry.js +6 -6
  59. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-tab-group.cjs.entry.js +4 -4
  61. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  62. package/dist/cjs/ic-tab.cjs.entry.js +4 -4
  63. package/dist/cjs/ic-text-field.cjs.entry.js +7 -7
  64. package/dist/cjs/ic-theme.cjs.entry.js +3 -3
  65. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-toast.cjs.entry.js +7 -7
  67. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +4 -4
  68. package/dist/cjs/ic-toggle-button.cjs.entry.js +4 -4
  69. package/dist/cjs/ic-top-navigation.cjs.entry.js +7 -7
  70. package/dist/cjs/ic-typography.cjs.entry.js +4 -4
  71. package/dist/cjs/index.cjs.js +7 -1
  72. package/dist/cjs/index.cjs.js.map +1 -1
  73. package/dist/collection/components/ic-accordion/ic-accordion.stories.js +21 -0
  74. package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +11 -0
  75. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +6 -2
  76. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  77. package/dist/collection/components/ic-action-chip/ic-action-chip.js +3 -3
  78. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
  79. package/dist/collection/components/ic-badge/ic-badge.js +2 -2
  80. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +2 -2
  81. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  82. package/dist/collection/components/ic-button/ic-button.js +2 -2
  83. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
  84. package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
  85. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
  86. package/dist/collection/components/ic-chip/ic-chip.js +3 -3
  87. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -2
  88. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  89. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  90. package/dist/collection/components/ic-dialog/ic-dialog.js +33 -124
  91. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  92. package/dist/collection/components/ic-dialog/ic-dialog.stories.js +3 -2
  93. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  94. package/dist/collection/components/ic-footer/ic-footer.js +3 -3
  95. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  96. package/dist/collection/components/ic-hero/ic-hero.js +4 -4
  97. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  98. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  99. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  100. package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
  101. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  102. package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +2 -2
  103. package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +2 -2
  104. package/dist/collection/components/ic-link/ic-link.js +1 -1
  105. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
  106. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  107. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  108. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
  109. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  110. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
  111. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  112. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  113. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  114. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  115. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
  116. package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
  117. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  118. package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
  119. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  120. package/dist/collection/components/ic-select/ic-select.js +6 -6
  121. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  122. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  123. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  124. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  125. package/dist/collection/components/ic-step/ic-step.js +13 -13
  126. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  127. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  128. package/dist/collection/components/ic-tab/ic-tab.js +2 -2
  129. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  130. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  131. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  132. package/dist/collection/components/ic-text-field/ic-text-field.js +5 -5
  133. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  134. package/dist/collection/components/ic-toast/ic-toast.js +5 -5
  135. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  136. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  137. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  138. package/dist/collection/components/ic-tooltip/ic-tooltip.css +1 -1
  139. package/dist/collection/components/ic-tooltip/ic-tooltip.js +13 -12
  140. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  141. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +5 -5
  142. package/dist/collection/components/ic-typography/ic-typography.js +2 -2
  143. package/dist/collection/utils/constants.js +7 -0
  144. package/dist/collection/utils/constants.js.map +1 -1
  145. package/dist/collection/utils/helpers.js +169 -2
  146. package/dist/collection/utils/helpers.js.map +1 -1
  147. package/dist/collection/utils/types.js.map +1 -1
  148. package/dist/components/constants.js +8 -1
  149. package/dist/components/constants.js.map +1 -1
  150. package/dist/components/helpers.js +157 -2
  151. package/dist/components/helpers.js.map +1 -1
  152. package/dist/components/ic-accordion-group.js +6 -3
  153. package/dist/components/ic-accordion-group.js.map +1 -1
  154. package/dist/components/ic-action-chip.js +3 -3
  155. package/dist/components/ic-back-to-top.js +3 -3
  156. package/dist/components/ic-badge.js +2 -2
  157. package/dist/components/ic-breadcrumb-group.js +2 -2
  158. package/dist/components/ic-breadcrumb2.js +2 -2
  159. package/dist/components/ic-button2.js +2 -2
  160. package/dist/components/ic-card-vertical.js +4 -4
  161. package/dist/components/ic-checkbox-group.js +2 -2
  162. package/dist/components/ic-checkbox.js +4 -4
  163. package/dist/components/ic-chip.js +3 -3
  164. package/dist/components/ic-classification-banner.js +2 -2
  165. package/dist/components/ic-data-list.js +2 -2
  166. package/dist/components/ic-data-row.js +2 -2
  167. package/dist/components/ic-dialog.js +33 -124
  168. package/dist/components/ic-dialog.js.map +1 -1
  169. package/dist/components/ic-divider2.js +1 -1
  170. package/dist/components/ic-empty-state.js +2 -2
  171. package/dist/components/ic-footer-link.js +2 -2
  172. package/dist/components/ic-footer.js +4 -4
  173. package/dist/components/ic-hero.js +4 -4
  174. package/dist/components/ic-horizontal-scroll2.js +6 -6
  175. package/dist/components/ic-input-component-container2.js +3 -3
  176. package/dist/components/ic-input-container2.js +2 -2
  177. package/dist/components/ic-input-label2.js +2 -2
  178. package/dist/components/ic-input-validation2.js +4 -4
  179. package/dist/components/ic-layout-grid-item.js +2 -2
  180. package/dist/components/ic-layout-grid.js +2 -2
  181. package/dist/components/ic-link2.js +1 -1
  182. package/dist/components/ic-loading-indicator2.js +5 -5
  183. package/dist/components/ic-menu-group.js +1 -1
  184. package/dist/components/ic-menu2.js +4 -4
  185. package/dist/components/ic-navigation-button.js +3 -3
  186. package/dist/components/ic-navigation-group.js +2 -2
  187. package/dist/components/ic-navigation-item.js +3 -3
  188. package/dist/components/ic-navigation-menu2.js +5 -5
  189. package/dist/components/ic-page-header.js +6 -6
  190. package/dist/components/ic-page-header.js.map +1 -1
  191. package/dist/components/ic-pagination-item2.js +2 -2
  192. package/dist/components/ic-pagination.js +4 -4
  193. package/dist/components/ic-pagination.js.map +1 -1
  194. package/dist/components/ic-popover-menu.js +4 -4
  195. package/dist/components/ic-popover-menu.js.map +1 -1
  196. package/dist/components/ic-radio-group.js +4 -4
  197. package/dist/components/ic-radio-group.js.map +1 -1
  198. package/dist/components/ic-radio-option.js +4 -4
  199. package/dist/components/ic-search-bar.js +10 -10
  200. package/dist/components/ic-section-container2.js +2 -2
  201. package/dist/components/ic-select.js +7 -7
  202. package/dist/components/ic-side-navigation.js +5 -5
  203. package/dist/components/ic-skeleton.js +2 -2
  204. package/dist/components/ic-skip-link.js +2 -2
  205. package/dist/components/ic-status-tag.js +2 -2
  206. package/dist/components/ic-step.js +13 -13
  207. package/dist/components/ic-stepper.js +2 -2
  208. package/dist/components/ic-switch.js +4 -4
  209. package/dist/components/ic-tab-context.js +1 -1
  210. package/dist/components/ic-tab-group.js +2 -2
  211. package/dist/components/ic-tab-panel.js +2 -2
  212. package/dist/components/ic-tab.js +2 -2
  213. package/dist/components/ic-text-field.js +6 -6
  214. package/dist/components/ic-theme.js +2 -2
  215. package/dist/components/ic-toast-region.js +1 -1
  216. package/dist/components/ic-toast.js +6 -6
  217. package/dist/components/ic-toggle-button-group.js +2 -2
  218. package/dist/components/ic-toggle-button.js +3 -3
  219. package/dist/components/ic-tooltip2.js +14 -13
  220. package/dist/components/ic-tooltip2.js.map +1 -1
  221. package/dist/components/ic-top-navigation.js +6 -6
  222. package/dist/components/ic-typography2.js +2 -2
  223. package/dist/components/index.js +1 -1
  224. package/dist/core/core.css +4 -4
  225. package/dist/core/core.esm.js +1 -1
  226. package/dist/core/index.esm.js +1 -1
  227. package/dist/core/{p-7552c8a1.entry.js → p-0301d1c8.entry.js} +2 -2
  228. package/dist/core/{p-bb3a5130.entry.js → p-0722d7b6.entry.js} +2 -2
  229. package/dist/core/{p-43356493.entry.js → p-09c31ac6.entry.js} +2 -2
  230. package/dist/core/{p-5e1a77aa.entry.js → p-0d711c6a.entry.js} +2 -2
  231. package/dist/core/{p-ad6632a9.entry.js → p-0f6fd5d3.entry.js} +2 -2
  232. package/dist/core/{p-296a41ce.entry.js → p-0f998905.entry.js} +2 -2
  233. package/dist/core/{p-8798cc6b.entry.js → p-107281c4.entry.js} +2 -2
  234. package/dist/core/{p-b00efb15.entry.js → p-1d8559f0.entry.js} +2 -2
  235. package/dist/core/{p-62b9e7bf.entry.js → p-1edf2689.entry.js} +2 -2
  236. package/dist/core/{p-4637c326.entry.js → p-1fc4b88f.entry.js} +2 -2
  237. package/dist/core/{p-a8dc3162.entry.js → p-23dc27a8.entry.js} +2 -2
  238. package/dist/core/{p-af02add9.entry.js → p-276a6c8f.entry.js} +2 -2
  239. package/dist/core/{p-a5295f66.entry.js → p-3582c7df.entry.js} +2 -2
  240. package/dist/core/{p-44aaf454.entry.js → p-3c7e90a7.entry.js} +2 -2
  241. package/dist/core/p-45076d7e.entry.js +2 -0
  242. package/dist/core/{p-70e1dd4d.entry.js → p-45c553db.entry.js} +2 -2
  243. package/dist/core/p-4e43b272.entry.js +2 -0
  244. package/dist/core/p-4e43b272.entry.js.map +1 -0
  245. package/dist/core/{p-52fa3eec.entry.js → p-57ce68e5.entry.js} +2 -2
  246. package/dist/core/{p-c4ffcc64.entry.js → p-5ac3adb9.entry.js} +2 -2
  247. package/dist/core/{p-fb43abd6.entry.js → p-608b4912.entry.js} +2 -2
  248. package/dist/core/{p-bddf799a.js → p-6215e2ae.js} +2 -2
  249. package/dist/core/p-6215e2ae.js.map +1 -0
  250. package/dist/core/{p-9452b9ac.entry.js → p-656a9127.entry.js} +2 -2
  251. package/dist/core/{p-a86785dd.entry.js → p-6740c915.entry.js} +2 -2
  252. package/dist/core/{p-28c9a6e4.entry.js → p-6aa8d3ce.entry.js} +2 -2
  253. package/dist/core/{p-72ac8bb9.entry.js → p-72344764.entry.js} +2 -2
  254. package/dist/core/{p-6fb29846.entry.js → p-76e8df31.entry.js} +2 -2
  255. package/dist/core/p-7b8e5926.entry.js +2 -0
  256. package/dist/core/p-7b8e5926.entry.js.map +1 -0
  257. package/dist/core/{p-c397b33f.entry.js → p-7c38dd1f.entry.js} +2 -2
  258. package/dist/core/{p-355d0914.entry.js → p-81f60443.entry.js} +2 -2
  259. package/dist/core/{p-128e2cbb.entry.js → p-840c647f.entry.js} +2 -2
  260. package/dist/core/{p-3785c740.entry.js → p-86989873.entry.js} +2 -2
  261. package/dist/core/{p-1cc402b8.entry.js → p-880afd4b.entry.js} +2 -2
  262. package/dist/core/{p-287e5c17.entry.js → p-889bb8db.entry.js} +2 -2
  263. package/dist/core/{p-4fa7fbc4.entry.js → p-8b1567c9.entry.js} +2 -2
  264. package/dist/core/p-8b1567c9.entry.js.map +1 -0
  265. package/dist/core/{p-bfd03fb4.entry.js → p-8c00614c.entry.js} +2 -2
  266. package/dist/core/{p-8abcc114.entry.js → p-8f45f956.entry.js} +2 -2
  267. package/dist/core/{p-5cf704e3.entry.js → p-90814d32.entry.js} +2 -2
  268. package/dist/core/{p-6e8ef73c.entry.js → p-93e1ba0a.entry.js} +2 -2
  269. package/dist/core/{p-a7f21494.entry.js → p-949d08d3.entry.js} +2 -2
  270. package/dist/core/{p-614953c5.entry.js → p-9b60ca02.entry.js} +2 -2
  271. package/dist/core/{p-49444c33.entry.js → p-a0af1b0a.entry.js} +2 -2
  272. package/dist/core/{p-012e058a.entry.js → p-a16415e4.entry.js} +3 -3
  273. package/dist/core/{p-0eafbaa1.entry.js → p-ad5aca6f.entry.js} +2 -2
  274. package/dist/core/{p-bdda404b.entry.js → p-aed1c7e7.entry.js} +2 -2
  275. package/dist/core/{p-34cc376c.entry.js → p-b22fc28d.entry.js} +2 -2
  276. package/dist/core/{p-44fbe8c2.entry.js → p-b5e39585.entry.js} +2 -2
  277. package/dist/core/{p-3a94849e.entry.js → p-b8c0c142.entry.js} +2 -2
  278. package/dist/core/{p-f4e2e41f.entry.js → p-ba4abeac.entry.js} +2 -2
  279. package/dist/core/{p-6b6c1491.entry.js → p-c16e982c.entry.js} +2 -2
  280. package/dist/core/{p-f247db14.entry.js → p-c3f5907e.entry.js} +2 -2
  281. package/dist/core/{p-e0423c7e.entry.js → p-c7f8547d.entry.js} +2 -2
  282. package/dist/core/{p-411527a1.entry.js → p-cdbbcef4.entry.js} +2 -2
  283. package/dist/core/{p-21efc36e.entry.js → p-cf056074.entry.js} +2 -2
  284. package/dist/core/{p-539b975f.entry.js → p-d2d17d6d.entry.js} +2 -2
  285. package/dist/core/{p-082e0068.entry.js → p-d478d13e.entry.js} +2 -2
  286. package/dist/core/p-dbc8bf0c.js +2 -0
  287. package/dist/core/p-dbc8bf0c.js.map +1 -0
  288. package/dist/core/{p-77a6c3f7.entry.js → p-df029b1b.entry.js} +2 -2
  289. package/dist/core/{p-dfc2a0b1.entry.js → p-e176881a.entry.js} +2 -2
  290. package/dist/core/{p-d8200098.entry.js → p-e1814e7e.entry.js} +2 -2
  291. package/dist/core/{p-06b3ae40.entry.js → p-ebc47282.entry.js} +2 -2
  292. package/dist/core/{p-ae7dcbd5.entry.js → p-ec14c783.entry.js} +2 -2
  293. package/dist/core/{p-3b13d191.entry.js → p-f5fd4a76.entry.js} +2 -2
  294. package/dist/core/{p-911b4aa4.entry.js → p-f700b759.entry.js} +2 -2
  295. package/dist/core/{p-a7645717.entry.js → p-fdb587ab.entry.js} +2 -2
  296. package/dist/core/{p-091a7fbf.entry.js → p-fe0153ec.entry.js} +2 -2
  297. package/dist/esm/{constants-7960cba4.js → constants-ab12fdcf.js} +9 -2
  298. package/dist/esm/constants-ab12fdcf.js.map +1 -0
  299. package/dist/esm/{helpers-dcedb279.js → helpers-0f85537f.js} +158 -3
  300. package/dist/esm/helpers-0f85537f.js.map +1 -0
  301. package/dist/esm/ic-accordion-group.entry.js +8 -5
  302. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  303. package/dist/esm/ic-accordion.entry.js +2 -2
  304. package/dist/esm/ic-action-chip.entry.js +5 -5
  305. package/dist/esm/ic-alert.entry.js +2 -2
  306. package/dist/esm/ic-back-to-top.entry.js +5 -5
  307. package/dist/esm/ic-badge.entry.js +4 -4
  308. package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
  309. package/dist/esm/ic-breadcrumb.entry.js +4 -4
  310. package/dist/esm/ic-button_3.entry.js +23 -22
  311. package/dist/esm/ic-button_3.entry.js.map +1 -1
  312. package/dist/esm/ic-card-vertical.entry.js +6 -6
  313. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  314. package/dist/esm/ic-checkbox.entry.js +6 -6
  315. package/dist/esm/ic-chip.entry.js +5 -5
  316. package/dist/esm/ic-classification-banner.entry.js +2 -2
  317. package/dist/esm/ic-data-list.entry.js +2 -2
  318. package/dist/esm/ic-data-row.entry.js +4 -4
  319. package/dist/esm/ic-dialog.entry.js +34 -125
  320. package/dist/esm/ic-dialog.entry.js.map +1 -1
  321. package/dist/esm/ic-divider.entry.js +2 -2
  322. package/dist/esm/ic-empty-state.entry.js +4 -4
  323. package/dist/esm/ic-footer-link-group.entry.js +2 -2
  324. package/dist/esm/ic-footer-link.entry.js +4 -4
  325. package/dist/esm/ic-footer.entry.js +5 -5
  326. package/dist/esm/ic-hero.entry.js +6 -6
  327. package/dist/esm/ic-horizontal-scroll.entry.js +7 -7
  328. package/dist/esm/ic-input-component-container_3.entry.js +10 -10
  329. package/dist/esm/ic-input-label_2.entry.js +7 -7
  330. package/dist/esm/ic-layout-grid-item.entry.js +2 -2
  331. package/dist/esm/ic-layout-grid.entry.js +2 -2
  332. package/dist/esm/ic-link.entry.js +3 -3
  333. package/dist/esm/ic-menu-group.entry.js +3 -3
  334. package/dist/esm/ic-menu-item.entry.js +2 -2
  335. package/dist/esm/ic-navigation-button.entry.js +4 -4
  336. package/dist/esm/ic-navigation-group.entry.js +3 -3
  337. package/dist/esm/ic-navigation-item.entry.js +4 -4
  338. package/dist/esm/ic-navigation-menu.entry.js +6 -6
  339. package/dist/esm/ic-page-header.entry.js +8 -8
  340. package/dist/esm/ic-pagination-item.entry.js +3 -3
  341. package/dist/esm/ic-pagination.entry.js +6 -6
  342. package/dist/esm/ic-popover-menu.entry.js +6 -6
  343. package/dist/esm/ic-radio-group.entry.js +6 -6
  344. package/dist/esm/ic-radio-option.entry.js +6 -6
  345. package/dist/esm/ic-search-bar.entry.js +11 -11
  346. package/dist/esm/ic-section-container.entry.js +2 -2
  347. package/dist/esm/ic-select.entry.js +8 -8
  348. package/dist/esm/ic-side-navigation.entry.js +6 -6
  349. package/dist/esm/ic-skeleton.entry.js +2 -2
  350. package/dist/esm/ic-skip-link.entry.js +2 -2
  351. package/dist/esm/ic-status-tag.entry.js +4 -4
  352. package/dist/esm/ic-step.entry.js +15 -15
  353. package/dist/esm/ic-stepper.entry.js +4 -4
  354. package/dist/esm/ic-switch.entry.js +6 -6
  355. package/dist/esm/ic-tab-context.entry.js +1 -1
  356. package/dist/esm/ic-tab-group.entry.js +4 -4
  357. package/dist/esm/ic-tab-panel.entry.js +2 -2
  358. package/dist/esm/ic-tab.entry.js +4 -4
  359. package/dist/esm/ic-text-field.entry.js +7 -7
  360. package/dist/esm/ic-theme.entry.js +3 -3
  361. package/dist/esm/ic-toast-region.entry.js +1 -1
  362. package/dist/esm/ic-toast.entry.js +7 -7
  363. package/dist/esm/ic-toggle-button-group.entry.js +4 -4
  364. package/dist/esm/ic-toggle-button.entry.js +4 -4
  365. package/dist/esm/ic-top-navigation.entry.js +7 -7
  366. package/dist/esm/ic-typography.entry.js +4 -4
  367. package/dist/esm/index.js +1 -1
  368. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +1 -0
  369. package/dist/types/components/ic-dialog/ic-dialog.d.ts +2 -15
  370. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +1 -1
  371. package/dist/types/utils/constants.d.ts +6 -0
  372. package/dist/types/utils/helpers.d.ts +69 -2
  373. package/dist/types/utils/types.d.ts +1 -0
  374. package/hydrate/index.js +396 -320
  375. package/hydrate/index.mjs +396 -320
  376. package/package.json +2 -2
  377. package/dist/cjs/constants-3a9ba64a.js.map +0 -1
  378. package/dist/cjs/helpers-15fae358.js.map +0 -1
  379. package/dist/core/p-0257d59e.entry.js +0 -2
  380. package/dist/core/p-0257d59e.entry.js.map +0 -1
  381. package/dist/core/p-4fa7fbc4.entry.js.map +0 -1
  382. package/dist/core/p-a45de09d.entry.js +0 -2
  383. package/dist/core/p-a45de09d.entry.js.map +0 -1
  384. package/dist/core/p-a5658054.js +0 -2
  385. package/dist/core/p-a5658054.js.map +0 -1
  386. package/dist/core/p-ae861bb8.entry.js +0 -2
  387. package/dist/core/p-bddf799a.js.map +0 -1
  388. package/dist/esm/constants-7960cba4.js.map +0 -1
  389. package/dist/esm/helpers-dcedb279.js.map +0 -1
  390. /package/dist/core/{p-7552c8a1.entry.js.map → p-0301d1c8.entry.js.map} +0 -0
  391. /package/dist/core/{p-bb3a5130.entry.js.map → p-0722d7b6.entry.js.map} +0 -0
  392. /package/dist/core/{p-43356493.entry.js.map → p-09c31ac6.entry.js.map} +0 -0
  393. /package/dist/core/{p-5e1a77aa.entry.js.map → p-0d711c6a.entry.js.map} +0 -0
  394. /package/dist/core/{p-ad6632a9.entry.js.map → p-0f6fd5d3.entry.js.map} +0 -0
  395. /package/dist/core/{p-296a41ce.entry.js.map → p-0f998905.entry.js.map} +0 -0
  396. /package/dist/core/{p-8798cc6b.entry.js.map → p-107281c4.entry.js.map} +0 -0
  397. /package/dist/core/{p-b00efb15.entry.js.map → p-1d8559f0.entry.js.map} +0 -0
  398. /package/dist/core/{p-62b9e7bf.entry.js.map → p-1edf2689.entry.js.map} +0 -0
  399. /package/dist/core/{p-4637c326.entry.js.map → p-1fc4b88f.entry.js.map} +0 -0
  400. /package/dist/core/{p-a8dc3162.entry.js.map → p-23dc27a8.entry.js.map} +0 -0
  401. /package/dist/core/{p-af02add9.entry.js.map → p-276a6c8f.entry.js.map} +0 -0
  402. /package/dist/core/{p-a5295f66.entry.js.map → p-3582c7df.entry.js.map} +0 -0
  403. /package/dist/core/{p-44aaf454.entry.js.map → p-3c7e90a7.entry.js.map} +0 -0
  404. /package/dist/core/{p-ae861bb8.entry.js.map → p-45076d7e.entry.js.map} +0 -0
  405. /package/dist/core/{p-70e1dd4d.entry.js.map → p-45c553db.entry.js.map} +0 -0
  406. /package/dist/core/{p-52fa3eec.entry.js.map → p-57ce68e5.entry.js.map} +0 -0
  407. /package/dist/core/{p-c4ffcc64.entry.js.map → p-5ac3adb9.entry.js.map} +0 -0
  408. /package/dist/core/{p-fb43abd6.entry.js.map → p-608b4912.entry.js.map} +0 -0
  409. /package/dist/core/{p-9452b9ac.entry.js.map → p-656a9127.entry.js.map} +0 -0
  410. /package/dist/core/{p-a86785dd.entry.js.map → p-6740c915.entry.js.map} +0 -0
  411. /package/dist/core/{p-28c9a6e4.entry.js.map → p-6aa8d3ce.entry.js.map} +0 -0
  412. /package/dist/core/{p-72ac8bb9.entry.js.map → p-72344764.entry.js.map} +0 -0
  413. /package/dist/core/{p-6fb29846.entry.js.map → p-76e8df31.entry.js.map} +0 -0
  414. /package/dist/core/{p-c397b33f.entry.js.map → p-7c38dd1f.entry.js.map} +0 -0
  415. /package/dist/core/{p-355d0914.entry.js.map → p-81f60443.entry.js.map} +0 -0
  416. /package/dist/core/{p-128e2cbb.entry.js.map → p-840c647f.entry.js.map} +0 -0
  417. /package/dist/core/{p-3785c740.entry.js.map → p-86989873.entry.js.map} +0 -0
  418. /package/dist/core/{p-1cc402b8.entry.js.map → p-880afd4b.entry.js.map} +0 -0
  419. /package/dist/core/{p-287e5c17.entry.js.map → p-889bb8db.entry.js.map} +0 -0
  420. /package/dist/core/{p-bfd03fb4.entry.js.map → p-8c00614c.entry.js.map} +0 -0
  421. /package/dist/core/{p-8abcc114.entry.js.map → p-8f45f956.entry.js.map} +0 -0
  422. /package/dist/core/{p-5cf704e3.entry.js.map → p-90814d32.entry.js.map} +0 -0
  423. /package/dist/core/{p-6e8ef73c.entry.js.map → p-93e1ba0a.entry.js.map} +0 -0
  424. /package/dist/core/{p-a7f21494.entry.js.map → p-949d08d3.entry.js.map} +0 -0
  425. /package/dist/core/{p-614953c5.entry.js.map → p-9b60ca02.entry.js.map} +0 -0
  426. /package/dist/core/{p-49444c33.entry.js.map → p-a0af1b0a.entry.js.map} +0 -0
  427. /package/dist/core/{p-012e058a.entry.js.map → p-a16415e4.entry.js.map} +0 -0
  428. /package/dist/core/{p-0eafbaa1.entry.js.map → p-ad5aca6f.entry.js.map} +0 -0
  429. /package/dist/core/{p-bdda404b.entry.js.map → p-aed1c7e7.entry.js.map} +0 -0
  430. /package/dist/core/{p-34cc376c.entry.js.map → p-b22fc28d.entry.js.map} +0 -0
  431. /package/dist/core/{p-44fbe8c2.entry.js.map → p-b5e39585.entry.js.map} +0 -0
  432. /package/dist/core/{p-3a94849e.entry.js.map → p-b8c0c142.entry.js.map} +0 -0
  433. /package/dist/core/{p-f4e2e41f.entry.js.map → p-ba4abeac.entry.js.map} +0 -0
  434. /package/dist/core/{p-6b6c1491.entry.js.map → p-c16e982c.entry.js.map} +0 -0
  435. /package/dist/core/{p-f247db14.entry.js.map → p-c3f5907e.entry.js.map} +0 -0
  436. /package/dist/core/{p-e0423c7e.entry.js.map → p-c7f8547d.entry.js.map} +0 -0
  437. /package/dist/core/{p-411527a1.entry.js.map → p-cdbbcef4.entry.js.map} +0 -0
  438. /package/dist/core/{p-21efc36e.entry.js.map → p-cf056074.entry.js.map} +0 -0
  439. /package/dist/core/{p-539b975f.entry.js.map → p-d2d17d6d.entry.js.map} +0 -0
  440. /package/dist/core/{p-082e0068.entry.js.map → p-d478d13e.entry.js.map} +0 -0
  441. /package/dist/core/{p-77a6c3f7.entry.js.map → p-df029b1b.entry.js.map} +0 -0
  442. /package/dist/core/{p-dfc2a0b1.entry.js.map → p-e176881a.entry.js.map} +0 -0
  443. /package/dist/core/{p-d8200098.entry.js.map → p-e1814e7e.entry.js.map} +0 -0
  444. /package/dist/core/{p-06b3ae40.entry.js.map → p-ebc47282.entry.js.map} +0 -0
  445. /package/dist/core/{p-ae7dcbd5.entry.js.map → p-ec14c783.entry.js.map} +0 -0
  446. /package/dist/core/{p-3b13d191.entry.js.map → p-f5fd4a76.entry.js.map} +0 -0
  447. /package/dist/core/{p-911b4aa4.entry.js.map → p-f700b759.entry.js.map} +0 -0
  448. /package/dist/core/{p-a7645717.entry.js.map → p-fdb587ab.entry.js.map} +0 -0
  449. /package/dist/core/{p-091a7fbf.entry.js.map → p-fe0153ec.entry.js.map} +0 -0
@@ -154,7 +154,7 @@ export class Badge {
154
154
  }
155
155
  render() {
156
156
  const { ariaLabel, el, foregroundColour, getLabel, position, size, label, type, variant, visible, theme, } = this;
157
- return (h(Host, { key: '0a7aab65643b79886f4134e59c195e33d8340e43', class: {
157
+ return (h(Host, { key: '80362128f0009037af8ecb10ddbe465ed847044b', class: {
158
158
  [`ic-badge-${position}`]: true,
159
159
  [`ic-badge-${size}`]: true,
160
160
  [`ic-badge-${variant}`]: true,
@@ -162,7 +162,7 @@ export class Badge {
162
162
  [`ic-badge-foreground-${foregroundColour}`]: foregroundColour !== null && variant === "custom",
163
163
  [`${visible ? "ic-badge-show" : "ic-badge-hide"}`]: true,
164
164
  [`ic-theme-${theme}`]: theme !== "inherit",
165
- }, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && h("slot", { key: 'e9684e9e92784e628f984a4980b512268565de0f', name: "badge-icon" }), type === "text" && label && (h("ic-typography", { key: 'f02681caadcec768afe078a9fe94aa1fe8314895', variant: size === "small" ? "badge-small" : "badge" }, getLabel())), type === "dot" && h("span", { key: '5065cf6a359ef976dac4c914bca25e8999f54ae1', class: "sr-only" }, "badge")));
165
+ }, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && h("slot", { key: '4df4a2ab27b18a2247bc047d940b16378451e8ae', name: "badge-icon" }), type === "text" && label && (h("ic-typography", { key: '56b2205ae5e36f5af3e60f0b76866c696d06eb7a', variant: size === "small" ? "badge-small" : "badge" }, getLabel())), type === "dot" && h("span", { key: '3a12c77ef89a454564358588908b31b69e04f500', class: "sr-only" }, "badge")));
166
166
  }
167
167
  static get is() { return "ic-badge"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -88,12 +88,12 @@ export class Breadcrumb {
88
88
  render() {
89
89
  const { current, href, monochrome, pageTitle, showBackIcon, theme } = this;
90
90
  const describedById = `${pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.toLowerCase().replace(" ", "-")}-describedby`;
91
- return (h(Host, { key: '35d95efd65cb713a1b9b614aa7162a328f1fd5bd', class: {
91
+ return (h(Host, { key: 'a7096975249f31144ffd6cd3c4cf6953169118ee', class: {
92
92
  "ic-breadcrumb-back": showBackIcon,
93
93
  "ic-breadcrumb-monochrome": monochrome,
94
94
  [`ic-theme-${theme}`]: theme !== "inherit",
95
95
  [`ic-breadcrumb-aria-current-page`]: current,
96
- }, "aria-current": current && "page", role: "listitem" }, h("div", { key: '126bfcb069004244fc0beb4b3f5e3dab652a4057', class: "breadcrumb" }, h("span", { key: '24c4bd1741b5a65b8d348280bd3c680db15edcfc', innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), showBackIcon && (h("span", { key: '501ae0ebd6ce1b77026ab8c447f59abf00db7c73', id: describedById, class: "hide" }, `Back to ${pageTitle}`)), !href ? (h("div", { class: "slotted-link-container" }, showBackIcon && this.renderBackIcon(), h("span", { class: "link-wrapper" }, h("slot", null)))) : current ? (h("span", { class: "current-page-container" }, isSlotUsed(this.el, "icon") && h("slot", { name: "icon" }), pageTitle)) : (h("ic-link", { theme: theme, monochrome: monochrome, href: href, class: "breadcrumb-link", "aria-describedby": showBackIcon && describedById }, showBackIcon && this.renderBackIcon(), isSlotUsed(this.el, "icon") && h("slot", { name: "icon" }), pageTitle)))));
96
+ }, "aria-current": current && "page", role: "listitem" }, h("div", { key: '8b8254900371f6888fcbf7c9ef800acdb6804dfb', class: "breadcrumb" }, h("span", { key: '1a0159b54b3f432098ba881c6563eaf563916872', innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), showBackIcon && (h("span", { key: '512f88714836b57162c1920cbea4eb1203f7573b', id: describedById, class: "hide" }, `Back to ${pageTitle}`)), !href ? (h("div", { class: "slotted-link-container" }, showBackIcon && this.renderBackIcon(), h("span", { class: "link-wrapper" }, h("slot", null)))) : current ? (h("span", { class: "current-page-container" }, isSlotUsed(this.el, "icon") && h("slot", { name: "icon" }), pageTitle)) : (h("ic-link", { theme: theme, monochrome: monochrome, href: href, class: "breadcrumb-link", "aria-describedby": showBackIcon && describedById }, showBackIcon && this.renderBackIcon(), isSlotUsed(this.el, "icon") && h("slot", { name: "icon" }), pageTitle)))));
97
97
  }
98
98
  static get is() { return "ic-breadcrumb"; }
99
99
  static get encapsulation() { return "shadow"; }
@@ -212,11 +212,11 @@ export class BreadcrumbGroup {
212
212
  }
213
213
  render() {
214
214
  const { backBreadcrumbOnly, collapsed, theme } = this;
215
- return (h(Host, { key: 'c2828a2c275ac4341d26054b2de81bd93591a783', class: {
215
+ return (h(Host, { key: '6bee18e1a84707b5d493149d23094af6a0fb1be8', class: {
216
216
  "ic-breadcrumb-group-back": backBreadcrumbOnly,
217
217
  "ic-breadcrumb-group-collapsed": collapsed,
218
218
  [`ic-theme-${theme}`]: theme !== "inherit",
219
- } }, h("nav", { key: '44c0b96801da788bbfa96b138348d05214270b60', "aria-label": "breadcrumbs" }, h("ol", { key: '1f0549af4262e1f3181168dce91b7af6c6820dc3' }, h("slot", { key: '8603a718735d00643bedf8b3b3fed554234d710e' })))));
219
+ } }, h("nav", { key: '144ad11cead96e18ae62eba8fc2dead82e188854', "aria-label": "breadcrumbs" }, h("ol", { key: 'c101766f5e9b0e5d9a5aaebd5d0d8eda63ffc9ea' }, h("slot", { key: 'c761cdbb01472d0d8c2550254063b59fa714f722' })))));
220
220
  }
221
221
  static get is() { return "ic-breadcrumb-group"; }
222
222
  static get encapsulation() { return "shadow"; }
@@ -398,7 +398,7 @@ export class Button {
398
398
  variant !== "destructive" && (h("span", { class: dropdownExpanded
399
399
  ? "dropdown-expanded"
400
400
  : "arrow-dropdown", innerHTML: arrowDropdown }))))));
401
- return (h(Host, { key: '742d4ee3daabdb12a7ef9f30803ed01a49414849', class: {
401
+ return (h(Host, { key: '9af3124fa3bb001b9b744b4df20d0e107f865df1', class: {
402
402
  "ic-button-disabled": disabled && !loading,
403
403
  "ic-button-full-width": fullWidth,
404
404
  "ic-button-loading": loading,
@@ -414,7 +414,7 @@ export class Button {
414
414
  monochrome,
415
415
  "top-icon": isSlotUsed(this.el, "top-icon"),
416
416
  "with-badge": isSlotUsed(this.el, "badge"),
417
- }, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (h("ic-tooltip", { key: '6526412bc27a6725714bc73f671e76d8cf30d28e', id: describedby, label: title || ariaLabel, target: buttonId, placement: tooltipPlacement, fixedPositioning: tooltipFixedPositioning, silent: isIconVariant() && !!ariaLabel }, h(ButtonContent, { key: 'f7df2578a6539a40373d599788d1097e2bcaa5a5' }))), isSlotUsed(this.el, "badge") && h("slot", { key: 'b790a201f342345bafe97cfd19bd53d7ffd1811c', name: "badge" }), !hasTooltip && h(ButtonContent, { key: 'fa2a22102dbd45b0c4c02a7608fc913bc50f641d' })));
417
+ }, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (h("ic-tooltip", { key: '533f8aac9579f16eaae0a167a683f7c42973de95', id: describedby, label: title || ariaLabel, target: buttonId, placement: tooltipPlacement, fixedPositioning: tooltipFixedPositioning, silent: isIconVariant() && !!ariaLabel }, h(ButtonContent, { key: '67502a4253722031847e36ae3275ca48c7d01bd4' }))), isSlotUsed(this.el, "badge") && h("slot", { key: 'e4e5081c6f415f0447ae43398fd11fcf51a426f3', name: "badge" }), !hasTooltip && h(ButtonContent, { key: '5185de2240ddaddbc0bb35bdab51bc63e91492a5' })));
418
418
  }
419
419
  static get is() { return "ic-button"; }
420
420
  static get encapsulation() { return "shadow"; }
@@ -150,19 +150,19 @@ export class CardVertical {
150
150
  rel: rel,
151
151
  target: target,
152
152
  };
153
- return (h(Host, { key: 'aeff3ef22b085acbf30dacb5d3ae0167451044b9', class: {
153
+ return (h(Host, { key: 'a5c7d234492dc72ab0ce06bc64646982b9b0c765', class: {
154
154
  [`ic-theme-${theme}`]: theme !== "inherit",
155
- } }, h(Component, Object.assign({ key: 'a451e5f53149283ee77878ccc3e699beae669f24', class: {
155
+ } }, h(Component, Object.assign({ key: '7878c6c421216eaffda8034f38711156dd920e41', class: {
156
156
  card: true,
157
157
  clickable: !!clickable && !disabled,
158
158
  disabled: !!disabled,
159
159
  fullwidth: !!fullWidth,
160
160
  focussed: isFocussed,
161
161
  monochrome: monochrome,
162
- }, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed(this.el, "image-top") && (h("div", { key: '2ec35ab8d6e1224c0a393c92a72e403e4c5fc8fc', class: "image-top" }, h("slot", { key: 'c859ae1e242284b586df2ce7627c316021b8ef54', name: "image-top" }))), h("div", { key: '55f21501b3d95e1f5bf3a69542dab57d00379e63', class: "card-header" }, isSlotUsed(this.el, "icon") && (h("div", { key: 'f95e7224d6e8548f33a8861025a1651a3bc953a4', class: "icon" }, h("slot", { key: '1102f6f88e830613365cb0bfe3e5c4481b3a207e', name: "icon" }))), h("div", { key: '3122872ef284640debbf7182d36f9cd4c6032ae4', class: "card-title" }, h("slot", { key: 'f51213257b0ff6e195852ca006e9cba35103f210', name: "heading" }, h("ic-typography", { key: '7d82fce416b7579ac23e2154ef512bd8f3181bc3', variant: "h4" }, h("p", { key: 'ad083279b8f012f16d67c182c37bcc6383710ba5' }, heading)))), isSlotUsed(this.el, "interaction-button") && (h("div", { key: 'bb47af0b373f295cb1bcd1b72df6c325e257c2ed', class: "interaction-button" }, h("slot", { key: 'fd0fc056e51febf6d9abe76d7ffb0773836e52d3', name: "interaction-button" })))), (subheading || isSlotUsed(this.el, "subheading")) && (h("div", { key: '32851c6c59b9ee76aa490210f5888fe410067ca3', class: "subheading" }, h("slot", { key: '5757fd2fd2618f03fee208b855384c29861cadc6', name: "subheading" }, h("ic-typography", { key: '1f206ca1eaf0bcd5693abf3fc3f97303582a5deb', variant: "subtitle-small" }, subheading)))), isSlotUsed(this.el, "adornment") && (h("div", { key: 'ceef939617ce12be984f15673e9ef4e71110234c', class: "adornment" }, h("slot", { key: '127e2dfa77b74a19070e90361d26fe1358539ca2', name: "adornment" }))), isSlotUsed(this.el, "image-mid") && (h("div", { key: '0cbc0b6a9638969db6fabcde40ad46044afc4b88', class: "image-mid" }, h("slot", { key: '3e8ae6e25570ed03e7fea0ae4fdd7a779d3022b1', name: "image-mid" }))), (message || isSlotUsed(this.el, "message")) && (h("div", { key: '9da59f1aeaa1fcf4bc2a0aa1bd50d3f86faa2af7', class: "card-message" }, message && (h("ic-typography", { key: '4620229c479b782ad5ee0c8e3a7acdf6a8a70d7b', variant: "body" }, message)), isSlotUsed(this.el, "message") && h("slot", { key: '959e101cc933319cf297d0f0ebbd46299a24cbd5', name: "message" }))), (isSlotUsed(this.el, "interaction-controls") || expandable) && (h("div", { key: 'c4263a3d5f8e22f31cf0e55a868dbf0f52b00692', class: "interaction-area" }, h("div", { key: 'bd5e1d3ff137004ff5c696f611dae1bfefd26e1a', class: "interaction-controls" }, h("slot", { key: '5985495f8f12c825aafcab517d3add5f9741d460', name: "interaction-controls" })), expandable && (h("ic-tooltip", { key: 'e3b12f780303019b7f95ce5a98d7b7194c242c9a', id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, h("button", { key: '9857a37a37571bd21f500527149ed8bc3806c4f4', class: {
162
+ }, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed(this.el, "image-top") && (h("div", { key: '32fc034396f14d12845c12ad9cfc4c00b75c0970', class: "image-top" }, h("slot", { key: 'd2f682bfd7e961d43aa37fc14b1f1ce875cfd9e4', name: "image-top" }))), h("div", { key: '315d6f3c97119e41228be4c1057f2c8e28c2e627', class: "card-header" }, isSlotUsed(this.el, "icon") && (h("div", { key: '304744f27ecdd26136c52bdf6a0623ccf16c8ccb', class: "icon" }, h("slot", { key: 'a186a14d094c999cc72b9ca8d0580c9c81ef5e5a', name: "icon" }))), h("div", { key: '4d52fd26c94603c39bdc7d03dd185d9147ec35d6', class: "card-title" }, h("slot", { key: 'e99c3b5b04bc8e4e0ad712ac221183e42472d1e4', name: "heading" }, h("ic-typography", { key: '7de9265a3bccf8ddeda0a5da115739dab6e7f4e3', variant: "h4" }, h("p", { key: '52ad60554c859fcba6960f892210b11afe2c8412' }, heading)))), isSlotUsed(this.el, "interaction-button") && (h("div", { key: 'bd177fd6ead82c2d826a90c9bc36baf4d9650822', class: "interaction-button" }, h("slot", { key: '50200586d93b445f084acdc44fe783362c61ad1c', name: "interaction-button" })))), (subheading || isSlotUsed(this.el, "subheading")) && (h("div", { key: '4084d3cdbcbfba517874846f00c6a75973911b46', class: "subheading" }, h("slot", { key: '83ecdcca1ae25ded22c2b48631ca719b219c670f', name: "subheading" }, h("ic-typography", { key: '6cc1e94ba4ecaeb37c0b01a177bf51ce56431406', variant: "subtitle-small" }, subheading)))), isSlotUsed(this.el, "adornment") && (h("div", { key: '5b2e821691a30048fa7598ea5e7f4da245539644', class: "adornment" }, h("slot", { key: '9955b70349039dd954ee03c66f27684225ad2161', name: "adornment" }))), isSlotUsed(this.el, "image-mid") && (h("div", { key: '1a44edd306c3a8a9f8b9d07d3f92bad346b8d9c2', class: "image-mid" }, h("slot", { key: '79c16a0c673bc92c420159b4908e7c2881c58fc0', name: "image-mid" }))), (message || isSlotUsed(this.el, "message")) && (h("div", { key: '11468fd0d9784ad303bae66a6c7b9a7e6fcd2fdb', class: "card-message" }, message && (h("ic-typography", { key: '4795147360d9862d329b7aa23b2d5d9d3501ff21', variant: "body" }, message)), isSlotUsed(this.el, "message") && h("slot", { key: '2e5c82f6cc32ab92e46d4531f5f646bb15b8bb8a', name: "message" }))), (isSlotUsed(this.el, "interaction-controls") || expandable) && (h("div", { key: '0d1f66f5387c89bdb9b6be46636f6b092fd3b977', class: "interaction-area" }, h("div", { key: '9afed7575316981e6e696d58469f56746fdd78e3', class: "interaction-controls" }, h("slot", { key: 'f218de86f75106aab7b2a7c3b81b303a813cfcc3', name: "interaction-controls" })), expandable && (h("ic-tooltip", { key: '29ccf36efd77a936dd35fef1cc304f5ffdde47ea', id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, h("button", { key: 'e25088479cfa1519d8ac728505138fb2730b0400', class: {
163
163
  "toggle-button": true,
164
164
  [`toggle-button-${this.areaExpanded ? "expanded" : "closed"}`]: true,
165
- }, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (h("div", { key: '080d0198d37d939cfc506abc5933caac7eaa383d', class: "expanded-content", id: "expanded-content-area" }, h("slot", { key: '6c9b5dd6bfa46d466034255231047b2682e19f96', name: "expanded-content" }))), isSlotUsed(this.el, "badge") && h("slot", { key: '1f68304dd15e605320258bf8d14d2df3b0caf344', name: "badge" }))));
165
+ }, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (h("div", { key: '710a390ddcfd6464509e31a8bdc12213180a8e69', class: "expanded-content", id: "expanded-content-area" }, h("slot", { key: 'd315e1d72d612b75a04460d6a33a66a7f84f39c8', name: "expanded-content" }))), isSlotUsed(this.el, "badge") && h("slot", { key: '93bad888a177ab13ae50ea4d86fa6fd2c4ae01f7', name: "badge" }))));
166
166
  }
167
167
  static get is() { return "ic-card-vertical"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -130,17 +130,17 @@ export class Checkbox {
130
130
  ? renderHiddenInput(el, value, name, disabled)
131
131
  : removeHiddenInput(el);
132
132
  const LabelContent = () => this.hasLabelSlot() ? (h("slot", { name: "label" })) : (h("ic-typography", { class: "checkbox-label", variant: "body" }, h("label", { htmlFor: inputId }, label)));
133
- return (h(Host, { key: 'b9aee197d23b8380b224aaa9f332d24c20406518', class: {
133
+ return (h(Host, { key: '7554612ca8fba3490ff568295eea1bfab40707a9', class: {
134
134
  "ic-checkbox-disabled": disabled,
135
135
  [`ic-checkbox-${size}`]: !!size,
136
136
  [`ic-theme-${theme}`]: theme !== "inherit",
137
- } }, h("div", { key: 'a027b311fa8a9cc5ef753a426fc3f73e8d6f97a4', class: "container" }, displayIndeterminate ? (h("div", { class: "indeterminate-symbol" })) : (checked && (h("svg", { class: "checkmark", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, h("title", null, "checkmark icon"), h("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" })))), h("input", { key: '5f3ce7e559134302640a03d2312782552e9ab018', role: "checkbox", class: {
137
+ } }, h("div", { key: '858b6c8812f827d1805ae6aea8a02760ddaef38a', class: "container" }, displayIndeterminate ? (h("div", { class: "indeterminate-symbol" })) : (checked && (h("svg", { class: "checkmark", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, h("title", null, "checkmark icon"), h("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" })))), h("input", { key: '1b2729f5f417f5fbea44639369b5ad23f7c937e8', role: "checkbox", class: {
138
138
  checkbox: true,
139
139
  checked,
140
140
  indeterminate: displayIndeterminate,
141
- }, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: inputId, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel || this.hasLabelSlot() ? label : undefined }), !hideLabel && h(LabelContent, { key: 'e75420d60d9fdc9170a7f54c96575936c8da122d' })), h("span", { key: 'c3fccdab4f27feaeab35df33734723d9f14487cc', id: `${inputId}-additional-field-description`, role: "alert", class: "sr-only" }, isDynamicAdditionalField && checked ? dynamicText : ""), isSlotUsed(el, "additional-field") && (h("div", { key: 'ceb57398c6a3dea8cec4eb4a8e0ba940f6f15c0a', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && h("div", { key: '41f097eb38e5dfd739b7de22cffb03ff3043d3e6', class: "branch-corner" }), h("div", { key: '15b7e382cf7c9bf23a68016f5f2a449ae92dc03b', class: "dynamic-field-container" }, isDynamicAdditionalField && (h("ic-typography", { key: 'd0551674a9d5d6d6d01cf842aff133072ce4d1be', variant: "caption" }, h("p", { key: '81f3345ea6625aa9d8644d5c410c7b24c1365975', class: "dynamic-text" }, isDynamicAdditionalField && checked ? dynamicText : ""))), h("div", { key: '970766071c9e70042e87e243e3415b73c189b51f', class: {
141
+ }, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: inputId, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel || this.hasLabelSlot() ? label : undefined }), !hideLabel && h(LabelContent, { key: '62bdb97c7d1dd473236dd5a9b294aaf1eb6e01c7' })), h("span", { key: '3d798c60b58dfcb3cf907569094e84a09e5e291c', id: `${inputId}-additional-field-description`, role: "alert", class: "sr-only" }, isDynamicAdditionalField && checked ? dynamicText : ""), isSlotUsed(el, "additional-field") && (h("div", { key: 'a8276e2dcd983bee6547ac802de050348263ca9b', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && h("div", { key: '9235762858b354b09bbdf956c5a2041041162f77', class: "branch-corner" }), h("div", { key: 'cb92bb94e296830a3132f752b0c7689671275383', class: "dynamic-field-container" }, isDynamicAdditionalField && (h("ic-typography", { key: '318cdd04a078d79aa98138a664e60ee308799f43', variant: "caption" }, h("p", { key: 'ce5182b3ca908fc98ca9303d014d0c05f0bf3c0b', class: "dynamic-text" }, isDynamicAdditionalField && checked ? dynamicText : ""))), h("div", { key: '352457e47762a12c320dc7df9635fa38bbc0d675', class: {
142
142
  "additional-field-wrapper": !isDynamicAdditionalField,
143
- } }, h("slot", { key: '3ff910a1d7a01312baeb70a965aaaa157ae66e6e', name: "additional-field" })))))));
143
+ } }, h("slot", { key: '1d9225d692fbe869375109c97c9ec479be89e69f', name: "additional-field" })))))));
144
144
  }
145
145
  static get is() { return "ic-checkbox"; }
146
146
  static get encapsulation() { return "shadow"; }
@@ -118,11 +118,11 @@ export class CheckboxGroup {
118
118
  const describedBy = getInputDescribedByText(this.el, name, helperText !== "", validationStatus !== "");
119
119
  const renderSRText = validationStatus === "error" || required || hideLabel;
120
120
  const showValidation = hasValidationStatus(validationStatus, disabled);
121
- return (h(Host, { key: '4bf0ebdc41ee60a21034e57ffa313abf87290794', class: {
121
+ return (h(Host, { key: '862a97d086caec6a36b54a83d7dc73cab51ec26e', class: {
122
122
  "ic-checkbox-group-disabled": !!disabled,
123
123
  [`ic-checkbox-group-${size}`]: true,
124
124
  [`ic-theme-${theme}`]: theme !== "inherit",
125
- } }, renderSRText && (h("span", { key: '69b9b6d5d0698d168e6df0c01b47d333b5afddba', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), h("fieldset", { key: 'ad8d27f986ca3337c4507829c70b1bfb0aa37ed5', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (h("legend", { key: '84c10349be7a6d6acb70a5c9e70d888b86dbe258' }, h("ic-input-label", { key: '00d928c2b7b8ce34262c4fe82d2d87a869bfaf9c', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, h("slot", { key: '42e5a3983f00c06616384cd7ba1a0793188aad7d', name: "helper-text", slot: "helper-text" })))), h("div", { key: '726918f0786e8418fcdd616841128a1cb7365bec', class: "checkboxes-container" }, h("slot", { key: 'c4323eeff5908bf1a6a9e8a9fcfe2b5678489d8e' }))), h("ic-input-validation", { key: '0178a6710479690c9ee615f9d7e25d04d1108fdd', class: {
125
+ } }, renderSRText && (h("span", { key: '2099c60d533ff668ad2e3770bbe487182ba5c8c3', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), h("fieldset", { key: '43ab035620d2c0a7b9325b3441fa51e1dac77e3a', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (h("legend", { key: '3bff3341981e4f02aa73a21abee555be9f8aa863' }, h("ic-input-label", { key: '949a4b31d5021b96870fcf63c595d06b4a84baf5', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, h("slot", { key: '90ae6ee756ee2415828ac81ebcc5e84a80999c5d', name: "helper-text", slot: "helper-text" })))), h("div", { key: '7bf7695658a85157da695af6e8fb6a9b8be276e3', class: "checkboxes-container" }, h("slot", { key: '30d42a9d6cc00ac71280f88e462cb851d79ef61e' }))), h("ic-input-validation", { key: '44a98a0c788e457319d44421328fcb59ab8e9244', class: {
126
126
  "show-validation": showValidation,
127
127
  }, for: name, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "" })));
128
128
  }
@@ -95,12 +95,12 @@ export class Chip {
95
95
  render() {
96
96
  const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, fullWidth, } = this;
97
97
  const ariaLabel = `${label} chip`;
98
- return (h(Host, { key: '5eddf76a82ea1c0589a664c6553dadbf4dbda7c1', class: {
98
+ return (h(Host, { key: 'a340090512aafa664e16a6537cb7d8dc2fe84b29', class: {
99
99
  "ic-chip-dismissed": !visible,
100
100
  [`ic-theme-${theme}`]: theme !== "inherit",
101
101
  [`ic-chip-${foregroundColor}-text`]: variant === "filled" && !!foregroundColor,
102
102
  "ic-chip-full-width": fullWidth,
103
- } }, visible && (h("div", { key: 'c58c911f4373c48d04fe4f4f4295210bf32f6260', class: {
103
+ } }, visible && (h("div", { key: '174e895e50479492d85f8a2d9871450f37d47997', class: {
104
104
  chip: true,
105
105
  [`${variant}`]: true,
106
106
  [`${size}`]: true,
@@ -109,7 +109,7 @@ export class Chip {
109
109
  hovered,
110
110
  "non-transparent": variant === "outlined" && !transparentBackground,
111
111
  "full-width": fullWidth,
112
- } }, isSlotUsed(this.el, "icon") && (h("div", { key: '7eeadeb6eee49ac890dc1c52e39cd0cea4df7c01', class: "icon" }, h("slot", { key: 'ea4df10a163a8c878a7f700696b4ddcc423a213a', name: "icon" }))), h("ic-typography", { key: '2bbdbd7e1c5360a15616c52649dd7388fcaa417f', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, h("span", { key: '3085a661aaa96d6b955cc95240a3f5322e5fdf8a' }, label)), dismissible && (h("ic-tooltip", { key: 'e876238e430c974fa1c3513f7dea201d44a36c8e', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, h("button", { key: '125f60aca78da345de3b1e03751af2b8b3e196d2', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, "badge") && h("slot", { key: '688e1ad7f6b8bfab9cfa4649d7f515c2d5ae37c1', name: "badge" }))), dismissible && (h("div", { key: '45cb6d6e91a9e0d0c0715044ad40fa6da5cf100b', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
112
+ } }, isSlotUsed(this.el, "icon") && (h("div", { key: '3d12f1e7c932cd91f0835f3fe7c76ec6784bc44f', class: "icon" }, h("slot", { key: '5307ba63af7c7342cf32072ccebf02788265e0f5', name: "icon" }))), h("ic-typography", { key: '71a528ad758c4a09dbe1bfa879f4ca0b4a9177b7', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, h("span", { key: '85e3af35df8a3f2243bc0b36130a6238b6c6200d' }, label)), dismissible && (h("ic-tooltip", { key: '6d68a771210b186192f7f4486d578a1cb706dda9', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, h("button", { key: '24917885cac2c78593cb721ce14254c20de85905', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, "badge") && h("slot", { key: '4a2bf278717384d8d7a1c830788520a385feb638', name: "badge" }))), dismissible && (h("div", { key: '55bd826c4bd73c42d24a7a1aa1cdc52fd3a00d59', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
113
113
  }
114
114
  static get is() { return "ic-chip"; }
115
115
  static get encapsulation() { return "shadow"; }
@@ -40,10 +40,10 @@ export class ClassificationBanner {
40
40
  if (!classification ||
41
41
  (classification && !classificationText[classification]))
42
42
  classification = "default";
43
- return (h(Host, { key: '8ccd98249fea7e78da349f2c97243366305c5dcc', class: { ["ic-classification-banner-inline"]: !!inline } }, h("banner", { key: 'a108ace2bf5f64c5867f993d9d130595b61ccac9', "aria-label": "Protective marking", class: {
43
+ return (h(Host, { key: '4d06c781318ef854931702315e73054f65b85259', class: { ["ic-classification-banner-inline"]: !!inline } }, h("banner", { key: '251f6ced1270c823b1be9e39375139756adcd3e2', "aria-label": "Protective marking", class: {
44
44
  ["classification-banner"]: true,
45
45
  [`${classification}`]: classification,
46
- } }, classification !== "default" ? (h("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, h("ic-typography", { key: '09edc559ec7b205d092210ef73ef95faa43c1a8a', variant: "caption-uppercase" }, classification === "default"
46
+ } }, classification !== "default" ? (h("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, h("ic-typography", { key: '3fd3a609c017ed0b5b24296464bae43dcf8cba67', variant: "caption-uppercase" }, classification === "default"
47
47
  ? classificationText[classification]
48
48
  : `${upTo ? "up to" : ""}
49
49
  ${country}
@@ -19,10 +19,10 @@ export class DataList {
19
19
  Array.from(el.children).forEach((child) => child.setAttribute("size", "small"));
20
20
  }
21
21
  const hasHeading = heading || el.querySelector('[slot="heading"]');
22
- return (h(Host, { key: '17c612682af529e83aa9e68f352e0def68e3ed1f', class: {
22
+ return (h(Host, { key: '1c611db796f79fc54af3a89e4b7ed0439e09f8ce', class: {
23
23
  "ic-data-list-small": size === "small",
24
24
  [`ic-theme-${theme}`]: theme !== "inherit",
25
- } }, h("div", { key: '35e939693c3be1a65b3773dc4cc777f934b0fbda', class: "heading", id: "data-list-heading" }, h("slot", { key: '6adee6dde0c29913a75228719df88583586dfb6e', name: "heading" }, h("ic-typography", { key: 'fc50ff9029cf0b6d4a327353dc930e6bd9d938da', variant: "h3" }, heading))), h("div", { key: 'f04cf846e38231a4008687d55cdadd825222bbf9', class: { divider: true, "divider-no-heading": !hasHeading } }), h("ul", { key: 'e23f726e29c9436d889e97494d1999208589f857', "aria-labelledby": "data-list-heading", class: "rows" }, h("slot", { key: 'a5c323131aba38658d7b7406d5ee2bf9e3c415d7' }))));
25
+ } }, h("div", { key: '5936cad1baba390f150bb72a2ef5b0ee7eaf5750', class: "heading", id: "data-list-heading" }, h("slot", { key: '2d0080f2848355022ea118f8ef2f78cafb584bf3', name: "heading" }, h("ic-typography", { key: 'dee1629146c3e50998552ae3c814eee17bc196c5', variant: "h3" }, heading))), h("div", { key: 'bb1c6bf91cfcd71205acd3d15b504057d3fd566f', class: { divider: true, "divider-no-heading": !hasHeading } }), h("ul", { key: '838380d006c00c28fb309aef1f57ab3bd8534102', "aria-labelledby": "data-list-heading", class: "rows" }, h("slot", { key: '6f84ce3a6716791113f5288a17c3a9a2416552d9' }))));
26
26
  }
27
27
  static get is() { return "ic-data-list"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -68,12 +68,12 @@ export class DataRow {
68
68
  }
69
69
  render() {
70
70
  const { el, listSize, hasEndComponent, label, renderCellContent, size, theme, value, } = this;
71
- return (h(Host, { key: '3cfe27bfa3e8e0a563450e3842c31e50a78fcb28', class: {
71
+ return (h(Host, { key: '720dc55ba7e1000ce6837a15d9d7accc726cc1ff', class: {
72
72
  ["ic-data-row-small"]: size === "small",
73
73
  ["breakpoint-medium"]: listSize === "m",
74
74
  ["breakpoint-xs"]: listSize === "xs",
75
75
  [`ic-theme-${theme}`]: theme !== "inherit",
76
- }, role: "listitem" }, h("div", { key: '348b7ebe1cec0baab24213e9cc468a7e2274ae31', class: "data" }, h("div", { key: 'a2d9d409a312f20b259a40a85ce37b8928e8da06', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (h("div", { key: 'c7f9583403acf4041eebe4b26ff417b453fe07db', class: "end-component" }, h("slot", { key: '837641d249f27635ece7e1eb6505d3e4dbf5492b', name: "end-component" })))), h("div", { key: '9f39724a36e05428a979a589bbed4a09fa2043e0', class: "divider" })));
76
+ }, role: "listitem" }, h("div", { key: '28e63fbb09ad16bcc6843a85047635e91006a220', class: "data" }, h("div", { key: '698f607af4b50db1bc837d83df0f46ee9cc4201f', class: "text-cells" }, (isSlotUsed(el, "label") || label) && renderCellContent("label"), (isSlotUsed(el, "value") || value) && renderCellContent("value")), hasEndComponent && (h("div", { key: '1febd59bc77239e0cedcc64953c0a5d2b4bbba6d', class: "end-component" }, h("slot", { key: 'dfa67b2ff598520d1b3f47a1479e4448aa84986f', name: "end-component" })))), h("div", { key: '989733a9cf32e8d452c4c2d4ae24844c7d38ece2', class: "divider" })));
77
77
  }
78
78
  static get is() { return "ic-data-row"; }
79
79
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  import { Host, h, Fragment, } from "@stencil/core";
2
2
  import closeIcon from "../../assets/close-icon.svg";
3
- import { isSlotUsed, checkResizeObserver, onComponentRequiredPropUndefined, getSlotElements, } from "../../utils/helpers";
3
+ import { isSlotUsed, checkResizeObserver, focusElement, handleFocusTrapTabKeyPress, onComponentRequiredPropUndefined, refreshInteractiveElementsOnSlotChange, slottedInteractiveElements, } from "../../utils/helpers";
4
4
  /**
5
5
  * @slot dialog-controls - Content will be place at the bottom of the dialog.
6
6
  * @slot heading - Content will be placed at the top of the dialog.
@@ -13,16 +13,10 @@ export class Dialog {
13
13
  this.DATA_GETS_FOCUS = "data-gets-focus";
14
14
  this.DIALOG_CONTROLS = "dialog-controls";
15
15
  this.dialogHeight = 0;
16
+ this.focusAttemptCount = 0;
16
17
  this.focusedElementIndex = 0;
17
- this.IC_TEXT_FIELD = "IC-TEXT-FIELD";
18
- this.IC_ACCORDION = "IC-ACCORDION";
19
- this.IC_ACCORDION_GROUP = "IC-ACCORDION-GROUP";
20
- this.IC_CHECKBOX = "IC-CHECKBOX";
21
- this.IC_SEARCH_BAR = "IC-SEARCH-BAR";
22
- this.IC_TAB_CONTEXT = "IC-TAB-CONTEXT";
23
18
  this.interactiveElementList = [];
24
19
  this.resizeObserver = null;
25
- this.focusAttemptCount = 0;
26
20
  this.dialogRendered = false;
27
21
  this.fadeIn = false;
28
22
  /**
@@ -113,26 +107,6 @@ export class Dialog {
113
107
  this.dialogHeight = this.dialogEl.clientHeight;
114
108
  }
115
109
  };
116
- this.refreshInteractiveElementsOnSlotChange = () => {
117
- var _a, _b, _c;
118
- const contentWrapper = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("#dialog-content");
119
- if (contentWrapper) {
120
- this.contentArea = contentWrapper.querySelector("slot");
121
- // Detect changes to slotted elements
122
- (_b = this.contentArea) === null || _b === void 0 ? void 0 : _b.addEventListener("slotchange", this.getInteractiveElements);
123
- this.contentAreaMutationObserver = new MutationObserver(() => {
124
- this.getInteractiveElements();
125
- });
126
- // Detect changes to children of slotted elements
127
- (_c = getSlotElements(contentWrapper)) === null || _c === void 0 ? void 0 : _c.forEach((el) => {
128
- var _a;
129
- (_a = this.contentAreaMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, {
130
- childList: true,
131
- subtree: true,
132
- });
133
- });
134
- }
135
- };
136
110
  this.removeSlotChangeListener = () => {
137
111
  var _a;
138
112
  if (this.contentArea) {
@@ -140,6 +114,15 @@ export class Dialog {
140
114
  (_a = this.contentAreaMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
141
115
  }
142
116
  };
117
+ this.setContentAreaMutationObserver = () => {
118
+ var _a;
119
+ const contentWrapper = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("#dialog-content");
120
+ if (contentWrapper) {
121
+ const { contentAreaSlot, contentAreaMutationObserver } = refreshInteractiveElementsOnSlotChange(contentWrapper || null, this.getInteractiveElements);
122
+ this.contentArea = contentAreaSlot;
123
+ this.contentAreaMutationObserver = contentAreaMutationObserver;
124
+ }
125
+ };
143
126
  this.setInitialFocus = () => {
144
127
  this.sourceElement = document.activeElement;
145
128
  if (!this.interactiveElementList.length) {
@@ -156,17 +139,11 @@ export class Dialog {
156
139
  if (this.focusedElementIndex === -1) {
157
140
  this.focusedElementIndex = 0;
158
141
  }
159
- const elToFocus = this.interactiveElementList[this.focusedElementIndex];
160
- if (elToFocus) {
161
- this.focusElement(elToFocus);
162
- }
163
- };
164
- this.getFocusedElementIndex = () => {
165
- var _a;
166
- for (let i = 0; i < this.interactiveElementList.length; i++) {
167
- if (this.interactiveElementList[i] ===
168
- (((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) || document.activeElement)) {
169
- this.focusedElementIndex = i;
142
+ if (this.interactiveElementList[this.focusedElementIndex]) {
143
+ const focusElementResult = focusElement(this.focusAttemptCount, this.focusedElementIndex, this.interactiveElementList);
144
+ if (focusElementResult) {
145
+ this.focusAttemptCount = focusElementResult.newFocusAttemptCount;
146
+ this.focusedElementIndex = focusElementResult.newFocusedElementIndex;
170
147
  }
171
148
  }
172
149
  };
@@ -176,76 +153,17 @@ export class Dialog {
176
153
  this.getInteractiveElements = () => {
177
154
  var _a;
178
155
  this.interactiveElementList = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll("ic-button")) || []);
179
- const slottedInteractiveElements = Array.from(this.el.querySelectorAll(`a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex="-1"]),
180
- ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-context,
181
- ic-back-to-top, ic-breadcrumb, ic-chip[dismissible="true"], ic-footer-link, ic-link, ic-navigation-button,
182
- ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion, ic-date-input, ic-date-picker`));
183
- if (slottedInteractiveElements.length > 0) {
184
- if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {
185
- slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, "");
156
+ const interactiveElements = slottedInteractiveElements(this.el);
157
+ if (interactiveElements.length > 0) {
158
+ if (interactiveElements[0].slot !== this.DIALOG_CONTROLS) {
159
+ interactiveElements[0].setAttribute(this.DATA_GETS_FOCUS, "");
186
160
  }
187
161
  else if (!this.destructive) {
188
- slottedInteractiveElements[slottedInteractiveElements.length - 1].setAttribute(this.DATA_GETS_FOCUS, "");
162
+ interactiveElements[interactiveElements.length - 1].setAttribute(this.DATA_GETS_FOCUS, "");
189
163
  }
190
164
  }
191
- for (let i = 0; i < slottedInteractiveElements.length; i++) {
192
- this.interactiveElementList.splice(1 + i, 0, slottedInteractiveElements[i]);
193
- }
194
- };
195
- this.getNextFocusEl = (focusedElementIndex) => this.interactiveElementList[focusedElementIndex];
196
- this.onTabKeyPress = (shiftKey) => {
197
- var _a;
198
- this.getFocusedElementIndex();
199
- if (((_a = this.interactiveElementList[this.focusedElementIndex]) === null || _a === void 0 ? void 0 : _a.tagName) ===
200
- this.IC_SEARCH_BAR) {
201
- return false;
202
- }
203
- this.setFocusIndexBasedOnShiftKey(shiftKey);
204
- this.loopNextFocusIndexIfLastElement();
205
- this.focusAttemptCount = 0;
206
- this.focusElement(this.getNextFocusEl(this.focusedElementIndex), shiftKey);
207
- return true;
208
- };
209
- this.shouldSkipElement = (element) => {
210
- if (!element) {
211
- return true;
212
- }
213
- const isHidden = getComputedStyle(element).visibility === "hidden" ||
214
- element.offsetHeight === 0 ||
215
- element.hasAttribute("disabled") ||
216
- (element.tagName === this.IC_ACCORDION_GROUP &&
217
- element.hasAttribute("single-expansion"));
218
- const radioEl = element.closest("ic-radio-option");
219
- return (isHidden ||
220
- (element.getAttribute("type") === "radio" &&
221
- !!radioEl &&
222
- !(radioEl.hasAttribute("selected") || element.tabIndex === 0)));
223
- };
224
- this.focusElement = (element, shiftKey = false) => {
225
- if (!element) {
226
- return;
227
- }
228
- if (this.focusAttemptCount++ > this.interactiveElementList.length) {
229
- return;
230
- }
231
- if (this.shouldSkipElement(element)) {
232
- this.setFocusIndexBasedOnShiftKey(shiftKey);
233
- this.loopNextFocusIndexIfLastElement();
234
- this.focusElement(this.getNextFocusEl(this.focusedElementIndex), shiftKey);
235
- }
236
- else {
237
- switch (element.tagName) {
238
- case this.IC_ACCORDION_GROUP:
239
- case this.IC_ACCORDION:
240
- case this.IC_SEARCH_BAR:
241
- case this.IC_TEXT_FIELD:
242
- case this.IC_CHECKBOX:
243
- case this.IC_TAB_CONTEXT:
244
- element.setFocus();
245
- break;
246
- default:
247
- element.focus();
248
- }
165
+ for (let i = 0; i < interactiveElements.length; i++) {
166
+ this.interactiveElementList.splice(1 + i, 0, interactiveElements[i]);
249
167
  }
250
168
  };
251
169
  this.renderDialog = () => {
@@ -286,7 +204,7 @@ export class Dialog {
286
204
  this.removeSlotChangeListener();
287
205
  }
288
206
  componentDidLoad() {
289
- this.refreshInteractiveElementsOnSlotChange();
207
+ this.setContentAreaMutationObserver();
290
208
  if (this.open) {
291
209
  this.dialogOpened();
292
210
  }
@@ -303,11 +221,17 @@ export class Dialog {
303
221
  handleKeyboard(ev) {
304
222
  if (this.dialogRendered) {
305
223
  switch (ev.key) {
306
- case "Tab":
307
- if (this.onTabKeyPress(ev.shiftKey)) {
224
+ case "Tab": {
225
+ const tabKeyPressHandlerResult = handleFocusTrapTabKeyPress(this.el, this.focusAttemptCount, this.focusedElementIndex, this.interactiveElementList, ev.shiftKey);
226
+ this.focusAttemptCount =
227
+ tabKeyPressHandlerResult.newFocusAttemptCount;
228
+ this.focusedElementIndex =
229
+ tabKeyPressHandlerResult.newFocusedElementIndex;
230
+ if (tabKeyPressHandlerResult.preventDefault) {
308
231
  ev.preventDefault();
309
232
  }
310
233
  break;
234
+ }
311
235
  case "Escape":
312
236
  if (!ev.repeat) {
313
237
  this.open = false;
@@ -344,24 +268,9 @@ export class Dialog {
344
268
  async confirmDialog() {
345
269
  this.icDialogConfirmed.emit();
346
270
  }
347
- loopNextFocusIndexIfLastElement() {
348
- if (this.focusedElementIndex > this.interactiveElementList.length - 1)
349
- this.focusedElementIndex = 0;
350
- else if (this.focusedElementIndex < 0) {
351
- this.focusedElementIndex = this.interactiveElementList.length - 1;
352
- }
353
- }
354
- setFocusIndexBasedOnShiftKey(shiftKey) {
355
- if (shiftKey) {
356
- this.focusedElementIndex -= 1;
357
- }
358
- else {
359
- this.focusedElementIndex += 1;
360
- }
361
- }
362
271
  render() {
363
272
  const { dialogRendered, disableHeightConstraint, fadeIn, theme, size } = this;
364
- return (h(Host, { key: 'fca8d5ed62295efef6630d45e8174331c4d99e48', class: {
273
+ return (h(Host, { key: '97f96f655d95bb7192eb44e850f495ed133e7d73', class: {
365
274
  "ic-dialog-hidden": !dialogRendered,
366
275
  "ic-dialog-fade-in": fadeIn,
367
276
  "disable-height-constraint": !!disableHeightConstraint,