@ukic/canary-web-components 3.0.0-canary.8 → 3.0.0-canary.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (322) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-4190b7f2.js → helpers-ce248d54.js} +2 -2
  3. package/dist/cjs/helpers-ce248d54.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-badge.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 +47 -3
  11. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-data-table.cjs.entry.js +22 -7
  20. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +10 -4
  24. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-empty-state_2.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-hero.cjs.entry.js +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 +1 -1
  34. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-menu-group.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 +1 -1
  38. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  40. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-pagination_4.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-radio-group.cjs.entry.js +21 -18
  47. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-radio-option.cjs.entry.js +13 -6
  49. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-search-bar.cjs.entry.js +2 -2
  51. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-switch.cjs.entry.js +12 -14
  57. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +8 -1
  64. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-toggle-button.cjs.entry.js +4 -3
  66. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/collection/components/ic-data-table/ic-data-table.js +22 -7
  71. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  72. package/dist/collection/components/ic-data-table/story-data.js +1 -0
  73. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  74. package/dist/collection/components/ic-date-input/ic-date-input.css +5 -1
  75. package/dist/components/helpers.js +2 -2
  76. package/dist/components/helpers.js.map +1 -1
  77. package/dist/components/ic-breadcrumb-group.js +1 -1
  78. package/dist/components/ic-breadcrumb2.js +49 -3
  79. package/dist/components/ic-breadcrumb2.js.map +1 -1
  80. package/dist/components/ic-button2.js.map +1 -1
  81. package/dist/components/ic-checkbox-group.js +1 -1
  82. package/dist/components/ic-checkbox.js +1 -1
  83. package/dist/components/ic-data-row.js +1 -1
  84. package/dist/components/ic-data-table.js +22 -7
  85. package/dist/components/ic-data-table.js.map +1 -1
  86. package/dist/components/ic-date-input2.js +1 -1
  87. package/dist/components/ic-date-input2.js.map +1 -1
  88. package/dist/components/ic-dialog.js +9 -3
  89. package/dist/components/ic-dialog.js.map +1 -1
  90. package/dist/components/ic-divider2.js +1 -1
  91. package/dist/components/ic-footer.js +1 -1
  92. package/dist/components/ic-hero.js +1 -1
  93. package/dist/components/ic-horizontal-scroll2.js +1 -1
  94. package/dist/components/ic-input-component-container2.js +1 -1
  95. package/dist/components/ic-input-label2.js +1 -1
  96. package/dist/components/ic-input-validation2.js +1 -1
  97. package/dist/components/ic-menu2.js +1 -1
  98. package/dist/components/ic-navigation-group.js +1 -1
  99. package/dist/components/ic-navigation-item.js +2 -2
  100. package/dist/components/ic-navigation-item.js.map +1 -1
  101. package/dist/components/ic-page-header.js +1 -1
  102. package/dist/components/ic-pagination-item2.js +1 -1
  103. package/dist/components/ic-popover-menu.js +1 -1
  104. package/dist/components/ic-radio-group.js +21 -18
  105. package/dist/components/ic-radio-group.js.map +1 -1
  106. package/dist/components/ic-radio-option.js +14 -7
  107. package/dist/components/ic-radio-option.js.map +1 -1
  108. package/dist/components/ic-search-bar.js +2 -2
  109. package/dist/components/ic-search-bar.js.map +1 -1
  110. package/dist/components/ic-select2.js +2 -2
  111. package/dist/components/ic-select2.js.map +1 -1
  112. package/dist/components/ic-side-navigation.js +1 -1
  113. package/dist/components/ic-switch.js +12 -15
  114. package/dist/components/ic-switch.js.map +1 -1
  115. package/dist/components/ic-text-field2.js +1 -1
  116. package/dist/components/ic-toggle-button-group.js +9 -0
  117. package/dist/components/ic-toggle-button-group.js.map +1 -1
  118. package/dist/components/ic-toggle-button.js +4 -2
  119. package/dist/components/ic-toggle-button.js.map +1 -1
  120. package/dist/components/ic-top-navigation.js +1 -1
  121. package/dist/core/core.css +2 -2
  122. package/dist/core/core.esm.js +1 -1
  123. package/dist/core/core.esm.js.map +1 -1
  124. package/dist/core/{p-8167f2e0.entry.js → p-0054bdc2.entry.js} +2 -2
  125. package/dist/core/p-01a23e24.entry.js +2 -0
  126. package/dist/core/p-01a23e24.entry.js.map +1 -0
  127. package/dist/core/p-063911a8.entry.js +2 -0
  128. package/dist/core/p-063911a8.entry.js.map +1 -0
  129. package/dist/core/{p-5dcee0aa.entry.js → p-0c5d45e1.entry.js} +2 -2
  130. package/dist/core/{p-87cd3985.entry.js → p-15a5cce5.entry.js} +2 -2
  131. package/dist/core/{p-22708591.entry.js → p-1658e577.entry.js} +2 -2
  132. package/dist/core/{p-05890d1e.entry.js → p-1808381b.entry.js} +2 -2
  133. package/dist/core/{p-1d3f7a04.entry.js → p-2169e75b.entry.js} +2 -2
  134. package/dist/core/{p-901879b8.entry.js → p-26aff39e.entry.js} +2 -2
  135. package/dist/core/{p-a683fd94.entry.js → p-27b1223d.entry.js} +2 -2
  136. package/dist/core/{p-49bf3a47.entry.js → p-32726b89.entry.js} +2 -2
  137. package/dist/core/{p-792ec0a3.entry.js → p-33110185.entry.js} +2 -2
  138. package/dist/core/{p-5a48839e.entry.js → p-40e965de.entry.js} +2 -2
  139. package/dist/core/p-40e965de.entry.js.map +1 -0
  140. package/dist/core/{p-7eef69d7.entry.js → p-41bfa3e5.entry.js} +2 -2
  141. package/dist/core/{p-23afb7d0.entry.js → p-4347f05c.entry.js} +2 -2
  142. package/dist/core/{p-92bb5fe9.entry.js → p-440c97ac.entry.js} +2 -2
  143. package/dist/core/p-440c97ac.entry.js.map +1 -0
  144. package/dist/core/{p-79c8879c.entry.js → p-45177148.entry.js} +2 -2
  145. package/dist/core/{p-345a88a7.entry.js → p-4f96bec1.entry.js} +2 -2
  146. package/dist/core/{p-51fd68b7.entry.js → p-51058719.entry.js} +2 -2
  147. package/dist/core/{p-74e63f4d.entry.js → p-51faa4ba.entry.js} +2 -2
  148. package/dist/core/p-51faa4ba.entry.js.map +1 -0
  149. package/dist/core/{p-033f3971.entry.js → p-6188f029.entry.js} +2 -2
  150. package/dist/core/{p-9f5071bd.entry.js → p-6ac8e09b.entry.js} +2 -2
  151. package/dist/core/p-6ac8e09b.entry.js.map +1 -0
  152. package/dist/core/{p-186edbae.entry.js → p-71496305.entry.js} +2 -2
  153. package/dist/core/{p-186edbae.entry.js.map → p-71496305.entry.js.map} +1 -1
  154. package/dist/core/{p-15e382a4.entry.js → p-77157922.entry.js} +2 -2
  155. package/dist/core/{p-3f182d5d.entry.js → p-794ff553.entry.js} +2 -2
  156. package/dist/core/p-82b408ad.entry.js +2 -0
  157. package/dist/core/p-82b408ad.entry.js.map +1 -0
  158. package/dist/core/{p-4abbdbbc.entry.js → p-88913402.entry.js} +2 -2
  159. package/dist/core/p-897fac99.js +2 -0
  160. package/dist/core/p-897fac99.js.map +1 -0
  161. package/dist/core/{p-646f21ff.entry.js → p-8e56516a.entry.js} +2 -2
  162. package/dist/core/{p-03d51c20.entry.js → p-8ebd64ae.entry.js} +2 -2
  163. package/dist/core/{p-faae4ac4.entry.js → p-9462f294.entry.js} +2 -2
  164. package/dist/core/{p-289fff24.entry.js → p-9a392c41.entry.js} +2 -2
  165. package/dist/core/{p-2fd78585.entry.js → p-a1d5fff2.entry.js} +2 -2
  166. package/dist/core/p-a69ef3eb.entry.js +2 -0
  167. package/dist/core/p-a69ef3eb.entry.js.map +1 -0
  168. package/dist/core/p-ace8126b.entry.js +2 -0
  169. package/dist/core/p-ace8126b.entry.js.map +1 -0
  170. package/dist/core/{p-dedca102.entry.js → p-ade5d1b6.entry.js} +2 -2
  171. package/dist/core/{p-01034ef4.entry.js → p-b5a5fe39.entry.js} +2 -2
  172. package/dist/core/{p-d1b8e306.entry.js → p-b717ae40.entry.js} +2 -2
  173. package/dist/core/{p-74b676a6.entry.js → p-b85466a7.entry.js} +2 -2
  174. package/dist/core/{p-5cbf0885.entry.js → p-bd87bf33.entry.js} +2 -2
  175. package/dist/core/{p-0d918e59.entry.js → p-be1ec9aa.entry.js} +2 -2
  176. package/dist/core/{p-f3995b20.entry.js → p-be54a959.entry.js} +2 -2
  177. package/dist/core/{p-7d5a0251.entry.js → p-c035d7b9.entry.js} +2 -2
  178. package/dist/core/{p-563392e4.entry.js → p-c0733c84.entry.js} +2 -2
  179. package/dist/core/p-c466bc73.entry.js +2 -0
  180. package/dist/core/p-c466bc73.entry.js.map +1 -0
  181. package/dist/core/{p-f1fcc442.entry.js → p-cd6dbb1e.entry.js} +2 -2
  182. package/dist/core/{p-f1fcc442.entry.js.map → p-cd6dbb1e.entry.js.map} +1 -1
  183. package/dist/core/{p-eb09d6af.entry.js → p-d2b2b7df.entry.js} +2 -2
  184. package/dist/core/{p-361da840.entry.js → p-dda6a46d.entry.js} +2 -2
  185. package/dist/core/{p-1c94e08c.entry.js → p-e1df1b9a.entry.js} +2 -2
  186. package/dist/core/{p-db924212.entry.js → p-e3c98750.entry.js} +2 -2
  187. package/dist/core/{p-d0c7bc04.entry.js → p-f3d2af04.entry.js} +2 -2
  188. package/dist/core/{p-77f26d29.entry.js → p-f7d2f703.entry.js} +2 -2
  189. package/dist/core/p-fc155ae2.entry.js +2 -0
  190. package/dist/core/p-fc155ae2.entry.js.map +1 -0
  191. package/dist/esm/core.js +1 -1
  192. package/dist/esm/{helpers-96838a0a.js → helpers-56c75bf4.js} +2 -2
  193. package/dist/esm/helpers-56c75bf4.js.map +1 -0
  194. package/dist/esm/ic-accordion-group.entry.js +1 -1
  195. package/dist/esm/ic-accordion.entry.js +1 -1
  196. package/dist/esm/ic-alert.entry.js +1 -1
  197. package/dist/esm/ic-back-to-top.entry.js +1 -1
  198. package/dist/esm/ic-badge.entry.js +1 -1
  199. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  200. package/dist/esm/ic-breadcrumb.entry.js +47 -3
  201. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  202. package/dist/esm/ic-button_3.entry.js +1 -1
  203. package/dist/esm/ic-button_3.entry.js.map +1 -1
  204. package/dist/esm/ic-card-vertical.entry.js +1 -1
  205. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  206. package/dist/esm/ic-checkbox.entry.js +1 -1
  207. package/dist/esm/ic-chip.entry.js +1 -1
  208. package/dist/esm/ic-data-row.entry.js +1 -1
  209. package/dist/esm/ic-data-table.entry.js +22 -7
  210. package/dist/esm/ic-data-table.entry.js.map +1 -1
  211. package/dist/esm/ic-date-input.entry.js +1 -1
  212. package/dist/esm/ic-date-input.entry.js.map +1 -1
  213. package/dist/esm/ic-dialog.entry.js +10 -4
  214. package/dist/esm/ic-dialog.entry.js.map +1 -1
  215. package/dist/esm/ic-divider.entry.js +1 -1
  216. package/dist/esm/ic-empty-state_2.entry.js +1 -1
  217. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  218. package/dist/esm/ic-footer-link.entry.js +1 -1
  219. package/dist/esm/ic-footer.entry.js +1 -1
  220. package/dist/esm/ic-hero.entry.js +1 -1
  221. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  222. package/dist/esm/ic-input-component-container_3.entry.js +1 -1
  223. package/dist/esm/ic-input-label_2.entry.js +1 -1
  224. package/dist/esm/ic-link.entry.js +1 -1
  225. package/dist/esm/ic-menu-group.entry.js +1 -1
  226. package/dist/esm/ic-menu-item.entry.js +1 -1
  227. package/dist/esm/ic-navigation-button.entry.js +1 -1
  228. package/dist/esm/ic-navigation-group.entry.js +1 -1
  229. package/dist/esm/ic-navigation-item.entry.js +2 -2
  230. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  231. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  232. package/dist/esm/ic-page-header.entry.js +1 -1
  233. package/dist/esm/ic-pagination_4.entry.js +2 -2
  234. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  235. package/dist/esm/ic-popover-menu.entry.js +1 -1
  236. package/dist/esm/ic-radio-group.entry.js +21 -18
  237. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  238. package/dist/esm/ic-radio-option.entry.js +13 -6
  239. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  240. package/dist/esm/ic-search-bar.entry.js +2 -2
  241. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  242. package/dist/esm/ic-side-navigation.entry.js +1 -1
  243. package/dist/esm/ic-status-tag.entry.js +1 -1
  244. package/dist/esm/ic-step.entry.js +1 -1
  245. package/dist/esm/ic-stepper.entry.js +1 -1
  246. package/dist/esm/ic-switch.entry.js +12 -14
  247. package/dist/esm/ic-switch.entry.js.map +1 -1
  248. package/dist/esm/ic-tab-group.entry.js +1 -1
  249. package/dist/esm/ic-tab-panel.entry.js +1 -1
  250. package/dist/esm/ic-tab.entry.js +1 -1
  251. package/dist/esm/ic-theme.entry.js +1 -1
  252. package/dist/esm/ic-toast.entry.js +1 -1
  253. package/dist/esm/ic-toggle-button-group.entry.js +8 -1
  254. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  255. package/dist/esm/ic-toggle-button.entry.js +4 -3
  256. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  257. package/dist/esm/ic-top-navigation.entry.js +1 -1
  258. package/dist/esm/ic-typography.entry.js +1 -1
  259. package/dist/esm/loader.js +1 -1
  260. package/hydrate/index.js +139 -57
  261. package/package.json +3 -3
  262. package/dist/cjs/helpers-4190b7f2.js.map +0 -1
  263. package/dist/core/p-07bcfaef.entry.js +0 -2
  264. package/dist/core/p-07bcfaef.entry.js.map +0 -1
  265. package/dist/core/p-10640219.entry.js +0 -2
  266. package/dist/core/p-10640219.entry.js.map +0 -1
  267. package/dist/core/p-16b64836.entry.js +0 -2
  268. package/dist/core/p-16b64836.entry.js.map +0 -1
  269. package/dist/core/p-5a48839e.entry.js.map +0 -1
  270. package/dist/core/p-74e63f4d.entry.js.map +0 -1
  271. package/dist/core/p-8d3e250a.entry.js +0 -2
  272. package/dist/core/p-8d3e250a.entry.js.map +0 -1
  273. package/dist/core/p-8eb30ebf.entry.js +0 -2
  274. package/dist/core/p-8eb30ebf.entry.js.map +0 -1
  275. package/dist/core/p-92bb5fe9.entry.js.map +0 -1
  276. package/dist/core/p-9f5071bd.entry.js.map +0 -1
  277. package/dist/core/p-dd5daf97.entry.js +0 -2
  278. package/dist/core/p-dd5daf97.entry.js.map +0 -1
  279. package/dist/core/p-ee5388e6.entry.js +0 -2
  280. package/dist/core/p-ee5388e6.entry.js.map +0 -1
  281. package/dist/core/p-fa002d21.js +0 -2
  282. package/dist/core/p-fa002d21.js.map +0 -1
  283. package/dist/esm/helpers-96838a0a.js.map +0 -1
  284. /package/dist/core/{p-8167f2e0.entry.js.map → p-0054bdc2.entry.js.map} +0 -0
  285. /package/dist/core/{p-5dcee0aa.entry.js.map → p-0c5d45e1.entry.js.map} +0 -0
  286. /package/dist/core/{p-87cd3985.entry.js.map → p-15a5cce5.entry.js.map} +0 -0
  287. /package/dist/core/{p-22708591.entry.js.map → p-1658e577.entry.js.map} +0 -0
  288. /package/dist/core/{p-05890d1e.entry.js.map → p-1808381b.entry.js.map} +0 -0
  289. /package/dist/core/{p-1d3f7a04.entry.js.map → p-2169e75b.entry.js.map} +0 -0
  290. /package/dist/core/{p-901879b8.entry.js.map → p-26aff39e.entry.js.map} +0 -0
  291. /package/dist/core/{p-a683fd94.entry.js.map → p-27b1223d.entry.js.map} +0 -0
  292. /package/dist/core/{p-49bf3a47.entry.js.map → p-32726b89.entry.js.map} +0 -0
  293. /package/dist/core/{p-792ec0a3.entry.js.map → p-33110185.entry.js.map} +0 -0
  294. /package/dist/core/{p-7eef69d7.entry.js.map → p-41bfa3e5.entry.js.map} +0 -0
  295. /package/dist/core/{p-23afb7d0.entry.js.map → p-4347f05c.entry.js.map} +0 -0
  296. /package/dist/core/{p-79c8879c.entry.js.map → p-45177148.entry.js.map} +0 -0
  297. /package/dist/core/{p-345a88a7.entry.js.map → p-4f96bec1.entry.js.map} +0 -0
  298. /package/dist/core/{p-51fd68b7.entry.js.map → p-51058719.entry.js.map} +0 -0
  299. /package/dist/core/{p-033f3971.entry.js.map → p-6188f029.entry.js.map} +0 -0
  300. /package/dist/core/{p-15e382a4.entry.js.map → p-77157922.entry.js.map} +0 -0
  301. /package/dist/core/{p-3f182d5d.entry.js.map → p-794ff553.entry.js.map} +0 -0
  302. /package/dist/core/{p-4abbdbbc.entry.js.map → p-88913402.entry.js.map} +0 -0
  303. /package/dist/core/{p-646f21ff.entry.js.map → p-8e56516a.entry.js.map} +0 -0
  304. /package/dist/core/{p-03d51c20.entry.js.map → p-8ebd64ae.entry.js.map} +0 -0
  305. /package/dist/core/{p-faae4ac4.entry.js.map → p-9462f294.entry.js.map} +0 -0
  306. /package/dist/core/{p-289fff24.entry.js.map → p-9a392c41.entry.js.map} +0 -0
  307. /package/dist/core/{p-2fd78585.entry.js.map → p-a1d5fff2.entry.js.map} +0 -0
  308. /package/dist/core/{p-dedca102.entry.js.map → p-ade5d1b6.entry.js.map} +0 -0
  309. /package/dist/core/{p-01034ef4.entry.js.map → p-b5a5fe39.entry.js.map} +0 -0
  310. /package/dist/core/{p-d1b8e306.entry.js.map → p-b717ae40.entry.js.map} +0 -0
  311. /package/dist/core/{p-74b676a6.entry.js.map → p-b85466a7.entry.js.map} +0 -0
  312. /package/dist/core/{p-5cbf0885.entry.js.map → p-bd87bf33.entry.js.map} +0 -0
  313. /package/dist/core/{p-0d918e59.entry.js.map → p-be1ec9aa.entry.js.map} +0 -0
  314. /package/dist/core/{p-f3995b20.entry.js.map → p-be54a959.entry.js.map} +0 -0
  315. /package/dist/core/{p-7d5a0251.entry.js.map → p-c035d7b9.entry.js.map} +0 -0
  316. /package/dist/core/{p-563392e4.entry.js.map → p-c0733c84.entry.js.map} +0 -0
  317. /package/dist/core/{p-eb09d6af.entry.js.map → p-d2b2b7df.entry.js.map} +0 -0
  318. /package/dist/core/{p-361da840.entry.js.map → p-dda6a46d.entry.js.map} +0 -0
  319. /package/dist/core/{p-1c94e08c.entry.js.map → p-e1df1b9a.entry.js.map} +0 -0
  320. /package/dist/core/{p-db924212.entry.js.map → p-e3c98750.entry.js.map} +0 -0
  321. /package/dist/core/{p-d0c7bc04.entry.js.map → p-f3d2af04.entry.js.map} +0 -0
  322. /package/dist/core/{p-77f26d29.entry.js.map → p-f7d2f703.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-93509377.js';
2
2
  import { c as closeIcon } from './close-icon-c9e09475.js';
3
- import { a as renderDynamicChildSlots, i as isSlotUsed, V as VARIANT_ICONS, I as IcBrandForegroundEnum } from './helpers-96838a0a.js';
3
+ import { a as renderDynamicChildSlots, i as isSlotUsed, V as VARIANT_ICONS, I as IcBrandForegroundEnum } from './helpers-56c75bf4.js';
4
4
 
5
5
  const icAlertCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host ::slotted(ic-typography){--ic-typography-color:var(--ic-alert-description)}.container{min-height:3.5rem;border-radius:var(--ic-space-xxs) var(--ic-space-xxxs) var(--ic-space-xxxs)\n var(--ic-space-xxs);position:relative;display:flex;align-items:center}.container-neutral{background-color:var(--ic-alert-background-neutral);border:var(--ic-space-xxxs) solid var(--ic-alert-border-neutral)}.container-info{background-color:var(--ic-alert-background-info);border:var(--ic-space-xxxs) solid var(--ic-alert-border-info)}.container-warning{background-color:var(--ic-alert-background-warning);border:var(--ic-space-xxxs) solid var(--ic-alert-border-warning)}.container-error{background-color:var(--ic-alert-background-error);border:var(--ic-space-xxxs) solid var(--ic-alert-border-error)}.container-success{background-color:var(--ic-alert-background-success);border:var(--ic-space-xxxs) solid var(--ic-alert-border-success)}.alert-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);position:absolute}.divider-neutral{background-color:var(--ic-alert-status-type-neutral)}.divider-info{background-color:var(--ic-alert-status-type-info)}.divider-warning{background-color:var(--ic-alert-status-type-warning)}.divider-error{background-color:var(--ic-alert-status-type-error)}.divider-success{background-color:var(--ic-alert-status-type-success)}.alert-icon{height:var(--ic-space-lg);width:1.375rem;margin-left:1.125rem}.icon-placeholder{margin-left:var(--ic-space-xs)}.alert-icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}:host([showdefaulticon=\"false\"]) .icon-neutral{visibility:hidden;width:0;margin-left:0.625rem}.icon-neutral>svg,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block;fill:var(--ic-alert-icon-neutral)}:host([variant=\"info\"]) .alert-icon svg{fill:var(--ic-alert-icon-info)}:host([variant=\"warning\"]) .alert-icon svg{fill:var(--ic-alert-icon-warning)}:host([variant=\"error\"]) .alert-icon svg{fill:var(--ic-alert-icon-error)}:host([variant=\"success\"]) .alert-icon svg{fill:var(--ic-alert-icon-success)}.alert-content{display:flex;align-items:center;margin-left:0.625rem;width:100%}.alert-message{display:flex;align-items:center;padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;flex:1;--ic-typography-color:var(--ic-alert-description)}.alert-message-title-above{display:inline}.alert-title{margin-right:var(--ic-space-xs);--ic-typography-color:var(--ic-alert-title)}.alert-title-above{white-space:normal}.alert-action-container{margin-right:var(--ic-space-xs);display:flex;align-items:center}.dismiss-icon{margin-right:var(--ic-space-xxxs);margin-left:-0.375rem;padding:0.375rem;border:none;border-radius:50%;background-color:inherit;display:flex;align-items:center;justify-content:center}.dismiss-icon>svg{color:var(--ic-alert-icon-dismissible)}.dismiss-icon:hover{cursor:pointer}@media (max-width: 628px){.alert-content{display:flex;flex-direction:column;align-items:flex-start}.alert-message{display:flex;flex-direction:column;align-items:flex-start}.alert-title{white-space:normal}.alert-action-container{margin-bottom:var(--ic-space-xs)}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}}";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { o as onComponentPropUndefinedChange, b as onComponentRequiredPropUndefined } from './helpers-96838a0a.js';
2
+ import { o as onComponentPropUndefinedChange, b as onComponentRequiredPropUndefined } from './helpers-56c75bf4.js';
3
3
 
4
4
  const ArrowUpward = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true">
5
5
  <path d="M0 8L1.41 9.41L7 3.83V16H9V3.83L14.58 9.42L16 8L8 0L0 8Z"/>
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { c as convertToRGBA, g as getBrandForegroundAppearance, d as isPropDefined, b as onComponentRequiredPropUndefined } from './helpers-96838a0a.js';
2
+ import { c as convertToRGBA, g as getBrandForegroundAppearance, d as isPropDefined, b as onComponentRequiredPropUndefined } from './helpers-56c75bf4.js';
3
3
 
4
4
  const icBadgeCss = "@media (prefers-reduced-motion: no-preference){:host(.ic-badge-show){animation:expand var(--ic-transition-duration-slow)}:host(.ic-badge-hide){animation:shrink var(--ic-transition-duration-slow)}}:host{display:flex;height:var(--ic-space-md);min-width:var(--ic-space-md);width:-moz-fit-content;width:fit-content;border-radius:calc(2 * var(--ic-space-xxl));position:absolute}:host ic-typography{--ic-typography-color:var(--ic-badge-text)}:host(.ic-badge-neutral){background-color:var(--ic-badge-dark) !important}:host(.ic-badge-light) ic-typography{--ic-typography-color:var(--ic-badge-text-monochrome)}:host(.ic-badge-light) ::slotted(*){fill:var(--ic-badge-icon-monochrome)}:host(.ic-badge-info){background-color:var(--ic-badge-info) !important}:host(.ic-badge-light){background-color:var(--ic-badge-light) !important}:host(.ic-badge-warning){background-color:var(--ic-badge-warning) !important}:host(.ic-badge-warning) ic-typography{--ic-typography-color:var(--ic-badge-warning-text)}:host(.ic-badge-warning) ::slotted(*){fill:var(--ic-badge-warning-icon)}:host(.ic-badge-error){background-color:var(--ic-badge-error) !important}:host(.ic-badge-success){background-color:var(--ic-badge-success) !important}:host(.ic-badge-small){height:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host(.ic-badge-large){height:calc(var(--ic-space-md) + var(--ic-space-xxs));min-width:calc(var(--ic-space-md) + var(--ic-space-xxs))}:host(.ic-badge-dot.ic-badge-medium){height:var(--ic-space-xs);width:var(--ic-space-xs);min-width:var(--ic-space-xs)}:host(.ic-badge-dot.ic-badge-small){height:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));min-width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs))}:host(.ic-badge-dot.ic-badge-large){height:var(--ic-space-sm);width:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host ::slotted(*){fill:var(--ic-badge-icon)}:host(.ic-badge-foreground-dark) ::slotted(*){fill:var(--ic-color-text-primary-light)}:host(.ic-badge-foreground-light) ::slotted(*){fill:white}:host(.ic-badge-foreground-dark) ic-typography{--ic-typography-color:var(--ic-color-text-primary-light)}:host(.ic-badge-foreground-light) ic-typography{--ic-typography-color:var(--ic-color-primary-text-dark)}:host(.ic-badge-text) ic-typography{align-self:center;padding:0 calc((var(--ic-space-xs) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.ic-badge-text.ic-badge-small) ic-typography{padding:0 0.2132rem}:host(.ic-badge-text.ic-badge-large) ic-typography{padding:0 calc((var(--ic-space-sm) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.ic-badge-icon) ::slotted(svg){width:var(--ic-space-sm);height:var(--ic-space-sm);padding:var(--ic-space-xxxs)}:host(.ic-badge-icon.ic-badge-small) ::slotted(svg){width:var(--ic-space-xs);height:var(--ic-space-xs)}:host(.ic-badge-icon.ic-badge-large) ::slotted(svg){width:calc(var(--ic-space-sm) + var(--ic-space-xxxs));height:calc(var(--ic-space-sm) + var(--ic-space-xxxs));padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}:host(.ic-badge-far){top:calc(-1 * var(--ic-space-xs));right:calc(-1 * var(--ic-space-xs))}:host(.ic-badge-far.ic-badge-small),:host(.ic-badge-dot.ic-badge-far.ic-badge-large){top:calc(-1 * var(--ic-space-xxs));right:calc(-1 * var(--ic-space-xxs))}:host(.ic-badge-dot.ic-badge-far),:host(.ic-badge-dot.ic-badge-far.ic-badge-small){top:calc(-1 * var(--ic-space-xxxs));right:calc(-1 * var(--ic-space-xxxs))}:host(.ic-badge-near){top:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)));right:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)))}:host(.ic-badge-dot.ic-badge-near){top:calc(-1 * var(--ic-space-1px));right:calc(-1 * var(--ic-space-1px))}:host(.ic-badge-inline){position:static}:host(.ic-badge-hide){visibility:hidden !important;transition:visibility var(--ic-transition-duration-slow)}.sr-only{position:absolute;left:-9999px}@keyframes expand{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes shrink{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { D as DEVICE_SIZES, e as getCurrentDeviceSize, f as checkResizeObserver } from './helpers-96838a0a.js';
2
+ import { D as DEVICE_SIZES, e as getCurrentDeviceSize, f as checkResizeObserver } from './helpers-56c75bf4.js';
3
3
 
4
4
  const icBreadcrumbGroupCss = ":host{display:block}:host ol{display:flex;list-style-type:none;align-items:center;flex-wrap:wrap;padding:0;margin:0}:host(.ic-breadcrumb-group-back) ol ::slotted(ic-breadcrumb){display:none}:host(.ic-breadcrumb-group-back) ol ::slotted(ic-breadcrumb.show){display:flex}:host(.ic-breadcrumb-group-collapsed) ol ::slotted(ic-breadcrumb.hide){display:none;opacity:0;visibility:hidden}:host(.ic-breadcrumb-group-collapsed) ol ::slotted(ic-breadcrumb.visuallyhidden){display:block;opacity:0;transition:all var(--ic-easing-transition-slow)}:host(.ic-breadcrumb-group-collapsed) ol ::slotted(ic-breadcrumb.fade){opacity:1}";
5
5
 
@@ -1,17 +1,44 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-93509377.js';
2
2
  import { C as Chevron } from './chevron-icon-875b7af2.js';
3
- import { i as isSlotUsed, d as isPropDefined } from './helpers-96838a0a.js';
3
+ import { i as isSlotUsed, z as getSlotElements, d as isPropDefined } from './helpers-56c75bf4.js';
4
4
 
5
5
  const backIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
6
  <path d="M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z" fill="currentColor"/>
7
7
  </svg>
8
8
  `;
9
9
 
10
- const icBreadcrumbCss = ":host{display:block;margin:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}:host .breadcrumb{display:flex;align-items:center;white-space:nowrap;gap:var(--ic-space-xs);min-height:var(--ic-space-lg)}:host .chevron{width:var(--ic-space-lg);height:var(--ic-space-lg)}:host .chevron svg,:host(.ic-breadcrumb-monochrome) .chevron svg{color:var(--ic-breadcrumb-icon-chevron)}:host(:first-child) .chevron{display:none}.back-icon svg{color:var(--ic-breadcrumb-icon)}:host(.ic-breadcrumb-monochrome) .back-icon svg{color:var(--ic-breadcrumb-icon-monochrome)}:host(.ic-breadcrumb-back){display:flex;align-items:center}:host(.ic-breadcrumb-back) .chevron{display:none}ic-link{--breadcrumb-link-display:inline-flex;--breadcrumb-link-align-items:center;--breadcrumb-link-gap:var(--ic-space-xs)}:host([aria-current=\"page\"]) .current-page-container{display:flex;align-items:center;gap:var(--ic-space-xs);color:var(--ic-breadcrumb-text)}:host([aria-current=\"page\"].ic-breadcrumb-monochrome) .current-page-container{color:var(--ic-breadcrumb-text-monochrome)}:host(.collapsed-breadcrumb-wrapper){margin-right:var(--ic-space-xs) !important;display:flex;align-items:center;gap:var(--ic-space-xs)}:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb){border:none;background-color:transparent;color:var(--ic-color-hyperlink-default);text-decoration:underline;font-weight:var(--ic-font-weight-bold);cursor:pointer}:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus){outline:var(--ic-hc-focus-outline);border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}.hide,:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide){display:none}@media (forced-colors: active){.back-icon svg{color:currentcolor}}@supports (text-underline-offset: 25%){ic-link{--breadcrumb-link-display:flex}:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
10
+ const icBreadcrumbCss = ":host{display:block;margin:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}:host .breadcrumb{display:flex;align-items:center;white-space:nowrap;gap:var(--ic-space-xs);min-height:var(--ic-space-lg)}:host .chevron{width:var(--ic-space-lg);height:var(--ic-space-lg)}:host .chevron svg,:host(.ic-breadcrumb-monochrome) .chevron svg{color:var(--ic-breadcrumb-icon-chevron)}:host(:first-child) .chevron{display:none}.back-icon svg{color:var(--ic-breadcrumb-icon)}:host(.ic-breadcrumb-monochrome) .back-icon svg{color:var(--ic-breadcrumb-icon-monochrome)}:host(.ic-breadcrumb-back){display:flex;align-items:center}:host(.ic-breadcrumb-back) .chevron{display:none}ic-link{--breadcrumb-link-display:inline-flex;--breadcrumb-link-align-items:center;--breadcrumb-link-gap:var(--ic-space-xs)}:host([aria-current=\"page\"]){cursor:text}:host([aria-current=\"page\"]) .current-page-container{display:flex;align-items:center;gap:var(--ic-space-xs);color:var(--ic-breadcrumb-text)}:host([aria-current=\"page\"].ic-breadcrumb-monochrome) .current-page-container{color:var(--ic-breadcrumb-text-monochrome)}:host([aria-current=\"page\"]) slot{pointer-events:none}:host(.collapsed-breadcrumb-wrapper){margin-right:var(--ic-space-xs) !important;display:flex;align-items:center;gap:var(--ic-space-xs)}:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb){border:none;background-color:transparent;color:var(--ic-color-hyperlink-default);text-decoration:underline;font-weight:var(--ic-font-weight-bold);cursor:pointer}:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus){outline:var(--ic-hc-focus-outline);border-bottom:0.25rem solid !important;margin-bottom:-0.25rem !important;text-decoration:none}.hide,:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide){display:none}@media (forced-colors: active){.back-icon svg{color:currentcolor}}@supports (text-underline-offset: 25%){ic-link{--breadcrumb-link-display:flex}:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus){text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
11
11
 
12
12
  const Breadcrumb = class {
13
13
  constructor(hostRef) {
14
14
  registerInstance(this, hostRef);
15
+ this.HREF_ATTR = "href";
16
+ // Prevent focus on breadcrumb if current page and contains slotted link
17
+ this.updatedSlottedLinkFocus = () => {
18
+ // Sets tabindex on wrong element in unit test snapshots
19
+ // - related to known Jest issue: https://github.com/ionic-team/stencil/issues/2830
20
+ if (this.linkSlotContent) {
21
+ this.linkSlotContent.tabIndex = this.current ? -1 : 0; // Prevent focus
22
+ }
23
+ if (this.slottedLinkEl) {
24
+ if (this.current) {
25
+ this.slottedLinkEl.removeAttribute(this.HREF_ATTR); // Prevent screen reader announcing breadcrumb as a link
26
+ }
27
+ else {
28
+ this.slottedLinkEl.setAttribute(this.HREF_ATTR, this.slottedLinkHref);
29
+ }
30
+ }
31
+ };
32
+ this.getSlottedLinkEl = () => {
33
+ const link = this.linkSlotContent;
34
+ if (link) {
35
+ const elWithHref = link.hasAttribute(this.HREF_ATTR)
36
+ ? link
37
+ : link.querySelector("[href]");
38
+ return elWithHref;
39
+ }
40
+ return null;
41
+ };
15
42
  this.renderDefaultBreadcrumb = (current, pageTitle, describedById, href) => {
16
43
  const hasPageTitle = pageTitle !== null && isPropDefined(pageTitle) && pageTitle !== "";
17
44
  if (current && hasPageTitle) {
@@ -41,6 +68,20 @@ const Breadcrumb = class {
41
68
  this.showBackIcon = false;
42
69
  this.theme = "inherit";
43
70
  }
71
+ watchCurrentHandler() {
72
+ this.updatedSlottedLinkFocus();
73
+ this.el.ariaCurrent = this.current ? "page" : null;
74
+ }
75
+ componentDidLoad() {
76
+ var _a;
77
+ const slottedLinkWrapper = this.el.shadowRoot.querySelector(".link-wrapper");
78
+ if (slottedLinkWrapper) {
79
+ this.linkSlotContent = getSlotElements(slottedLinkWrapper)[0];
80
+ this.slottedLinkEl = this.getSlottedLinkEl();
81
+ this.slottedLinkHref = (_a = this.slottedLinkEl) === null || _a === void 0 ? void 0 : _a.getAttribute("href");
82
+ this.updatedSlottedLinkFocus();
83
+ }
84
+ }
44
85
  componentWillRender() {
45
86
  this.setSlottedCurrentPageClass();
46
87
  }
@@ -61,10 +102,13 @@ const Breadcrumb = class {
61
102
  "ic-breadcrumb-back": this.showBackIcon,
62
103
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
63
104
  "ic-breadcrumb-monochrome": this.monochrome,
64
- }, "aria-current": current && "page", role: "listitem" }, h("div", { class: "breadcrumb" }, h("span", { innerHTML: Chevron, class: "chevron", "aria-hidden": "true" }), this.showBackIcon && describedById && (h("span", { id: describedById, class: "hide" }, `Back to ${pageTitle}`)), hasPageTitle && hasHref ? (this.renderDefaultBreadcrumb(current, pageTitle, describedById, href)) : (h("slot", null)))));
105
+ }, "aria-current": current && "page", role: "listitem" }, h("div", { class: "breadcrumb" }, h("span", { innerHTML: Chevron, class: "chevron", "aria-hidden": "true" }), this.showBackIcon && describedById && (h("span", { id: describedById, class: "hide" }, `Back to ${pageTitle}`)), hasPageTitle && hasHref ? (this.renderDefaultBreadcrumb(current, pageTitle, describedById, href)) : (h("span", { class: "link-wrapper" }, h("slot", null))))));
65
106
  }
66
107
  static get delegatesFocus() { return true; }
67
108
  get el() { return getElement(this); }
109
+ static get watchers() { return {
110
+ "current": ["watchCurrentHandler"]
111
+ }; }
68
112
  };
69
113
  Breadcrumb.style = icBreadcrumbCss;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Aa,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,EAAE,CAAC;QACpE,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE;gBACjB,oBAAoB,EAAE,IAAI,CAAC,YAAY;gBACvC,CAAC,YAAY,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS;gBACpD,0BAA0B,EAAE,IAAI,CAAC,UAAU;aAC9C,EAAE,cAAc,EAAE,OAAO,IAAI,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,SAAS,EAAEA,OAAW,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,CAAC,YAAY,IAAI,aAAa,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,WAAW,SAAS,EAAE,CAAC,CAAC,EAAE,YAAY,IAAI,OAAO,IAAI,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;KAC7Z;IAGD,WAAW,cAAc,KAAK,OAAO,IAAI,CAAC,EAAE;;;;;;;","names":["chevronIcon"],"sources":["../web-components/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css?tag=ic-breadcrumb&encapsulation=shadow","../web-components/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js"],"sourcesContent":[":host {\n display: block;\n margin: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n:host .breadcrumb {\n display: flex;\n align-items: center;\n white-space: nowrap;\n gap: var(--ic-space-xs);\n min-height: var(--ic-space-lg);\n}\n\n:host .chevron {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n:host .chevron svg,\n:host(.ic-breadcrumb-monochrome) .chevron svg {\n color: var(--ic-breadcrumb-icon-chevron);\n}\n\n:host(:first-child) .chevron {\n display: none;\n}\n\n.back-icon svg {\n color: var(--ic-breadcrumb-icon);\n}\n\n:host(.ic-breadcrumb-monochrome) .back-icon svg {\n color: var(--ic-breadcrumb-icon-monochrome);\n}\n\n:host(.ic-breadcrumb-back) {\n display: flex;\n align-items: center;\n}\n\n:host(.ic-breadcrumb-back) .chevron {\n display: none;\n}\n\nic-link {\n --breadcrumb-link-display: inline-flex;\n --breadcrumb-link-align-items: center;\n --breadcrumb-link-gap: var(--ic-space-xs);\n}\n\n:host([aria-current=\"page\"]) .current-page-container {\n display: flex;\n align-items: center;\n gap: var(--ic-space-xs);\n color: var(--ic-breadcrumb-text);\n}\n\n:host([aria-current=\"page\"].ic-breadcrumb-monochrome) .current-page-container {\n color: var(--ic-breadcrumb-text-monochrome);\n}\n\n:host(.collapsed-breadcrumb-wrapper) {\n margin-right: var(--ic-space-xs) !important;\n display: flex;\n align-items: center;\n gap: var(--ic-space-xs);\n}\n\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb) {\n border: none;\n background-color: transparent;\n color: var(--ic-color-hyperlink-default);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n cursor: pointer;\n}\n\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus) {\n outline: var(--ic-hc-focus-outline);\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n.hide,\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide) {\n display: none;\n}\n\n@media (forced-colors: active) {\n .back-icon svg {\n color: currentcolor;\n }\n}\n\n@supports (text-underline-offset: 25%) {\n ic-link {\n --breadcrumb-link-display: flex;\n }\n\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n","import { Host, h } from \"@stencil/core\";\nimport chevronIcon from \"../../assets/chevron-icon.svg\";\nimport backIcon from \"../../assets/back-icon.svg\";\nimport { isPropDefined, isSlotUsed } from \"../../utils/helpers\";\n/**\n * @slot icon - Content will be rendered to the left of the breadcrumb page title.\n */\nexport class Breadcrumb {\n constructor() {\n this.renderDefaultBreadcrumb = (current, pageTitle, describedById, href) => {\n const hasPageTitle = pageTitle !== null && isPropDefined(pageTitle) && pageTitle !== \"\";\n if (current && hasPageTitle) {\n return (h(\"span\", { class: {\n \"current-page-container\": current,\n } }, isSlotUsed(this.el, \"icon\") && h(\"slot\", { name: \"icon\" }), pageTitle));\n }\n return (h(\"ic-link\", { theme: this.theme, monochrome: this.monochrome, href: href, class: \"breadcrumb-link\", \"aria-describedby\": this.showBackIcon && describedById && describedById }, this.showBackIcon && (h(\"div\", { class: \"back-icon\", innerHTML: backIcon })), isSlotUsed(this.el, \"icon\") && h(\"slot\", { name: \"icon\" }), pageTitle));\n };\n this.setSlottedCurrentPageClass = () => {\n const icLink = this.el.querySelector(\"ic-link\");\n const currentPage = \"current-page\";\n if (icLink) {\n icLink.classList.remove(currentPage);\n if (this.current) {\n const hasCurrentPageClass = icLink.classList.contains(currentPage);\n if (!hasCurrentPageClass) {\n icLink.classList.add(\"breadcrumb-link\", currentPage);\n }\n }\n }\n };\n this.current = false;\n this.href = undefined;\n this.monochrome = false;\n this.pageTitle = undefined;\n this.showBackIcon = false;\n this.theme = \"inherit\";\n }\n componentWillRender() {\n this.setSlottedCurrentPageClass();\n }\n /**\n * Sets focus on the breadcrumb.\n */\n async setFocus() {\n if (this.el.shadowRoot.querySelector(\"ic-link\")) {\n this.el.shadowRoot.querySelector(\"ic-link\").focus();\n }\n }\n render() {\n const { current, href, pageTitle } = this;\n const describedById = `${pageTitle && pageTitle.toLowerCase().replace(\" \", \"-\")}-describedby`;\n const hasPageTitle = pageTitle !== null && isPropDefined(pageTitle) && pageTitle !== \"\";\n const hasHref = href !== null && isPropDefined(href) && href !== \"\";\n return (h(Host, { class: {\n \"ic-breadcrumb-back\": this.showBackIcon,\n [`ic-theme-${this.theme}`]: this.theme !== \"inherit\",\n \"ic-breadcrumb-monochrome\": this.monochrome,\n }, \"aria-current\": current && \"page\", role: \"listitem\" }, h(\"div\", { class: \"breadcrumb\" }, h(\"span\", { innerHTML: chevronIcon, class: \"chevron\", \"aria-hidden\": \"true\" }), this.showBackIcon && describedById && (h(\"span\", { id: describedById, class: \"hide\" }, `Back to ${pageTitle}`)), hasPageTitle && hasHref ? (this.renderDefaultBreadcrumb(current, pageTitle, describedById, href)) : (h(\"slot\", null)))));\n }\n static get is() { return \"ic-breadcrumb\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-breadcrumb.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-breadcrumb.css\"]\n };\n }\n static get properties() {\n return {\n \"current\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, aria-current will be set on the breadcrumb.\"\n },\n \"attribute\": \"current\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The URL that the breadcrumb link points to.\"\n },\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"monochrome\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, the breadcrumb will display as black in the light theme, and white in the dark theme.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"monochrome\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"pageTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The title of the breadcrumb.\"\n },\n \"attribute\": \"page-title\",\n \"reflect\": false\n },\n \"showBackIcon\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, back icon will be displayed.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"show-back-icon\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\"\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n }\n };\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the breadcrumb.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-breadcrumb.js.map\n"],"version":3}
1
+ {"file":"ic-breadcrumb.entry.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,2wEAA2wE;;MCOtxE,UAAU;IACnB;;QACI,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;;QAExB,IAAI,CAAC,uBAAuB,GAAG;;;YAG3B,IAAI,IAAI,CAAC,eAAe,EAAE;gBACtB,IAAI,CAAC,eAAe,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,CAAC,aAAa,EAAE;gBACpB,IAAI,IAAI,CAAC,OAAO,EAAE;oBACd,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;iBACtD;qBACI;oBACD,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;iBACzE;aACJ;SACJ,CAAC;QACF,IAAI,CAAC,gBAAgB,GAAG;YACpB,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,CAAC;YAClC,IAAI,IAAI,EAAE;gBACN,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;sBAC9C,IAAI;sBACJ,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;gBACnC,OAAO,UAAU,CAAC;aACrB;YACD,OAAO,IAAI,CAAC;SACf,CAAC;QACF,IAAI,C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AO,IAAI,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACnc;IAGD,WAAW,cAAc,KAAK,OAAO,IAAI,CAAC,EAAE;;;;;;;;;;","names":["chevronIcon"],"sources":["../web-components/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css?tag=ic-breadcrumb&encapsulation=shadow","../web-components/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js"],"sourcesContent":[":host {\n display: block;\n margin: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n:host .breadcrumb {\n display: flex;\n align-items: center;\n white-space: nowrap;\n gap: var(--ic-space-xs);\n min-height: var(--ic-space-lg);\n}\n\n:host .chevron {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n:host .chevron svg,\n:host(.ic-breadcrumb-monochrome) .chevron svg {\n color: var(--ic-breadcrumb-icon-chevron);\n}\n\n:host(:first-child) .chevron {\n display: none;\n}\n\n.back-icon svg {\n color: var(--ic-breadcrumb-icon);\n}\n\n:host(.ic-breadcrumb-monochrome) .back-icon svg {\n color: var(--ic-breadcrumb-icon-monochrome);\n}\n\n:host(.ic-breadcrumb-back) {\n display: flex;\n align-items: center;\n}\n\n:host(.ic-breadcrumb-back) .chevron {\n display: none;\n}\n\nic-link {\n --breadcrumb-link-display: inline-flex;\n --breadcrumb-link-align-items: center;\n --breadcrumb-link-gap: var(--ic-space-xs);\n}\n\n:host([aria-current=\"page\"]) {\n cursor: text;\n}\n\n:host([aria-current=\"page\"]) .current-page-container {\n display: flex;\n align-items: center;\n gap: var(--ic-space-xs);\n color: var(--ic-breadcrumb-text);\n}\n\n:host([aria-current=\"page\"].ic-breadcrumb-monochrome) .current-page-container {\n color: var(--ic-breadcrumb-text-monochrome);\n}\n\n:host([aria-current=\"page\"]) slot {\n pointer-events: none;\n}\n\n:host(.collapsed-breadcrumb-wrapper) {\n margin-right: var(--ic-space-xs) !important;\n display: flex;\n align-items: center;\n gap: var(--ic-space-xs);\n}\n\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb) {\n border: none;\n background-color: transparent;\n color: var(--ic-color-hyperlink-default);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n cursor: pointer;\n}\n\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus) {\n outline: var(--ic-hc-focus-outline);\n border-bottom: 0.25rem solid !important;\n margin-bottom: -0.25rem !important;\n text-decoration: none;\n}\n\n.hide,\n:host(.collapsed-breadcrumb-wrapper) ::slotted(.hide) {\n display: none;\n}\n\n@media (forced-colors: active) {\n .back-icon svg {\n color: currentcolor;\n }\n}\n\n@supports (text-underline-offset: 25%) {\n ic-link {\n --breadcrumb-link-display: flex;\n }\n\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:hover),\n :host(.collapsed-breadcrumb-wrapper) ::slotted(.collapsed-breadcrumb:focus) {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport chevronIcon from \"../../assets/chevron-icon.svg\";\nimport backIcon from \"../../assets/back-icon.svg\";\nimport { getSlotElements, isPropDefined, isSlotUsed, } from \"../../utils/helpers\";\n/**\n * @slot icon - Content will be rendered to the left of the breadcrumb page title.\n */\nexport class Breadcrumb {\n constructor() {\n this.HREF_ATTR = \"href\";\n // Prevent focus on breadcrumb if current page and contains slotted link\n this.updatedSlottedLinkFocus = () => {\n // Sets tabindex on wrong element in unit test snapshots\n // - related to known Jest issue: https://github.com/ionic-team/stencil/issues/2830\n if (this.linkSlotContent) {\n this.linkSlotContent.tabIndex = this.current ? -1 : 0; // Prevent focus\n }\n if (this.slottedLinkEl) {\n if (this.current) {\n this.slottedLinkEl.removeAttribute(this.HREF_ATTR); // Prevent screen reader announcing breadcrumb as a link\n }\n else {\n this.slottedLinkEl.setAttribute(this.HREF_ATTR, this.slottedLinkHref);\n }\n }\n };\n this.getSlottedLinkEl = () => {\n const link = this.linkSlotContent;\n if (link) {\n const elWithHref = link.hasAttribute(this.HREF_ATTR)\n ? link\n : link.querySelector(\"[href]\");\n return elWithHref;\n }\n return null;\n };\n this.renderDefaultBreadcrumb = (current, pageTitle, describedById, href) => {\n const hasPageTitle = pageTitle !== null && isPropDefined(pageTitle) && pageTitle !== \"\";\n if (current && hasPageTitle) {\n return (h(\"span\", { class: {\n \"current-page-container\": current,\n } }, isSlotUsed(this.el, \"icon\") && h(\"slot\", { name: \"icon\" }), pageTitle));\n }\n return (h(\"ic-link\", { theme: this.theme, monochrome: this.monochrome, href: href, class: \"breadcrumb-link\", \"aria-describedby\": this.showBackIcon && describedById && describedById }, this.showBackIcon && (h(\"div\", { class: \"back-icon\", innerHTML: backIcon })), isSlotUsed(this.el, \"icon\") && h(\"slot\", { name: \"icon\" }), pageTitle));\n };\n this.setSlottedCurrentPageClass = () => {\n const icLink = this.el.querySelector(\"ic-link\");\n const currentPage = \"current-page\";\n if (icLink) {\n icLink.classList.remove(currentPage);\n if (this.current) {\n const hasCurrentPageClass = icLink.classList.contains(currentPage);\n if (!hasCurrentPageClass) {\n icLink.classList.add(\"breadcrumb-link\", currentPage);\n }\n }\n }\n };\n this.current = false;\n this.href = undefined;\n this.monochrome = false;\n this.pageTitle = undefined;\n this.showBackIcon = false;\n this.theme = \"inherit\";\n }\n watchCurrentHandler() {\n this.updatedSlottedLinkFocus();\n this.el.ariaCurrent = this.current ? \"page\" : null;\n }\n componentDidLoad() {\n var _a;\n const slottedLinkWrapper = this.el.shadowRoot.querySelector(\".link-wrapper\");\n if (slottedLinkWrapper) {\n this.linkSlotContent = getSlotElements(slottedLinkWrapper)[0];\n this.slottedLinkEl = this.getSlottedLinkEl();\n this.slottedLinkHref = (_a = this.slottedLinkEl) === null || _a === void 0 ? void 0 : _a.getAttribute(\"href\");\n this.updatedSlottedLinkFocus();\n }\n }\n componentWillRender() {\n this.setSlottedCurrentPageClass();\n }\n /**\n * Sets focus on the breadcrumb.\n */\n async setFocus() {\n if (this.el.shadowRoot.querySelector(\"ic-link\")) {\n this.el.shadowRoot.querySelector(\"ic-link\").focus();\n }\n }\n render() {\n const { current, href, pageTitle } = this;\n const describedById = `${pageTitle && pageTitle.toLowerCase().replace(\" \", \"-\")}-describedby`;\n const hasPageTitle = pageTitle !== null && isPropDefined(pageTitle) && pageTitle !== \"\";\n const hasHref = href !== null && isPropDefined(href) && href !== \"\";\n return (h(Host, { class: {\n \"ic-breadcrumb-back\": this.showBackIcon,\n [`ic-theme-${this.theme}`]: this.theme !== \"inherit\",\n \"ic-breadcrumb-monochrome\": this.monochrome,\n }, \"aria-current\": current && \"page\", role: \"listitem\" }, h(\"div\", { class: \"breadcrumb\" }, h(\"span\", { innerHTML: chevronIcon, class: \"chevron\", \"aria-hidden\": \"true\" }), this.showBackIcon && describedById && (h(\"span\", { id: describedById, class: \"hide\" }, `Back to ${pageTitle}`)), hasPageTitle && hasHref ? (this.renderDefaultBreadcrumb(current, pageTitle, describedById, href)) : (h(\"span\", { class: \"link-wrapper\" }, h(\"slot\", null))))));\n }\n static get is() { return \"ic-breadcrumb\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-breadcrumb.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-breadcrumb.css\"]\n };\n }\n static get properties() {\n return {\n \"current\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, aria-current will be set on the breadcrumb.\"\n },\n \"attribute\": \"current\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The URL that the breadcrumb link points to.\"\n },\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"monochrome\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, the breadcrumb will display as black in the light theme, and white in the dark theme.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"monochrome\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"pageTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The title of the breadcrumb.\"\n },\n \"attribute\": \"page-title\",\n \"reflect\": false\n },\n \"showBackIcon\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, back icon will be displayed.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"show-back-icon\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\"\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n }\n };\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the breadcrumb.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"current\",\n \"methodName\": \"watchCurrentHandler\"\n }];\n }\n}\n//# sourceMappingURL=ic-breadcrumb.js.map\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { w as IC_INHERITED_ARIA, r as removeDisabledFalse, v as inheritAttributes, $ as renderFileHiddenInput, h as getBrandFromContext, I as IcBrandForegroundEnum, i as isSlotUsed, b as onComponentRequiredPropUndefined } from './helpers-96838a0a.js';
2
+ import { w as IC_INHERITED_ARIA, r as removeDisabledFalse, v as inheritAttributes, $ as renderFileHiddenInput, h as getBrandFromContext, I as IcBrandForegroundEnum, i as isSlotUsed, b as onComponentRequiredPropUndefined } from './helpers-56c75bf4.js';
3
3
  import { c as createPopper } from './popper-b8cc3f16.js';
4
4
 
5
5
  const arrowDropdown = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">