@ukic/web-components 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (425) hide show
  1. package/dist/cjs/{close-icon-8ccb0163.js → close-icon-04be4880.js} +2 -2
  2. package/dist/cjs/close-icon-04be4880.js.map +1 -0
  3. package/dist/cjs/core.cjs.js +1 -1
  4. package/dist/cjs/{helpers-eb53c416.js → helpers-3811d14b.js} +17 -12
  5. package/dist/cjs/helpers-3811d14b.js.map +1 -0
  6. package/dist/cjs/ic-alert.cjs.entry.js +3 -3
  7. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-button_3.cjs.entry.js +128 -38
  12. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -2
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-checkbox.cjs.entry.js +9 -3
  17. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-dialog.cjs.entry.js +3 -3
  22. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-empty-state.cjs.entry.js +37 -0
  25. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -0
  26. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer.cjs.entry.js +5 -2
  29. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-input-label_2.cjs.entry.js +2 -2
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
  38. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-navigation-group.cjs.entry.js +30 -12
  40. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -5
  42. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-popover-menu.cjs.entry.js +65 -13
  48. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-search-bar.cjs.entry.js +4 -3
  52. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-select.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-side-navigation.cjs.entry.js +15 -6
  55. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  57. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-switch.cjs.entry.js +2 -2
  60. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-text-field.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-toast.cjs.entry.js +3 -3
  66. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-top-navigation.cjs.entry.js +2 -2
  68. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-typography.cjs.entry.js +11 -3
  70. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  71. package/dist/cjs/index-2a0c6769.js +4 -0
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/types-3eb02246.js.map +1 -1
  74. package/dist/collection/assets/close-icon.svg +1 -1
  75. package/dist/collection/assets/error-icon.svg +3 -2
  76. package/dist/collection/assets/hamburger-menu-icon.svg +1 -1
  77. package/dist/collection/assets/info-icon.svg +3 -2
  78. package/dist/collection/assets/neutral-icon.svg +4 -3
  79. package/dist/collection/assets/success-icon.svg +3 -2
  80. package/dist/collection/assets/warning-icon.svg +3 -2
  81. package/dist/collection/collection-manifest.json +1 -0
  82. package/dist/collection/components/ic-alert/ic-alert.css +9 -9
  83. package/dist/collection/components/ic-alert/ic-alert.js +1 -1
  84. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  85. package/dist/collection/components/ic-button/ic-button.css +19 -3
  86. package/dist/collection/components/ic-button/ic-button.js +25 -8
  87. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  88. package/dist/collection/components/ic-button/ic-button.types.js.map +1 -1
  89. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +17 -2
  90. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
  91. package/dist/collection/components/ic-checkbox/ic-checkbox.css +34 -0
  92. package/dist/collection/components/ic-checkbox/ic-checkbox.js +34 -3
  93. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  94. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +30 -3
  95. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  96. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +28 -0
  97. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
  98. package/dist/collection/components/ic-chip/ic-chip.js +3 -3
  99. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  100. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -1
  101. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  102. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  103. package/dist/collection/components/ic-empty-state/ic-empty-state.css +49 -0
  104. package/dist/collection/components/ic-empty-state/ic-empty-state.js +158 -0
  105. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -0
  106. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +2 -0
  107. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +1 -0
  108. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +38 -0
  109. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +1 -0
  110. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +86 -0
  111. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -0
  112. package/dist/collection/components/ic-footer/ic-footer.js +4 -1
  113. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  114. package/dist/collection/components/ic-input-validation/ic-input-validation.css +1 -1
  115. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +1 -0
  116. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +1 -1
  117. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  118. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +1 -1
  119. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
  120. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +6 -2
  121. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +28 -10
  122. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  123. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +3 -3
  124. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -1
  125. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +4 -1
  126. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -3
  127. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  128. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +12 -0
  129. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +63 -11
  130. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  131. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +14 -0
  132. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -1
  133. package/dist/collection/components/ic-search-bar/ic-search-bar.js +3 -2
  134. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  135. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +19 -0
  136. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -1
  137. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +4 -0
  138. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +30 -3
  139. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  140. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +20 -0
  141. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -1
  142. package/dist/collection/components/ic-status-tag/ic-status-tag.css +4 -4
  143. package/dist/collection/components/ic-switch/ic-switch.css +1 -1
  144. package/dist/collection/components/ic-toast/ic-toast.css +2 -2
  145. package/dist/collection/components/ic-tooltip/ic-tooltip.css +9 -0
  146. package/dist/collection/components/ic-tooltip/ic-tooltip.js +108 -33
  147. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  148. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +2 -0
  149. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -1
  150. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +160 -1
  151. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
  152. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +1 -1
  153. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  154. package/dist/collection/components/ic-typography/ic-typography.css +21 -1
  155. package/dist/collection/components/ic-typography/ic-typography.js +81 -1
  156. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  157. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +28 -0
  158. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
  159. package/dist/collection/utils/types.js.map +1 -1
  160. package/dist/components/close-icon.js +1 -1
  161. package/dist/components/helpers.js +16 -11
  162. package/dist/components/helpers.js.map +1 -1
  163. package/dist/components/ic-alert2.js +1 -1
  164. package/dist/components/ic-alert2.js.map +1 -1
  165. package/dist/components/ic-button2.js +20 -5
  166. package/dist/components/ic-button2.js.map +1 -1
  167. package/dist/components/ic-checkbox-group.js +3 -1
  168. package/dist/components/ic-checkbox-group.js.map +1 -1
  169. package/dist/components/ic-checkbox.js +9 -2
  170. package/dist/components/ic-checkbox.js.map +1 -1
  171. package/dist/components/ic-chip.js.map +1 -1
  172. package/dist/components/ic-dialog.js +1 -1
  173. package/dist/components/ic-dialog.js.map +1 -1
  174. package/dist/components/ic-empty-state.d.ts +11 -0
  175. package/dist/components/ic-empty-state.js +63 -0
  176. package/dist/components/ic-empty-state.js.map +1 -0
  177. package/dist/components/ic-footer.js +4 -1
  178. package/dist/components/ic-footer.js.map +1 -1
  179. package/dist/components/ic-input-validation2.js +1 -1
  180. package/dist/components/ic-input-validation2.js.map +1 -1
  181. package/dist/components/ic-navigation-button.js +2 -2
  182. package/dist/components/ic-navigation-button.js.map +1 -1
  183. package/dist/components/ic-navigation-group.js +29 -11
  184. package/dist/components/ic-navigation-group.js.map +1 -1
  185. package/dist/components/ic-navigation-item.js +3 -4
  186. package/dist/components/ic-navigation-item.js.map +1 -1
  187. package/dist/components/ic-popover-menu.js +64 -12
  188. package/dist/components/ic-popover-menu.js.map +1 -1
  189. package/dist/components/ic-search-bar.js +3 -2
  190. package/dist/components/ic-search-bar.js.map +1 -1
  191. package/dist/components/ic-side-navigation.js +15 -5
  192. package/dist/components/ic-side-navigation.js.map +1 -1
  193. package/dist/components/ic-status-tag.js +1 -1
  194. package/dist/components/ic-status-tag.js.map +1 -1
  195. package/dist/components/ic-switch.js +1 -1
  196. package/dist/components/ic-switch.js.map +1 -1
  197. package/dist/components/ic-toast.js +1 -1
  198. package/dist/components/ic-toast.js.map +1 -1
  199. package/dist/components/ic-tooltip2.js +109 -34
  200. package/dist/components/ic-tooltip2.js.map +1 -1
  201. package/dist/components/ic-top-navigation.js +1 -1
  202. package/dist/components/ic-top-navigation.js.map +1 -1
  203. package/dist/components/ic-typography2.js +14 -2
  204. package/dist/components/ic-typography2.js.map +1 -1
  205. package/dist/components/types.js.map +1 -1
  206. package/dist/core/core.css +26 -26
  207. package/dist/core/core.esm.js +1 -1
  208. package/dist/core/core.esm.js.map +1 -1
  209. package/dist/core/{p-b698b8ad.entry.js → p-07601b81.entry.js} +2 -2
  210. package/dist/core/{p-5c9c940f.entry.js → p-07877eb8.entry.js} +2 -2
  211. package/dist/core/p-103c761f.entry.js +2 -0
  212. package/dist/core/p-103c761f.entry.js.map +1 -0
  213. package/dist/core/{p-f923d11b.entry.js → p-14bea6c0.entry.js} +2 -2
  214. package/dist/core/p-14bea6c0.entry.js.map +1 -0
  215. package/dist/core/{p-f7695299.entry.js → p-1ac44a4e.entry.js} +2 -2
  216. package/dist/core/{p-ca6d834e.entry.js → p-1b1dbb53.entry.js} +2 -2
  217. package/dist/core/{p-1b9b8355.entry.js → p-20fafec4.entry.js} +2 -2
  218. package/dist/core/{p-5c846d0a.entry.js → p-24b88371.entry.js} +2 -2
  219. package/dist/core/{p-ce791694.entry.js → p-2f5a9d91.entry.js} +2 -2
  220. package/dist/core/{p-ce791694.entry.js.map → p-2f5a9d91.entry.js.map} +1 -1
  221. package/dist/core/{p-8991f656.entry.js → p-389c3913.entry.js} +2 -2
  222. package/dist/core/{p-9e551fe9.entry.js → p-43b529a5.entry.js} +2 -2
  223. package/dist/core/{p-9e551fe9.entry.js.map → p-43b529a5.entry.js.map} +1 -1
  224. package/dist/core/p-4dc6a83d.entry.js +2 -0
  225. package/dist/core/p-4dc6a83d.entry.js.map +1 -0
  226. package/dist/core/{p-adceb0cf.entry.js → p-4fa9c6eb.entry.js} +2 -2
  227. package/dist/core/p-4fa9c6eb.entry.js.map +1 -0
  228. package/dist/core/{p-a8b94619.entry.js → p-50019c47.entry.js} +2 -2
  229. package/dist/core/{p-d2215b72.entry.js → p-516fd246.entry.js} +2 -2
  230. package/dist/core/p-5e3a09d7.entry.js +2 -0
  231. package/dist/core/p-5e3a09d7.entry.js.map +1 -0
  232. package/dist/core/{p-cef93d12.entry.js → p-5e685037.entry.js} +2 -2
  233. package/dist/core/{p-0330cb21.entry.js → p-69c1f172.entry.js} +2 -2
  234. package/dist/core/p-6f57b13c.js.map +1 -1
  235. package/dist/core/{p-e0ee714a.entry.js → p-736489c6.entry.js} +2 -2
  236. package/dist/core/p-736489c6.entry.js.map +1 -0
  237. package/dist/core/{p-8c45ab61.entry.js → p-75ac2fbf.entry.js} +2 -2
  238. package/dist/core/{p-f665242d.entry.js → p-8acd7207.entry.js} +2 -2
  239. package/dist/core/{p-429e4d24.entry.js → p-919059e8.entry.js} +2 -2
  240. package/dist/core/{p-332690f0.entry.js → p-92868735.entry.js} +2 -2
  241. package/dist/core/{p-ee11e185.entry.js → p-93ee130d.entry.js} +2 -2
  242. package/dist/core/{p-ee11e185.entry.js.map → p-93ee130d.entry.js.map} +1 -1
  243. package/dist/core/{p-a588886f.entry.js → p-98d488aa.entry.js} +2 -2
  244. package/dist/core/{p-5144e840.entry.js → p-9bde930d.entry.js} +2 -2
  245. package/dist/core/{p-c5716cbc.entry.js → p-9e896463.entry.js} +2 -2
  246. package/dist/core/{p-7536dd31.entry.js → p-ab4919d6.entry.js} +2 -2
  247. package/dist/core/{p-83d5bcae.entry.js → p-adf65f4a.entry.js} +2 -2
  248. package/dist/core/p-adf65f4a.entry.js.map +1 -0
  249. package/dist/core/p-b5d084c2.entry.js +2 -0
  250. package/dist/core/p-b5d084c2.entry.js.map +1 -0
  251. package/dist/core/{p-26d5fd0f.entry.js → p-bbdd9770.entry.js} +2 -2
  252. package/dist/core/p-bbdd9770.entry.js.map +1 -0
  253. package/dist/core/p-c2fc2b77.entry.js +2 -0
  254. package/dist/core/p-c2fc2b77.entry.js.map +1 -0
  255. package/dist/core/{p-65750560.entry.js → p-c3da58eb.entry.js} +2 -2
  256. package/dist/core/p-c3da58eb.entry.js.map +1 -0
  257. package/dist/core/p-c4b81d32.entry.js +2 -0
  258. package/dist/core/p-c4b81d32.entry.js.map +1 -0
  259. package/dist/core/p-cfb87422.entry.js +2 -0
  260. package/dist/core/p-cfb87422.entry.js.map +1 -0
  261. package/dist/core/{p-cbbf4b05.entry.js → p-d2994a71.entry.js} +2 -2
  262. package/dist/core/p-d592006b.entry.js +2 -0
  263. package/dist/core/p-d592006b.entry.js.map +1 -0
  264. package/dist/core/{p-90d3a41b.entry.js → p-da3bd896.entry.js} +2 -2
  265. package/dist/core/{p-892d9d9f.entry.js → p-da5fc036.entry.js} +2 -2
  266. package/dist/core/p-da5fc036.entry.js.map +1 -0
  267. package/dist/core/p-dd980be4.js +2 -0
  268. package/dist/core/{p-5dd0b02e.js.map → p-dd980be4.js.map} +1 -1
  269. package/dist/core/{p-27d42378.entry.js → p-e14bc195.entry.js} +2 -2
  270. package/dist/core/p-e2fdb944.entry.js +2 -0
  271. package/dist/core/p-e2fdb944.entry.js.map +1 -0
  272. package/dist/core/{p-1959ec8d.entry.js → p-e328bd2d.entry.js} +2 -2
  273. package/dist/core/{p-c012b867.entry.js → p-e9c864ac.entry.js} +2 -2
  274. package/dist/core/p-f2c6a143.js +2 -0
  275. package/dist/core/{p-6840589f.entry.js → p-fb86da80.entry.js} +2 -2
  276. package/dist/core/{p-7ae091ef.entry.js → p-fbd3c432.entry.js} +2 -2
  277. package/dist/core/p-fbd3c432.entry.js.map +1 -0
  278. package/dist/esm/{close-icon-2f02b42a.js → close-icon-2ce5d375.js} +2 -2
  279. package/dist/esm/close-icon-2ce5d375.js.map +1 -0
  280. package/dist/esm/core.js +1 -1
  281. package/dist/esm/{helpers-85903813.js → helpers-d7d5bd08.js} +18 -13
  282. package/dist/esm/helpers-d7d5bd08.js.map +1 -0
  283. package/dist/esm/ic-alert.entry.js +3 -3
  284. package/dist/esm/ic-alert.entry.js.map +1 -1
  285. package/dist/esm/ic-back-to-top.entry.js +1 -1
  286. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  287. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  288. package/dist/esm/ic-button_3.entry.js +128 -38
  289. package/dist/esm/ic-button_3.entry.js.map +1 -1
  290. package/dist/esm/ic-card.entry.js +1 -1
  291. package/dist/esm/ic-checkbox-group.entry.js +3 -2
  292. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  293. package/dist/esm/ic-checkbox.entry.js +9 -3
  294. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  295. package/dist/esm/ic-chip.entry.js +1 -1
  296. package/dist/esm/ic-chip.entry.js.map +1 -1
  297. package/dist/esm/ic-data-row.entry.js +1 -1
  298. package/dist/esm/ic-dialog.entry.js +3 -3
  299. package/dist/esm/ic-dialog.entry.js.map +1 -1
  300. package/dist/esm/ic-divider.entry.js +1 -1
  301. package/dist/esm/ic-empty-state.entry.js +33 -0
  302. package/dist/esm/ic-empty-state.entry.js.map +1 -0
  303. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  304. package/dist/esm/ic-footer-link.entry.js +1 -1
  305. package/dist/esm/ic-footer.entry.js +5 -2
  306. package/dist/esm/ic-footer.entry.js.map +1 -1
  307. package/dist/esm/ic-hero.entry.js +1 -1
  308. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  309. package/dist/esm/ic-input-component-container_3.entry.js +1 -1
  310. package/dist/esm/ic-input-label_2.entry.js +2 -2
  311. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  312. package/dist/esm/ic-link.entry.js +1 -1
  313. package/dist/esm/ic-menu-item.entry.js +1 -1
  314. package/dist/esm/ic-navigation-button.entry.js +3 -3
  315. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  316. package/dist/esm/ic-navigation-group.entry.js +30 -12
  317. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  318. package/dist/esm/ic-navigation-item.entry.js +4 -5
  319. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  320. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  321. package/dist/esm/ic-page-header.entry.js +1 -1
  322. package/dist/esm/ic-pagination-item.entry.js +1 -1
  323. package/dist/esm/ic-pagination.entry.js +1 -1
  324. package/dist/esm/ic-popover-menu.entry.js +65 -13
  325. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  326. package/dist/esm/ic-radio-group.entry.js +1 -1
  327. package/dist/esm/ic-radio-option.entry.js +1 -1
  328. package/dist/esm/ic-search-bar.entry.js +4 -3
  329. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  330. package/dist/esm/ic-select.entry.js +1 -1
  331. package/dist/esm/ic-side-navigation.entry.js +15 -6
  332. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  333. package/dist/esm/ic-status-tag.entry.js +2 -2
  334. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  335. package/dist/esm/ic-stepper.entry.js +1 -1
  336. package/dist/esm/ic-switch.entry.js +2 -2
  337. package/dist/esm/ic-switch.entry.js.map +1 -1
  338. package/dist/esm/ic-tab-group.entry.js +1 -1
  339. package/dist/esm/ic-tab.entry.js +1 -1
  340. package/dist/esm/ic-text-field.entry.js +1 -1
  341. package/dist/esm/ic-theme.entry.js +1 -1
  342. package/dist/esm/ic-toast.entry.js +3 -3
  343. package/dist/esm/ic-toast.entry.js.map +1 -1
  344. package/dist/esm/ic-top-navigation.entry.js +2 -2
  345. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  346. package/dist/esm/ic-typography.entry.js +11 -3
  347. package/dist/esm/ic-typography.entry.js.map +1 -1
  348. package/dist/esm/index-fd30b77e.js +4 -0
  349. package/dist/esm/loader.js +1 -1
  350. package/dist/esm/types-dd515332.js.map +1 -1
  351. package/dist/types/components/ic-alert/ic-alert.d.ts +1 -1
  352. package/dist/types/components/ic-button/ic-button.d.ts +8 -4
  353. package/dist/types/components/ic-button/ic-button.types.d.ts +0 -1
  354. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +6 -2
  355. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +6 -2
  356. package/dist/types/components/ic-chip/ic-chip.d.ts +3 -2
  357. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  358. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +35 -0
  359. package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +1 -0
  360. package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +1 -0
  361. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +4 -0
  362. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +3 -0
  363. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +5 -0
  364. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -0
  365. package/dist/types/components/ic-typography/ic-typography.d.ts +17 -0
  366. package/dist/types/components.d.ts +135 -16
  367. package/dist/types/utils/types.d.ts +1 -0
  368. package/hydrate/index.js +346 -99
  369. package/package.json +4 -5
  370. package/dist/cjs/close-icon-8ccb0163.js.map +0 -1
  371. package/dist/cjs/helpers-eb53c416.js.map +0 -1
  372. package/dist/core/p-03d1a4a1.entry.js +0 -2
  373. package/dist/core/p-03d1a4a1.entry.js.map +0 -1
  374. package/dist/core/p-26d5fd0f.entry.js.map +0 -1
  375. package/dist/core/p-39adc795.entry.js +0 -2
  376. package/dist/core/p-39adc795.entry.js.map +0 -1
  377. package/dist/core/p-44512ebe.js +0 -2
  378. package/dist/core/p-48301eff.entry.js +0 -2
  379. package/dist/core/p-48301eff.entry.js.map +0 -1
  380. package/dist/core/p-5dd0b02e.js +0 -2
  381. package/dist/core/p-65750560.entry.js.map +0 -1
  382. package/dist/core/p-7ae091ef.entry.js.map +0 -1
  383. package/dist/core/p-7c46caf2.entry.js +0 -2
  384. package/dist/core/p-7c46caf2.entry.js.map +0 -1
  385. package/dist/core/p-83d5bcae.entry.js.map +0 -1
  386. package/dist/core/p-892d9d9f.entry.js.map +0 -1
  387. package/dist/core/p-96b71172.entry.js +0 -2
  388. package/dist/core/p-96b71172.entry.js.map +0 -1
  389. package/dist/core/p-adceb0cf.entry.js.map +0 -1
  390. package/dist/core/p-b6c538ea.entry.js +0 -2
  391. package/dist/core/p-b6c538ea.entry.js.map +0 -1
  392. package/dist/core/p-e0ee714a.entry.js.map +0 -1
  393. package/dist/core/p-e6370b7e.entry.js +0 -2
  394. package/dist/core/p-e6370b7e.entry.js.map +0 -1
  395. package/dist/core/p-f24814b8.entry.js +0 -2
  396. package/dist/core/p-f24814b8.entry.js.map +0 -1
  397. package/dist/core/p-f923d11b.entry.js.map +0 -1
  398. package/dist/esm/close-icon-2f02b42a.js.map +0 -1
  399. package/dist/esm/helpers-85903813.js.map +0 -1
  400. /package/dist/core/{p-b698b8ad.entry.js.map → p-07601b81.entry.js.map} +0 -0
  401. /package/dist/core/{p-5c9c940f.entry.js.map → p-07877eb8.entry.js.map} +0 -0
  402. /package/dist/core/{p-f7695299.entry.js.map → p-1ac44a4e.entry.js.map} +0 -0
  403. /package/dist/core/{p-ca6d834e.entry.js.map → p-1b1dbb53.entry.js.map} +0 -0
  404. /package/dist/core/{p-1b9b8355.entry.js.map → p-20fafec4.entry.js.map} +0 -0
  405. /package/dist/core/{p-5c846d0a.entry.js.map → p-24b88371.entry.js.map} +0 -0
  406. /package/dist/core/{p-8991f656.entry.js.map → p-389c3913.entry.js.map} +0 -0
  407. /package/dist/core/{p-a8b94619.entry.js.map → p-50019c47.entry.js.map} +0 -0
  408. /package/dist/core/{p-d2215b72.entry.js.map → p-516fd246.entry.js.map} +0 -0
  409. /package/dist/core/{p-cef93d12.entry.js.map → p-5e685037.entry.js.map} +0 -0
  410. /package/dist/core/{p-0330cb21.entry.js.map → p-69c1f172.entry.js.map} +0 -0
  411. /package/dist/core/{p-8c45ab61.entry.js.map → p-75ac2fbf.entry.js.map} +0 -0
  412. /package/dist/core/{p-f665242d.entry.js.map → p-8acd7207.entry.js.map} +0 -0
  413. /package/dist/core/{p-429e4d24.entry.js.map → p-919059e8.entry.js.map} +0 -0
  414. /package/dist/core/{p-332690f0.entry.js.map → p-92868735.entry.js.map} +0 -0
  415. /package/dist/core/{p-a588886f.entry.js.map → p-98d488aa.entry.js.map} +0 -0
  416. /package/dist/core/{p-5144e840.entry.js.map → p-9bde930d.entry.js.map} +0 -0
  417. /package/dist/core/{p-c5716cbc.entry.js.map → p-9e896463.entry.js.map} +0 -0
  418. /package/dist/core/{p-7536dd31.entry.js.map → p-ab4919d6.entry.js.map} +0 -0
  419. /package/dist/core/{p-cbbf4b05.entry.js.map → p-d2994a71.entry.js.map} +0 -0
  420. /package/dist/core/{p-90d3a41b.entry.js.map → p-da3bd896.entry.js.map} +0 -0
  421. /package/dist/core/{p-27d42378.entry.js.map → p-e14bc195.entry.js.map} +0 -0
  422. /package/dist/core/{p-1959ec8d.entry.js.map → p-e328bd2d.entry.js.map} +0 -0
  423. /package/dist/core/{p-c012b867.entry.js.map → p-e9c864ac.entry.js.map} +0 -0
  424. /package/dist/core/{p-44512ebe.js.map → p-f2c6a143.js.map} +0 -0
  425. /package/dist/core/{p-6840589f.entry.js.map → p-fb86da80.entry.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fd30b77e.js';
2
- import { n as inheritAttributes, r as removeDisabledFalse, b as getThemeFromContext, p as IC_INHERITED_ARIA, a as onComponentRequiredPropUndefined } from './helpers-85903813.js';
2
+ import { n as inheritAttributes, r as removeDisabledFalse, b as getThemeFromContext, i as isSlotUsed, p as IC_INHERITED_ARIA, a as onComponentRequiredPropUndefined } from './helpers-d7d5bd08.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-dd515332.js';
4
4
  import { c as createPopper } from './popper-15e448b4.js';
5
5
 
6
- const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}.button:hover{cursor:pointer}.button:focus,:host .button:focus{box-shadow:var(--ic-border-focus)}:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.loading-with-icon) .button{min-width:var(--min-width, 8.25rem)}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0}:host(.button-variant-icon) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center}::slotted(*){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
6
+ const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xxs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover{cursor:pointer}.button:focus,:host .button:focus{box-shadow:var(--ic-border-focus)}:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.loading-with-icon) .button{min-width:var(--min-width, 8.25rem)}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));gap:var(--ic-space-xs);padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-md);height:var(--ic-space-md);display:flex;justify-content:center;align-items:center}:host(.button-size-large) div.icon-container{width:calc(var(--ic-space-md) + var(--ic-space-xxs));height:calc(var(--ic-space-md) + var(--ic-space-xxs))}::slotted(*){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
7
7
 
8
8
  var __rest = (undefined && undefined.__rest) || function (s, e) {
9
9
  var t = {};
@@ -128,6 +128,9 @@ const Button = class {
128
128
  async updateAriaLabel(newValue) {
129
129
  if (this.hasTooltip) {
130
130
  this.tooltipEl.label = newValue;
131
+ this.buttonEl.setAttribute("aria-label", null);
132
+ }
133
+ else {
131
134
  this.buttonEl.setAttribute("aria-label", newValue);
132
135
  }
133
136
  }
@@ -135,6 +138,14 @@ const Button = class {
135
138
  const iconEl = this.el.querySelector(`[slot="icon"]`);
136
139
  return iconEl !== null;
137
140
  }
141
+ hasLeftIconSlot() {
142
+ const iconEl = this.el.querySelector(`[slot="left-icon"]`);
143
+ return iconEl !== null;
144
+ }
145
+ hasRightIconSlot() {
146
+ const iconEl = this.el.querySelector(`[slot="right-icon"]`);
147
+ return iconEl !== null;
148
+ }
138
149
  handleHiddenFormButtonClick(form) {
139
150
  const hiddenFormButton = document.createElement("button");
140
151
  hiddenFormButton.setAttribute("type", this.el.type);
@@ -195,22 +206,26 @@ const Button = class {
195
206
  describedBy = this.describedById;
196
207
  }
197
208
  const ButtonContent = () => {
198
- return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, restInheritedAttributes, titleAttr, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), id: buttonId, "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
209
+ return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, restInheritedAttributes, titleAttr, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), id: buttonId, "aria-describedby": this.hasTooltip && ariaLabel ? null : describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
199
210
  this.variant === "destructive" ||
200
211
  this.appearance === IcThemeForegroundEnum.Dark ||
201
212
  this.appearance === IcThemeForegroundEnum.Light
202
213
  ? "light"
203
- : "dark" }))) : (h("slot", null))));
214
+ : "dark" }))) : (h("slot", null)), this.hasRightIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "right-icon" })))));
204
215
  };
205
216
  return (h(Host, { class: {
206
217
  ["disabled"]: this.disabled && !this.loading,
207
218
  [`button-variant-${this.variant}`]: true,
208
219
  [`button-size-${this.size}`]: true,
209
220
  ["loading"]: this.loading,
210
- ["loading-with-icon"]: this.loading && this.hasIconSlot(),
221
+ ["loading-with-icon"]: this.loading &&
222
+ (this.hasIconSlot() ||
223
+ this.hasLeftIconSlot() ||
224
+ this.hasRightIconSlot()),
211
225
  ["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
212
226
  ["light"]: this.appearance === IcThemeForegroundEnum.Light,
213
227
  ["full-width"]: this.fullWidth,
228
+ ["with-badge"]: isSlotUsed(this.el, "badge"),
214
229
  }, onClick: this.handleClick }, this.hasTooltip && (h("ic-tooltip", { class: { ["tooltip-disabled"]: this.disableTooltip }, ref: (el) => (this.tooltipEl = el), label: tooltipText, target: buttonId, placement: this.tooltipPlacement }, h(ButtonContent, null))), !this.hasTooltip && h(ButtonContent, null), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
215
230
  }
216
231
  static get delegatesFocus() { return true; }
@@ -400,15 +415,17 @@ const LoadingIndicator = class {
400
415
  };
401
416
  LoadingIndicator.style = icLoadingIndicatorCss;
402
417
 
403
- const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs) 0.625rem;border-radius:var(--ic-border-radius);border:var(--ic-space-1px) solid var(--ic-architectural-40);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-space-1px) solid var(--ic-architectural-40);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-hc-border)}}";
418
+ const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs) 0.625rem;border-radius:var(--ic-border-radius);border:var(--ic-space-1px) solid var(--ic-architectural-40);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-space-1px) solid var(--ic-architectural-40);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.on-dialog) .ic-tooltip-container{transform:translate(\n var(--tooltip-translate-x),\n var(--tooltip-translate-y)\n ) !important}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-hc-border)}}";
404
419
 
405
420
  const Tooltip = class {
406
421
  constructor(hostRef) {
407
422
  registerInstance(this, hostRef);
408
423
  this.delayedHideEvents = ["mouseleave"];
424
+ this.dialogOverflow = false;
409
425
  this.instantHideEvents = ["focusout"];
410
426
  this.mouseOverTool = false;
411
427
  this.persistTooltip = false;
428
+ this.onDialog = false;
412
429
  this.screenReaderOnlyStyles = {
413
430
  position: "absolute",
414
431
  left: "-10000px",
@@ -420,9 +437,97 @@ const Tooltip = class {
420
437
  this.showEvents = this.disableHover
421
438
  ? ["click"]
422
439
  : ["mouseenter", "focusin"];
440
+ this.getTooltipTranslate = (dialogEl) => {
441
+ const child = this.el.children[0].getBoundingClientRect();
442
+ let tooltipX;
443
+ let tooltipY;
444
+ switch (this.placement) {
445
+ case "bottom":
446
+ tooltipX = child.left - dialogEl.left - 0.5 * child.width;
447
+ tooltipY = child.bottom - dialogEl.top;
448
+ break;
449
+ case "bottom-start":
450
+ tooltipX = child.left - dialogEl.left;
451
+ tooltipY = child.bottom - dialogEl.top;
452
+ break;
453
+ case "bottom-end":
454
+ tooltipX = child.right - dialogEl.right;
455
+ tooltipY = child.bottom - dialogEl.top;
456
+ break;
457
+ case "top":
458
+ tooltipX = child.left - dialogEl.left - 0.5 * child.width;
459
+ tooltipY = child.top - dialogEl.bottom;
460
+ break;
461
+ case "top-start":
462
+ tooltipX = child.left - dialogEl.left;
463
+ tooltipY = child.top - dialogEl.bottom;
464
+ break;
465
+ case "top-end":
466
+ tooltipX = child.right - dialogEl.right;
467
+ tooltipY = child.top - dialogEl.bottom;
468
+ break;
469
+ case "left":
470
+ case "left-start":
471
+ tooltipX = child.right - dialogEl.right - child.width;
472
+ tooltipY = child.bottom - dialogEl.top - child.height;
473
+ break;
474
+ case "left-end":
475
+ tooltipX = child.right - dialogEl.right - child.width;
476
+ tooltipY = child.top - dialogEl.bottom + child.height;
477
+ break;
478
+ case "right":
479
+ case "right-start":
480
+ tooltipX = child.left - dialogEl.left + child.width;
481
+ tooltipY = child.bottom - dialogEl.top - child.height;
482
+ break;
483
+ case "right-end":
484
+ tooltipX = child.left - dialogEl.left + child.width;
485
+ tooltipY = child.top - dialogEl.bottom + child.height;
486
+ break;
487
+ }
488
+ if (this.dialogOverflow && tooltipX < 0) {
489
+ if (this.placement.includes("top") || this.placement.includes("bottom")) {
490
+ this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
491
+ tooltipX = child.left - dialogEl.left;
492
+ }
493
+ if (this.placement.includes("left")) {
494
+ this.placement = "right";
495
+ tooltipX = child.left - dialogEl.left + child.width;
496
+ }
497
+ }
498
+ this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
499
+ this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
500
+ };
423
501
  this.show = () => {
424
502
  this.toolTip.setAttribute("data-show", "");
425
- this.popperInstance.update();
503
+ if (this.onDialog) {
504
+ this.el.classList.add("on-dialog");
505
+ const dialogEl = this.icDialogEl.shadowRoot
506
+ .querySelector("dialog")
507
+ .getBoundingClientRect();
508
+ this.getTooltipTranslate(dialogEl);
509
+ }
510
+ this.popperInstance = createPopper(this.el, this.toolTip, {
511
+ placement: this.placement,
512
+ modifiers: [
513
+ {
514
+ name: "offset",
515
+ options: {
516
+ offset: [0, 10],
517
+ },
518
+ },
519
+ {
520
+ name: "arrow",
521
+ options: {
522
+ element: this.arrow,
523
+ },
524
+ },
525
+ {
526
+ name: "eventListeners",
527
+ options: { scroll: false, resize: false },
528
+ },
529
+ ],
530
+ });
426
531
  };
427
532
  this.hide = () => {
428
533
  this.toolTip.removeAttribute("data-show");
@@ -474,46 +579,31 @@ const Tooltip = class {
474
579
  this.label = undefined;
475
580
  }
476
581
  updateLabel(newValue) {
477
- const describedBySpan = this.el.previousElementSibling;
478
- if (describedBySpan !== null) {
479
- describedBySpan.innerText = newValue;
582
+ if (this.ariaDescribedBy !== null) {
583
+ this.ariaDescribedBy.innerText = newValue;
480
584
  }
481
585
  }
482
586
  disconnectedCallback() {
483
587
  this.manageEventListeners("remove");
484
- this.popperInstance.destroy();
588
+ if (this.popperInstance !== undefined) {
589
+ this.popperInstance.destroy();
590
+ }
485
591
  }
486
592
  componentDidLoad() {
487
- this.popperInstance = createPopper(this.el, this.toolTip, {
488
- placement: this.placement,
489
- modifiers: [
490
- {
491
- name: "offset",
492
- options: {
493
- offset: [0, 10],
494
- },
495
- },
496
- {
497
- name: "arrow",
498
- options: {
499
- element: this.arrow,
500
- },
501
- },
502
- {
503
- name: "eventListeners",
504
- options: { scroll: false, resize: false },
505
- },
506
- ],
507
- });
593
+ var _a;
508
594
  this.manageEventListeners("add");
595
+ this.icDialogEl = this.el.closest("ic-dialog");
596
+ this.dialogOverflow =
597
+ ((_a = this.icDialogEl) === null || _a === void 0 ? void 0 : _a.getAttribute("data-overflow")) === "true";
598
+ this.onDialog = this.icDialogEl !== null;
509
599
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tooltip");
510
600
  if (this.target !== undefined) {
511
- const ariaDescribedBy = document.createElement("span");
512
- ariaDescribedBy.id = `ic-tooltip-${this.target}`;
513
- ariaDescribedBy.innerText = this.label;
514
- ariaDescribedBy.classList.add("ic-tooltip-label");
515
- Object.assign(ariaDescribedBy.style, this.screenReaderOnlyStyles);
516
- this.el.insertAdjacentElement("beforebegin", ariaDescribedBy);
601
+ this.ariaDescribedBy = document.createElement("span");
602
+ this.ariaDescribedBy.id = `ic-tooltip-${this.target}`;
603
+ this.ariaDescribedBy.innerText = this.label;
604
+ this.ariaDescribedBy.classList.add("ic-tooltip-label");
605
+ Object.assign(this.ariaDescribedBy.style, this.screenReaderOnlyStyles);
606
+ this.el.insertAdjacentElement("beforebegin", this.ariaDescribedBy);
517
607
  }
518
608
  }
519
609
  /**