@ukic/canary-web-components 2.0.0-canary.21 → 2.0.0-canary.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-081d6031.js → helpers-093368be.js} +3 -1
  3. package/dist/cjs/helpers-093368be.js.map +1 -0
  4. package/dist/cjs/{helpers-261701cd.js → helpers-85c5ca15.js} +14 -1
  5. package/dist/cjs/helpers-85c5ca15.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-button_3.cjs.entry.js +11 -6
  14. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js +9 -3
  20. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
  23. package/dist/cjs/ic-data-table.cjs.entry.js +526 -71
  24. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-date-input.cjs.entry.js +4 -3
  26. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-date-picker.cjs.entry.js +5 -1
  28. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-empty-state_2.cjs.entry.js +2 -2
  32. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-pagination_4.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-radio-group.cjs.entry.js +41 -22
  51. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-select-with-multi.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-tree-item.cjs.entry.js +241 -0
  68. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-tree-view.cjs.entry.js +203 -0
  70. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -0
  71. package/dist/cjs/ic-typography.cjs.entry.js +47 -12
  72. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  73. package/dist/cjs/index-4cf27b16.js +8 -0
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/collection/assets/arrow-dropdown.svg +3 -0
  76. package/dist/collection/collection-manifest.json +3 -1
  77. package/dist/collection/components/ic-data-table/ic-data-table.css +55 -5
  78. package/dist/collection/components/ic-data-table/ic-data-table.js +570 -77
  79. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  80. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  81. package/dist/collection/components/ic-data-table/story-data.js +364 -21
  82. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  83. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +1 -1
  84. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  85. package/dist/collection/components/ic-date-input/ic-date-input.js +21 -2
  86. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  87. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +7 -0
  88. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +1 -1
  89. package/dist/collection/components/ic-date-picker/ic-date-picker.js +22 -0
  90. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  91. package/dist/collection/components/ic-tree-item/ic-tree-item.css +150 -0
  92. package/dist/collection/components/ic-tree-item/ic-tree-item.js +592 -0
  93. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -0
  94. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js +114 -0
  95. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js.map +1 -0
  96. package/dist/collection/components/ic-tree-view/ic-tree-view.css +56 -0
  97. package/dist/collection/components/ic-tree-view/ic-tree-view.js +296 -0
  98. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -0
  99. package/dist/collection/components/ic-tree-view/test/basic/ic-tree-view.spec.js +85 -0
  100. package/dist/collection/components/ic-tree-view/test/basic/ic-tree-view.spec.js.map +1 -0
  101. package/dist/components/helpers.js +2 -1
  102. package/dist/components/helpers.js.map +1 -1
  103. package/dist/components/helpers2.js +11 -1
  104. package/dist/components/helpers2.js.map +1 -1
  105. package/dist/components/ic-alert2.js +1 -1
  106. package/dist/components/ic-back-to-top.js +1 -1
  107. package/dist/components/ic-badge.js +1 -1
  108. package/dist/components/ic-breadcrumb-group.js +1 -1
  109. package/dist/components/ic-breadcrumb2.js +1 -1
  110. package/dist/components/ic-button2.js +1 -1
  111. package/dist/components/ic-card.js +1 -1
  112. package/dist/components/ic-checkbox-group.js +1 -1
  113. package/dist/components/ic-checkbox.js +1 -1
  114. package/dist/components/ic-chip.js +9 -3
  115. package/dist/components/ic-chip.js.map +1 -1
  116. package/dist/components/ic-data-row.js +1 -1
  117. package/dist/components/ic-data-table.js +531 -72
  118. package/dist/components/ic-data-table.js.map +1 -1
  119. package/dist/components/ic-date-input2.js +5 -3
  120. package/dist/components/ic-date-input2.js.map +1 -1
  121. package/dist/components/ic-date-picker.js +6 -1
  122. package/dist/components/ic-date-picker.js.map +1 -1
  123. package/dist/components/ic-dialog.js +1 -1
  124. package/dist/components/ic-divider2.js +1 -1
  125. package/dist/components/ic-empty-state2.js +1 -1
  126. package/dist/components/ic-footer-link-group.js +1 -1
  127. package/dist/components/ic-footer-link.js +1 -1
  128. package/dist/components/ic-footer.js +1 -1
  129. package/dist/components/ic-hero.js +1 -1
  130. package/dist/components/ic-horizontal-scroll2.js +1 -1
  131. package/dist/components/ic-input-component-container2.js +1 -1
  132. package/dist/components/ic-input-label2.js +1 -1
  133. package/dist/components/ic-input-validation2.js +1 -1
  134. package/dist/components/ic-link2.js +1 -1
  135. package/dist/components/ic-loading-indicator2.js +1 -1
  136. package/dist/components/ic-menu-group.js +1 -1
  137. package/dist/components/ic-menu-item2.js +1 -1
  138. package/dist/components/ic-menu3.js +1 -1
  139. package/dist/components/ic-navigation-button.js +1 -1
  140. package/dist/components/ic-navigation-group.js +1 -1
  141. package/dist/components/ic-navigation-item.js +1 -1
  142. package/dist/components/ic-navigation-menu2.js +1 -1
  143. package/dist/components/ic-page-header.js +1 -1
  144. package/dist/components/ic-pagination-bar2.js +1 -1
  145. package/dist/components/ic-pagination-item2.js +1 -1
  146. package/dist/components/ic-popover-menu.js +1 -1
  147. package/dist/components/ic-radio-group.js +41 -22
  148. package/dist/components/ic-radio-group.js.map +1 -1
  149. package/dist/components/ic-radio-option.js +1 -1
  150. package/dist/components/ic-search-bar.js +1 -1
  151. package/dist/components/ic-select-with-multi.js +1 -1
  152. package/dist/components/ic-select2.js +1 -1
  153. package/dist/components/ic-side-navigation.js +1 -1
  154. package/dist/components/ic-step.js +1 -1
  155. package/dist/components/ic-stepper.js +1 -1
  156. package/dist/components/ic-switch.js +1 -1
  157. package/dist/components/ic-tab-panel.js +1 -1
  158. package/dist/components/ic-text-field2.js +1 -1
  159. package/dist/components/ic-theme.js +1 -1
  160. package/dist/components/ic-toast.js +1 -1
  161. package/dist/components/ic-tooltip2.js +12 -5
  162. package/dist/components/ic-tooltip2.js.map +1 -1
  163. package/dist/components/ic-top-navigation.js +1 -1
  164. package/dist/components/ic-tree-item.d.ts +11 -0
  165. package/dist/components/ic-tree-item.js +286 -0
  166. package/dist/components/ic-tree-item.js.map +1 -0
  167. package/dist/components/ic-tree-view.d.ts +11 -0
  168. package/dist/components/ic-tree-view.js +237 -0
  169. package/dist/components/ic-tree-view.js.map +1 -0
  170. package/dist/components/ic-typography2.js +53 -15
  171. package/dist/components/ic-typography2.js.map +1 -1
  172. package/dist/core/core.esm.js +1 -1
  173. package/dist/core/core.esm.js.map +1 -1
  174. package/dist/core/{p-e5b1dd58.entry.js → p-0180e00a.entry.js} +2 -2
  175. package/dist/core/{p-7f690fa3.entry.js → p-046f4de6.entry.js} +2 -2
  176. package/dist/core/{p-d5d36143.entry.js → p-06732eaf.entry.js} +2 -2
  177. package/dist/core/p-0ec04c16.entry.js +2 -0
  178. package/dist/core/p-0ec04c16.entry.js.map +1 -0
  179. package/dist/core/{p-01297278.entry.js → p-13993bf3.entry.js} +2 -2
  180. package/dist/core/{p-693a77bb.entry.js → p-16a48a63.entry.js} +2 -2
  181. package/dist/core/{p-d91428b4.entry.js → p-216fbd5e.entry.js} +2 -2
  182. package/dist/core/{p-a8c97918.entry.js → p-2d063032.entry.js} +2 -2
  183. package/dist/core/{p-2647931d.entry.js → p-2ee5d3fb.entry.js} +2 -2
  184. package/dist/core/p-355c8532.entry.js +2 -0
  185. package/dist/core/p-355c8532.entry.js.map +1 -0
  186. package/dist/core/p-3a59391f.entry.js +2 -0
  187. package/dist/core/{p-66595f5f.entry.js.map → p-3a59391f.entry.js.map} +1 -1
  188. package/dist/core/{p-007da09d.entry.js → p-3f2723aa.entry.js} +2 -2
  189. package/dist/core/p-401d0c66.entry.js +2 -0
  190. package/dist/core/p-401d0c66.entry.js.map +1 -0
  191. package/dist/core/p-413e68be.entry.js +2 -0
  192. package/dist/core/{p-a4585c7e.entry.js.map → p-413e68be.entry.js.map} +1 -1
  193. package/dist/core/{p-a970d653.entry.js → p-418a84d4.entry.js} +2 -2
  194. package/dist/core/{p-354e5dbe.entry.js → p-41916ef7.entry.js} +2 -2
  195. package/dist/core/p-4309460f.entry.js +2 -0
  196. package/dist/core/p-4309460f.entry.js.map +1 -0
  197. package/dist/core/{p-6f8fd43e.entry.js → p-486a6957.entry.js} +2 -2
  198. package/dist/core/{p-b3ed5423.entry.js → p-5348af01.entry.js} +2 -2
  199. package/dist/core/p-57043b1e.entry.js +2 -0
  200. package/dist/core/{p-d68e0c94.entry.js.map → p-57043b1e.entry.js.map} +1 -1
  201. package/dist/core/{p-6b74397a.entry.js → p-59993f36.entry.js} +2 -2
  202. package/dist/core/{p-be4c0cc8.entry.js → p-6398a726.entry.js} +2 -2
  203. package/dist/core/{p-9e7a5c72.entry.js → p-648fb902.entry.js} +2 -2
  204. package/dist/core/{p-d3ea79e1.entry.js → p-673a4a62.entry.js} +2 -2
  205. package/dist/core/{p-fb4219d6.entry.js → p-67ae9d37.entry.js} +2 -2
  206. package/dist/core/{p-0ea28e7a.entry.js → p-6b01e096.entry.js} +2 -2
  207. package/dist/core/{p-40fc7162.entry.js → p-6b1fcf87.entry.js} +2 -2
  208. package/dist/core/{p-1d0cff8a.entry.js → p-6fb3d61e.entry.js} +2 -2
  209. package/dist/core/{p-1733278a.entry.js → p-789ae7f5.entry.js} +2 -2
  210. package/dist/core/{p-45ebcb74.js → p-8128572e.js} +2 -2
  211. package/dist/{esm/helpers-d41662f3.js.map → core/p-8128572e.js.map} +1 -1
  212. package/dist/core/p-84eaa486.entry.js +2 -0
  213. package/dist/core/p-84eaa486.entry.js.map +1 -0
  214. package/dist/core/{p-0944d33b.entry.js → p-89c7ea3e.entry.js} +2 -2
  215. package/dist/core/{p-96670e29.entry.js → p-8d276e8f.entry.js} +2 -2
  216. package/dist/core/{p-569a68c0.entry.js → p-91cf89c8.entry.js} +2 -2
  217. package/dist/core/p-91cf89c8.entry.js.map +1 -0
  218. package/dist/core/p-969cadfa.entry.js +2 -0
  219. package/dist/core/p-969cadfa.entry.js.map +1 -0
  220. package/dist/core/{p-d44b7f21.entry.js → p-97f141a6.entry.js} +2 -2
  221. package/dist/core/{p-9f8ef2bc.entry.js → p-99185fd5.entry.js} +2 -2
  222. package/dist/core/{p-1ac733c1.entry.js → p-99f96c33.entry.js} +2 -2
  223. package/dist/core/{p-4e6f7cfe.entry.js → p-a052bb95.entry.js} +2 -2
  224. package/dist/core/{p-9e69f517.entry.js → p-a72af8db.entry.js} +2 -2
  225. package/dist/core/{p-ae7c2c39.entry.js → p-a787bba7.entry.js} +2 -2
  226. package/dist/core/{p-e393e53c.entry.js → p-aa72f551.entry.js} +2 -2
  227. package/dist/core/{p-3d9eca50.entry.js → p-aaaa9261.entry.js} +2 -2
  228. package/dist/core/p-adbe0d89.js +2 -0
  229. package/dist/core/p-adbe0d89.js.map +1 -0
  230. package/dist/core/{p-a589ead8.entry.js → p-b29e96b5.entry.js} +2 -2
  231. package/dist/core/p-b97eba08.entry.js +2 -0
  232. package/dist/core/p-b97eba08.entry.js.map +1 -0
  233. package/dist/core/{p-fab8da25.entry.js → p-bfc5f3f4.entry.js} +2 -2
  234. package/dist/core/{p-e2421111.entry.js → p-cb3afdbf.entry.js} +2 -2
  235. package/dist/core/{p-d06c0049.entry.js → p-ccf72538.entry.js} +2 -2
  236. package/dist/core/{p-0551f0cf.entry.js → p-ce0999f1.entry.js} +2 -2
  237. package/dist/core/{p-01008e8d.entry.js → p-d02a4d1b.entry.js} +2 -2
  238. package/dist/core/{p-ffeca3c7.entry.js → p-d8322108.entry.js} +2 -2
  239. package/dist/core/{p-fdacc7f7.entry.js → p-d86cdbc8.entry.js} +2 -2
  240. package/dist/core/{p-59d9ea22.entry.js → p-da8255b8.entry.js} +2 -2
  241. package/dist/core/{p-6e697a16.entry.js → p-e9f5ebb3.entry.js} +2 -2
  242. package/dist/core/p-e9f5ebb3.entry.js.map +1 -0
  243. package/dist/core/{p-145c8074.entry.js → p-ede631c5.entry.js} +2 -2
  244. package/dist/core/{p-d39239be.entry.js → p-f09b2041.entry.js} +2 -2
  245. package/dist/core/{p-169bcf0f.entry.js → p-f1044e4d.entry.js} +2 -2
  246. package/dist/core/{p-3be4aae0.entry.js → p-f10f7f37.entry.js} +2 -2
  247. package/dist/core/{p-a6d3743c.entry.js → p-fa77211d.entry.js} +2 -2
  248. package/dist/esm/core.js +1 -1
  249. package/dist/esm/{helpers-d41662f3.js → helpers-886489d5.js} +3 -2
  250. package/dist/esm/helpers-886489d5.js.map +1 -0
  251. package/dist/esm/{helpers-e75fd113.js → helpers-f543bc77.js} +12 -2
  252. package/dist/esm/helpers-f543bc77.js.map +1 -0
  253. package/dist/esm/ic-accordion-group.entry.js +1 -1
  254. package/dist/esm/ic-accordion.entry.js +1 -1
  255. package/dist/esm/ic-alert.entry.js +1 -1
  256. package/dist/esm/ic-back-to-top.entry.js +1 -1
  257. package/dist/esm/ic-badge.entry.js +1 -1
  258. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  259. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  260. package/dist/esm/ic-button_3.entry.js +11 -6
  261. package/dist/esm/ic-button_3.entry.js.map +1 -1
  262. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  263. package/dist/esm/ic-card.entry.js +1 -1
  264. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  265. package/dist/esm/ic-checkbox.entry.js +1 -1
  266. package/dist/esm/ic-chip.entry.js +9 -3
  267. package/dist/esm/ic-chip.entry.js.map +1 -1
  268. package/dist/esm/ic-data-row.entry.js +1 -1
  269. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  270. package/dist/esm/ic-data-table.entry.js +526 -71
  271. package/dist/esm/ic-data-table.entry.js.map +1 -1
  272. package/dist/esm/ic-date-input.entry.js +4 -3
  273. package/dist/esm/ic-date-input.entry.js.map +1 -1
  274. package/dist/esm/ic-date-picker.entry.js +5 -1
  275. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  276. package/dist/esm/ic-dialog.entry.js +1 -1
  277. package/dist/esm/ic-divider.entry.js +1 -1
  278. package/dist/esm/ic-empty-state_2.entry.js +2 -2
  279. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  280. package/dist/esm/ic-footer-link.entry.js +1 -1
  281. package/dist/esm/ic-footer.entry.js +1 -1
  282. package/dist/esm/ic-hero.entry.js +1 -1
  283. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  284. package/dist/esm/ic-input-component-container_4.entry.js +1 -1
  285. package/dist/esm/ic-link.entry.js +1 -1
  286. package/dist/esm/ic-menu-group.entry.js +1 -1
  287. package/dist/esm/ic-menu-item.entry.js +1 -1
  288. package/dist/esm/ic-menu-with-multi.entry.js +1 -1
  289. package/dist/esm/ic-menu.entry.js +1 -1
  290. package/dist/esm/ic-navigation-button.entry.js +1 -1
  291. package/dist/esm/ic-navigation-group.entry.js +1 -1
  292. package/dist/esm/ic-navigation-item.entry.js +1 -1
  293. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  294. package/dist/esm/ic-page-header.entry.js +1 -1
  295. package/dist/esm/ic-pagination_4.entry.js +1 -1
  296. package/dist/esm/ic-popover-menu.entry.js +1 -1
  297. package/dist/esm/ic-radio-group.entry.js +41 -22
  298. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  299. package/dist/esm/ic-radio-option.entry.js +1 -1
  300. package/dist/esm/ic-search-bar.entry.js +1 -1
  301. package/dist/esm/ic-select-with-multi.entry.js +1 -1
  302. package/dist/esm/ic-side-navigation.entry.js +1 -1
  303. package/dist/esm/ic-status-tag.entry.js +1 -1
  304. package/dist/esm/ic-step.entry.js +1 -1
  305. package/dist/esm/ic-stepper.entry.js +1 -1
  306. package/dist/esm/ic-switch.entry.js +1 -1
  307. package/dist/esm/ic-tab-group.entry.js +1 -1
  308. package/dist/esm/ic-tab-panel.entry.js +1 -1
  309. package/dist/esm/ic-tab.entry.js +1 -1
  310. package/dist/esm/ic-theme.entry.js +1 -1
  311. package/dist/esm/ic-toast.entry.js +1 -1
  312. package/dist/esm/ic-toggle-button.entry.js +1 -1
  313. package/dist/esm/ic-top-navigation.entry.js +1 -1
  314. package/dist/esm/ic-tree-item.entry.js +237 -0
  315. package/dist/esm/ic-tree-item.entry.js.map +1 -0
  316. package/dist/esm/ic-tree-view.entry.js +199 -0
  317. package/dist/esm/ic-tree-view.entry.js.map +1 -0
  318. package/dist/esm/ic-typography.entry.js +48 -13
  319. package/dist/esm/ic-typography.entry.js.map +1 -1
  320. package/dist/esm/index-93509377.js +8 -0
  321. package/dist/esm/loader.js +1 -1
  322. package/dist/types/components/ic-data-table/ic-data-table.d.ts +68 -7
  323. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +9 -0
  324. package/dist/types/components/ic-data-table/story-data.d.ts +112 -0
  325. package/dist/types/components/ic-date-input/ic-date-input.d.ts +4 -0
  326. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
  327. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +95 -0
  328. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +40 -0
  329. package/dist/types/components.d.ts +173 -6
  330. package/hydrate/index.js +1175 -161
  331. package/package.json +3 -3
  332. package/dist/cjs/helpers-081d6031.js.map +0 -1
  333. package/dist/cjs/helpers-261701cd.js.map +0 -1
  334. package/dist/core/p-32a3b6c8.entry.js +0 -2
  335. package/dist/core/p-32a3b6c8.entry.js.map +0 -1
  336. package/dist/core/p-45ebcb74.js.map +0 -1
  337. package/dist/core/p-569a68c0.entry.js.map +0 -1
  338. package/dist/core/p-66595f5f.entry.js +0 -2
  339. package/dist/core/p-6e697a16.entry.js.map +0 -1
  340. package/dist/core/p-a4585c7e.entry.js +0 -2
  341. package/dist/core/p-c04f1bfb.entry.js +0 -2
  342. package/dist/core/p-c04f1bfb.entry.js.map +0 -1
  343. package/dist/core/p-d448bdbd.entry.js +0 -2
  344. package/dist/core/p-d448bdbd.entry.js.map +0 -1
  345. package/dist/core/p-d68e0c94.entry.js +0 -2
  346. package/dist/core/p-e191290c.entry.js +0 -2
  347. package/dist/core/p-e191290c.entry.js.map +0 -1
  348. package/dist/core/p-f6735e4a.js +0 -2
  349. package/dist/core/p-f6735e4a.js.map +0 -1
  350. package/dist/core/p-fc0eac8b.entry.js +0 -2
  351. package/dist/core/p-fc0eac8b.entry.js.map +0 -1
  352. package/dist/esm/helpers-e75fd113.js.map +0 -1
  353. /package/dist/core/{p-e5b1dd58.entry.js.map → p-0180e00a.entry.js.map} +0 -0
  354. /package/dist/core/{p-7f690fa3.entry.js.map → p-046f4de6.entry.js.map} +0 -0
  355. /package/dist/core/{p-d5d36143.entry.js.map → p-06732eaf.entry.js.map} +0 -0
  356. /package/dist/core/{p-01297278.entry.js.map → p-13993bf3.entry.js.map} +0 -0
  357. /package/dist/core/{p-693a77bb.entry.js.map → p-16a48a63.entry.js.map} +0 -0
  358. /package/dist/core/{p-d91428b4.entry.js.map → p-216fbd5e.entry.js.map} +0 -0
  359. /package/dist/core/{p-a8c97918.entry.js.map → p-2d063032.entry.js.map} +0 -0
  360. /package/dist/core/{p-2647931d.entry.js.map → p-2ee5d3fb.entry.js.map} +0 -0
  361. /package/dist/core/{p-007da09d.entry.js.map → p-3f2723aa.entry.js.map} +0 -0
  362. /package/dist/core/{p-a970d653.entry.js.map → p-418a84d4.entry.js.map} +0 -0
  363. /package/dist/core/{p-354e5dbe.entry.js.map → p-41916ef7.entry.js.map} +0 -0
  364. /package/dist/core/{p-6f8fd43e.entry.js.map → p-486a6957.entry.js.map} +0 -0
  365. /package/dist/core/{p-b3ed5423.entry.js.map → p-5348af01.entry.js.map} +0 -0
  366. /package/dist/core/{p-6b74397a.entry.js.map → p-59993f36.entry.js.map} +0 -0
  367. /package/dist/core/{p-be4c0cc8.entry.js.map → p-6398a726.entry.js.map} +0 -0
  368. /package/dist/core/{p-9e7a5c72.entry.js.map → p-648fb902.entry.js.map} +0 -0
  369. /package/dist/core/{p-d3ea79e1.entry.js.map → p-673a4a62.entry.js.map} +0 -0
  370. /package/dist/core/{p-fb4219d6.entry.js.map → p-67ae9d37.entry.js.map} +0 -0
  371. /package/dist/core/{p-0ea28e7a.entry.js.map → p-6b01e096.entry.js.map} +0 -0
  372. /package/dist/core/{p-40fc7162.entry.js.map → p-6b1fcf87.entry.js.map} +0 -0
  373. /package/dist/core/{p-1d0cff8a.entry.js.map → p-6fb3d61e.entry.js.map} +0 -0
  374. /package/dist/core/{p-1733278a.entry.js.map → p-789ae7f5.entry.js.map} +0 -0
  375. /package/dist/core/{p-0944d33b.entry.js.map → p-89c7ea3e.entry.js.map} +0 -0
  376. /package/dist/core/{p-96670e29.entry.js.map → p-8d276e8f.entry.js.map} +0 -0
  377. /package/dist/core/{p-d44b7f21.entry.js.map → p-97f141a6.entry.js.map} +0 -0
  378. /package/dist/core/{p-9f8ef2bc.entry.js.map → p-99185fd5.entry.js.map} +0 -0
  379. /package/dist/core/{p-1ac733c1.entry.js.map → p-99f96c33.entry.js.map} +0 -0
  380. /package/dist/core/{p-4e6f7cfe.entry.js.map → p-a052bb95.entry.js.map} +0 -0
  381. /package/dist/core/{p-9e69f517.entry.js.map → p-a72af8db.entry.js.map} +0 -0
  382. /package/dist/core/{p-ae7c2c39.entry.js.map → p-a787bba7.entry.js.map} +0 -0
  383. /package/dist/core/{p-e393e53c.entry.js.map → p-aa72f551.entry.js.map} +0 -0
  384. /package/dist/core/{p-3d9eca50.entry.js.map → p-aaaa9261.entry.js.map} +0 -0
  385. /package/dist/core/{p-a589ead8.entry.js.map → p-b29e96b5.entry.js.map} +0 -0
  386. /package/dist/core/{p-fab8da25.entry.js.map → p-bfc5f3f4.entry.js.map} +0 -0
  387. /package/dist/core/{p-e2421111.entry.js.map → p-cb3afdbf.entry.js.map} +0 -0
  388. /package/dist/core/{p-d06c0049.entry.js.map → p-ccf72538.entry.js.map} +0 -0
  389. /package/dist/core/{p-0551f0cf.entry.js.map → p-ce0999f1.entry.js.map} +0 -0
  390. /package/dist/core/{p-01008e8d.entry.js.map → p-d02a4d1b.entry.js.map} +0 -0
  391. /package/dist/core/{p-ffeca3c7.entry.js.map → p-d8322108.entry.js.map} +0 -0
  392. /package/dist/core/{p-fdacc7f7.entry.js.map → p-d86cdbc8.entry.js.map} +0 -0
  393. /package/dist/core/{p-59d9ea22.entry.js.map → p-da8255b8.entry.js.map} +0 -0
  394. /package/dist/core/{p-145c8074.entry.js.map → p-ede631c5.entry.js.map} +0 -0
  395. /package/dist/core/{p-d39239be.entry.js.map → p-f09b2041.entry.js.map} +0 -0
  396. /package/dist/core/{p-169bcf0f.entry.js.map → p-f1044e4d.entry.js.map} +0 -0
  397. /package/dist/core/{p-3be4aae0.entry.js.map → p-f10f7f37.entry.js.map} +0 -0
  398. /package/dist/core/{p-a6d3743c.entry.js.map → p-fa77211d.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { n as removeFormResetListener, m as addFormResetListener, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, p as renderHiddenInput, s as getInputDescribedByText } from './helpers-d41662f3.js';
2
+ import { n as removeFormResetListener, m as addFormResetListener, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, p as renderHiddenInput, s as getInputDescribedByText } from './helpers-886489d5.js';
3
3
  import './types-f605c21c.js';
4
4
 
5
5
  const icSwitchCss = "/*! 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}input{overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ic-switch-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ic-space-xxs);cursor:pointer}.ic-switch-label{margin-left:var(--ic-space-xxs);margin-bottom:var(--ic-space-sm)}.ic-switch-label-small{margin-bottom:0.625rem}.ic-switch-toggle{display:flex;align-items:center;justify-content:space-around;width:4rem;height:var(--ic-space-xl);position:relative;border-radius:100vw;background-color:var(--ic-architectural-200);border:var(--ic-border-width) solid var(--ic-architectural-700);box-sizing:border-box;transition:var(--ic-transition-duration-fast)}.ic-switch-line-break{flex:1 0 100%}.ic-switch-checked-status{padding-left:var(--ic-space-xxs);width:var(--ic-space-lg)}.ic-switch-toggle::before{content:\"\";width:1.333rem;height:1.333rem;border-radius:50%;position:absolute;z-index:2;top:50%;left:0.333rem;transform:translate(0, -50%);background-color:var(--ic-architectural-700);transition:var(--ic-transition-duration-slow)}.ic-switch-icon{display:inline-block;vertical-align:middle;width:0.625rem;height:0.625rem}.ic-switch-icon-circle,.ic-switch-icon-line{stroke-width:1}.ic-switch-icon-circle{stroke:var(--ic-architectural-700)}.ic-switch-icon-line{stroke:var(--ic-architectural-white)}@media (prefers-reduced-motion: reduce){.ic-switch-toggle::before{transition-duration:0ms}}.ic-switch-input:checked+.ic-switch-toggle{background-color:var(--ic-action-default);border:none}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-xl), -50%);background-color:var(--ic-architectural-white)}.ic-switch-input:not([disabled])+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-action-dark-bg-hover)}.ic-switch-input:not([disabled])+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-action-dark-bg-active)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:hover::before{box-shadow:0 0 0 0.75rem var(--ic-action-default-bg-hover)}.ic-switch-input:not([disabled]):checked+.ic-switch-toggle:active::before{box-shadow:0 0 0 0.75rem var(--ic-action-default-bg-active)}.ic-switch-input:focus:not([disabled])+.ic-switch-toggle,.ic-switch-input:focus-visible:not([disabled])+.ic-switch-toggle{box-shadow:var(--ic-border-focus)}.ic-switch-disabled{cursor:default}.ic-switch-disabled .ic-switch-icon-circle{stroke:var(--ic-architectural-300)}.ic-switch-disabled .ic-switch-icon-line{stroke:var(--ic-action-default-bg-active)}.ic-switch-input:disabled+.ic-switch-toggle{background-color:var(--ic-architectural-80);border:var(--ic-border-disabled)}.ic-switch-input:disabled~.ic-switch-checked-status{color:var(--ic-architectural-300)}.ic-switch-input:disabled+.ic-switch-toggle::before{background-color:var(--ic-architectural-300)}.ic-switch-input:disabled:checked+.ic-switch-toggle{background-color:var(--ic-status-info-light);border:var(--ic-border-width) dashed #98c9f5}.ic-switch-input:disabled:checked+.ic-switch-toggle::before{background-color:var(--ic-architectural-white)}.ic-switch-small{gap:var(--ic-space-xxxs)}.ic-switch-small .ic-switch-checked-status{padding-left:0.375rem}.ic-switch-small .ic-switch-toggle{width:var(--ic-space-xxl);height:var(--ic-space-lg)}.ic-switch-small .ic-switch-toggle::before{width:var(--ic-space-md);height:var(--ic-space-md);left:var(--ic-space-xxs)}.ic-switch-small .ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(var(--ic-space-lg), -50%)}::slotted(*){margin-left:var(--ic-space-sm)}::slotted(svg){fill:currentcolor}@media (forced-colors: active){.ic-switch-toggle::before,.ic-switch-input:checked+.ic-switch-toggle{border:var(--ic-hc-border)}.ic-switch-input:checked+.ic-switch-toggle::before{transform:translate(calc(var(--ic-space-xl) - 0.125rem), -50%)}.ic-switch-input:disabled+.ic-switch-toggle,.ic-switch-input:disabled:checked+.ic-switch-toggle,.ic-switch-input:disabled+.ic-switch-toggle::before{border-color:GrayText}.ic-switch-input:disabled~.ic-switch-checked-status{color:GrayText}.ic-switch-disabled .ic-switch-icon-circle,.ic-switch-disabled .ic-switch-icon-line{stroke:GrayText}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-93509377.js';
2
- import { a as onComponentRequiredPropUndefined } from './helpers-d41662f3.js';
2
+ import { a as onComponentRequiredPropUndefined } from './helpers-886489d5.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-f605c21c.js';
4
4
 
5
5
  const icTabGroupCss = ":host{--border-bottom-color:var(--ic-architectural-300);display:block;margin-bottom:var(--ic-space-md);border-bottom:var(--ic-border-default)}:host(.inline){margin-bottom:0;border-bottom:none}.light{border-bottom:var(--ic-border-width) solid var(--ic-architectural-white)}.tabs-container{display:flex;flex-direction:row}.tabs-container::-webkit-scrollbar{display:none}";
@@ -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 { I as IcThemeForegroundEnum } from './types-f605c21c.js';
3
- import { d as isPropDefined } from './helpers-d41662f3.js';
3
+ import { d as isPropDefined } from './helpers-886489d5.js';
4
4
 
5
5
  const icTabPanelCss = "/*! 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:not[hidden]{display:block}:host(.ic-tab-panel-light){color:white}";
6
6
 
@@ -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 { I as IcThemeForegroundEnum } from './types-f605c21c.js';
3
- import { k as removeDisabledFalse, i as isSlotUsed } from './helpers-d41662f3.js';
3
+ import { k as removeDisabledFalse, i as isSlotUsed } from './helpers-886489d5.js';
4
4
 
5
5
  const icTabCss = "/*! 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{--indicator-initial-color:rgba(23 89 188 / 0%);--indicator-color:var(--ic-action-default);--focus-indicator:var(--ic-border-focus);--label-color:var(--ic-color-primary-text);--background-color-hover:var(--ic-action-default-bg-hover);--background-color-active:var(--ic-action-default-bg-active);display:flex;align-items:center;border-radius:0;color:var(--label-color);height:2.5rem;padding:0 var(--ic-space-md);cursor:pointer;position:relative;border-bottom:var(--ic-space-xxs) solid var(--indicator-initial-color);gap:var(--ic-space-xs);transition:all var(--ic-easing-transition-fast)}:host(:focus){box-shadow:var(--focus-indicator);border-radius:var(--ic-border-radius)}:host(:focus-visible){outline:var(--ic-hc-focus-outline)}:host(:hover){background-color:var(--background-color-hover)}:host(:active){background-color:var(--background-color-active)}:host(.ic-tab-light){--indicator-initial-color:rgb(255 255 255 / 0%);--indicator-color:rgb(255 255 255 / 100%);--focus-indicator:var(--ic-border-focus);--label-color:white;--background-color-hover:var(--ic-action-dark-bg-hover);--background-color-active:var(--ic-action-dark-bg-active)}:host(.selected){border-bottom:var(--ic-space-xxs) solid var(--indicator-color)}:host(.disabled){pointer-events:none;color:var(--ic-architectural-300)}@media (prefers-reduced-motion: no-preference){:host(.selected.with-transition){transition:all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow)}}.ic-tab-label{pointer-events:none;text-wrap:nowrap}::slotted(svg){fill:currentcolor}@media (forced-colors: active){:host{border-bottom:var(--ic-space-xxs) solid canvas}:host(.disabled){color:GrayText}}";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-93509377.js';
2
- import { G as getThemeColorBrightness, H as BLACK_MIN_COLOR_BRIGHTNESS, W as WHITE_MAX_COLOR_BRIGHTNESS, c as convertToRGBA, b as getThemeForegroundColor } from './helpers-d41662f3.js';
2
+ import { H as getThemeColorBrightness, J as BLACK_MIN_COLOR_BRIGHTNESS, W as WHITE_MAX_COLOR_BRIGHTNESS, c as convertToRGBA, b as getThemeForegroundColor } from './helpers-886489d5.js';
3
3
  import './types-f605c21c.js';
4
4
 
5
5
  const Theme = class {
@@ -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 { i as isSlotUsed, V as VARIANT_ICONS, a as onComponentRequiredPropUndefined, J as getSlot, d as isPropDefined } from './helpers-d41662f3.js';
3
+ import { i as isSlotUsed, V as VARIANT_ICONS, a as onComponentRequiredPropUndefined, K as getSlot, d as isPropDefined } from './helpers-886489d5.js';
4
4
  import { I as IcThemeForegroundEnum } from './types-f605c21c.js';
5
5
 
6
6
  const icToastCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--bottom-position:var(--ic-space-xl);position:fixed;bottom:var(--bottom-position);left:50%;transform:translate(-50%);animation:fadein var(--ic-transition-duration-slow) ease-in-out;z-index:var(--ic-z-index-toast)}:host(.hidden){display:none;animation:fadeout var(--ic-transition-duration-slow) ease-in-out}.container{max-width:32.5rem;min-width:18rem;box-shadow:var(--ic-elevation-overlay);min-height:3.5rem;background-color:var(--ic-architectural-800);color:var(--ic-color-white-text);display:flex;align-items:center;position:relative;border-radius:var(--ic-border-radius)}.toast-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);position:absolute;border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs)}.divider-neutral{background-color:var(--ic-status-unknown)}.divider-info{background-color:var(--ic-status-info-contrast)}.divider-warning{background-color:var(--ic-status-warning-contrast)}.divider-error{background-color:var(--ic-status-error-contrast)}.divider-success{background-color:var(--ic-status-success-contrast)}.toast-icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}:host([variant=\"neutral\"]) .toast-icon svg,::slotted(svg){fill:var(--ic-status-unknown)}:host([variant=\"info\"]) .toast-icon svg{fill:var(--ic-status-info-contrast)}:host([variant=\"warning\"]) .toast-icon svg{fill:var(--ic-status-warning-contrast)}:host([variant=\"error\"]) .toast-icon svg{fill:var(--ic-status-error-contrast)}:host([variant=\"success\"]) .toast-icon svg{fill:var(--ic-status-success-contrast)}.toast-content{margin-left:var(--ic-space-xs);width:100%}.no-icon{margin-left:var(--ic-space-md)}.toast-message{padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}.toast-action-container{padding-bottom:var(--ic-space-md)}ic-button,.toast-dismiss-timer{padding:var(--ic-space-xs)}@media (max-width: 576px){:host{--bottom-position:var(--ic-space-lg);width:calc(100% - 2 * var(--ic-space-md))}}@media (min-width: 993px){:host{--bottom-position:calc(var(--ic-space-xl) + var(--ic-space-xs))}}@media (forced-colors: active){.container{border:var(--ic-hc-border)}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:var(--bottom-position);opacity:1}}@keyframes fadeout{from{bottom:var(--bottom-position);opacity:1}to{bottom:0;opacity:0}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { k as removeDisabledFalse, a as onComponentRequiredPropUndefined, i as isSlotUsed } from './helpers-d41662f3.js';
2
+ import { k as removeDisabledFalse, a as onComponentRequiredPropUndefined, i as isSlotUsed } from './helpers-886489d5.js';
3
3
  import './types-f605c21c.js';
4
4
 
5
5
  const icToggleButtonCss = "/*! 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{--button-border:var(\n --toggle-button-border,\n var(--ic-border-width) solid var(--ic-action-default)\n )}:host(.dark){--button-border:var(\n --toggle-button-border,\n var(--ic-border-width) solid var(--ic-action-dark)\n )}:host(.light){--button-border:var(\n --toggle-button-border,\n var(--ic-border-width) solid var(--ic-action-light)\n )}:host(.disabled){--button-border:var(--toggle-button-border, var(--ic-border-disabled))}:host(.expand-toggle-group-child) ::part(button){width:100%;min-height:inherit;white-space:inherit;height:inherit}:host ic-button{--icon-width:var(--ic-space-lg);--icon-height:var(--ic-space-lg)}:host(.expand-toggle-group-child) ic-button{min-width:100%;min-height:100%;white-space:normal;height:100%}:host(.expand-toggle-group-child) ::part(button):focus,:host(.expand-toggle-group-child.checked) ::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-default),\n var(--ic-border-focus)}:host(.expand-toggle-group-child.light) ::part(button):focus,:host(.expand-toggle-group-child.dark) ::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-dark),\n var(--ic-border-focus)}:host(:focus){z-index:1}:host ::part(button){border:var(--button-border)}:host(.checked) ::part(button){background-color:var(--ic-action-default);color:var(--ic-architectural-white);box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-architectural-white)}:host(.checked) ::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-architectural-white),\n var(--ic-border-focus)}:host(.checked) ::part(button):hover{background-color:var(--button-default-hover)}:host(.checked) ::part(button):active,:host(.icon.checked) ::part(button):active{background-color:var(--ic-action-default-active)}:host(.dark.checked) ::part(button){background-color:var(--ic-action-dark)}:host(.dark.checked) ::part(button):hover{background-color:var(--ic-action-dark-hover)}:host(.dark.checked) ::part(button):active,:host(.icon.dark.checked) ::part(button):active{background-color:var(--ic-action-dark-active)}:host(.light.checked) ::part(button){background-color:var(--ic-action-light);color:var(--ic-color-primary-text);box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-architectural-black)}:host(.light.checked) ::part(button):hover{background-color:var(--ic-action-light-hover)}:host(.light.checked) ::part(button):active,:host(.icon.light.checked) ::part(button):active{background-color:var(--ic-action-light-active)}:host(.light.checked) ::part(button):focus{box-shadow:inset 0 0 0 var(--ic-space-xxxs) var(--ic-architectural-black),\n var(--ic-border-focus)}:host(.disabled) ::part(button),:host(.icon.disabled) ::part(button){border:var(--button-border)}:host(.disabled.checked) ::part(button),:host(.icon.disabled.checked) ::part(button){background-color:transparent}:host(.disabled.checked) ::part(button),:host(.icon.disabled.checked) ::part(button)::before{background-image:radial-gradient(var(--ic-architectural-400) 95%, white 20%);background-repeat:no-repeat}:host(.icon) ::part(button){border:var(--button-border);height:calc(var(--ic-space-xl) + var(--ic-space-xs));width:calc(var(--ic-space-xl) + var(--ic-space-xs))}:host(.icon) ::part(button):active{background-color:var(--ic-action-default-bg-active)}:host(.icon.dark) ::part(button):active{background-color:var(--ic-action-dark-bg-active)}:host(.icon.light) ::part(button):active{background-color:var(--ic-action-light-bg-active)}:host(.icon.small) ::part(button){height:var(--ic-space-xl);width:var(--ic-space-xl)}:host(.icon.large) ::part(button){height:var(--ic-space-xxl);width:var(--ic-space-xxl)}:host(.checked.loading) ::part(button){background-color:var(--button-default-active)}:host(.loading) ::part(ic-loading-container){--inner-color:var(--ic-architectural-white)}:host(.checked.loading.light) ::part(button){background-color:var(--ic-action-light-active)}:host(.checked.loading.dark) ::part(button){background-color:var(--ic-action-dark-active)}@media (forced-colors: active){:host(.checked) ::part(button),:host(.checked) ::part(button):hover{background-color:Highlight}:host(.checked.light) ::part(button),:host(.checked.light) ::part(button):hover{background-color:Highlight}:host(.checked.dark) ::part(button),:host(.checked.dark) ::part(button):hover{background-color:Highlight}:host(.checked.disabled) ::part(button){background-color:GrayText}}";
@@ -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 { I as IcThemeForegroundEnum } from './types-f605c21c.js';
3
- import { i as isSlotUsed, J as getSlot, e as getCurrentDeviceSize, D as DEVICE_SIZES, b as getThemeForegroundColor, o as onComponentPropUndefinedChange, f as checkResizeObserver, a as onComponentRequiredPropUndefined, E as isEmptyString, d as isPropDefined } from './helpers-d41662f3.js';
3
+ import { i as isSlotUsed, K as getSlot, e as getCurrentDeviceSize, D as DEVICE_SIZES, b as getThemeForegroundColor, o as onComponentPropUndefinedChange, f as checkResizeObserver, a as onComponentRequiredPropUndefined, F as isEmptyString, d as isPropDefined } from './helpers-886489d5.js';
4
4
 
5
5
  const icTopNavigationCss = "/*! 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;color:var(--ic-theme-text);width:100%;position:relative}:host .top-navigation{background-color:var(--ic-theme-primary);height:-moz-max-content;height:max-content}:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form){width:100%}:host .title-link{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}:host .title-link,:host .title-link:visited,:host .title-link:active,:host .title-link ::slotted(a),:host .title-link:visited ::slotted(a),:host .title-link:active ::slotted(a){color:var(--ic-theme-text);text-decoration:none;outline:none}:host .title-link:hover:not(:focus){background-color:var(--ic-theme-hover)}:host .title-link:active:not(:focus){background-color:var(--ic-theme-active)}:host .title-link:hover{border-radius:var(--ic-border-radius)}:host .title-link:focus,:host .title-link:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}:host .title-link ic-typography{font-weight:600}:host .nav-panel-container{border-top:var(--ic-keyline-lighten);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}:host(.dark) .nav-panel-container{border-top:var(--ic-keyline-darken)}.top-panel-container{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}.navigation-tabs{margin-top:calc(-1 * var(--ic-space-1px))}.app-details-container{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}.app-icon-container{display:flex;padding-right:var(--ic-space-xs)}.icon-buttons-container{display:flex;margin-left:var(--ic-space-md)}.icon-buttons-container ::slotted(nav){display:flex}.title-wrap{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host .app-status{border-radius:var(--ic-space-md);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}:host(.dark) .app-status{background-color:var(--ic-theme-text);color:var(--ic-color-white-text)}:host .app-version{border-radius:var(--ic-space-md);background-color:var(--ic-theme-active);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}slot[name=\"app-icon\"]::slotted(*){fill:var(--ic-theme-text);width:2em;height:2em}slot[name=\"toggle-icon\"] svg{fill:var(--ic-theme-text)}.search-menu-container{justify-content:right;display:flex;align-items:center}.menu-button-container{margin-left:var(--ic-space-md)}.menu-button-container .navigation-landmark-button-text{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.search-actions-container{display:flex}.menu-buttons-slot{display:flex;flex-direction:column}.navigation-landmark-text{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}.navigation-item-list{display:flex;list-style:none;height:2.75rem}.navigation-item-list::-webkit-scrollbar{display:none}:host ic-section-container{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){.app-details-container{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){:host .nav-panel-container{padding:0 var(--ic-space-md)}}:host(.mobile-mode) .app-status,:host(.mobile-mode) .app-version{display:none}:host(.mobile-mode) .title-link{margin-right:var(--ic-space-xs)}:host(.mobile-mode) .search-menu-container{max-width:10rem}:host(.mobile-mode) .search-bar-container{display:flex;justify-content:center;align-items:center;border-top:var(--ic-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){:host .title-link{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}.top-panel-container{min-height:2.5rem}.search-bar-container{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}.menu-button-container{margin-left:var(--ic-space-sm)}slot[name=\"app-icon\"]::slotted(*){width:1.5em;height:1.5em}slot[name=\"toggle-icon\"] svg{width:1.5em;height:1.5em}}@media (forced-colors: active){:host .top-navigation{border-bottom:var(--ic-hc-border)}.app-status,.app-version{border:var(--ic-hc-border)}slot[name=\"app-icon\"]::slotted(*){fill:currentcolor}}";
6
6
 
@@ -0,0 +1,237 @@
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-93509377.js';
2
+ import { c as checkSlotInChildMutations, i as isSlotUsed, o as onComponentRequiredPropUndefined } from './helpers-f543bc77.js';
3
+
4
+ const arrowDropdown = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor"/>
6
+ </svg>`;
7
+
8
+ const icTreeItemCss = ":host{display:block;border:none;position:relative}:host .tree-item-content{display:flex;align-items:center;height:calc(var(--ic-space-xl) + var(--ic-space-xs));padding:0 var(--ic-space-xs);text-decoration:none;color:var(--ic-primary-text)}::slotted([slot=\"router-item\"]){display:flex;align-items:center;height:calc(var(--ic-space-xl) + var(--ic-space-xs));text-decoration:none;font-family:var(--ic-font-body-family);color:var(--ic-primary-text);padding:0 var(--ic-space-xs) !important}::slotted([slot=\"router-item\"].ic-tree-item-single){padding-left:calc(var(--ic-space-xl) + var(--ic-space-xs)) !important}:host .tree-item-content:focus,::slotted([slot=\"router-item\"]:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-transition-duration-fast);outline:none}:host .tree-item-content:hover,::slotted([slot=\"router-item\"]:hover){background-color:var(--ic-action-dark-bg-hover) !important;cursor:pointer}:host .tree-item-content:active,::slotted([slot=\"router-item\"]:active){background-color:var(--ic-action-dark-bg-active) !important}:host(.ic-tree-item-selected) .tree-item-content,:host(.ic-tree-item-selected) ::slotted([slot=\"router-item\"]){background-color:var(--ic-action-default-bg-hover) !important}:host(.ic-tree-item-small) .tree-item-content,:host(.ic-tree-item-small) ::slotted([slot=\"router-item\"]){height:var(--ic-space-xl)}:host(.ic-tree-item-large) .tree-item-content,:host(.ic-tree-item-large) ::slotted([slot=\"router-item\"]){height:var(--ic-space-xxl)}:host(.ic-tree-item-disabled){pointer-events:none}:host(.ic-tree-item-disabled) .tree-item-content,:host(.ic-tree-item-disabled) .arrow-dropdown,:host(.ic-tree-item-disabled) ::slotted([slot=\"icon\"]),:host(.ic-tree-item-disabled) ::slotted([slot=\"router-item\"]){color:var(--ic-architectural-200) !important;fill:var(--ic-architectural-200);pointer-events:none}:host(.ic-tree-item-light) .tree-item-content,:host(.ic-tree-item-light) .arrow-dropdown,:host(.ic-tree-item-light) ::slotted([slot=\"icon\"]),:host(.ic-tree-item-light) ::slotted([slot=\"router-item\"]){color:var(--ic-architectural-white);fill:var(--ic-architectural-white)}:host .arrow-dropdown{color:var(--ic-action-default);margin-right:var(--ic-space-xs)}:host(.ic-tree-item-small) .arrow-dropdown{margin-right:var(--ic-space-xxs)}:host .tree-item-expanded{transform:rotate(180deg);margin-top:calc(-1 * var(--ic-space-xxs))}:host .ic-tree-item-single{padding-left:calc(var(--ic-space-xl) + var(--ic-space-xs))}:host(.ic-tree-item-small) .ic-tree-item-single{padding-left:calc(var(--ic-space-xl) + var(--ic-space-xxs))}.icon-container{width:var(--ic-space-lg);height:var(--ic-space-lg);margin:0 var(--ic-space-xs) 0 0}:host(.ic-tree-item-small) .icon-container{margin:0 var(--ic-space-xxs) 0 0}.ic-text-overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ic-tooltip-overflow{overflow:hidden}@media (forced-colors: active){::slotted([slot=\"icon\"]){fill:currentcolor}:host(.ic-tree-item-disabled) .tree-item-content,:host(.ic-tree-item-disabled) .arrow-dropdown,:host(.ic-tree-item-disabled) ::slotted([slot=\"icon\"]),:host(.ic-tree-item-disabled) ::slotted([slot=\"router-item\"]){color:GrayText !important;fill:GrayText !important}:host .tree-item-content:focus,::slotted([slot=\"router-item\"]:focus){border:var(--ic-hc-border) !important}:host(.ic-tree-item-selected) .tree-item-content,:host(.ic-tree-item-selected) ::slotted([slot=\"router-item\"]){color:Highlight !important}}";
9
+
10
+ let treeItemIds = 0;
11
+ const TreeItem = class {
12
+ constructor(hostRef) {
13
+ registerInstance(this, hostRef);
14
+ this.icTreeItemSelected = createEvent(this, "icTreeItemSelected", 7);
15
+ this.treeItemId = `ic-tree-item-${treeItemIds++}`;
16
+ this.treeItemTag = "IC-TREE-ITEM";
17
+ this.hostMutationObserver = null;
18
+ this.TOOLTIP = "ic-tooltip";
19
+ this.handleTreeItemClicked = () => {
20
+ if (this.isParent) {
21
+ this.expanded = !this.expanded;
22
+ this.hasParentExpanded = true;
23
+ }
24
+ this.updateAriaLabel();
25
+ this.selected = true;
26
+ this.watchSelectedHandler();
27
+ };
28
+ this.setTreeItemPadding = () => {
29
+ let level = 1;
30
+ let parentElement = this.el.parentElement;
31
+ const treeItemContent = this.el.shadowRoot.querySelector(".tree-item-content");
32
+ const isSiblingOfParent = Array.from(parentElement.children)
33
+ .map((sibling) => {
34
+ if (sibling !== this.el &&
35
+ !sibling.querySelector('[slot="router-item"]') &&
36
+ !sibling.querySelector('[slot="label"]')) {
37
+ return sibling.children.length > 0;
38
+ }
39
+ else {
40
+ return false;
41
+ }
42
+ })
43
+ .includes(true);
44
+ const isChild = parentElement.tagName === this.treeItemTag;
45
+ const isRouterItem = this.hasRouterSlot();
46
+ if ((isSiblingOfParent && !this.el.isParent) ||
47
+ (isChild && !this.el.isParent)) {
48
+ if (isRouterItem) {
49
+ this.routerSlot.classList.add("ic-tree-item-single");
50
+ }
51
+ else {
52
+ treeItemContent.classList.add("ic-tree-item-single");
53
+ }
54
+ }
55
+ while (parentElement) {
56
+ if (parentElement.tagName === this.treeItemTag) {
57
+ level++;
58
+ if (!this.el.isParent && isSiblingOfParent) {
59
+ treeItemContent.style.paddingLeft = `calc(var(--ic-space-xl) + ${level * 16}px)`;
60
+ }
61
+ else if (!this.el.isParent) {
62
+ treeItemContent.style.paddingLeft = `calc(var(--ic-space-xs) + ${level * 24}px`;
63
+ }
64
+ else {
65
+ treeItemContent.style.paddingLeft = `${level * 16}px`;
66
+ }
67
+ }
68
+ parentElement = parentElement.parentElement;
69
+ }
70
+ };
71
+ this.truncateTreeItemLabel = (treeItem) => {
72
+ const typographyEl = treeItem.shadowRoot.querySelector(".tree-item-label");
73
+ const tooltip = typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.closest(this.TOOLTIP);
74
+ const treeContent = treeItem.shadowRoot.querySelector(".tree-item-content");
75
+ if ((typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.scrollHeight) > (treeContent === null || treeContent === void 0 ? void 0 : treeContent.clientHeight)) {
76
+ typographyEl.classList.add("ic-text-overflow");
77
+ if (!tooltip) {
78
+ const tooltipEl = document.createElement("ic-tooltip");
79
+ tooltipEl.setAttribute("target", this.el.id);
80
+ tooltipEl.setAttribute("label", typographyEl.textContent);
81
+ tooltipEl.classList.add("ic-tooltip-overflow");
82
+ tooltipEl.setAttribute("placement", "right");
83
+ treeContent.appendChild(tooltipEl);
84
+ tooltipEl.appendChild(typographyEl);
85
+ }
86
+ }
87
+ };
88
+ this.hostMutationCallback = (mutationList) => {
89
+ if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
90
+ ? checkSlotInChildMutations(addedNodes, removedNodes, "icon")
91
+ : false)) {
92
+ forceUpdate(this);
93
+ }
94
+ };
95
+ this.handleDisplayTooltip = (display) => {
96
+ const typographyEl = this.el.shadowRoot.querySelector(".tree-item-label");
97
+ const tooltip = typographyEl === null || typographyEl === void 0 ? void 0 : typographyEl.closest(this.TOOLTIP);
98
+ tooltip === null || tooltip === void 0 ? void 0 : tooltip.displayTooltip(display);
99
+ };
100
+ this.childTreeItems = undefined;
101
+ this.appearance = "dark";
102
+ this.disabled = false;
103
+ this.expanded = false;
104
+ this.hasParentExpanded = false;
105
+ this.href = undefined;
106
+ this.hreflang = "";
107
+ this.isParent = false;
108
+ this.label = "";
109
+ this.referrerpolicy = undefined;
110
+ this.rel = undefined;
111
+ this.selected = false;
112
+ this.size = "default";
113
+ this.target = undefined;
114
+ }
115
+ watchSelectedHandler() {
116
+ if (this.selected) {
117
+ this.icTreeItemSelected.emit({ id: this.el.id });
118
+ }
119
+ this.updateAriaLabel();
120
+ }
121
+ disconnectedCallback() {
122
+ var _a;
123
+ (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
124
+ }
125
+ componentDidLoad() {
126
+ this.childTreeItems = Array.from(this.el.children).filter((child) => child.tagName === this.treeItemTag);
127
+ if (this.childTreeItems.length > 0) {
128
+ this.isParent = true;
129
+ }
130
+ this.setTreeItemPadding();
131
+ this.updateAriaLabel();
132
+ this.truncateTreeItemLabel(this.el);
133
+ !isSlotUsed(this.el, "label") &&
134
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tree item");
135
+ this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
136
+ this.hostMutationObserver.observe(this.el, {
137
+ childList: true,
138
+ });
139
+ }
140
+ componentDidUpdate() {
141
+ if (this.hasParentExpanded) {
142
+ this.childTreeItems.forEach((child) => {
143
+ this.truncateTreeItemLabel(child);
144
+ });
145
+ this.hasParentExpanded = false;
146
+ }
147
+ }
148
+ handleKeyDown(ev) {
149
+ if (ev.key === "Enter" || ev.key === " ") {
150
+ ev.stopImmediatePropagation();
151
+ this.handleTreeItemClicked();
152
+ }
153
+ }
154
+ /**
155
+ * Sets focus on the native `input`.
156
+ */
157
+ async setFocus() {
158
+ var _a, _b;
159
+ if (this.hasRouterSlot()) {
160
+ (_a = this.routerSlot) === null || _a === void 0 ? void 0 : _a.focus();
161
+ }
162
+ else {
163
+ (_b = this.treeItemElement) === null || _b === void 0 ? void 0 : _b.focus();
164
+ }
165
+ }
166
+ /**
167
+ * @internal Updates the aria-label of the tree item.
168
+ */
169
+ async updateAriaLabel() {
170
+ let ariaLabel;
171
+ if (this.hasRouterSlot()) {
172
+ ariaLabel = this.routerSlot.textContent;
173
+ }
174
+ else if (isSlotUsed(this.el, "label")) {
175
+ ariaLabel = this.el.querySelector('[slot="label"]').textContent;
176
+ }
177
+ else {
178
+ ariaLabel = this.label;
179
+ }
180
+ if (this.isParent) {
181
+ ariaLabel = `${ariaLabel}, triggers submenu, ${this.expanded ? "expanded" : "collapsed"}`;
182
+ }
183
+ if (this.el.parentElement) {
184
+ const treeItems = Array.from(this.el.parentElement.children).filter((child) => child.tagName === this.treeItemTag);
185
+ const index = treeItems.indexOf(this.el) + 1;
186
+ const parentChildren = treeItems.length;
187
+ ariaLabel = `${ariaLabel}, ${index} of ${parentChildren}`;
188
+ }
189
+ if (this.selected) {
190
+ ariaLabel = `${ariaLabel}, active`;
191
+ }
192
+ if (this.disabled) {
193
+ ariaLabel = `${ariaLabel}, dimmed`;
194
+ }
195
+ if (this.hasRouterSlot()) {
196
+ this.routerSlot.ariaLabel = ariaLabel;
197
+ }
198
+ else {
199
+ this.treeItemElement.ariaLabel = ariaLabel;
200
+ }
201
+ }
202
+ hasRouterSlot() {
203
+ this.routerSlot = this.el.querySelector('[slot="router-item"]');
204
+ return !!this.routerSlot;
205
+ }
206
+ render() {
207
+ const { appearance, disabled, label, selected, size, expanded } = this;
208
+ const Component = this.href && !this.disabled ? "a" : "div";
209
+ const attrs = Component == "a" && {
210
+ href: this.href,
211
+ hrefLang: this.hreflang,
212
+ referrerPolicy: this.referrerpolicy,
213
+ rel: this.rel,
214
+ target: this.target,
215
+ };
216
+ return (h(Host, { class: {
217
+ [`ic-tree-item-${appearance}`]: true,
218
+ "ic-tree-item-disabled": disabled,
219
+ "ic-tree-item-selected": !disabled && selected,
220
+ [`ic-tree-item-${size}`]: size !== "default",
221
+ }, id: this.treeItemId }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(Component, Object.assign({ class: {
222
+ "tree-item-content": true,
223
+ }, tabIndex: disabled ? -1 : 0, onClick: this.handleTreeItemClicked, ref: (el) => (this.treeItemElement = el), "aria-disabled": disabled ? "true" : "false", "aria-live": "polite" }, attrs, { onFocus: () => this.handleDisplayTooltip(true), onBlur: () => this.handleDisplayTooltip(false) }), this.isParent && (h("span", { class: {
224
+ ["arrow-dropdown"]: true,
225
+ ["tree-item-expanded"]: expanded,
226
+ }, "aria-hidden": "true", innerHTML: arrowDropdown })), isSlotUsed(this.el, "icon") && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), h("ic-typography", { class: "tree-item-label" }, isSlotUsed(this.el, "label") ? h("slot", { name: "label" }) : label))), expanded && (h("div", { "aria-hidden": `${!expanded}` }, h("slot", null)))));
227
+ }
228
+ get el() { return getElement(this); }
229
+ static get watchers() { return {
230
+ "selected": ["watchSelectedHandler"]
231
+ }; }
232
+ };
233
+ TreeItem.style = icTreeItemCss;
234
+
235
+ export { TreeItem as ic_tree_item };
236
+
237
+ //# sourceMappingURL=ic-tree-item.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"ic-tree-item.entry.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,+6GAA+6G;;ACsBr8G,IAAI,WAAW,GAAG,CAAC,CAAC;MAYP,QAAQ;;;;QACX,eAAU,GAAG,gBAAgB,WAAW,EAAE,EAAE,CAAC;QAE7C,gBAAW,GAAG,cAAc,CAAC;QAE7B,yBAAoB,GAAqB,IAAI,CAAC;QAC9C,YAAO,GAAG,YAAY,CAAC;QA+IvB,0BAAqB,GAAG;YAC9B,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;gBAC/B,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;aAC/B;YAED,IAAI,CAAC,eAAe,EAAE,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,IAA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AI,CAAC,aAAa,EAAE,IACnB,YAAM,IAAI,EAAC,aAAa,GAAG,KAE3B,EAAC,SAAS,kBACR,KAAK,EAAE;gBACL,mBAAmB,EAAE,IAAI;aAC1B,EACD,QAAQ,EAAE,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,EAC3B,OAAO,EAAE,IAAI,CAAC,qBAAqB,EACnC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC,mBACzB,QAAQ,GAAG,MAAM,GAAG,OAAO,eAChC,QAAQ,IACd,KAAK,IACT,OAAO,EAAE,MAAM,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAC9C,MAAM,EAAE,MAAM,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,KAE7C,IAAI,CAAC,QAAQ,KACZ,YACE,KAAK,EAAE;gBACL,CAAC,gBAAgB,GAAG,IAAI;gBACxB,CAAC,oBAAoB,GAAG,QAAQ;aACjC,iBACW,MAAM,EAClB,SAAS,EAAE,aAAa,GACxB,CACH,EACA,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,KAC1B,WAAK,KAAK,EAAC,gBAAgB,IACzB,YAAM,IAAI,EAAC,MAAM,GAAG,CAChB,CACP,EACD,qBAAe,KAAK,EAAC,iBAAiB,IACnC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,GAAG,YAAM,IAAI,EAAC,OAAO,GAAG,GAAG,KAAK,CAC/C,CACN,CACb,EACA,QAAQ,KACP,0BAAkB,GAAG,CAAC,QAAQ,EAAE,IAC9B,eAAQ,CACJ,CACP,CACI,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/ic-tree-item/ic-tree-item.css?tag=ic-tree-item&encapsulation=shadow","src/components/ic-tree-item/ic-tree-item.tsx"],"sourcesContent":[":host {\n display: block;\n border: none;\n position: relative;\n}\n\n:host .tree-item-content {\n display: flex;\n align-items: center;\n height: calc(var(--ic-space-xl) + var(--ic-space-xs));\n padding: 0 var(--ic-space-xs);\n text-decoration: none;\n color: var(--ic-primary-text);\n}\n\n::slotted([slot=\"router-item\"]) {\n display: flex;\n align-items: center;\n height: calc(var(--ic-space-xl) + var(--ic-space-xs));\n text-decoration: none;\n font-family: var(--ic-font-body-family);\n color: var(--ic-primary-text);\n padding: 0 var(--ic-space-xs) !important;\n}\n\n::slotted([slot=\"router-item\"].ic-tree-item-single) {\n padding-left: calc(var(--ic-space-xl) + var(--ic-space-xs)) !important;\n}\n\n:host .tree-item-content:focus,\n::slotted([slot=\"router-item\"]:focus) {\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n transition: var(--ic-transition-duration-fast);\n outline: none;\n}\n\n:host .tree-item-content:hover,\n::slotted([slot=\"router-item\"]:hover) {\n background-color: var(--ic-action-dark-bg-hover) !important;\n cursor: pointer;\n}\n\n:host .tree-item-content:active,\n::slotted([slot=\"router-item\"]:active) {\n background-color: var(--ic-action-dark-bg-active) !important;\n}\n\n:host(.ic-tree-item-selected) .tree-item-content,\n:host(.ic-tree-item-selected) ::slotted([slot=\"router-item\"]) {\n background-color: var(--ic-action-default-bg-hover) !important;\n}\n\n:host(.ic-tree-item-small) .tree-item-content,\n:host(.ic-tree-item-small) ::slotted([slot=\"router-item\"]) {\n height: var(--ic-space-xl);\n}\n\n:host(.ic-tree-item-large) .tree-item-content,\n:host(.ic-tree-item-large) ::slotted([slot=\"router-item\"]) {\n height: var(--ic-space-xxl);\n}\n\n:host(.ic-tree-item-disabled) {\n pointer-events: none;\n}\n\n:host(.ic-tree-item-disabled) .tree-item-content,\n:host(.ic-tree-item-disabled) .arrow-dropdown,\n:host(.ic-tree-item-disabled) ::slotted([slot=\"icon\"]),\n:host(.ic-tree-item-disabled) ::slotted([slot=\"router-item\"]) {\n color: var(--ic-architectural-200) !important;\n fill: var(--ic-architectural-200);\n pointer-events: none;\n}\n\n:host(.ic-tree-item-light) .tree-item-content,\n:host(.ic-tree-item-light) .arrow-dropdown,\n:host(.ic-tree-item-light) ::slotted([slot=\"icon\"]),\n:host(.ic-tree-item-light) ::slotted([slot=\"router-item\"]) {\n color: var(--ic-architectural-white);\n fill: var(--ic-architectural-white);\n}\n\n:host .arrow-dropdown {\n color: var(--ic-action-default);\n margin-right: var(--ic-space-xs);\n}\n\n:host(.ic-tree-item-small) .arrow-dropdown {\n margin-right: var(--ic-space-xxs);\n}\n\n:host .tree-item-expanded {\n transform: rotate(180deg);\n margin-top: calc(-1 * var(--ic-space-xxs));\n}\n\n:host .ic-tree-item-single {\n padding-left: calc(var(--ic-space-xl) + var(--ic-space-xs));\n}\n\n:host(.ic-tree-item-small) .ic-tree-item-single {\n padding-left: calc(var(--ic-space-xl) + var(--ic-space-xxs));\n}\n\n.icon-container {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n margin: 0 var(--ic-space-xs) 0 0;\n}\n\n:host(.ic-tree-item-small) .icon-container {\n margin: 0 var(--ic-space-xxs) 0 0;\n}\n\n.ic-text-overflow {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.ic-tooltip-overflow {\n overflow: hidden;\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n ::slotted([slot=\"icon\"]) {\n fill: currentcolor;\n }\n\n :host(.ic-tree-item-disabled) .tree-item-content,\n :host(.ic-tree-item-disabled) .arrow-dropdown,\n :host(.ic-tree-item-disabled) ::slotted([slot=\"icon\"]),\n :host(.ic-tree-item-disabled) ::slotted([slot=\"router-item\"]) {\n color: GrayText !important;\n fill: GrayText !important;\n }\n\n :host .tree-item-content:focus,\n ::slotted([slot=\"router-item\"]:focus) {\n border: var(--ic-hc-border) !important;\n }\n\n :host(.ic-tree-item-selected) .tree-item-content,\n :host(.ic-tree-item-selected) ::slotted([slot=\"router-item\"]) {\n color: Highlight !important;\n }\n}\n","import {\n Component,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n Host,\n Watch,\n State,\n Listen,\n forceUpdate,\n Method,\n} from \"@stencil/core\";\nimport { IcSizes, IcThemeForegroundNoDefault } from \"../../utils/types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n checkSlotInChildMutations,\n} from \"../../utils/helpers\";\nimport arrowDropdown from \"../../assets/arrow-dropdown.svg\";\n\nlet treeItemIds = 0;\n\n/**\n * @slot label - Content is set as the tree item label.\n * @slot icon - Content is placed to the left of the label.\n * @slot router-item - Handle routing by nesting your routes in this slot.\n */\n@Component({\n tag: \"ic-tree-item\",\n styleUrl: \"ic-tree-item.css\",\n shadow: true,\n})\nexport class TreeItem {\n private treeItemId = `ic-tree-item-${treeItemIds++}`;\n private treeItemElement: HTMLElement;\n private treeItemTag = \"IC-TREE-ITEM\";\n private routerSlot: HTMLElement;\n private hostMutationObserver: MutationObserver = null;\n private TOOLTIP = \"ic-tooltip\";\n\n @Element() el: HTMLIcTreeItemElement;\n\n @State() childTreeItems: HTMLIcTreeItemElement[];\n\n /**\n * @internal Determines whether the light or dark variant of the tree item should be displayed.\n */\n @Prop() appearance?: IcThemeForegroundNoDefault = \"dark\";\n\n /**\n * If `true`, the tree item appears in the disabled state.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * @internal If `true`, the tree item appears in the expanded state.\n */\n @Prop({ mutable: true }) expanded: boolean = false;\n\n /**\n * @internal Determines if the parent tree item has been expanded.\n */\n @Prop({ mutable: true }) hasParentExpanded: boolean = false;\n\n /**\n * The URL that the tree item link points to. If set, the tree item will render as an \"a\" tag, otherwise it will render as a div.\n */\n @Prop() href?: string | undefined;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string = \"\";\n\n /**\n * @internal If `true`, the tree item is a parent of other tree items.\n */\n @Prop({ mutable: true }) isParent: boolean = false;\n\n /**\n * The label of the tree item.\n */\n @Prop() label: string = \"\";\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * If `true`, the tree item appears in the selected state.\n */\n @Prop({ mutable: true }) selected: boolean = false;\n @Watch(\"selected\")\n watchSelectedHandler() {\n if (this.selected) {\n this.icTreeItemSelected.emit({ id: this.el.id });\n }\n this.updateAriaLabel();\n }\n\n /**\n * @internal Determines the size of the tree item.\n */\n @Prop() size?: IcSizes = \"default\";\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * Emitted when tree item is selected.\n */\n @Event() icTreeItemSelected: EventEmitter<{ id: string }>;\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentDidLoad(): void {\n this.childTreeItems = Array.from((this.el as HTMLElement).children).filter(\n (child) => child.tagName === this.treeItemTag\n ) as HTMLIcTreeItemElement[];\n\n if (this.childTreeItems.length > 0) {\n this.isParent = true;\n }\n\n this.setTreeItemPadding();\n\n this.updateAriaLabel();\n\n this.truncateTreeItemLabel(this.el);\n\n !isSlotUsed(this.el, \"label\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Tree item\"\n );\n\n this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n componentDidUpdate(): void {\n if (this.hasParentExpanded) {\n this.childTreeItems.forEach((child) => {\n this.truncateTreeItemLabel(child);\n });\n this.hasParentExpanded = false;\n }\n }\n\n @Listen(\"keydown\", {})\n handleKeyDown(ev: KeyboardEvent): void {\n if (ev.key === \"Enter\" || ev.key === \" \") {\n ev.stopImmediatePropagation();\n this.handleTreeItemClicked();\n }\n }\n\n /**\n * Sets focus on the native `input`.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.hasRouterSlot()) {\n this.routerSlot?.focus();\n } else {\n this.treeItemElement?.focus();\n }\n }\n\n private handleTreeItemClicked = (): void => {\n if (this.isParent) {\n this.expanded = !this.expanded;\n this.hasParentExpanded = true;\n }\n\n this.updateAriaLabel();\n this.selected = true;\n this.watchSelectedHandler();\n };\n\n /**\n * @internal Updates the aria-label of the tree item.\n */\n @Method()\n async updateAriaLabel(): Promise<void> {\n let ariaLabel;\n\n if (this.hasRouterSlot()) {\n ariaLabel = this.routerSlot.textContent;\n } else if (isSlotUsed(this.el, \"label\")) {\n ariaLabel = this.el.querySelector('[slot=\"label\"]').textContent;\n } else {\n ariaLabel = this.label;\n }\n\n if (this.isParent) {\n ariaLabel = `${ariaLabel}, triggers submenu, ${\n this.expanded ? \"expanded\" : \"collapsed\"\n }`;\n }\n\n if (this.el.parentElement) {\n const treeItems = Array.from(\n (this.el.parentElement as HTMLElement).children\n ).filter(\n (child) => child.tagName === this.treeItemTag\n ) as HTMLIcTreeItemElement[];\n\n const index = treeItems.indexOf(this.el) + 1;\n const parentChildren = treeItems.length;\n\n ariaLabel = `${ariaLabel}, ${index} of ${parentChildren}`;\n }\n\n if (this.selected) {\n ariaLabel = `${ariaLabel}, active`;\n }\n\n if (this.disabled) {\n ariaLabel = `${ariaLabel}, dimmed`;\n }\n\n if (this.hasRouterSlot()) {\n this.routerSlot.ariaLabel = ariaLabel;\n } else {\n this.treeItemElement.ariaLabel = ariaLabel;\n }\n }\n\n private setTreeItemPadding = () => {\n let level = 1;\n let parentElement = this.el.parentElement;\n const treeItemContent = this.el.shadowRoot.querySelector(\n \".tree-item-content\"\n ) as HTMLElement;\n\n const isSiblingOfParent = Array.from(parentElement.children)\n .map((sibling) => {\n if (\n sibling !== this.el &&\n !sibling.querySelector('[slot=\"router-item\"]') &&\n !sibling.querySelector('[slot=\"label\"]')\n ) {\n return sibling.children.length > 0;\n } else {\n return false;\n }\n })\n .includes(true);\n\n const isChild = parentElement.tagName === this.treeItemTag;\n\n const isRouterItem = this.hasRouterSlot();\n\n if (\n (isSiblingOfParent && !this.el.isParent) ||\n (isChild && !this.el.isParent)\n ) {\n if (isRouterItem) {\n this.routerSlot.classList.add(\"ic-tree-item-single\");\n } else {\n treeItemContent.classList.add(\"ic-tree-item-single\");\n }\n }\n\n while (parentElement) {\n if (parentElement.tagName === this.treeItemTag) {\n level++;\n if (!this.el.isParent && isSiblingOfParent) {\n treeItemContent.style.paddingLeft = `calc(var(--ic-space-xl) + ${\n level * 16\n }px)`;\n } else if (!this.el.isParent) {\n treeItemContent.style.paddingLeft = `calc(var(--ic-space-xs) + ${\n level * 24\n }px`;\n } else {\n treeItemContent.style.paddingLeft = `${level * 16}px`;\n }\n }\n parentElement = parentElement.parentElement;\n }\n };\n\n private truncateTreeItemLabel = (treeItem: HTMLIcTreeItemElement) => {\n const typographyEl: HTMLIcTypographyElement =\n treeItem.shadowRoot.querySelector(\".tree-item-label\");\n const tooltip = typographyEl?.closest(this.TOOLTIP);\n const treeContent: HTMLElement =\n treeItem.shadowRoot.querySelector(\".tree-item-content\");\n\n if (typographyEl?.scrollHeight > treeContent?.clientHeight) {\n typographyEl.classList.add(\"ic-text-overflow\");\n\n if (!tooltip) {\n const tooltipEl = document.createElement(\"ic-tooltip\");\n tooltipEl.setAttribute(\"target\", this.el.id);\n tooltipEl.setAttribute(\"label\", typographyEl.textContent);\n tooltipEl.classList.add(\"ic-tooltip-overflow\");\n tooltipEl.setAttribute(\"placement\", \"right\");\n treeContent.appendChild(tooltipEl);\n tooltipEl.appendChild(typographyEl);\n }\n }\n };\n\n private hasRouterSlot(): boolean {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n return !!this.routerSlot;\n }\n\n private hostMutationCallback = (mutationList: MutationRecord[]): void => {\n if (\n mutationList.some(({ type, addedNodes, removedNodes }) =>\n type === \"childList\"\n ? checkSlotInChildMutations(addedNodes, removedNodes, \"icon\")\n : false\n )\n ) {\n forceUpdate(this);\n }\n };\n\n private handleDisplayTooltip = (display: boolean) => {\n const typographyEl: HTMLIcTypographyElement =\n this.el.shadowRoot.querySelector(\".tree-item-label\");\n const tooltip: HTMLIcTooltipElement = typographyEl?.closest(this.TOOLTIP);\n\n tooltip?.displayTooltip(display);\n };\n\n render() {\n const { appearance, disabled, label, selected, size, expanded } = this;\n\n const Component = this.href && !this.disabled ? \"a\" : \"div\";\n\n const attrs = Component == \"a\" && {\n href: this.href,\n hrefLang: this.hreflang,\n referrerPolicy: this.referrerpolicy,\n rel: this.rel,\n target: this.target,\n };\n\n return (\n <Host\n class={{\n [`ic-tree-item-${appearance}`]: true,\n \"ic-tree-item-disabled\": disabled,\n \"ic-tree-item-selected\": !disabled && selected,\n [`ic-tree-item-${size}`]: size !== \"default\",\n }}\n id={this.treeItemId}\n >\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\" />\n ) : (\n <Component\n class={{\n \"tree-item-content\": true,\n }}\n tabIndex={disabled ? -1 : 0}\n onClick={this.handleTreeItemClicked}\n ref={(el) => (this.treeItemElement = el)}\n aria-disabled={disabled ? \"true\" : \"false\"}\n aria-live=\"polite\"\n {...attrs}\n onFocus={() => this.handleDisplayTooltip(true)}\n onBlur={() => this.handleDisplayTooltip(false)}\n >\n {this.isParent && (\n <span\n class={{\n [\"arrow-dropdown\"]: true,\n [\"tree-item-expanded\"]: expanded,\n }}\n aria-hidden=\"true\"\n innerHTML={arrowDropdown}\n />\n )}\n {isSlotUsed(this.el, \"icon\") && (\n <div class=\"icon-container\">\n <slot name=\"icon\" />\n </div>\n )}\n <ic-typography class=\"tree-item-label\">\n {isSlotUsed(this.el, \"label\") ? <slot name=\"label\" /> : label}\n </ic-typography>\n </Component>\n )}\n {expanded && (\n <div aria-hidden={`${!expanded}`}>\n <slot />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}