@ukic/canary-web-components 2.0.0-canary.30 → 2.0.0-canary.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-1a85e860.js → helpers-52ab3835.js} +11 -9
  3. package/dist/cjs/helpers-52ab3835.js.map +1 -0
  4. package/dist/cjs/{helpers-093368be.js → helpers-aa5ff032.js} +5 -1
  5. package/dist/cjs/helpers-aa5ff032.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 +8 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-card-horizontal.cjs.entry.js +8 -2
  16. package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-card.cjs.entry.js +7 -1
  18. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -1
  20. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-checkbox.cjs.entry.js +5 -1
  22. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-chip.cjs.entry.js +9 -4
  24. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-data-table.cjs.entry.js +78 -64
  28. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-date-input.cjs.entry.js +6 -1
  30. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-date-picker.cjs.entry.js +6 -1
  32. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-empty-state_2.cjs.entry.js +6 -3
  36. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +11 -2
  43. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-menu-item.cjs.entry.js +7 -1
  47. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-menu.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-pagination_4.cjs.entry.js +30 -10
  56. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-radio-group.cjs.entry.js +2 -1
  59. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -1
  61. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-search-bar.cjs.entry.js +5 -1
  63. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-select-with-multi.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-side-navigation.cjs.entry.js +13 -9
  66. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  69. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  70. package/dist/cjs/ic-switch.cjs.entry.js +6 -2
  71. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  73. package/dist/cjs/ic-tab.cjs.entry.js +5 -2
  74. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  76. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  77. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +9 -0
  78. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-toggle-button.cjs.entry.js +7 -1
  80. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  82. package/dist/cjs/ic-tree-item.cjs.entry.js +13 -4
  83. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-tree-view.cjs.entry.js +16 -4
  85. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  87. package/dist/cjs/loader.cjs.js +1 -1
  88. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.css +4 -1
  89. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +9 -0
  90. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  91. package/dist/collection/components/ic-card-horizontal/test/basic/ic-card-horizontal.spec.js +10 -0
  92. package/dist/collection/components/ic-card-horizontal/test/basic/ic-card-horizontal.spec.js.map +1 -1
  93. package/dist/collection/components/ic-data-table/ic-data-table.css +10 -0
  94. package/dist/collection/components/ic-data-table/ic-data-table.js +77 -63
  95. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  96. package/dist/collection/components/ic-data-table/story-data.js +86 -2
  97. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  98. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +38 -0
  99. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  100. package/dist/collection/components/ic-date-input/ic-date-input.js +8 -1
  101. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  102. package/dist/collection/components/ic-date-picker/ic-date-picker.js +8 -1
  103. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  104. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +1 -1
  105. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  106. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +4 -1
  107. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  108. package/dist/collection/components/ic-tree-item/ic-tree-item.css +20 -3
  109. package/dist/collection/components/ic-tree-item/ic-tree-item.js +31 -3
  110. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  111. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js +3 -0
  112. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js.map +1 -1
  113. package/dist/collection/components/ic-tree-view/ic-tree-view.css +16 -2
  114. package/dist/collection/components/ic-tree-view/ic-tree-view.js +51 -1
  115. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  116. package/dist/collection/utils/helpers.js +10 -8
  117. package/dist/collection/utils/helpers.js.map +1 -1
  118. package/dist/components/helpers.js +5 -1
  119. package/dist/components/helpers.js.map +1 -1
  120. package/dist/components/helpers2.js +10 -8
  121. package/dist/components/helpers2.js.map +1 -1
  122. package/dist/components/ic-accordion.js +9 -1
  123. package/dist/components/ic-accordion.js.map +1 -1
  124. package/dist/components/ic-card-horizontal.js +10 -2
  125. package/dist/components/ic-card-horizontal.js.map +1 -1
  126. package/dist/components/ic-card.js +9 -1
  127. package/dist/components/ic-card.js.map +1 -1
  128. package/dist/components/ic-checkbox-group.js +5 -0
  129. package/dist/components/ic-checkbox-group.js.map +1 -1
  130. package/dist/components/ic-checkbox.js +5 -0
  131. package/dist/components/ic-checkbox.js.map +1 -1
  132. package/dist/components/ic-chip.js +11 -4
  133. package/dist/components/ic-chip.js.map +1 -1
  134. package/dist/components/ic-data-table.js +77 -63
  135. package/dist/components/ic-data-table.js.map +1 -1
  136. package/dist/components/ic-date-input2.js +7 -1
  137. package/dist/components/ic-date-input2.js.map +1 -1
  138. package/dist/components/ic-date-picker.js +7 -1
  139. package/dist/components/ic-date-picker.js.map +1 -1
  140. package/dist/components/ic-input-component-container2.js +13 -2
  141. package/dist/components/ic-input-component-container2.js.map +1 -1
  142. package/dist/components/ic-menu-item2.js +9 -1
  143. package/dist/components/ic-menu-item2.js.map +1 -1
  144. package/dist/components/ic-pagination-bar2.js +4 -1
  145. package/dist/components/ic-pagination-bar2.js.map +1 -1
  146. package/dist/components/ic-pagination-item2.js +6 -1
  147. package/dist/components/ic-pagination-item2.js.map +1 -1
  148. package/dist/components/ic-pagination2.js +5 -0
  149. package/dist/components/ic-pagination2.js.map +1 -1
  150. package/dist/components/ic-radio-group.js +1 -0
  151. package/dist/components/ic-radio-group.js.map +1 -1
  152. package/dist/components/ic-radio-option.js +6 -1
  153. package/dist/components/ic-radio-option.js.map +1 -1
  154. package/dist/components/ic-search-bar.js +6 -1
  155. package/dist/components/ic-search-bar.js.map +1 -1
  156. package/dist/components/ic-select2.js +6 -1
  157. package/dist/components/ic-select2.js.map +1 -1
  158. package/dist/components/ic-side-navigation.js +13 -9
  159. package/dist/components/ic-side-navigation.js.map +1 -1
  160. package/dist/components/ic-switch.js +8 -3
  161. package/dist/components/ic-switch.js.map +1 -1
  162. package/dist/components/ic-tab.js +5 -2
  163. package/dist/components/ic-tab.js.map +1 -1
  164. package/dist/components/ic-text-field2.js +19 -10
  165. package/dist/components/ic-text-field2.js.map +1 -1
  166. package/dist/components/ic-toggle-button-group.js +11 -1
  167. package/dist/components/ic-toggle-button-group.js.map +1 -1
  168. package/dist/components/ic-toggle-button.js +9 -1
  169. package/dist/components/ic-toggle-button.js.map +1 -1
  170. package/dist/components/ic-top-navigation.js +1 -1
  171. package/dist/components/ic-tree-item.js +15 -4
  172. package/dist/components/ic-tree-item.js.map +1 -1
  173. package/dist/components/ic-tree-view.js +19 -4
  174. package/dist/components/ic-tree-view.js.map +1 -1
  175. package/dist/core/core.esm.js +1 -1
  176. package/dist/core/core.esm.js.map +1 -1
  177. package/dist/core/{p-e210f51a.entry.js → p-05c9dee1.entry.js} +2 -2
  178. package/dist/core/p-05c9dee1.entry.js.map +1 -0
  179. package/dist/core/p-0695b4b7.entry.js +2 -0
  180. package/dist/core/p-0695b4b7.entry.js.map +1 -0
  181. package/dist/core/p-09d4fe07.entry.js +2 -0
  182. package/dist/core/p-09d4fe07.entry.js.map +1 -0
  183. package/dist/core/{p-0180e00a.entry.js → p-0bc92c30.entry.js} +2 -2
  184. package/dist/core/{p-924548ec.entry.js → p-120a38ce.entry.js} +2 -2
  185. package/dist/core/{p-2d063032.entry.js → p-1419c8ae.entry.js} +2 -2
  186. package/dist/core/{p-ca8ddad0.entry.js → p-1619b3d7.entry.js} +2 -2
  187. package/dist/core/{p-438abe40.entry.js → p-19a9ab60.entry.js} +2 -2
  188. package/dist/core/p-19a9ab60.entry.js.map +1 -0
  189. package/dist/core/{p-41916ef7.entry.js → p-1a5c1bfa.entry.js} +2 -2
  190. package/dist/core/{p-418a84d4.entry.js → p-1b5a47c6.entry.js} +2 -2
  191. package/dist/core/p-1eb5d7f3.entry.js +2 -0
  192. package/dist/core/p-1eb5d7f3.entry.js.map +1 -0
  193. package/dist/core/{p-cb3afdbf.entry.js → p-1ef02273.entry.js} +2 -2
  194. package/dist/core/p-20075bc7.entry.js +2 -0
  195. package/dist/core/p-20075bc7.entry.js.map +1 -0
  196. package/dist/core/p-2308d041.entry.js +2 -0
  197. package/dist/core/p-2308d041.entry.js.map +1 -0
  198. package/dist/core/{p-d56593cc.entry.js → p-23f32e1e.entry.js} +2 -2
  199. package/dist/core/{p-8128572e.js → p-3a3a8a71.js} +2 -2
  200. package/dist/core/{p-8128572e.js.map → p-3a3a8a71.js.map} +1 -1
  201. package/dist/core/{p-0a01a7ae.entry.js → p-40471551.entry.js} +2 -2
  202. package/dist/core/{p-5eeea55e.entry.js → p-43f87eb3.entry.js} +2 -2
  203. package/dist/core/p-43f87eb3.entry.js.map +1 -0
  204. package/dist/core/{p-2f7e6e38.entry.js → p-456282e2.entry.js} +2 -2
  205. package/dist/core/{p-74abc3bb.entry.js → p-48b62c20.entry.js} +2 -2
  206. package/dist/core/{p-486a6957.entry.js → p-5041cbeb.entry.js} +2 -2
  207. package/dist/core/{p-21d0dea6.entry.js → p-516de675.entry.js} +2 -2
  208. package/dist/core/{p-648fb902.entry.js → p-522b1526.entry.js} +2 -2
  209. package/dist/core/{p-f6a93c4d.entry.js → p-56e19b01.entry.js} +2 -2
  210. package/dist/core/{p-6fb3d61e.entry.js → p-59e677e4.entry.js} +2 -2
  211. package/dist/core/{p-de630a67.entry.js → p-5dc274f0.entry.js} +2 -2
  212. package/dist/core/{p-1a317582.entry.js → p-67b25dfc.entry.js} +2 -2
  213. package/dist/core/p-67b25dfc.entry.js.map +1 -0
  214. package/dist/core/{p-f4e57aaf.entry.js → p-6bd76154.entry.js} +2 -2
  215. package/dist/core/{p-9b70d4f8.entry.js → p-73dab780.entry.js} +2 -2
  216. package/dist/core/{p-8d276e8f.entry.js → p-77637e28.entry.js} +2 -2
  217. package/dist/core/p-782cd387.entry.js +2 -0
  218. package/dist/core/p-782cd387.entry.js.map +1 -0
  219. package/dist/core/p-7e20c194.entry.js +2 -0
  220. package/dist/core/p-7e20c194.entry.js.map +1 -0
  221. package/dist/core/{p-77696f7d.entry.js → p-85101c9a.entry.js} +2 -2
  222. package/dist/core/p-85101c9a.entry.js.map +1 -0
  223. package/dist/core/{p-f10f7f37.entry.js → p-89290d94.entry.js} +2 -2
  224. package/dist/core/p-89290d94.entry.js.map +1 -0
  225. package/dist/core/{p-521abb6e.entry.js → p-895d05f9.entry.js} +2 -2
  226. package/dist/core/p-895d05f9.entry.js.map +1 -0
  227. package/dist/core/{p-969cadfa.entry.js → p-89ec372e.entry.js} +2 -2
  228. package/dist/core/p-89ec372e.entry.js.map +1 -0
  229. package/dist/core/{p-b53455c3.entry.js → p-9271a06b.entry.js} +2 -2
  230. package/dist/core/{p-673a4a62.entry.js → p-9445c2f3.entry.js} +2 -2
  231. package/dist/core/p-94e47a21.entry.js +2 -0
  232. package/dist/core/p-94e47a21.entry.js.map +1 -0
  233. package/dist/core/{p-0fc36045.entry.js → p-952bdeb2.entry.js} +2 -2
  234. package/dist/core/p-95c8513d.entry.js +2 -0
  235. package/dist/core/p-95c8513d.entry.js.map +1 -0
  236. package/dist/core/{p-a7331e7c.entry.js → p-96a909bf.entry.js} +2 -2
  237. package/dist/core/{p-e35d6d78.entry.js → p-9922cd00.entry.js} +2 -2
  238. package/dist/core/{p-9e5c8813.entry.js → p-9b85340f.entry.js} +2 -2
  239. package/dist/core/p-9b85340f.entry.js.map +1 -0
  240. package/dist/core/{p-99185fd5.entry.js → p-9ce35989.entry.js} +2 -2
  241. package/dist/core/p-9ce35989.entry.js.map +1 -0
  242. package/dist/core/p-a44c0351.entry.js +2 -0
  243. package/dist/core/p-a44c0351.entry.js.map +1 -0
  244. package/dist/core/p-a7f4168c.entry.js +2 -0
  245. package/dist/core/{p-ccf72538.entry.js → p-ab485b11.entry.js} +2 -2
  246. package/dist/core/{p-097bfd3f.entry.js → p-ad1e70c9.entry.js} +2 -2
  247. package/dist/core/{p-3a59391f.entry.js → p-ad786103.entry.js} +2 -2
  248. package/dist/core/p-af3d4eba.entry.js +2 -0
  249. package/dist/core/p-af3d4eba.entry.js.map +1 -0
  250. package/dist/core/p-b9d9273f.js +2 -0
  251. package/dist/core/p-b9d9273f.js.map +1 -0
  252. package/dist/core/{p-789ae7f5.entry.js → p-c32f4c0f.entry.js} +2 -2
  253. package/dist/core/{p-16a48a63.entry.js → p-cc99e774.entry.js} +2 -2
  254. package/dist/core/p-ce2162a2.entry.js +2 -0
  255. package/dist/core/{p-a72af8db.entry.js.map → p-ce2162a2.entry.js.map} +1 -1
  256. package/dist/core/{p-c8141cac.entry.js → p-ce90d1b2.entry.js} +2 -2
  257. package/dist/core/p-cf3f9b02.entry.js +2 -0
  258. package/dist/core/p-cf3f9b02.entry.js.map +1 -0
  259. package/dist/core/{p-5348af01.entry.js → p-d0d2952b.entry.js} +2 -2
  260. package/dist/core/{p-4fd35690.entry.js → p-d61ef782.entry.js} +2 -2
  261. package/dist/core/p-d61ef782.entry.js.map +1 -0
  262. package/dist/core/{p-6398a726.entry.js → p-f0e85611.entry.js} +2 -2
  263. package/dist/esm/core.js +1 -1
  264. package/dist/esm/{helpers-e0c3e667.js → helpers-147b5b73.js} +11 -9
  265. package/dist/esm/helpers-147b5b73.js.map +1 -0
  266. package/dist/esm/{helpers-886489d5.js → helpers-25eb1cb0.js} +6 -2
  267. package/dist/esm/helpers-25eb1cb0.js.map +1 -0
  268. package/dist/esm/ic-accordion-group.entry.js +1 -1
  269. package/dist/esm/ic-accordion.entry.js +8 -1
  270. package/dist/esm/ic-accordion.entry.js.map +1 -1
  271. package/dist/esm/ic-alert.entry.js +1 -1
  272. package/dist/esm/ic-back-to-top.entry.js +1 -1
  273. package/dist/esm/ic-badge.entry.js +1 -1
  274. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  275. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  276. package/dist/esm/ic-button_3.entry.js +1 -1
  277. package/dist/esm/ic-card-horizontal.entry.js +8 -2
  278. package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
  279. package/dist/esm/ic-card.entry.js +7 -1
  280. package/dist/esm/ic-card.entry.js.map +1 -1
  281. package/dist/esm/ic-checkbox-group.entry.js +5 -1
  282. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  283. package/dist/esm/ic-checkbox.entry.js +5 -1
  284. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  285. package/dist/esm/ic-chip.entry.js +9 -4
  286. package/dist/esm/ic-chip.entry.js.map +1 -1
  287. package/dist/esm/ic-data-row.entry.js +1 -1
  288. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  289. package/dist/esm/ic-data-table.entry.js +78 -64
  290. package/dist/esm/ic-data-table.entry.js.map +1 -1
  291. package/dist/esm/ic-date-input.entry.js +6 -1
  292. package/dist/esm/ic-date-input.entry.js.map +1 -1
  293. package/dist/esm/ic-date-picker.entry.js +6 -1
  294. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  295. package/dist/esm/ic-dialog.entry.js +1 -1
  296. package/dist/esm/ic-divider.entry.js +1 -1
  297. package/dist/esm/ic-empty-state_2.entry.js +6 -3
  298. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  299. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  300. package/dist/esm/ic-footer-link.entry.js +1 -1
  301. package/dist/esm/ic-footer.entry.js +1 -1
  302. package/dist/esm/ic-hero.entry.js +1 -1
  303. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  304. package/dist/esm/ic-input-component-container_4.entry.js +11 -2
  305. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  306. package/dist/esm/ic-link.entry.js +1 -1
  307. package/dist/esm/ic-menu-group.entry.js +1 -1
  308. package/dist/esm/ic-menu-item.entry.js +7 -1
  309. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  310. package/dist/esm/ic-menu-with-multi.entry.js +1 -1
  311. package/dist/esm/ic-menu.entry.js +1 -1
  312. package/dist/esm/ic-navigation-button.entry.js +1 -1
  313. package/dist/esm/ic-navigation-group.entry.js +1 -1
  314. package/dist/esm/ic-navigation-item.entry.js +1 -1
  315. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  316. package/dist/esm/ic-page-header.entry.js +1 -1
  317. package/dist/esm/ic-pagination_4.entry.js +30 -10
  318. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  319. package/dist/esm/ic-popover-menu.entry.js +1 -1
  320. package/dist/esm/ic-radio-group.entry.js +2 -1
  321. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  322. package/dist/esm/ic-radio-option.entry.js +5 -1
  323. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  324. package/dist/esm/ic-search-bar.entry.js +5 -1
  325. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  326. package/dist/esm/ic-select-with-multi.entry.js +1 -1
  327. package/dist/esm/ic-side-navigation.entry.js +13 -9
  328. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  329. package/dist/esm/ic-status-tag.entry.js +1 -1
  330. package/dist/esm/ic-step.entry.js +1 -1
  331. package/dist/esm/ic-stepper.entry.js +1 -1
  332. package/dist/esm/ic-switch.entry.js +6 -2
  333. package/dist/esm/ic-switch.entry.js.map +1 -1
  334. package/dist/esm/ic-tab-group.entry.js +1 -1
  335. package/dist/esm/ic-tab.entry.js +5 -2
  336. package/dist/esm/ic-tab.entry.js.map +1 -1
  337. package/dist/esm/ic-theme.entry.js +1 -1
  338. package/dist/esm/ic-toast.entry.js +1 -1
  339. package/dist/esm/ic-toggle-button-group.entry.js +9 -0
  340. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  341. package/dist/esm/ic-toggle-button.entry.js +7 -1
  342. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  343. package/dist/esm/ic-top-navigation.entry.js +1 -1
  344. package/dist/esm/ic-tree-item.entry.js +13 -4
  345. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  346. package/dist/esm/ic-tree-view.entry.js +16 -4
  347. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  348. package/dist/esm/ic-typography.entry.js +1 -1
  349. package/dist/esm/loader.js +1 -1
  350. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +1 -0
  351. package/dist/types/components/ic-data-table/ic-data-table.d.ts +3 -1
  352. package/dist/types/components/ic-data-table/story-data.d.ts +78 -0
  353. package/dist/types/components/ic-date-input/ic-date-input.d.ts +1 -0
  354. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +1 -0
  355. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +6 -0
  356. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +9 -0
  357. package/dist/types/components.d.ts +25 -1
  358. package/hydrate/index.js +261 -103
  359. package/package.json +3 -10
  360. package/dist/cjs/helpers-093368be.js.map +0 -1
  361. package/dist/cjs/helpers-1a85e860.js.map +0 -1
  362. package/dist/core/p-01bc462e.entry.js +0 -2
  363. package/dist/core/p-01bc462e.entry.js.map +0 -1
  364. package/dist/core/p-09746a07.entry.js +0 -2
  365. package/dist/core/p-09746a07.entry.js.map +0 -1
  366. package/dist/core/p-1a317582.entry.js.map +0 -1
  367. package/dist/core/p-2ecedbe5.entry.js +0 -2
  368. package/dist/core/p-2ecedbe5.entry.js.map +0 -1
  369. package/dist/core/p-383ba7e8.entry.js +0 -2
  370. package/dist/core/p-383ba7e8.entry.js.map +0 -1
  371. package/dist/core/p-40510c97.js +0 -2
  372. package/dist/core/p-40510c97.js.map +0 -1
  373. package/dist/core/p-4352b9c5.entry.js +0 -2
  374. package/dist/core/p-4352b9c5.entry.js.map +0 -1
  375. package/dist/core/p-438abe40.entry.js.map +0 -1
  376. package/dist/core/p-43a2cad3.entry.js +0 -2
  377. package/dist/core/p-43a2cad3.entry.js.map +0 -1
  378. package/dist/core/p-4fd35690.entry.js.map +0 -1
  379. package/dist/core/p-521abb6e.entry.js.map +0 -1
  380. package/dist/core/p-5334bc96.entry.js +0 -2
  381. package/dist/core/p-5334bc96.entry.js.map +0 -1
  382. package/dist/core/p-5eeea55e.entry.js.map +0 -1
  383. package/dist/core/p-67ae9d37.entry.js +0 -2
  384. package/dist/core/p-77696f7d.entry.js.map +0 -1
  385. package/dist/core/p-7e5da5eb.entry.js +0 -2
  386. package/dist/core/p-7e5da5eb.entry.js.map +0 -1
  387. package/dist/core/p-810561ab.entry.js +0 -2
  388. package/dist/core/p-810561ab.entry.js.map +0 -1
  389. package/dist/core/p-969cadfa.entry.js.map +0 -1
  390. package/dist/core/p-97f141a6.entry.js +0 -2
  391. package/dist/core/p-97f141a6.entry.js.map +0 -1
  392. package/dist/core/p-99185fd5.entry.js.map +0 -1
  393. package/dist/core/p-9e5c8813.entry.js.map +0 -1
  394. package/dist/core/p-a72af8db.entry.js +0 -2
  395. package/dist/core/p-c9edf975.entry.js +0 -2
  396. package/dist/core/p-c9edf975.entry.js.map +0 -1
  397. package/dist/core/p-cf4572c9.entry.js +0 -2
  398. package/dist/core/p-cf4572c9.entry.js.map +0 -1
  399. package/dist/core/p-e210f51a.entry.js.map +0 -1
  400. package/dist/core/p-f10f7f37.entry.js.map +0 -1
  401. package/dist/esm/helpers-886489d5.js.map +0 -1
  402. package/dist/esm/helpers-e0c3e667.js.map +0 -1
  403. /package/dist/core/{p-0180e00a.entry.js.map → p-0bc92c30.entry.js.map} +0 -0
  404. /package/dist/core/{p-924548ec.entry.js.map → p-120a38ce.entry.js.map} +0 -0
  405. /package/dist/core/{p-2d063032.entry.js.map → p-1419c8ae.entry.js.map} +0 -0
  406. /package/dist/core/{p-ca8ddad0.entry.js.map → p-1619b3d7.entry.js.map} +0 -0
  407. /package/dist/core/{p-41916ef7.entry.js.map → p-1a5c1bfa.entry.js.map} +0 -0
  408. /package/dist/core/{p-418a84d4.entry.js.map → p-1b5a47c6.entry.js.map} +0 -0
  409. /package/dist/core/{p-cb3afdbf.entry.js.map → p-1ef02273.entry.js.map} +0 -0
  410. /package/dist/core/{p-d56593cc.entry.js.map → p-23f32e1e.entry.js.map} +0 -0
  411. /package/dist/core/{p-0a01a7ae.entry.js.map → p-40471551.entry.js.map} +0 -0
  412. /package/dist/core/{p-2f7e6e38.entry.js.map → p-456282e2.entry.js.map} +0 -0
  413. /package/dist/core/{p-74abc3bb.entry.js.map → p-48b62c20.entry.js.map} +0 -0
  414. /package/dist/core/{p-486a6957.entry.js.map → p-5041cbeb.entry.js.map} +0 -0
  415. /package/dist/core/{p-21d0dea6.entry.js.map → p-516de675.entry.js.map} +0 -0
  416. /package/dist/core/{p-648fb902.entry.js.map → p-522b1526.entry.js.map} +0 -0
  417. /package/dist/core/{p-f6a93c4d.entry.js.map → p-56e19b01.entry.js.map} +0 -0
  418. /package/dist/core/{p-6fb3d61e.entry.js.map → p-59e677e4.entry.js.map} +0 -0
  419. /package/dist/core/{p-de630a67.entry.js.map → p-5dc274f0.entry.js.map} +0 -0
  420. /package/dist/core/{p-f4e57aaf.entry.js.map → p-6bd76154.entry.js.map} +0 -0
  421. /package/dist/core/{p-9b70d4f8.entry.js.map → p-73dab780.entry.js.map} +0 -0
  422. /package/dist/core/{p-8d276e8f.entry.js.map → p-77637e28.entry.js.map} +0 -0
  423. /package/dist/core/{p-b53455c3.entry.js.map → p-9271a06b.entry.js.map} +0 -0
  424. /package/dist/core/{p-673a4a62.entry.js.map → p-9445c2f3.entry.js.map} +0 -0
  425. /package/dist/core/{p-0fc36045.entry.js.map → p-952bdeb2.entry.js.map} +0 -0
  426. /package/dist/core/{p-a7331e7c.entry.js.map → p-96a909bf.entry.js.map} +0 -0
  427. /package/dist/core/{p-e35d6d78.entry.js.map → p-9922cd00.entry.js.map} +0 -0
  428. /package/dist/core/{p-67ae9d37.entry.js.map → p-a7f4168c.entry.js.map} +0 -0
  429. /package/dist/core/{p-ccf72538.entry.js.map → p-ab485b11.entry.js.map} +0 -0
  430. /package/dist/core/{p-097bfd3f.entry.js.map → p-ad1e70c9.entry.js.map} +0 -0
  431. /package/dist/core/{p-3a59391f.entry.js.map → p-ad786103.entry.js.map} +0 -0
  432. /package/dist/core/{p-789ae7f5.entry.js.map → p-c32f4c0f.entry.js.map} +0 -0
  433. /package/dist/core/{p-16a48a63.entry.js.map → p-cc99e774.entry.js.map} +0 -0
  434. /package/dist/core/{p-c8141cac.entry.js.map → p-ce90d1b2.entry.js.map} +0 -0
  435. /package/dist/core/{p-5348af01.entry.js.map → p-d0d2952b.entry.js.map} +0 -0
  436. /package/dist/core/{p-6398a726.entry.js.map → p-f0e85611.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 { d as isPropDefined, k as removeDisabledFalse, a as onComponentRequiredPropUndefined, i as isSlotUsed } from './helpers-886489d5.js';
2
+ import { e as isPropDefined, r as removeDisabledFalse, a as onComponentRequiredPropUndefined, i as isSlotUsed } from './helpers-25eb1cb0.js';
3
3
  import { C as Check } from './check-icon-f2346e76.js';
4
4
  import { C as Chevron } from './chevron-icon-875b7af2.js';
5
5
  import './types-f605c21c.js';
@@ -65,6 +65,9 @@ const MenuItem = class {
65
65
  this.toggleChecked = false;
66
66
  this.variant = "default";
67
67
  }
68
+ watchDisabledHandler() {
69
+ removeDisabledFalse(this.disabled, this.el);
70
+ }
68
71
  componentWillLoad() {
69
72
  // This ensures that trigger menu items are always set to the default variant
70
73
  if (isPropDefined(this.submenuTriggerFor) && this.variant !== "default") {
@@ -101,6 +104,9 @@ const MenuItem = class {
101
104
  }
102
105
  static get delegatesFocus() { return true; }
103
106
  get el() { return getElement(this); }
107
+ static get watchers() { return {
108
+ "disabled": ["watchDisab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AE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACnM;IAGD,WAAW,cAAc,KAAK,OAAO,IAAI,CAAC,EAAE;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-menu-item/ic-menu-item.css?tag=ic-menu-item&encapsulation=shadow","../web-components/dist/collection/components/ic-menu-item/ic-menu-item.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\nli {\n list-style: none;\n padding: 0;\n}\n\n:host ::part(button) {\n color: var(--ic-color-primary-text);\n padding: calc(var(--ic-space-xxxs) / 2);\n display: flex;\n align-items: flex-start;\n gap: var(--ic-space-xs);\n border-radius: 0;\n min-height: 2.5rem;\n height: auto;\n}\n\n.focus-border {\n display: flex;\n align-items: flex-start;\n gap: var(--ic-space-xs);\n border-radius: var(--ic-border-radius);\n margin: calc(var(--ic-space-xxxs) / 2);\n padding: var(--ic-space-xxs);\n border: var(--ic-space-xxxs) dashed transparent;\n\n --icon-height: auto;\n}\n\n:host(.disabled) ::part(button) {\n color: var(--ic-architectural-200) !important;\n pointer-events: none;\n}\n\n:host(.disabled) .menu-item-label,\n:host(.disabled) .shortcut,\n:host(.disabled) .menu-item-description {\n color: var(--ic-architectural-200) !important;\n}\n\n:host([variant=\"destructive\"]) ::part(button) {\n color: var(--ic-action-destructive);\n}\n\n:host ::part(button):hover {\n background-color: var(--ic-action-dark-bg-hover);\n}\n\n:host ::part(button):focus-visible,\n:host ::part(button):focus {\n color: var(--ic-color-white-text);\n background-color: var(--ic-focus-blue);\n box-shadow: none;\n}\n\n:host(.disabled) ::part(button):focus-visible,\n:host(.disabled) ::part(button):focus {\n color: var(--ic-theme-lighten-40) !important;\n}\n\n:host([variant=\"destructive\"]) ::part(button):focus-visible,\n:host([variant=\"destructive\"]) ::part(button):focus {\n background-color: var(--ic-action-destructive);\n}\n\nic-button:focus-within .menu-item-label,\nic-button:focus-within .shortcut,\nic-button:focus-within .menu-item-description {\n color: var(--ic-color-white-text);\n}\n\n:host(.disabled) ic-button:focus-within .focus-border {\n border-color: var(--ic-architectural-white);\n}\n\n:host(.disabled) ic-button:focus-within .menu-item-label,\n:host(.disabled) ic-button:focus-within .shortcut,\n:host(.disabled) ic-button:focus-within .menu-item-description {\n color: var(--ic-theme-lighten-40) !important;\n}\n\n:host ::part(button):active {\n background-color: var(--ic-action-dark-bg-active);\n color: var(--ic-color-primary-text) !important;\n}\n\n:host([variant=\"destructive\"]) ::part(button):active {\n background-color: var(--ic-action-dark-bg-active);\n color: var(--ic-action-destructive) !important;\n}\n\n.menu-item-info {\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: baseline;\n white-space: pre-line;\n text-align: left;\n}\n\n.menu-labels {\n display: flex;\n align-items: baseline;\n gap: var(--ic-space-xs);\n}\n\n.menu-item-description {\n color: var(--ic-color-secondary-text);\n}\n\n.shortcut {\n color: var(--ic-color-tertiary-text);\n display: flex;\n flex: min-content;\n}\n\n:host([variant=\"destructive\"]) .menu-item-label {\n text-transform: uppercase;\n font-weight: 600;\n letter-spacing: 0.025em;\n}\n\nic-button:active .menu-item-label {\n color: var(--ic-color-primary-text);\n}\n\nic-button:active .menu-item-description {\n color: var(--ic-color-secondary-text);\n}\n\nic-button:active .shortcut {\n color: var(--ic-color-tertiary-text);\n}\n\n:host([variant=\"destructive\"]) ic-button:active .menu-item-label {\n color: var(--ic-action-destructive) !important;\n}\n\n.icon,\n.check-icon,\n.submenu-icon,\n.icon ::slotted(svg),\n.check-icon svg,\n.submenu-icon svg {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n.check-icon.hide {\n visibility: hidden;\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n :host ::part(button) {\n border: canvas;\n }\n\n :host ::part(button):focus-visible {\n outline: var(--ic-space-xxxs) solid transparent;\n }\n\n .focus-border {\n border-color: canvas;\n }\n\n :host(.disabled) ic-button:focus-within .focus-border {\n border-color: GrayText;\n }\n\n :host(.disabled) .menu-item-info,\n :host(.disabled) .menu-item-label,\n :host(.disabled) .shortcut,\n :host(.disabled) .menu-item-description,\n :host(.disabled) ic-button:focus-within .menu-item-info,\n :host(.disabled) ic-button:focus-within .menu-item-label,\n :host(.disabled) ic-button:focus-within .shortcut,\n :host(.disabled) ic-button:focus-within .menu-item-description {\n color: GrayText !important;\n }\n\n :host(.disabled) ::part(button):focus-visible,\n :host(.disabled) ::part(button):focus {\n outline-color: GrayText !important;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { isSlotUsed, onComponentRequiredPropUndefined, removeDisabledFalse, isPropDefined, } from \"../../utils/helpers\";\nimport Check from \"../../assets/check-icon.svg\";\nimport Chevron from \"../../assets/chevron-icon.svg\";\n/**\n * @slot icon - Content will be placed to the left of the menu item label.\n */\nexport class MenuItem {\n constructor() {\n this.handleClick = (e) => {\n if (isPropDefined(this.submenuTriggerFor)) {\n this.triggerPopoverMenuInstance.emit();\n }\n else if (this.variant === \"toggle\") {\n e.preventDefault();\n this.toggleChecked = !this.toggleChecked;\n this.icToggleChecked.emit({\n checked: this.toggleChecked,\n });\n }\n this.handleMenuItemClick.emit(this.el);\n };\n this.getMenuItemAriaLabel = () => {\n let ariaLabel = this.label;\n if (isPropDefined(this.description)) {\n ariaLabel = `${ariaLabel}, ${this.description}`;\n }\n if (isPropDefined(this.keyboardShortcut)) {\n ariaLabel = `${ariaLabel}, ${this.keyboardShortcut}`;\n }\n if (this.variant === \"destructive\") {\n ariaLabel = `${ariaLabel}, destructive`;\n }\n if (isPropDefined(this.submenuTriggerFor)) {\n ariaLabel = `${ariaLabel}, triggers submenu`;\n }\n if (this.el.classList.contains(\"ic-popover-submenu-back-button\")) {\n ariaLabel = \"Go back to parent menu\";\n }\n const parentEl = this.el.parentElement;\n if (parentEl.tagName === \"IC-MENU-GROUP\" &&\n parentEl.label) {\n return `${ariaLabel}, ${parentEl.label} menu group`;\n }\n else {\n return ariaLabel;\n }\n };\n this.description = undefined;\n this.disabled = false;\n this.href = undefined;\n this.hreflang = undefined;\n this.keyboardShortcut = undefined;\n this.label = undefined;\n this.referrerpolicy = undefined;\n this.rel = undefined;\n this.submenuTriggerFor = undefined;\n this.target = undefined;\n this.toggleChecked = false;\n this.variant = \"default\";\n }\n componentWillLoad() {\n // This ensures that trigger menu items are always set to the default variant\n if (isPropDefined(this.submenuTriggerFor) && this.variant !== \"default\") {\n this.variant = \"default\";\n }\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.label, propName: \"label\" }], \"Menu Item\");\n }\n handleHostClick(e) {\n if (this.disabled) {\n e.stopImmediatePropagation();\n }\n }\n render() {\n // A sub-component to layout the menu information correctly in ic-button\n const MenuItemInformation = () => {\n return (h(\"div\", { class: \"menu-item-info\" }, h(\"div\", { class: \"menu-labels\" }, h(\"ic-typography\", { class: \"menu-item-label\" }, this.label), this.keyboardShortcut && (h(\"ic-typography\", { variant: \"caption\", class: \"shortcut\" }, this.keyboardShortcut))), this.description && (h(\"ic-typography\", { class: \"menu-item-description\", variant: \"caption\" }, this.description))));\n };\n return (h(Host, { class: {\n [\"disabled\"]: this.disabled,\n } }, h(\"li\", { role: this.variant === \"toggle\" ? \"menuitemcheckbox\" : \"menuitem\", \"aria-disabled\": `${this.disabled}`, \"aria-checked\": this.variant === \"toggle\"\n ? this.toggleChecked\n ? \"true\"\n : \"false\"\n : undefined }, h(\"ic-button\", { fullWidth: true, variant: \"tertiary\", onClick: this.handleClick, href: isPropDefined(this.href), hreflang: isPropDefined(this.hreflang), target: isPropDefined(this.target), rel: isPropDefined(this.rel), referrerpolicy: this.referrerpolicy !== undefined ? this.referrerpolicy : null, \"aria-disabled\": `${this.disabled}`, \"aria-label\": this.getMenuItemAriaLabel(), \"aria-haspopup\": isPropDefined(this.submenuTriggerFor) ||\n this.el.classList.contains(\"ic-popover-submenu-back-button\")\n ? \"menu\"\n : false }, h(\"div\", { class: \"focus-border\" }, isSlotUsed(this.el, \"icon\") && (h(\"span\", { class: \"icon\" }, h(\"slot\", { name: \"icon\" }))), h(MenuItemInformation, null), this.variant === \"toggle\" && (h(\"span\", { class: {\n [\"check-icon\"]: true,\n [\"hide\"]: !this.toggleChecked,\n }, \"aria-hidden\": \"true\", innerHTML: Check })), isPropDefined(this.submenuTriggerFor) && (h(\"span\", { class: { [\"submenu-icon\"]: true }, \"aria-hidden\": \"true\", innerHTML: Chevron })))))));\n }\n static get is() { return \"ic-menu-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-menu-item.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-menu-item.css\"]\n };\n }\n static get properties() {\n return {\n \"description\": {\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 description displayed in the menu item, below the label.\"\n },\n \"attribute\": \"description\",\n \"reflect\": false\n },\n \"disabled\": {\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`, the menu item will be in disabled state.\"\n },\n \"attribute\": \"disabled\",\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 link points to. This will render the menu item as an \\\"a\\\" tag.\"\n },\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"hreflang\": {\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 human language of the linked URL.\"\n },\n \"attribute\": \"hreflang\",\n \"reflect\": false\n },\n \"keyboardShortcut\": {\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 label describing the keyboard shortcut for a menu item's action.\"\n },\n \"attribute\": \"keyboard-shortcut\",\n \"reflect\": false\n },\n \"label\": {\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 label to display in the menu item.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"referrerpolicy\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ReferrerPolicy\",\n \"resolved\": \"\\\"\\\" | \\\"no-referrer\\\" | \\\"no-referrer-when-downgrade\\\" | \\\"origin\\\" | \\\"origin-when-cross-origin\\\" | \\\"same-origin\\\" | \\\"strict-origin\\\" | \\\"strict-origin-when-cross-origin\\\" | \\\"unsafe-url\\\"\",\n \"references\": {\n \"ReferrerPolicy\": {\n \"location\": \"global\",\n \"id\": \"global::ReferrerPolicy\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How much of the referrer to send when following the link.\"\n },\n \"attribute\": \"referrerpolicy\",\n \"reflect\": false\n },\n \"rel\": {\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 relationship of the linked URL as space-separated link types.\"\n },\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"submenuTriggerFor\": {\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\": \"This references the popover menu instance that the menu item is a trigger for. If this prop is set, then the variant will always be default.\"\n },\n \"attribute\": \"submenu-trigger-for\",\n \"reflect\": false\n },\n \"target\": {\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 place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\"\n },\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"toggleChecked\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the menu item will be in a checked state. This is only applicable when variant is set to `toggle`.\"\n },\n \"attribute\": \"toggle-checked\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcMenuItemVariants\",\n \"resolved\": \"\\\"default\\\" | \\\"destructive\\\" | \\\"toggle\\\"\",\n \"references\": {\n \"IcMenuItemVariants\": {\n \"location\": \"import\",\n \"path\": \"./ic-menu-item.types\",\n \"id\": \"src/components/ic-menu-item/ic-menu-item.types.ts::IcMenuItemVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The variant of the menu item.\"\n },\n \"attribute\": \"variant\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"default\\\"\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"childBlur\",\n \"name\": \"childBlur\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when item loses focus.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"handleMenuItemClick\",\n \"name\": \"handleMenuItemClick\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when the user clicks a menu item.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"HTMLIcMenuItemElement\",\n \"resolved\": \"HTMLIcMenuItemElement\",\n \"references\": {\n \"HTMLIcMenuItemElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcMenuItemElement\"\n }\n }\n }\n }, {\n \"method\": \"icToggleChecked\",\n \"name\": \"icToggleChecked\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the user clicks a menu item that is set to the toggle variant.\"\n },\n \"complexType\": {\n \"original\": \"{\\n checked: boolean;\\n }\",\n \"resolved\": \"{ checked: boolean; }\",\n \"references\": {}\n }\n }, {\n \"method\": \"triggerPopoverMenuInstance\",\n \"name\": \"triggerPopoverMenuInstance\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when the user clicks a menu item that triggers a popover menu instance.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"click\",\n \"method\": \"handleHostClick\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-menu-item.js.map\n"],"version":3}
1
+ {"file":"ic-menu-item.entry.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,+hMAA+hM;;MCOxiM,QAAQ;IACjB;;;;;;QACI,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;YACjB,IAAI,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE;gBACvC,IAAI,CAAC,0BAA0B,CAAC,IAAI,EAAE,CAAC;aAC1C;iBACI,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;gBAChC,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,IAAI,CAAC,aAAa,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC;gBACzC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;oBACtB,OAAO,EAAE,IAAI,CAAC,aAAa;iBAC9B,CAAC,CAAC;aACN;YACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SAC1C,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG;YACxB,IAAI,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC;YAC3B,IAAI,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBACjC,SAAS,GAAG,GAAG,SAAS,KA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AAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,mBAAmB,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,OAAO,KAAK,QAAQ,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE;gBAC1N,CAAC,YAAY,GAAG,IAAI;gBACpB,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,aAAa;aAChC,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,cAAc,GAAG,IAAI,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KACnM;IAGD,WAAW,cAAc,KAAK,OAAO,IAAI,CAAC,EAAE;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-menu-item/ic-menu-item.css?tag=ic-menu-item&encapsulation=shadow","../web-components/dist/collection/components/ic-menu-item/ic-menu-item.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\nli {\n list-style: none;\n padding: 0;\n}\n\n:host ::part(button) {\n color: var(--ic-color-primary-text);\n padding: calc(var(--ic-space-xxxs) / 2);\n display: flex;\n align-items: flex-start;\n gap: var(--ic-space-xs);\n border-radius: 0;\n min-height: 2.5rem;\n height: auto;\n}\n\n.focus-border {\n display: flex;\n align-items: flex-start;\n gap: var(--ic-space-xs);\n border-radius: var(--ic-border-radius);\n margin: calc(var(--ic-space-xxxs) / 2);\n padding: var(--ic-space-xxs);\n border: var(--ic-space-xxxs) dashed transparent;\n\n --icon-height: auto;\n}\n\n:host(.disabled) ::part(button) {\n color: var(--ic-architectural-200) !important;\n pointer-events: none;\n}\n\n:host(.disabled) .menu-item-label,\n:host(.disabled) .shortcut,\n:host(.disabled) .menu-item-description {\n color: var(--ic-architectural-200) !important;\n}\n\n:host([variant=\"destructive\"]) ::part(button) {\n color: var(--ic-action-destructive);\n}\n\n:host ::part(button):hover {\n background-color: var(--ic-action-dark-bg-hover);\n}\n\n:host ::part(button):focus-visible,\n:host ::part(button):focus {\n color: var(--ic-color-white-text);\n background-color: var(--ic-focus-blue);\n box-shadow: none;\n}\n\n:host(.disabled) ::part(button):focus-visible,\n:host(.disabled) ::part(button):focus {\n color: var(--ic-theme-lighten-40) !important;\n}\n\n:host([variant=\"destructive\"]) ::part(button):focus-visible,\n:host([variant=\"destructive\"]) ::part(button):focus {\n background-color: var(--ic-action-destructive);\n}\n\nic-button:focus-within .menu-item-label,\nic-button:focus-within .shortcut,\nic-button:focus-within .menu-item-description {\n color: var(--ic-color-white-text);\n}\n\n:host(.disabled) ic-button:focus-within .focus-border {\n border-color: var(--ic-architectural-white);\n}\n\n:host(.disabled) ic-button:focus-within .menu-item-label,\n:host(.disabled) ic-button:focus-within .shortcut,\n:host(.disabled) ic-button:focus-within .menu-item-description {\n color: var(--ic-theme-lighten-40) !important;\n}\n\n:host ::part(button):active {\n background-color: var(--ic-action-dark-bg-active);\n color: var(--ic-color-primary-text) !important;\n}\n\n:host([variant=\"destructive\"]) ::part(button):active {\n background-color: var(--ic-action-dark-bg-active);\n color: var(--ic-action-destructive) !important;\n}\n\n.menu-item-info {\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: baseline;\n white-space: pre-line;\n text-align: left;\n}\n\n.menu-labels {\n display: flex;\n align-items: baseline;\n gap: var(--ic-space-xs);\n}\n\n.menu-item-description {\n color: var(--ic-color-secondary-text);\n}\n\n.shortcut {\n color: var(--ic-color-tertiary-text);\n display: flex;\n flex: min-content;\n}\n\n:host([variant=\"destructive\"]) .menu-item-label {\n text-transform: uppercase;\n font-weight: 600;\n letter-spacing: 0.025em;\n}\n\nic-button:active .menu-item-label {\n color: var(--ic-color-primary-text);\n}\n\nic-button:active .menu-item-description {\n color: var(--ic-color-secondary-text);\n}\n\nic-button:active .shortcut {\n color: var(--ic-color-tertiary-text);\n}\n\n:host([variant=\"destructive\"]) ic-button:active .menu-item-label {\n color: var(--ic-action-destructive) !important;\n}\n\n.icon,\n.check-icon,\n.submenu-icon,\n.icon ::slotted(svg),\n.check-icon svg,\n.submenu-icon svg {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n.check-icon.hide {\n visibility: hidden;\n}\n\n/** High Contrast **/\n@media (forced-colors: active) {\n :host ::part(button) {\n border: canvas;\n }\n\n :host ::part(button):focus-visible {\n outline: var(--ic-space-xxxs) solid transparent;\n }\n\n .focus-border {\n border-color: canvas;\n }\n\n :host(.disabled) ic-button:focus-within .focus-border {\n border-color: GrayText;\n }\n\n :host(.disabled) .menu-item-info,\n :host(.disabled) .menu-item-label,\n :host(.disabled) .shortcut,\n :host(.disabled) .menu-item-description,\n :host(.disabled) ic-button:focus-within .menu-item-info,\n :host(.disabled) ic-button:focus-within .menu-item-label,\n :host(.disabled) ic-button:focus-within .shortcut,\n :host(.disabled) ic-button:focus-within .menu-item-description {\n color: GrayText !important;\n }\n\n :host(.disabled) ::part(button):focus-visible,\n :host(.disabled) ::part(button):focus {\n outline-color: GrayText !important;\n }\n}\n","import { Host, h, } from \"@stencil/core\";\nimport { isSlotUsed, onComponentRequiredPropUndefined, removeDisabledFalse, isPropDefined, } from \"../../utils/helpers\";\nimport Check from \"../../assets/check-icon.svg\";\nimport Chevron from \"../../assets/chevron-icon.svg\";\n/**\n * @slot icon - Content will be placed to the left of the menu item label.\n */\nexport class MenuItem {\n constructor() {\n this.handleClick = (e) => {\n if (isPropDefined(this.submenuTriggerFor)) {\n this.triggerPopoverMenuInstance.emit();\n }\n else if (this.variant === \"toggle\") {\n e.preventDefault();\n this.toggleChecked = !this.toggleChecked;\n this.icToggleChecked.emit({\n checked: this.toggleChecked,\n });\n }\n this.handleMenuItemClick.emit(this.el);\n };\n this.getMenuItemAriaLabel = () => {\n let ariaLabel = this.label;\n if (isPropDefined(this.description)) {\n ariaLabel = `${ariaLabel}, ${this.description}`;\n }\n if (isPropDefined(this.keyboardShortcut)) {\n ariaLabel = `${ariaLabel}, ${this.keyboardShortcut}`;\n }\n if (this.variant === \"destructive\") {\n ariaLabel = `${ariaLabel}, destructive`;\n }\n if (isPropDefined(this.submenuTriggerFor)) {\n ariaLabel = `${ariaLabel}, triggers submenu`;\n }\n if (this.el.classList.contains(\"ic-popover-submenu-back-button\")) {\n ariaLabel = \"Go back to parent menu\";\n }\n const parentEl = this.el.parentElement;\n if (parentEl.tagName === \"IC-MENU-GROUP\" &&\n parentEl.label) {\n return `${ariaLabel}, ${parentEl.label} menu group`;\n }\n else {\n return ariaLabel;\n }\n };\n this.description = undefined;\n this.disabled = false;\n this.href = undefined;\n this.hreflang = undefined;\n this.keyboardShortcut = undefined;\n this.label = undefined;\n this.referrerpolicy = undefined;\n this.rel = undefined;\n this.submenuTriggerFor = undefined;\n this.target = undefined;\n this.toggleChecked = false;\n this.variant = \"default\";\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n componentWillLoad() {\n // This ensures that trigger menu items are always set to the default variant\n if (isPropDefined(this.submenuTriggerFor) && this.variant !== \"default\") {\n this.variant = \"default\";\n }\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.label, propName: \"label\" }], \"Menu Item\");\n }\n handleHostClick(e) {\n if (this.disabled) {\n e.stopImmediatePropagation();\n }\n }\n render() {\n // A sub-component to layout the menu information correctly in ic-button\n const MenuItemInformation = () => {\n return (h(\"div\", { class: \"menu-item-info\" }, h(\"div\", { class: \"menu-labels\" }, h(\"ic-typography\", { class: \"menu-item-label\" }, this.label), this.keyboardShortcut && (h(\"ic-typography\", { variant: \"caption\", class: \"shortcut\" }, this.keyboardShortcut))), this.description && (h(\"ic-typography\", { class: \"menu-item-description\", variant: \"caption\" }, this.description))));\n };\n return (h(Host, { class: {\n [\"disabled\"]: this.disabled,\n } }, h(\"li\", { role: this.variant === \"toggle\" ? \"menuitemcheckbox\" : \"menuitem\", \"aria-disabled\": `${this.disabled}`, \"aria-checked\": this.variant === \"toggle\"\n ? this.toggleChecked\n ? \"true\"\n : \"false\"\n : undefined }, h(\"ic-button\", { fullWidth: true, variant: \"tertiary\", onClick: this.handleClick, href: isPropDefined(this.href), hreflang: isPropDefined(this.hreflang), target: isPropDefined(this.target), rel: isPropDefined(this.rel), referrerpolicy: this.referrerpolicy !== undefined ? this.referrerpolicy : null, \"aria-disabled\": `${this.disabled}`, \"aria-label\": this.getMenuItemAriaLabel(), \"aria-haspopup\": isPropDefined(this.submenuTriggerFor) ||\n this.el.classList.contains(\"ic-popover-submenu-back-button\")\n ? \"menu\"\n : false }, h(\"div\", { class: \"focus-border\" }, isSlotUsed(this.el, \"icon\") && (h(\"span\", { class: \"icon\" }, h(\"slot\", { name: \"icon\" }))), h(MenuItemInformation, null), this.variant === \"toggle\" && (h(\"span\", { class: {\n [\"check-icon\"]: true,\n [\"hide\"]: !this.toggleChecked,\n }, \"aria-hidden\": \"true\", innerHTML: Check })), isPropDefined(this.submenuTriggerFor) && (h(\"span\", { class: { [\"submenu-icon\"]: true }, \"aria-hidden\": \"true\", innerHTML: Chevron })))))));\n }\n static get is() { return \"ic-menu-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-menu-item.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-menu-item.css\"]\n };\n }\n static get properties() {\n return {\n \"description\": {\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 description displayed in the menu item, below the label.\"\n },\n \"attribute\": \"description\",\n \"reflect\": false\n },\n \"disabled\": {\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`, the menu item will be in disabled state.\"\n },\n \"attribute\": \"disabled\",\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 link points to. This will render the menu item as an \\\"a\\\" tag.\"\n },\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"hreflang\": {\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 human language of the linked URL.\"\n },\n \"attribute\": \"hreflang\",\n \"reflect\": false\n },\n \"keyboardShortcut\": {\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 label describing the keyboard shortcut for a menu item's action.\"\n },\n \"attribute\": \"keyboard-shortcut\",\n \"reflect\": false\n },\n \"label\": {\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 label to display in the menu item.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"referrerpolicy\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ReferrerPolicy\",\n \"resolved\": \"\\\"\\\" | \\\"no-referrer\\\" | \\\"no-referrer-when-downgrade\\\" | \\\"origin\\\" | \\\"origin-when-cross-origin\\\" | \\\"same-origin\\\" | \\\"strict-origin\\\" | \\\"strict-origin-when-cross-origin\\\" | \\\"unsafe-url\\\"\",\n \"references\": {\n \"ReferrerPolicy\": {\n \"location\": \"global\",\n \"id\": \"global::ReferrerPolicy\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How much of the referrer to send when following the link.\"\n },\n \"attribute\": \"referrerpolicy\",\n \"reflect\": false\n },\n \"rel\": {\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 relationship of the linked URL as space-separated link types.\"\n },\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"submenuTriggerFor\": {\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\": \"This references the popover menu instance that the menu item is a trigger for. If this prop is set, then the variant will always be default.\"\n },\n \"attribute\": \"submenu-trigger-for\",\n \"reflect\": false\n },\n \"target\": {\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 place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\"\n },\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"toggleChecked\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the menu item will be in a checked state. This is only applicable when variant is set to `toggle`.\"\n },\n \"attribute\": \"toggle-checked\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcMenuItemVariants\",\n \"resolved\": \"\\\"default\\\" | \\\"destructive\\\" | \\\"toggle\\\"\",\n \"references\": {\n \"IcMenuItemVariants\": {\n \"location\": \"import\",\n \"path\": \"./ic-menu-item.types\",\n \"id\": \"src/components/ic-menu-item/ic-menu-item.types.ts::IcMenuItemVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The variant of the menu item.\"\n },\n \"attribute\": \"variant\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"default\\\"\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"childBlur\",\n \"name\": \"childBlur\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when item loses focus.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"handleMenuItemClick\",\n \"name\": \"handleMenuItemClick\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when the user clicks a menu item.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"HTMLIcMenuItemElement\",\n \"resolved\": \"HTMLIcMenuItemElement\",\n \"references\": {\n \"HTMLIcMenuItemElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcMenuItemElement\"\n }\n }\n }\n }, {\n \"method\": \"icToggleChecked\",\n \"name\": \"icToggleChecked\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the user clicks a menu item that is set to the toggle variant.\"\n },\n \"complexType\": {\n \"original\": \"{\\n checked: boolean;\\n }\",\n \"resolved\": \"{ checked: boolean; }\",\n \"references\": {}\n }\n }, {\n \"method\": \"triggerPopoverMenuInstance\",\n \"name\": \"triggerPopoverMenuInstance\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when the user clicks a menu item that triggers a popover menu instance.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"click\",\n \"method\": \"handleHostClick\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-menu-item.js.map\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-93509377.js';
2
- import { F as isMacDevice, o as onComponentRequiredPropUndefined, q as getOptionsWithoutGroupTitlesCount } from './helpers-e0c3e667.js';
2
+ import { F as isMacDevice, o as onComponentRequiredPropUndefined, q as getOptionsWithoutGroupTitlesCount } from './helpers-147b5b73.js';
3
3
 
4
4
  var top = 'top';
5
5
  var bottom = 'bottom';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-93509377.js';
2
2
  import { C as Check } from './check-icon-f2346e76.js';
3
- import { a as onComponentRequiredPropUndefined } from './helpers-886489d5.js';
3
+ import { a as onComponentRequiredPropUndefined } from './helpers-25eb1cb0.js';
4
4
  import { c as createPopper } from './popper-b8cc3f16.js';
5
5
  import './types-f605c21c.js';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { b as getThemeForegroundColor, x as inheritAttributes, a as onComponentRequiredPropUndefined, i as isSlotUsed, y as IC_INHERITED_ARIA } from './helpers-886489d5.js';
2
+ import { d as getThemeForegroundColor, x as inheritAttributes, a as onComponentRequiredPropUndefined, i as isSlotUsed, y as IC_INHERITED_ARIA } from './helpers-25eb1cb0.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-f605c21c.js';
4
4
 
5
5
  const icNavigationButtonCss = "/*! 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;margin-right:var(--ic-space-xs);list-style:none}:host(.in-side-menu){margin-right:0}:host::part(button){height:100%;min-height:2.5rem}";
@@ -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, b as getThemeForegroundColor, e as getCurrentDeviceSize, z as getNavItemParentDetails } from './helpers-886489d5.js';
2
+ import { D as DEVICE_SIZES, d as getThemeForegroundColor, f as getCurrentDeviceSize, z as getNavItemParentDetails } from './helpers-25eb1cb0.js';
3
3
  import { C as Chevron } from './chevron-icon-875b7af2.js';
4
4
  import './types-f605c21c.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, f as forceUpdate, H as Host, g as getElement } from './index-93509377.js';
2
- import { g as getCssProperty, i as isSlotUsed, D as DEVICE_SIZES, b as getThemeForegroundColor, e as getCurrentDeviceSize, z as getNavItemParentDetails } from './helpers-886489d5.js';
2
+ import { g as getCssProperty, i as isSlotUsed, D as DEVICE_SIZES, d as getThemeForegroundColor, f as getCurrentDeviceSize, z as getNavItemParentDetails } from './helpers-25eb1cb0.js';
3
3
  import { C as Chevron } from './chevron-icon-875b7af2.js';
4
4
  import { O as OpenInNew } from './OpenInNew-52210a9d.js';
5
5
  import './types-f605c21c.js';
@@ -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 { L as getSlotContent, K as getSlot, i as isSlotUsed } from './helpers-886489d5.js';
2
+ import { L as getSlotContent, K as getSlot, i as isSlotUsed } from './helpers-25eb1cb0.js';
3
3
  import './types-f605c21c.js';
4
4
 
5
5
  const icNavigationMenuCss = ":host{display:block;position:fixed;top:0;left:0;width:100%;min-height:100% !important;background:rgb(0 0 0 / 60%);z-index:var(--ic-z-index-navigation-menu)}.popout-modal{position:absolute;inset:0}.popout-menu{position:fixed;top:0;right:0;width:16rem;bottom:0;background-color:var(--ic-architectural-20);color:var(--ic-color-primary-text);box-shadow:var(--ic-elevation-overlay);overflow-y:auto;overflow-x:hidden}:host(.inline) .popout-menu{position:absolute}.menu-close-button-container{position:relative;left:11.875rem;padding:var(--ic-space-md) 0}.nav-group-first{padding-bottom:0}.menu-buttons-container{padding:var(--ic-space-sm) 0;border-bottom:var(--ic-border-width) solid var(--ic-architectural-200)}.menu-buttons-container-nav-item-above{margin-top:var(--ic-space-md);border-top:var(--ic-border-width) solid var(--ic-architectural-200)}.menu-status-version-container{display:flex;flex-wrap:wrap;gap:var(--ic-space-xs);padding:var(--ic-space-md) var(--ic-space-md) var(--ic-space-xl)}.status-version-no-buttons{border-top:var(--ic-space-1px) solid var(--ic-architectural-200)}.menu-status{background-color:var(--ic-architectural-500);color:var(--ic-color-white-text);border-radius:var(--ic-space-md);width:-moz-fit-content;width:fit-content;padding:var(--ic-space-xxs) var(--ic-space-sm)}.menu-version{border-radius:var(--ic-space-md);background-color:var(--ic-architectural-100);padding:var(--ic-space-xxs) var(--ic-space-sm)}.menu-status-text,.menu-version-text{overflow-wrap:break-word}.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}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-93509377.js';
2
- import { i as isSlotUsed, e as getCurrentDeviceSize, D as DEVICE_SIZES, f as checkResizeObserver } from './helpers-886489d5.js';
2
+ import { i as isSlotUsed, f as getCurrentDeviceSize, D as DEVICE_SIZES, j as checkResizeObserver } from './helpers-25eb1cb0.js';
3
3
  import './types-f605c21c.js';
4
4
 
5
5
  const icPageHeaderCss = "/*! 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;z-index:var(--ic-z-index-page-header)}:host(.sticky){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay);z-index:var(--ic-z-index-sticky-page-header)}header{background-color:var(--ic-architectural-40)}header.border-bottom{border-bottom:var(--ic-border-default)}header.tabs{padding-top:var(--ic-space-md)}.breadcrumb-area{margin-bottom:var(--ic-space-md)}.main-content{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"title-area action-area\"\n \"input-area action-area\";-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md);justify-content:space-between;width:100%}.title-area{display:flex;flex-direction:column;flex:1;min-width:19rem;grid-area:title-area}.header-content{display:flex;align-items:center;width:100%;flex-wrap:wrap;-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md)}.heading{display:inline-block;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.subheading-content{margin-top:var(--ic-space-xs)}.subheading-content.small{margin-top:var(--ic-space-md)}.action-area{display:flex;gap:var(--ic-space-md);flex-flow:row wrap;justify-self:end;justify-content:flex-end;height:-moz-fit-content;height:fit-content;grid-area:action-area}.input-area,.navigation-area{margin-top:var(--ic-space-md);width:100%}.tabs-slot{display:flex;overflow-x:auto;padding:0.5rem;margin:-0.5rem}.tabs-slot::-webkit-scrollbar{display:none}.input-area{grid-area:input-area}@media screen and (max-width: 576px){::slotted(ic-text-field){--input-width:100%;max-width:20rem}.main-content{grid-template-areas:\"title-area\"\n \"action-area\"\n \"input-area\";justify-content:flex-start}.title-area{min-width:0}.action-area{min-width:100%;margin-top:var(--ic-space-md);justify-content:start}}@media screen and (min-width: 992px){:host(.sticky-desktop){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay);z-index:var(--ic-z-index-sticky-page-header)}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, f as forceUpdate } from './index-93509377.js';
2
- import { k as removeDisabledFalse, a as onComponentRequiredPropUndefined, M as capitalize, j as checkSlotInChildMutations, E as getLabelFromValue, B as getFilteredMenuOptions, n as removeFormResetListener, x as inheritAttributes, m as addFormResetListener, p as renderHiddenInput, s as getInputDescribedByText, t as hasValidationStatus, N as isMobileOrTablet, y as IC_INHERITED_ARIA, O as debounceEvent, i as isSlotUsed, F as isEmptyString } from './helpers-886489d5.js';
2
+ import { r as removeDisabledFalse, a as onComponentRequiredPropUndefined, M as capitalize, k as checkSlotInChildMutations, E as getLabelFromValue, B as getFilteredMenuOptions, n as removeFormResetListener, x as inheritAttributes, m as addFormResetListener, p as renderHiddenInput, s as getInputDescribedByText, t as hasValidationStatus, N as isMobileOrTablet, y as IC_INHERITED_ARIA, F as isEmptyString, O as debounceEvent, i as isSlotUsed } from './helpers-25eb1cb0.js';
3
3
  import { I as IcThemeForegroundEnum, a as IcInformationStatus } from './types-f605c21c.js';
4
4
 
5
5
  const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -94,6 +94,9 @@ const Pagination = class {
94
94
  this.boundaryCount = 2;
95
95
  }
96
96
  }
97
+ watchDisabledHandler() {
98
+ removeDisabledFalse(this.disabled, this.el);
99
+ }
97
100
  watchNumberPagesHandler() {
98
101
  this.watchPageChangeHandler();
99
102
  }
@@ -224,6 +227,7 @@ const Pagination = class {
224
227
  static get watchers() { return {
225
228
  "adjacentCount": ["watchAdjacentCountHandler"],
226
229
  "boundaryCount": ["watchBoundaryCountHandler"],
230
+ "disabled": ["watchDisabledHandler"],
227
231
  "pages": ["watchNumberPagesHandler"],
228
232
  "type": ["watchTypeHandler"],
229
233
  "currentPage": ["watchPageChangeHandler"]
@@ -248,6 +252,9 @@ const PaginationItem = class {
248
252
  this.selected = false;
249
253
  this.type = undefined;
250
254
  }
255
+ watchDisabledHandler() {
256
+ removeDisabledFalse(this.disabled, this.el);
257
+ }
251
258
  watchLabelHandler() {
252
259
  this.capitalizedLabel = capitalize(this.label);
253
260
  }
@@ -280,6 +287,7 @@ const PaginationItem = class {
280
287
  }
281
288
  get el() { return getElement(this); }
282
289
  static get watchers() { return {
290
+ "disabled": ["watchDisabledHandler"],
283
291
  "label": ["watchLabelHandler"]
284
292
  }; }
285
293
  };
@@ -811,6 +819,9 @@ const Select = class {
811
819
  this.inputValueToFilter = this.value;
812
820
  this.currValue = this.value;
813
821
  }
822
+ watchDisabledHandler() {
823
+ removeDisabledFalse(this.disabled, this.el);
824
+ }
814
825
  loadingHandler(newValue) {
815
826
  newValue && this.triggerLoading();
816
827
  }
@@ -992,6 +1003,7 @@ const Select = class {
992
1003
  static get delegatesFocus() { return true; }
993
1004
  get el() { return getElement(this); }
994
1005
  static get watchers() { return {
1006
+ "disabled": ["watchDisabledHandler"],
995
1007
  "loading": ["loadingHandler"],
996
1008
  "options": ["watchOptionsHandler"],
997
1009
  "debounce": ["debounceChangedHandler"],
@@ -1069,6 +1081,17 @@ const TextField = class {
1069
1081
  forceUpdate(this);
1070
1082
  }
1071
1083
  };
1084
+ this.showValidation = () => {
1085
+ const maxNumChars = this.readonly ? 0 : this.maxLength;
1086
+ const emptyString = isEmptyString(this.validationStatus) ||
1087
+ isEmptyString(this.validationText);
1088
+ const valueOutsideRange = this.minValueUnattained || this.maxValueExceeded;
1089
+ const charOutsideRange = maxNumChars > 0 ||
1090
+ this.maxCharactersError ||
1091
+ this.minCharactersUnattained;
1092
+ return ((!emptyString || valueOutsideRange || charOutsideRange) &&
1093
+ !this.validationInlineInternal);
1094
+ };
1072
1095
  this.numChars = 0;
1073
1096
  this.maxCharactersReached = false;
1074
1097
  this.maxCharactersError = false;
@@ -1118,6 +1141,9 @@ const TextField = class {
1118
1141
  this.value = "";
1119
1142
  this.initialValue = this.value;
1120
1143
  }
1144
+ watchDisabledHandler() {
1145
+ removeDisabledFalse(this.disabled, this.el);
1146
+ }
1121
1147
  debounceChanged() {
1122
1148
  this.icChange = debounceEvent(this.icChange, this.debounce);
1123
1149
  }
@@ -1175,7 +1201,7 @@ const TextField = class {
1175
1201
  (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
1176
1202
  }
1177
1203
  render() {
1178
- const { inputId, name, label, required, size, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, maxCharacters, maxCharactersError, maxCharactersReached, minCharacters, minCharactersUnattained, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
1204
+ const { inputId, name, label, required, size, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, maxCharacters, maxCharactersError, maxCharactersReached, minCharacters, minCharactersUnattained, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, showValidation, } = this;
1179
1205
  const disabledMode = readonly || disabled;
1180
1206
  const currentStatus = maxLengthExceeded ||
1181
1207
  maxValueExceeded ||
@@ -1228,14 +1254,7 @@ const TextField = class {
1228
1254
  ["no-resize"]: resize === false || readonly,
1229
1255
  ["no-left-pad"]: !showLeftIcon && readonly,
1230
1256
  ["readonly"]: readonly,
1231
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder ? placeholder : "", readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : null, minlength: minCharactersUnattained ? minCharacters : null }, this.inheritedAttributes))), isSlotUsed(this.el, "clear-button") && (h("slot", { name: "clear-button" })), isSlotUsed(this.el, "search-submit-button") && (h("slot", { name: "search-submit-button" }))), isSlotUsed(this.el, "menu") && h("slot", { name: "menu" }), (!isEmptyString(validationStatus) ||
1232
- !isEmptyString(validationText) ||
1233
- maxNumChars > 0 ||
1234
- maxValueExceeded ||
1235
- maxCharactersError ||
1236
- minCharactersUnattained ||
1237
- minValueUnattained) &&
1238
- !validationInlineInternal && (h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
1257
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder ? placeholder : "", readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : null, minlength: minCharactersUnattained ? minCharacters : null }, this.inheritedAttributes))), isSlotUsed(this.el, "clear-button") && (h("slot", { name: "clear-button" })), isSlotUsed(this.el, "search-submit-button") && (h("slot", { name: "search-submit-button" }))), isSlotUsed(this.el, "menu") && h("slot", { name: "menu" }), showValidation() && (h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
1239
1258
  (currentStatus === IcInformationStatus.Success &&
1240
1259
  validationInline) ||
1241
1260
  validationInlineInternal
@@ -1248,6 +1267,7 @@ const TextField = class {
1248
1267
  }
1249
1268
  get el() { return getElement(this); }
1250
1269
  static get watchers() { return {
1270
+ "disabled": ["watchDisabledHandler"],
1251
1271
  "debounce": ["debounceChanged"],
1252
1272
  "value": ["watchValueHandler"]
1253
1273
  }; }