@ukic/canary-web-components 3.0.0-canary.2 → 3.0.0-canary.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-33b42cd6.js → helpers-36cdc6cb.js} +24 -1
  3. package/dist/cjs/helpers-36cdc6cb.js.map +1 -0
  4. package/dist/cjs/{helpers-6817cfbb.js → helpers-a67ad3a4.js} +15 -129
  5. package/dist/cjs/helpers-a67ad3a4.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +10 -10
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +5 -5
  9. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-alert.cjs.entry.js +7 -5
  11. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-button_3.cjs.entry.js +2 -2
  17. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-card-horizontal.cjs.entry.js +21 -26
  19. package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-card-vertical.cjs.entry.js +22 -24
  21. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-checkbox-group.cjs.entry.js +17 -6
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -4
  25. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-data-table.cjs.entry.js +86 -10
  32. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-date-input.cjs.entry.js +13 -11
  34. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-date-picker.cjs.entry.js +4 -2
  36. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-dialog.cjs.entry.js +4 -2
  38. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-divider.cjs.entry.js +71 -7
  40. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-empty-state_2.cjs.entry.js +31 -16
  42. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
  46. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-footer.cjs.entry.js +2 -2
  48. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-hero.cjs.entry.js +2 -2
  50. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +4 -3
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1013 -0
  54. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-input-label_2.cjs.entry.js +86 -0
  56. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-menu-group.cjs.entry.js +3 -3
  59. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-menu-item.cjs.entry.js +11 -11
  61. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-navigation-group.cjs.entry.js +5 -4
  64. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-navigation-item.cjs.entry.js +29 -2
  66. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
  69. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-pagination_4.cjs.entry.js +191 -62
  71. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-popover-menu.cjs.entry.js +11 -11
  73. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-radio-group.cjs.entry.js +15 -6
  75. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-radio-option.cjs.entry.js +31 -22
  77. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-search-bar.cjs.entry.js +12 -9
  79. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -3
  81. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  83. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  84. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  85. package/dist/cjs/ic-switch.cjs.entry.js +7 -4
  86. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-tab-context.cjs.entry.js +2 -1
  88. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  90. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  91. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  92. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  93. package/dist/cjs/ic-toast.cjs.entry.js +3 -3
  94. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +1 -1
  96. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  98. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  99. package/dist/cjs/ic-tree-item.cjs.entry.js +10 -6
  100. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-tree-view.cjs.entry.js +19 -11
  102. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  104. package/dist/cjs/index-4cf27b16.js +4 -12
  105. package/dist/cjs/loader.cjs.js +1 -1
  106. package/dist/collection/collection-manifest.json +0 -2
  107. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.css +18 -21
  108. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +44 -25
  109. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  110. package/dist/collection/components/ic-data-table/ic-data-table.css +20 -0
  111. package/dist/collection/components/ic-data-table/ic-data-table.js +106 -10
  112. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  113. package/dist/collection/components/ic-data-table/story-data.js +7 -0
  114. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  115. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +17 -0
  116. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  117. package/dist/collection/components/ic-date-input/ic-date-input.css +8 -0
  118. package/dist/collection/components/ic-date-input/ic-date-input.js +29 -9
  119. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  120. package/dist/collection/components/ic-date-picker/ic-date-picker.css +1 -0
  121. package/dist/collection/components/ic-date-picker/ic-date-picker.js +20 -0
  122. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  123. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +8 -7
  124. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +87 -36
  125. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  126. package/dist/collection/components/ic-tree-item/ic-tree-item.css +25 -21
  127. package/dist/collection/components/ic-tree-item/ic-tree-item.js +51 -32
  128. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  129. package/dist/collection/components/ic-tree-view/ic-tree-view.css +8 -9
  130. package/dist/collection/components/ic-tree-view/ic-tree-view.js +51 -23
  131. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  132. package/dist/collection/utils/helpers.js +1 -1
  133. package/dist/collection/utils/helpers.js.map +1 -1
  134. package/dist/collection/utils/types.js.map +1 -1
  135. package/dist/components/helpers.js +22 -1
  136. package/dist/components/helpers.js.map +1 -1
  137. package/dist/components/helpers2.js +14 -121
  138. package/dist/components/helpers2.js.map +1 -1
  139. package/dist/components/ic-accordion-group.js +11 -11
  140. package/dist/components/ic-accordion-group.js.map +1 -1
  141. package/dist/components/ic-accordion.js +5 -5
  142. package/dist/components/ic-accordion.js.map +1 -1
  143. package/dist/components/ic-alert.js +8 -5
  144. package/dist/components/ic-alert.js.map +1 -1
  145. package/dist/components/ic-card-horizontal.js +22 -26
  146. package/dist/components/ic-card-horizontal.js.map +1 -1
  147. package/dist/components/ic-card-vertical.js +23 -24
  148. package/dist/components/ic-card-vertical.js.map +1 -1
  149. package/dist/components/ic-checkbox-group.js +19 -6
  150. package/dist/components/ic-checkbox-group.js.map +1 -1
  151. package/dist/components/ic-checkbox.js +6 -3
  152. package/dist/components/ic-checkbox.js.map +1 -1
  153. package/dist/components/ic-classification-banner.js +1 -1
  154. package/dist/components/ic-classification-banner.js.map +1 -1
  155. package/dist/components/ic-data-table.js +88 -10
  156. package/dist/components/ic-data-table.js.map +1 -1
  157. package/dist/components/ic-date-input2.js +14 -11
  158. package/dist/components/ic-date-input2.js.map +1 -1
  159. package/dist/components/ic-date-picker.js +5 -2
  160. package/dist/components/ic-date-picker.js.map +1 -1
  161. package/dist/components/ic-dialog.js +4 -1
  162. package/dist/components/ic-dialog.js.map +1 -1
  163. package/dist/components/ic-divider2.js +86 -9
  164. package/dist/components/ic-divider2.js.map +1 -1
  165. package/dist/components/ic-footer-link-group.js +1 -1
  166. package/dist/components/ic-footer-link-group.js.map +1 -1
  167. package/dist/components/ic-footer-link.js +1 -1
  168. package/dist/components/ic-footer-link.js.map +1 -1
  169. package/dist/components/ic-footer.js +2 -2
  170. package/dist/components/ic-footer.js.map +1 -1
  171. package/dist/components/ic-hero.js +1 -1
  172. package/dist/components/ic-hero.js.map +1 -1
  173. package/dist/components/ic-horizontal-scroll2.js +4 -3
  174. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  175. package/dist/components/ic-input-component-container2.js +1 -1
  176. package/dist/components/ic-input-component-container2.js.map +1 -1
  177. package/dist/components/ic-input-label2.js +10 -6
  178. package/dist/components/ic-input-label2.js.map +1 -1
  179. package/dist/components/ic-input-validation2.js +1 -1
  180. package/dist/components/ic-input-validation2.js.map +1 -1
  181. package/dist/components/ic-loading-indicator2.js +1 -1
  182. package/dist/components/ic-loading-indicator2.js.map +1 -1
  183. package/dist/components/ic-menu-group.js +2 -2
  184. package/dist/components/ic-menu-group.js.map +1 -1
  185. package/dist/components/ic-menu-item2.js +11 -11
  186. package/dist/components/ic-menu-item2.js.map +1 -1
  187. package/dist/components/ic-menu2.js +453 -169
  188. package/dist/components/ic-menu2.js.map +1 -1
  189. package/dist/components/ic-navigation-group.js +5 -4
  190. package/dist/components/ic-navigation-group.js.map +1 -1
  191. package/dist/components/ic-navigation-item.js +31 -3
  192. package/dist/components/ic-navigation-item.js.map +1 -1
  193. package/dist/components/ic-navigation-menu2.js +1 -1
  194. package/dist/components/ic-page-header.js +4 -4
  195. package/dist/components/ic-page-header.js.map +1 -1
  196. package/dist/components/ic-pagination-bar2.js +34 -17
  197. package/dist/components/ic-pagination-bar2.js.map +1 -1
  198. package/dist/components/ic-pagination-item2.js +10 -12
  199. package/dist/components/ic-pagination-item2.js.map +1 -1
  200. package/dist/components/ic-pagination2.js +38 -15
  201. package/dist/components/ic-pagination2.js.map +1 -1
  202. package/dist/components/ic-popover-menu.js +12 -11
  203. package/dist/components/ic-popover-menu.js.map +1 -1
  204. package/dist/components/ic-radio-group.js +17 -6
  205. package/dist/components/ic-radio-group.js.map +1 -1
  206. package/dist/components/ic-radio-option.js +32 -22
  207. package/dist/components/ic-radio-option.js.map +1 -1
  208. package/dist/components/ic-search-bar.js +13 -9
  209. package/dist/components/ic-search-bar.js.map +1 -1
  210. package/dist/components/ic-select2.js +148 -37
  211. package/dist/components/ic-select2.js.map +1 -1
  212. package/dist/components/ic-side-navigation.js +4 -3
  213. package/dist/components/ic-side-navigation.js.map +1 -1
  214. package/dist/components/ic-stepper.js +1 -1
  215. package/dist/components/ic-switch.js +7 -3
  216. package/dist/components/ic-switch.js.map +1 -1
  217. package/dist/components/ic-tab-context.js +2 -1
  218. package/dist/components/ic-tab-context.js.map +1 -1
  219. package/dist/components/ic-text-field2.js +2 -2
  220. package/dist/components/ic-text-field2.js.map +1 -1
  221. package/dist/components/ic-theme.js +1 -1
  222. package/dist/components/ic-toast.js +3 -3
  223. package/dist/components/ic-toast.js.map +1 -1
  224. package/dist/components/ic-toggle-button-group.js +1 -1
  225. package/dist/components/ic-toggle-button-group.js.map +1 -1
  226. package/dist/components/ic-top-navigation.js +1 -1
  227. package/dist/components/ic-tree-item.js +11 -6
  228. package/dist/components/ic-tree-item.js.map +1 -1
  229. package/dist/components/ic-tree-view.js +24 -14
  230. package/dist/components/ic-tree-view.js.map +1 -1
  231. package/dist/core/core.css +692 -10
  232. package/dist/core/core.esm.js +1 -1
  233. package/dist/core/core.esm.js.map +1 -1
  234. package/dist/core/p-00ff3a06.entry.js +2 -0
  235. package/dist/core/p-00ff3a06.entry.js.map +1 -0
  236. package/dist/core/{p-7e1603cc.entry.js → p-01ab3a15.entry.js} +2 -2
  237. package/dist/core/p-01ab3a15.entry.js.map +1 -0
  238. package/dist/core/{p-c033e7d6.entry.js → p-036d251b.entry.js} +2 -2
  239. package/dist/core/{p-9397b15b.js → p-043cf5de.js} +2 -2
  240. package/dist/core/p-043cf5de.js.map +1 -0
  241. package/dist/core/{p-d2e7a256.entry.js → p-13d2db9b.entry.js} +2 -2
  242. package/dist/core/p-1d24a02a.entry.js +2 -0
  243. package/dist/core/{p-7c80d79c.entry.js.map → p-1d24a02a.entry.js.map} +1 -1
  244. package/dist/core/p-235b461f.entry.js +2 -0
  245. package/dist/core/p-235b461f.entry.js.map +1 -0
  246. package/dist/core/{p-897b8d16.entry.js → p-24d03bbd.entry.js} +2 -2
  247. package/dist/core/{p-bb1252fa.entry.js → p-26613dbd.entry.js} +2 -2
  248. package/dist/core/p-2873f871.entry.js +2 -0
  249. package/dist/core/p-2873f871.entry.js.map +1 -0
  250. package/dist/core/{p-77a32de5.entry.js → p-2a3bd99a.entry.js} +2 -2
  251. package/dist/core/p-2f4bec06.entry.js +2 -0
  252. package/dist/core/p-2f4bec06.entry.js.map +1 -0
  253. package/dist/core/p-350074d4.entry.js +2 -0
  254. package/dist/core/p-350074d4.entry.js.map +1 -0
  255. package/dist/core/{p-5cfb5821.entry.js → p-39101ffc.entry.js} +2 -2
  256. package/dist/core/{p-5cfb5821.entry.js.map → p-39101ffc.entry.js.map} +1 -1
  257. package/dist/core/p-3b0fae40.entry.js +2 -0
  258. package/dist/core/p-3b0fae40.entry.js.map +1 -0
  259. package/dist/core/p-42f1b9cc.entry.js +2 -0
  260. package/dist/core/p-42f1b9cc.entry.js.map +1 -0
  261. package/dist/core/p-50dd2744.entry.js +2 -0
  262. package/dist/core/p-50dd2744.entry.js.map +1 -0
  263. package/dist/core/p-53228014.entry.js +2 -0
  264. package/dist/core/p-53228014.entry.js.map +1 -0
  265. package/dist/core/p-574355c9.entry.js +2 -0
  266. package/dist/core/p-574355c9.entry.js.map +1 -0
  267. package/dist/core/p-5af1273f.entry.js +2 -0
  268. package/dist/core/p-5af1273f.entry.js.map +1 -0
  269. package/dist/core/p-5eecd3fc.entry.js +2 -0
  270. package/dist/core/p-5eecd3fc.entry.js.map +1 -0
  271. package/dist/core/{p-4e28ef60.entry.js → p-606ad46f.entry.js} +2 -2
  272. package/dist/core/p-606ad46f.entry.js.map +1 -0
  273. package/dist/core/{p-4dcc37e7.entry.js → p-620b758c.entry.js} +2 -2
  274. package/dist/core/p-637035c3.entry.js +2 -0
  275. package/dist/core/p-637035c3.entry.js.map +1 -0
  276. package/dist/core/{p-6beffd0e.entry.js → p-6727166b.entry.js} +2 -2
  277. package/dist/core/{p-8ca2e329.entry.js → p-6dc00a8f.entry.js} +2 -2
  278. package/dist/core/{p-aeb6016c.entry.js → p-6dffaac0.entry.js} +2 -2
  279. package/dist/core/{p-aeb6016c.entry.js.map → p-6dffaac0.entry.js.map} +1 -1
  280. package/dist/core/p-72210cd4.entry.js +2 -0
  281. package/dist/core/p-72210cd4.entry.js.map +1 -0
  282. package/dist/core/{p-d5ca3bcb.entry.js → p-7aa6b76e.entry.js} +2 -2
  283. package/dist/core/{p-e5d99316.entry.js → p-7b90f0ae.entry.js} +2 -2
  284. package/dist/core/p-7c3c080a.entry.js +2 -0
  285. package/dist/core/p-7c3c080a.entry.js.map +1 -0
  286. package/dist/core/p-7c663d4a.entry.js +2 -0
  287. package/dist/core/p-7c663d4a.entry.js.map +1 -0
  288. package/dist/core/p-7c6710f8.entry.js +2 -0
  289. package/dist/core/p-7c6710f8.entry.js.map +1 -0
  290. package/dist/core/{p-50019ede.entry.js → p-80b296cd.entry.js} +2 -2
  291. package/dist/core/{p-b0751bd9.entry.js → p-80dee118.entry.js} +2 -2
  292. package/dist/core/p-80dee118.entry.js.map +1 -0
  293. package/dist/core/{p-eb65e556.entry.js → p-82aa8136.entry.js} +2 -2
  294. package/dist/core/{p-2e49fb22.entry.js → p-83b4efe2.entry.js} +2 -2
  295. package/dist/core/p-83e4d955.entry.js +2 -0
  296. package/dist/core/p-83e4d955.entry.js.map +1 -0
  297. package/dist/core/p-85d51975.entry.js +2 -0
  298. package/dist/core/p-85d51975.entry.js.map +1 -0
  299. package/dist/core/{p-5accf0bb.entry.js → p-878df16f.entry.js} +2 -2
  300. package/dist/core/{p-1fe35de1.entry.js → p-8bec76d1.entry.js} +2 -2
  301. package/dist/core/p-8ffdd236.entry.js +2 -0
  302. package/dist/core/p-8ffdd236.entry.js.map +1 -0
  303. package/dist/core/p-97953d8b.entry.js +2 -0
  304. package/dist/core/p-97953d8b.entry.js.map +1 -0
  305. package/dist/core/p-9a62c3b8.entry.js +2 -0
  306. package/dist/core/p-9a62c3b8.entry.js.map +1 -0
  307. package/dist/core/p-a22d335b.entry.js +2 -0
  308. package/dist/core/p-a22d335b.entry.js.map +1 -0
  309. package/dist/core/p-a22e5356.entry.js +2 -0
  310. package/dist/core/p-a22e5356.entry.js.map +1 -0
  311. package/dist/core/p-b03218df.entry.js +2 -0
  312. package/dist/core/p-b03218df.entry.js.map +1 -0
  313. package/dist/core/{p-486d8d43.entry.js → p-b3d93bc1.entry.js} +2 -2
  314. package/dist/core/p-c1feb2b2.entry.js +2 -0
  315. package/dist/core/p-c1feb2b2.entry.js.map +1 -0
  316. package/dist/core/{p-ed4cde5a.entry.js → p-c40c57ee.entry.js} +2 -2
  317. package/dist/core/p-c883b5c1.entry.js +2 -0
  318. package/dist/core/p-c883b5c1.entry.js.map +1 -0
  319. package/dist/core/{p-0ab10600.entry.js → p-cc22644d.entry.js} +2 -2
  320. package/dist/core/{p-505250cf.entry.js → p-d7632baf.entry.js} +2 -2
  321. package/dist/core/p-dcbfc485.entry.js +2 -0
  322. package/dist/core/p-dcbfc485.entry.js.map +1 -0
  323. package/dist/core/{p-44ee5375.entry.js → p-e3e0cf46.entry.js} +2 -2
  324. package/dist/core/p-e3e0cf46.entry.js.map +1 -0
  325. package/dist/core/p-e6a330e4.js +2 -0
  326. package/dist/core/p-e6a330e4.js.map +1 -0
  327. package/dist/core/{p-1109636a.entry.js → p-e7b6d9c5.entry.js} +2 -2
  328. package/dist/core/{p-1109636a.entry.js.map → p-e7b6d9c5.entry.js.map} +1 -1
  329. package/dist/core/p-ea3e2419.entry.js +2 -0
  330. package/dist/core/p-ea3e2419.entry.js.map +1 -0
  331. package/dist/core/p-f32ab3de.entry.js +2 -0
  332. package/dist/core/p-f32ab3de.entry.js.map +1 -0
  333. package/dist/core/p-f3f9acbb.entry.js +2 -0
  334. package/dist/core/p-f3f9acbb.entry.js.map +1 -0
  335. package/dist/core/{p-d03374fc.entry.js → p-fbb5c8f2.entry.js} +2 -2
  336. package/dist/esm/core.js +1 -1
  337. package/dist/esm/{helpers-5bd2012a.js → helpers-1e2516ae.js} +15 -122
  338. package/dist/esm/helpers-1e2516ae.js.map +1 -0
  339. package/dist/esm/{helpers-dab8ddfe.js → helpers-c326255f.js} +23 -2
  340. package/dist/esm/helpers-c326255f.js.map +1 -0
  341. package/dist/esm/ic-accordion-group.entry.js +10 -10
  342. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  343. package/dist/esm/ic-accordion.entry.js +5 -5
  344. package/dist/esm/ic-accordion.entry.js.map +1 -1
  345. package/dist/esm/ic-alert.entry.js +7 -5
  346. package/dist/esm/ic-alert.entry.js.map +1 -1
  347. package/dist/esm/ic-back-to-top.entry.js +1 -1
  348. package/dist/esm/ic-badge.entry.js +1 -1
  349. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  350. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  351. package/dist/esm/ic-button_3.entry.js +2 -2
  352. package/dist/esm/ic-button_3.entry.js.map +1 -1
  353. package/dist/esm/ic-card-horizontal.entry.js +22 -27
  354. package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
  355. package/dist/esm/ic-card-vertical.entry.js +23 -25
  356. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  357. package/dist/esm/ic-checkbox-group.entry.js +17 -6
  358. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  359. package/dist/esm/ic-checkbox.entry.js +6 -4
  360. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  361. package/dist/esm/ic-chip.entry.js +1 -1
  362. package/dist/esm/ic-classification-banner.entry.js +1 -1
  363. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  364. package/dist/esm/ic-data-row.entry.js +1 -1
  365. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  366. package/dist/esm/ic-data-table.entry.js +86 -10
  367. package/dist/esm/ic-data-table.entry.js.map +1 -1
  368. package/dist/esm/ic-date-input.entry.js +13 -11
  369. package/dist/esm/ic-date-input.entry.js.map +1 -1
  370. package/dist/esm/ic-date-picker.entry.js +4 -2
  371. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  372. package/dist/esm/ic-dialog.entry.js +4 -2
  373. package/dist/esm/ic-dialog.entry.js.map +1 -1
  374. package/dist/esm/ic-divider.entry.js +72 -8
  375. package/dist/esm/ic-divider.entry.js.map +1 -1
  376. package/dist/esm/ic-empty-state_2.entry.js +31 -16
  377. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  378. package/dist/esm/ic-footer-link-group.entry.js +2 -2
  379. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  380. package/dist/esm/ic-footer-link.entry.js +2 -2
  381. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  382. package/dist/esm/ic-footer.entry.js +2 -2
  383. package/dist/esm/ic-footer.entry.js.map +1 -1
  384. package/dist/esm/ic-hero.entry.js +2 -2
  385. package/dist/esm/ic-hero.entry.js.map +1 -1
  386. package/dist/esm/ic-horizontal-scroll.entry.js +4 -3
  387. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  388. package/dist/{collection/components/ic-menu-with-multi/ic-menu.js → esm/ic-input-component-container_3.entry.js} +160 -729
  389. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  390. package/dist/esm/ic-input-label_2.entry.js +81 -0
  391. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  392. package/dist/esm/ic-link.entry.js +1 -1
  393. package/dist/esm/ic-menu-group.entry.js +3 -3
  394. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  395. package/dist/esm/ic-menu-item.entry.js +11 -11
  396. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  397. package/dist/esm/ic-navigation-button.entry.js +1 -1
  398. package/dist/esm/ic-navigation-group.entry.js +5 -4
  399. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  400. package/dist/esm/ic-navigation-item.entry.js +30 -3
  401. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  402. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  403. package/dist/esm/ic-page-header.entry.js +5 -5
  404. package/dist/esm/ic-page-header.entry.js.map +1 -1
  405. package/dist/esm/ic-pagination_4.entry.js +191 -62
  406. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  407. package/dist/esm/ic-popover-menu.entry.js +11 -11
  408. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  409. package/dist/esm/ic-radio-group.entry.js +15 -6
  410. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  411. package/dist/esm/ic-radio-option.entry.js +31 -22
  412. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  413. package/dist/esm/ic-search-bar.entry.js +12 -9
  414. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  415. package/dist/esm/ic-side-navigation.entry.js +4 -3
  416. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  417. package/dist/esm/ic-status-tag.entry.js +1 -1
  418. package/dist/esm/ic-step.entry.js +1 -1
  419. package/dist/esm/ic-stepper.entry.js +1 -1
  420. package/dist/esm/ic-switch.entry.js +7 -4
  421. package/dist/esm/ic-switch.entry.js.map +1 -1
  422. package/dist/esm/ic-tab-context.entry.js +2 -1
  423. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  424. package/dist/esm/ic-tab-group.entry.js +1 -1
  425. package/dist/esm/ic-tab-panel.entry.js +1 -1
  426. package/dist/esm/ic-tab.entry.js +1 -1
  427. package/dist/esm/ic-theme.entry.js +1 -1
  428. package/dist/esm/ic-toast.entry.js +3 -3
  429. package/dist/esm/ic-toast.entry.js.map +1 -1
  430. package/dist/esm/ic-toggle-button-group.entry.js +1 -1
  431. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  432. package/dist/esm/ic-toggle-button.entry.js +1 -1
  433. package/dist/esm/ic-top-navigation.entry.js +1 -1
  434. package/dist/esm/ic-tree-item.entry.js +10 -6
  435. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  436. package/dist/esm/ic-tree-view.entry.js +19 -11
  437. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  438. package/dist/esm/ic-typography.entry.js +1 -1
  439. package/dist/esm/index-93509377.js +4 -12
  440. package/dist/esm/loader.js +1 -1
  441. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +6 -2
  442. package/dist/types/components/ic-data-table/ic-data-table.d.ts +13 -0
  443. package/dist/types/components/ic-data-table/story-data.d.ts +1 -0
  444. package/dist/types/components/ic-date-input/ic-date-input.d.ts +4 -0
  445. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
  446. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +15 -6
  447. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +11 -6
  448. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +10 -4
  449. package/dist/types/components.d.ts +94 -484
  450. package/dist/types/utils/helpers.d.ts +1 -1
  451. package/dist/types/utils/types.d.ts +4 -1
  452. package/hydrate/index.js +3373 -6380
  453. package/package.json +3 -3
  454. package/dist/cjs/helpers-33b42cd6.js.map +0 -1
  455. package/dist/cjs/helpers-6817cfbb.js.map +0 -1
  456. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +0 -156
  457. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +0 -1
  458. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +0 -2738
  459. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +0 -1
  460. package/dist/cjs/ic-menu.cjs.entry.js +0 -658
  461. package/dist/cjs/ic-menu.cjs.entry.js.map +0 -1
  462. package/dist/cjs/ic-select-with-multi.cjs.entry.js +0 -788
  463. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +0 -1
  464. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +0 -712
  465. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +0 -1
  466. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +0 -1057
  467. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +0 -1
  468. package/dist/collection/components/ic-select-with-multi/assets/Check.svg +0 -3
  469. package/dist/collection/components/ic-select-with-multi/assets/Clear.svg +0 -3
  470. package/dist/collection/components/ic-select-with-multi/assets/Expand.svg +0 -3
  471. package/dist/collection/components/ic-select-with-multi/ic-select.css +0 -695
  472. package/dist/collection/components/ic-select-with-multi/ic-select.js +0 -1520
  473. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +0 -1
  474. package/dist/collection/components/ic-select-with-multi/story-data.js +0 -216
  475. package/dist/collection/components/ic-select-with-multi/story-data.js.map +0 -1
  476. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +0 -1518
  477. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +0 -1
  478. package/dist/components/ic-menu-with-multi.d.ts +0 -11
  479. package/dist/components/ic-menu-with-multi.js +0 -8
  480. package/dist/components/ic-menu-with-multi.js.map +0 -1
  481. package/dist/components/ic-menu3.js +0 -2803
  482. package/dist/components/ic-menu3.js.map +0 -1
  483. package/dist/components/ic-select-with-multi.d.ts +0 -11
  484. package/dist/components/ic-select-with-multi.js +0 -906
  485. package/dist/components/ic-select-with-multi.js.map +0 -1
  486. package/dist/core/p-0894cab1.entry.js +0 -2
  487. package/dist/core/p-0894cab1.entry.js.map +0 -1
  488. package/dist/core/p-130a05cf.entry.js +0 -2
  489. package/dist/core/p-130a05cf.entry.js.map +0 -1
  490. package/dist/core/p-1e2aa8a6.entry.js +0 -2
  491. package/dist/core/p-1e2aa8a6.entry.js.map +0 -1
  492. package/dist/core/p-202bc922.entry.js +0 -2
  493. package/dist/core/p-202bc922.entry.js.map +0 -1
  494. package/dist/core/p-28323849.entry.js +0 -2
  495. package/dist/core/p-28323849.entry.js.map +0 -1
  496. package/dist/core/p-297e99cf.js +0 -2
  497. package/dist/core/p-297e99cf.js.map +0 -1
  498. package/dist/core/p-2ff4e283.entry.js +0 -2
  499. package/dist/core/p-2ff4e283.entry.js.map +0 -1
  500. package/dist/core/p-30b046b2.entry.js +0 -2
  501. package/dist/core/p-30b046b2.entry.js.map +0 -1
  502. package/dist/core/p-3db785f0.entry.js +0 -2
  503. package/dist/core/p-3db785f0.entry.js.map +0 -1
  504. package/dist/core/p-42883e4c.entry.js +0 -2
  505. package/dist/core/p-42883e4c.entry.js.map +0 -1
  506. package/dist/core/p-42e0f3bd.entry.js +0 -2
  507. package/dist/core/p-42e0f3bd.entry.js.map +0 -1
  508. package/dist/core/p-44ee5375.entry.js.map +0 -1
  509. package/dist/core/p-4e28ef60.entry.js.map +0 -1
  510. package/dist/core/p-53e00a8a.entry.js +0 -2
  511. package/dist/core/p-53e00a8a.entry.js.map +0 -1
  512. package/dist/core/p-59028160.entry.js +0 -2
  513. package/dist/core/p-59028160.entry.js.map +0 -1
  514. package/dist/core/p-5b7dfe57.entry.js +0 -2
  515. package/dist/core/p-5b7dfe57.entry.js.map +0 -1
  516. package/dist/core/p-603fea14.entry.js +0 -2
  517. package/dist/core/p-603fea14.entry.js.map +0 -1
  518. package/dist/core/p-64933069.entry.js +0 -2
  519. package/dist/core/p-64933069.entry.js.map +0 -1
  520. package/dist/core/p-7c268030.entry.js +0 -2
  521. package/dist/core/p-7c268030.entry.js.map +0 -1
  522. package/dist/core/p-7c78f6c6.entry.js +0 -2
  523. package/dist/core/p-7c78f6c6.entry.js.map +0 -1
  524. package/dist/core/p-7c80d79c.entry.js +0 -2
  525. package/dist/core/p-7e1603cc.entry.js.map +0 -1
  526. package/dist/core/p-8df49808.entry.js +0 -2
  527. package/dist/core/p-8df49808.entry.js.map +0 -1
  528. package/dist/core/p-8f12659d.entry.js +0 -2
  529. package/dist/core/p-8f12659d.entry.js.map +0 -1
  530. package/dist/core/p-903ee57e.entry.js +0 -2
  531. package/dist/core/p-903ee57e.entry.js.map +0 -1
  532. package/dist/core/p-92e3ccb9.entry.js +0 -2
  533. package/dist/core/p-92e3ccb9.entry.js.map +0 -1
  534. package/dist/core/p-9397b15b.js.map +0 -1
  535. package/dist/core/p-9b54feca.entry.js +0 -2
  536. package/dist/core/p-9b54feca.entry.js.map +0 -1
  537. package/dist/core/p-a78cf2cb.entry.js +0 -2
  538. package/dist/core/p-a78cf2cb.entry.js.map +0 -1
  539. package/dist/core/p-a9151d0b.entry.js +0 -2
  540. package/dist/core/p-a9151d0b.entry.js.map +0 -1
  541. package/dist/core/p-acc76b80.entry.js +0 -2
  542. package/dist/core/p-acc76b80.entry.js.map +0 -1
  543. package/dist/core/p-b0751bd9.entry.js.map +0 -1
  544. package/dist/core/p-c1698936.entry.js +0 -2
  545. package/dist/core/p-c1698936.entry.js.map +0 -1
  546. package/dist/core/p-c1e90c85.entry.js +0 -2
  547. package/dist/core/p-c1e90c85.entry.js.map +0 -1
  548. package/dist/core/p-cb63e656.entry.js +0 -2
  549. package/dist/core/p-cb63e656.entry.js.map +0 -1
  550. package/dist/core/p-d3c0bffb.entry.js +0 -2
  551. package/dist/core/p-d3c0bffb.entry.js.map +0 -1
  552. package/dist/core/p-da3e8c54.entry.js +0 -2
  553. package/dist/core/p-da3e8c54.entry.js.map +0 -1
  554. package/dist/core/p-ec53b435.entry.js +0 -2
  555. package/dist/core/p-ec53b435.entry.js.map +0 -1
  556. package/dist/core/p-f9810621.entry.js +0 -2
  557. package/dist/core/p-f9810621.entry.js.map +0 -1
  558. package/dist/core/p-fb7b99dd.entry.js +0 -2
  559. package/dist/core/p-fb7b99dd.entry.js.map +0 -1
  560. package/dist/esm/helpers-5bd2012a.js.map +0 -1
  561. package/dist/esm/helpers-dab8ddfe.js.map +0 -1
  562. package/dist/esm/ic-input-component-container_4.entry.js +0 -149
  563. package/dist/esm/ic-input-component-container_4.entry.js.map +0 -1
  564. package/dist/esm/ic-menu-with-multi.entry.js +0 -2734
  565. package/dist/esm/ic-menu-with-multi.entry.js.map +0 -1
  566. package/dist/esm/ic-menu.entry.js +0 -654
  567. package/dist/esm/ic-menu.entry.js.map +0 -1
  568. package/dist/esm/ic-select-with-multi.entry.js +0 -784
  569. package/dist/esm/ic-select-with-multi.entry.js.map +0 -1
  570. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +0 -214
  571. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +0 -259
  572. package/dist/types/components/ic-select-with-multi/story-data.d.ts +0 -32
  573. /package/dist/core/{p-c033e7d6.entry.js.map → p-036d251b.entry.js.map} +0 -0
  574. /package/dist/core/{p-d2e7a256.entry.js.map → p-13d2db9b.entry.js.map} +0 -0
  575. /package/dist/core/{p-897b8d16.entry.js.map → p-24d03bbd.entry.js.map} +0 -0
  576. /package/dist/core/{p-bb1252fa.entry.js.map → p-26613dbd.entry.js.map} +0 -0
  577. /package/dist/core/{p-77a32de5.entry.js.map → p-2a3bd99a.entry.js.map} +0 -0
  578. /package/dist/core/{p-4dcc37e7.entry.js.map → p-620b758c.entry.js.map} +0 -0
  579. /package/dist/core/{p-6beffd0e.entry.js.map → p-6727166b.entry.js.map} +0 -0
  580. /package/dist/core/{p-8ca2e329.entry.js.map → p-6dc00a8f.entry.js.map} +0 -0
  581. /package/dist/core/{p-d5ca3bcb.entry.js.map → p-7aa6b76e.entry.js.map} +0 -0
  582. /package/dist/core/{p-e5d99316.entry.js.map → p-7b90f0ae.entry.js.map} +0 -0
  583. /package/dist/core/{p-50019ede.entry.js.map → p-80b296cd.entry.js.map} +0 -0
  584. /package/dist/core/{p-eb65e556.entry.js.map → p-82aa8136.entry.js.map} +0 -0
  585. /package/dist/core/{p-2e49fb22.entry.js.map → p-83b4efe2.entry.js.map} +0 -0
  586. /package/dist/core/{p-5accf0bb.entry.js.map → p-878df16f.entry.js.map} +0 -0
  587. /package/dist/core/{p-1fe35de1.entry.js.map → p-8bec76d1.entry.js.map} +0 -0
  588. /package/dist/core/{p-486d8d43.entry.js.map → p-b3d93bc1.entry.js.map} +0 -0
  589. /package/dist/core/{p-ed4cde5a.entry.js.map → p-c40c57ee.entry.js.map} +0 -0
  590. /package/dist/core/{p-0ab10600.entry.js.map → p-cc22644d.entry.js.map} +0 -0
  591. /package/dist/core/{p-505250cf.entry.js.map → p-d7632baf.entry.js.map} +0 -0
  592. /package/dist/core/{p-d03374fc.entry.js.map → p-fbb5c8f2.entry.js.map} +0 -0
@@ -1,12 +1,93 @@
1
- import { h, Host, Fragment, } from "@stencil/core";
2
- import { createPopper } from "@popperjs/core";
3
- import Check from "../../assets/check-icon.svg";
4
- import { getOptionsWithoutGroupTitlesCount, isMacDevice, onComponentRequiredPropUndefined, } from "../../utils/helpers";
5
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
- export class Menu {
7
- constructor() {
8
- this.activeDescendantAttr = "aria-activedescendant"; // Prevent duplicate literal string lint error
9
- this.clearButtonId = "clear-button"; // Prevent duplicate literal string lint error
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement, c as createEvent, F as Fragment } from './index-93509377.js';
2
+ import { c as checkSlotInChildMutations, s as slotHasContent, O as IcInformationStatus, R as successIcon, S as isMacDevice, a as onComponentRequiredPropUndefined, M as getOptionsWithoutGroupTitlesCount } from './helpers-c326255f.js';
3
+ import { C as Check } from './check-icon-f2346e76.js';
4
+ import { c as createPopper } from './popper-b8cc3f16.js';
5
+
6
+ const icInputComponentContainerCss = "ic-input-component-container{display:flex;border:var(--ic-border-width) solid\n var(--border-color, var(--ic-architectural-400));border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-slow);height:2.5rem;width:var(--input-width, 20rem);padding:var(--ic-space-1px);background-color:var(--input-bg-color, var(--ic-architectural-white));box-sizing:border-box;fill:var(--ic-architectural-400);outline:none}ic-input-component-container.ic-input-component-container-full-width{width:100%}ic-input-component-container.ic-input-component-container-disabled,ic-input-component-container.ic-input-component-container-disabled:hover{border:var(--ic-border-width) dashed\n var(--border-color-disabled, var(--ic-architectural-200))}ic-input-component-container.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-readonly:hover{border:none;padding:0}ic-input-component-container.ic-input-component-container-error{border:var(--ic-border-error);padding:0}ic-input-component-container.ic-input-component-container-error:hover{border:var(--ic-border-error-hover)}ic-input-component-container.ic-input-component-container-error:focus-within{border:var(--ic-border-error-pressed)}ic-input-component-container.ic-input-component-container-warning{border:var(--ic-border-warning);padding:0}ic-input-component-container.ic-input-component-container-warning:hover{border:var(--ic-border-warning-hover)}ic-input-component-container.ic-input-component-container-warning:focus-within{border:var(--ic-border-warning-pressed)}ic-input-component-container.ic-input-component-container-success{border:var(--ic-border-success);padding:0}ic-input-component-container.ic-input-component-container-success:hover{border:var(--ic-border-success-hover)}ic-input-component-container.ic-input-component-container-success:focus-within{border:var(--ic-success-border-pressed)}ic-input-component-container.ic-input-component-container-small{height:var(--ic-space-xl)}ic-input-component-container.ic-input-component-container-large{height:var(--ic-space-xxl)}ic-input-component-container.ic-input-component-container-multiline{height:auto}ic-input-component-container .icon-container{margin-top:var(--ic-space-xxs);margin-left:0.438rem;display:flex;align-items:center}ic-input-component-container.ic-input-component-container-multiline .icon-container,ic-input-component-container.ic-input-component-container-multiline.ic-input-component-container-small .icon-container{margin-top:0.375rem;display:block}ic-input-component-container.ic-input-component-container-readonly .icon-container{margin-left:-0.313rem}ic-input-component-container.ic-input-component-container-disabled ::-moz-placeholder{display:none}ic-input-component-container.ic-input-component-container-disabled ::placeholder{display:none}ic-input-component-container .inline-success{margin:var(--ic-space-xs) 0.375rem;display:flex;align-items:center}ic-input-component-container.ic-input-component-container-dark:hover{--border-color:var(--ic-architectural-400)}ic-input-component-container .inline-success>svg{fill:var(--ic-status-success-default);height:1.25rem;width:1.25rem}ic-input-component-container:hover{border:var(--ic-border-hover);color:var(--ic-action-dark-hover)}ic-input-component-container:focus{border:var(--ic-border-pressed)}.focus-indicator{display:flex;width:100%;margin:-0.125rem;padding:0.125rem;border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}.focus-indicator:focus-within,.focus-indicator-enabled{box-shadow:var(--ic-border-focus)}.focus-indicator.ic-input-component-container-dark:focus-within{box-shadow:var(--ic-border-focus)}@media (forced-colors: active){ic-input-component-container,.focus-indicator{transition:none}ic-input-component-container:focus-within{border:var(--ic-border-width) solid Highlight;outline:0.125rem solid Highlight}ic-input-component-container.ic-input-component-container-disabled,ic-input-component-container.ic-input-component-container-disabled:hover{border:var(--ic-border-width) dashed GrayText}}";
7
+
8
+ const InputComponentContainer = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.hostMutationCallback = (mutationList) => {
12
+ if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
13
+ ? checkSlotInChildMutations(addedNodes, removedNodes, "left-icon")
14
+ : false)) {
15
+ forceUpdate(this);
16
+ }
17
+ };
18
+ this.appearance = "default";
19
+ this.disabled = false;
20
+ this.fullWidth = false;
21
+ this.multiLine = false;
22
+ this.readonly = false;
23
+ this.size = "medium";
24
+ this.validationInline = false;
25
+ this.validationStatus = "";
26
+ }
27
+ componentDidLoad() {
28
+ this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
29
+ this.hostMutationObserver.observe(this.el, { childList: true });
30
+ }
31
+ render() {
32
+ const { size, validationStatus, disabled, readonly, multiLine, fullWidth, appearance, validationInline, } = this;
33
+ const hasValidationStatus = this.validationStatus !== "" && !this.disabled && !this.readonly
34
+ ? true
35
+ : false;
36
+ return (h(Host, { class: {
37
+ [`ic-input-component-container-${size}`]: true,
38
+ [`ic-input-component-container-${validationStatus}`]: hasValidationStatus,
39
+ [`ic-input-component-container-disabled`]: disabled,
40
+ [`ic-input-component-container-readonly`]: readonly,
41
+ ["ic-input-component-container-multiline"]: multiLine,
42
+ ["ic-input-component-container-full-width"]: fullWidth,
43
+ ["ic-input-component-container-dark"]: appearance === "dark",
44
+ }, "aria-disabled": disabled && `${disabled}` }, h("div", { class: {
45
+ "focus-indicator": true,
46
+ dark: appearance === "dark",
47
+ } }, slotHasContent(this.el, "left-icon") && (h("div", { class: {
48
+ ["icon-container"]: true,
49
+ } }, h("slot", { name: "left-icon" }))), h("slot", null), validationInline &&
50
+ validationStatus === IcInformationStatus.Success && (h("span", { class: {
51
+ ["inline-success"]: true,
52
+ }, innerHTML: successIcon })))));
53
+ }
54
+ get el() { return getElement(this); }
55
+ };
56
+ InputComponentContainer.style = icInputComponentContainerCss;
57
+
58
+ const icInputContainerCss = "ic-input-container .component-container{display:flex;flex-direction:column}";
59
+
60
+ const InputContainer = class {
61
+ constructor(hostRef) {
62
+ registerInstance(this, hostRef);
63
+ this.disabled = false;
64
+ this.readonly = false;
65
+ }
66
+ render() {
67
+ return (h(Host, null, h("div", { class: {
68
+ ["component-container"]: true,
69
+ ["disabled"]: this.disabled,
70
+ ["readonly"]: this.readonly,
71
+ } }, h("slot", null))));
72
+ }
73
+ };
74
+ InputContainer.style = icInputContainerCss;
75
+
76
+ const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{max-height:0;width:var(--menu-width, var(--input-width, 20rem));color:var(--menu-item-text-color, var(--ic-color-text-primary));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-color-text-primary)\n );background-color:var(--menu-bg-color, var(--ic-architectural-white));position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:var(--ic-border-radius)}.ic-menu-open.sc-ic-menu-h:not(.ic-menu-no-focus):focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.ic-select-select-all-focused.sc-ic-menu-h{box-shadow:var(--ic-elevation-overlay) !important}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border-radius:1px;background-color:var(--menu-bg-color, var(--ic-architectural-white));visibility:hidden;max-height:0;overflow-y:hidden}.menu.sc-ic-menu:has(+.option-bar).sc-ic-menu{border-radius:0 0 1px 1px}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.ic-menu-open.sc-ic-menu-h{max-height:none;display:flex;flex-direction:column-reverse;border:var(--ic-border-width) solid\n var(--menu-border-color, var(--ic-architectural-400));transition:box-shadow var(--ic-easing-transition-fast)}.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:calc(var(--ic-space-xl) * 10 + var(--ic-space-xxxs))}.ic-menu-open.sc-ic-menu-h .option-bar.sc-ic-menu{visibility:visible}.ic-menu-open.sc-ic-menu-h .select-all-button.sc-ic-menu{display:block}.ic-menu-full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px));cursor:pointer;display:flex;align-items:center}.loading-option.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.ic-menu-small.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-xxs) calc(var(--ic-space-xs) - var(--ic-space-1px))}.ic-menu-large.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))}.option.sc-ic-menu:last-child{border-radius:0 0 1px 1px}.sc-ic-menu:not(.menu:has(+.option-bar)).sc-ic-menu .option.sc-ic-menu:first-child{border-radius:1px 1px 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-action-dark-bg-hover)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-action-dark-bg-pressed)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{--ic-typography-color:var(--ic-color-text-secondary)}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-label.sc-ic-menu ic-typography.sc-ic-menu{max-width:100%;word-wrap:break-word}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxxs)}.option-text-container.sc-ic-menu{pointer-events:none;width:100%}.option-text-container.show-check-icon.sc-ic-menu{width:calc(var(--ic-space-lg) * 10 + var(--ic-space-xl))}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs));color:var(--ic-color-text-secondary);--ic-typography-color:var(--ic-color-text-secondary)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-status-error-default);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);min-width:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-xs);pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:var(--ic-space-lg) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs);--ic-typography-color:var(--ic-color-text-tertiary)}.ic-menu-small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xxs)}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-border-default)}.disabled-option.sc-ic-menu{color:var(--ic-architectural-200);--ic-typography-color:var(--ic-architectural-200);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-color-focus-inner) !important;color:var(--ic-architectural-white) !important;--ic-typography-color:var(--ic-architectural-white) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}.option-bar.sc-ic-menu{padding:var(--ic-space-xxs) var(--ic-space-xs);display:flex;align-items:center;justify-content:space-between;background-color:var(--ic-architectural-40);visibility:hidden;border-bottom:var(--ic-border-width) solid var(--ic-architectural-400);border-radius:1px 1px 0 0}.option-bar.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.ic-menu-large.sc-ic-menu-h .option-bar.sc-ic-menu{padding:var(--ic-space-xs)}.select-all-button.sc-ic-menu{display:none}.select-all-button.sc-ic-menu:focus{z-index:calc(var(--ic-z-index-menu) + 1)}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}}";
77
+
78
+ const Menu = class {
79
+ constructor(hostRef) {
80
+ registerInstance(this, hostRef);
81
+ this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
82
+ this.menuOptionId = createEvent(this, "menuOptionId", 7);
83
+ this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
84
+ this.menuOptionSelectAll = createEvent(this, "menuOptionSelectAll", 7);
85
+ this.menuStateChange = createEvent(this, "menuStateChange", 7);
86
+ this.retryButtonClicked = createEvent(this, "retryButtonClicked", 7);
87
+ this.timeoutBlur = createEvent(this, "timeoutBlur", 7);
88
+ this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
89
+ this.ACTIVE_DESCENDANT = "aria-activedescendant";
90
+ this.CLEAR_BUTTON_ID = "clear-button";
10
91
  this.disabledOptionSelected = false;
11
92
  this.hasPreviouslyBlurred = false;
12
93
  this.hasTimedOut = false;
@@ -74,8 +155,7 @@ export class Menu {
74
155
  if (parent.tagName === "IC-SEARCH-BAR") {
75
156
  this.isSearchBar = true;
76
157
  }
77
- else if (parent.tagName === "IC-SELECT" ||
78
- parent.tagName === "IC-SELECT-WITH-MULTI") {
158
+ else if (parent.tagName === "IC-SELECT") {
79
159
  if (parent.getAttribute("searchable") !== null &&
80
160
  parent.getAttribute("searchable") !== undefined) {
81
161
  this.isSearchableSelect = true;
@@ -119,13 +199,13 @@ export class Menu {
119
199
  break;
120
200
  case " ":
121
201
  case "Enter":
122
- if (event.target.id !== this.clearButtonId) {
202
+ if (event.target.id !== this.CLEAR_BUTTON_ID) {
123
203
  this.handleMenuChange(true);
124
204
  }
125
205
  break;
126
206
  }
127
207
  };
128
- this.selectHighlightedOption = (target, options, highlightedOptionIndex) => {
208
+ this.selectHighlightedOption = (options, highlightedOptionIndex) => {
129
209
  if (!this.isLoading && !this.hasTimedOut) {
130
210
  this.keyboardNav = true;
131
211
  }
@@ -146,8 +226,7 @@ export class Menu {
146
226
  this.setInputValue(highlightedOptionIndex);
147
227
  }
148
228
  }
149
- else if (target.id !== this.clearButtonId &&
150
- this.isMultiSelect) {
229
+ else {
151
230
  this.handleMenuChange(true);
152
231
  }
153
232
  };
@@ -172,14 +251,12 @@ export class Menu {
172
251
  // Determines keyboard behaviour when selection is manual (i.e. when you have to press Enter to select an option)
173
252
  this.manualSetInputValueKeyboardOpen = (event) => {
174
253
  const menuOptions = this.getMenuOptions();
175
- // Prevent focus disappearing on currently focused option when Shift / Cmd / Ctrl pressed
254
+ // For preventing focus disappearing on currently focused option when Shift / Cmd / Ctrl pressed
176
255
  // (i.e. when user is likely in the middle of executing a keyboard combination to select options)
177
- if (!(event.shiftKey || event.metaKey || event.ctrlKey)) {
178
- this.keyboardNav = false;
179
- }
256
+ const isKeyboardCombination = event.shiftKey || event.metaKey || event.ctrlKey;
180
257
  const highlightedOptionIndex = this.getOptionHighlightedIndex();
181
258
  const clickedMultiOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.multiOptionClicked);
182
- const getOptionId = (index) => { var _a; return (_a = Array.from(this.el.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
259
+ const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
183
260
  // Space press should be equivalent to Enter when multi-select
184
261
  if (event.key === " " && this.isMultiSelect) {
185
262
  this.handleOptionSelect(event, highlightedOptionIndex);
@@ -296,17 +373,23 @@ export class Menu {
296
373
  break;
297
374
  }
298
375
  case " ":
376
+ if (!isKeyboardCombination) {
377
+ this.keyboardNav = false;
378
+ }
299
379
  if (this.isSearchBar || this.isSearchableSelect) {
300
380
  break;
301
381
  }
302
382
  else {
303
- if (event.target.id !== this.clearButtonId) {
383
+ if (event.target.id !== this.CLEAR_BUTTON_ID) {
304
384
  this.handleMenuChange(true);
305
385
  }
306
386
  }
307
387
  break;
308
388
  case "Enter":
309
389
  event.preventDefault();
390
+ if (!isKeyboardCombination) {
391
+ this.keyboardNav = false;
392
+ }
310
393
  this.handleOptionSelect(event, highlightedOptionIndex);
311
394
  break;
312
395
  case "Escape":
@@ -347,30 +430,11 @@ export class Menu {
347
430
  this.preventIncorrectTabOrder = true;
348
431
  }
349
432
  break;
350
- case "Backspace":
351
- if (this.isSearchBar) {
352
- this.parentEl.setFocus();
353
- if (this.searchMode === "navigation")
354
- this.setHighlightedOption(0);
355
- }
356
- else if (this.isSearchableSelect) {
357
- this.parentEl.setFocus();
358
- }
359
- this.focusFromSearchKeypress = true;
360
- break;
361
433
  default:
362
- if (event.key !== "Tab") {
363
- if (this.isSearchBar) {
364
- this.parentEl.setFocus();
365
- if (this.searchMode === "navigation")
366
- this.setHighlightedOption(0);
367
- }
368
- else if (this.isSearchableSelect) {
369
- this.parentEl.setFocus();
370
- }
371
- this.focusFromSearchKeypress = true;
372
- break;
434
+ if (!isKeyboardCombination) {
435
+ this.keyboardNav = false;
373
436
  }
437
+ this.focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex);
374
438
  }
375
439
  }
376
440
  };
@@ -420,12 +484,12 @@ export class Menu {
420
484
  this.handleBlur = (event) => {
421
485
  if (event.relatedTarget !== this.inputEl) {
422
486
  if (event.relatedTarget === this.selectAllButton) {
423
- this.menu.removeAttribute(this.activeDescendantAttr);
487
+ this.menu.removeAttribute(this.ACTIVE_DESCENDANT);
424
488
  }
425
489
  if (!(this.menu.contains(event.relatedTarget) ||
426
490
  event.relatedTarget === this.selectAllButton)) {
427
491
  this.handleMenuChange(false, this.hasPreviouslyBlurred);
428
- this.menu.removeAttribute(this.activeDescendantAttr);
492
+ this.menu.removeAttribute(this.ACTIVE_DESCENDANT);
429
493
  this.lastOptionFocused = null;
430
494
  this.lastOptionSelected = null;
431
495
  }
@@ -433,7 +497,7 @@ export class Menu {
433
497
  else {
434
498
  this.handleMenuChange(false);
435
499
  this.preventClickOpen = true;
436
- this.menu.removeAttribute(this.activeDescendantAttr);
500
+ this.menu.removeAttribute(this.ACTIVE_DESCENDANT);
437
501
  this.lastOptionFocused = null;
438
502
  this.lastOptionSelected = null;
439
503
  }
@@ -471,13 +535,13 @@ export class Menu {
471
535
  this.lastOptionSelected = null;
472
536
  };
473
537
  this.handleSelectAllBlur = (event) => {
474
- this.el.classList.remove("select-all-focused");
538
+ this.host.classList.remove("ic-select-select-all-focused");
475
539
  if (!this.menu.contains(event.relatedTarget)) {
476
540
  this.handleMenuChange(false, false);
477
541
  }
478
542
  };
479
543
  this.handleSelectAllFocus = () => {
480
- this.el.classList.add("select-all-focused");
544
+ this.host.classList.add("ic-select-select-all-focused");
481
545
  this.lastOptionFocused = null;
482
546
  this.lastOptionSelected = null;
483
547
  };
@@ -491,7 +555,7 @@ export class Menu {
491
555
  if (this.isMultiSelect &&
492
556
  event.shiftKey &&
493
557
  !this.isOptionSelected(optionToSelectIndex)) {
494
- this.selectHighlightedOption(event.target, options, optionToSelectIndex);
558
+ this.selectHighlightedOption(options, optionToSelectIndex);
495
559
  this.lastOptionSelected = optionToSelectIndex;
496
560
  }
497
561
  };
@@ -525,7 +589,7 @@ export class Menu {
525
589
  this.handleMultipleShiftSelect(optionIndex, useFocusForSelection, firstOptionInSelection);
526
590
  }
527
591
  else {
528
- this.selectHighlightedOption(event.target, menuOptions, optionIndex);
592
+ this.selectHighlightedOption(menuOptions, optionIndex);
529
593
  }
530
594
  this.lastOptionFocused = optionIndex;
531
595
  this.lastOptionSelected = optionIndex;
@@ -642,7 +706,7 @@ export class Menu {
642
706
  this.isManualMode = this.activationType === "manual";
643
707
  this.scrollToSelected = (menu) => {
644
708
  const selectedOption = this.selectOnEnter
645
- ? this.el.querySelector(`li[data-value="${this.optionHighlighted}"]`)
709
+ ? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
646
710
  : menu.querySelector(".option[aria-selected='true']");
647
711
  if (selectedOption) {
648
712
  const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
@@ -652,7 +716,7 @@ export class Menu {
652
716
  }
653
717
  // 'aria-activedescendant' affects screen reader focus
654
718
  // https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/#kbd_focus_activedescendant
655
- this.menu.setAttribute(this.activeDescendantAttr, selectedOption.id);
719
+ this.menu.setAttribute(this.ACTIVE_DESCENDANT, selectedOption.id);
656
720
  selectedOption.focus();
657
721
  }
658
722
  };
@@ -674,7 +738,7 @@ export class Menu {
674
738
  };
675
739
  this.setMenuScrollbar = () => {
676
740
  let optionsHeight = 0;
677
- this.el
741
+ this.host
678
742
  .querySelectorAll(".option")
679
743
  .forEach((option) => (optionsHeight += option.clientHeight));
680
744
  if (optionsHeight >= 320) {
@@ -685,10 +749,14 @@ export class Menu {
685
749
  this.timeoutBlur.emit({ ev });
686
750
  };
687
751
  this.optionContent = (option, selected) => {
688
- return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: "option-text-container" }, h("div", { class: "option-label" }, option.icon && (h("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), h("ic-typography", { variant: "body", "aria-hidden": "true" }, h("p", null, option[this.labelField]))), option.description && (h("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description))), option.element && (h("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), !!option[this.valueField] &&
752
+ const showCheckIcon = !!option[this.valueField] &&
689
753
  !!this.value &&
690
754
  selected &&
691
- this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: Check }))));
755
+ this.parentEl.tagName !== "IC-SEARCH-BAR";
756
+ return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: {
757
+ "option-text-container": true,
758
+ "show-check-icon": showCheckIcon,
759
+ } }, h("div", { class: "option-label" }, option.icon && (h("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), h("ic-typography", { variant: "body", "aria-hidden": "true" }, option[this.labelField])), option.description && (h("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description))), option.element && (h("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), showCheckIcon && h("span", { class: "check-icon", innerHTML: Check })));
692
760
  };
693
761
  this.displayOption = (option, selected, index, parentOption) => {
694
762
  const { open, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
@@ -755,11 +823,12 @@ export class Menu {
755
823
  }
756
824
  }
757
825
  disconnectedCallback() {
826
+ var _a, _b;
758
827
  if (this.popperInstance) {
759
828
  this.popperInstance.destroy();
760
829
  }
761
- this.parentEl.removeEventListener("icClear", this.handleClearListener);
762
- this.parentEl.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
830
+ (_a = this.parentEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("icClear", this.handleClearListener);
831
+ (_b = this.parentEl) === null || _b === void 0 ? void 0 : _b.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
763
832
  }
764
833
  componentWillLoad() {
765
834
  var _a, _b;
@@ -784,9 +853,6 @@ export class Menu {
784
853
  }
785
854
  componentDidUpdate() {
786
855
  const inputValueInOptions = this.options.some((option) => option[this.valueField] === this.value);
787
- const optionHighlightedIsSet = this.optionHighlighted !== null &&
788
- this.optionHighlighted !== undefined &&
789
- this.optionHighlighted !== "";
790
856
  if (this.open && this.options.length !== 0 && !this.preventMenuFocus) {
791
857
  if (this.value &&
792
858
  this.keyboardNav &&
@@ -795,12 +861,15 @@ export class Menu {
795
861
  !this.isSearchableSelect) {
796
862
  this.scrollToSelected(this.menu);
797
863
  }
798
- else if (optionHighlightedIsSet &&
864
+ else if (this.selectOnEnter) {
865
+ this.menu.focus();
866
+ }
867
+ else if (!!this.optionHighlighted &&
799
868
  !this.focusFromSearchKeypress &&
800
869
  !this.preventIncorrectTabOrder) {
801
- const highlightedEl = this.el.querySelector(`li[data-value="${this.optionHighlighted}"]`);
870
+ const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
802
871
  if (highlightedEl) {
803
- this.menu.setAttribute(this.activeDescendantAttr, highlightedEl.id);
872
+ this.menu.setAttribute(this.ACTIVE_DESCENDANT, highlightedEl.id);
804
873
  highlightedEl.focus();
805
874
  }
806
875
  }
@@ -835,10 +904,9 @@ export class Menu {
835
904
  /**
836
905
  * Used alongside activationType
837
906
  * If menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.
838
- * @param {KeyboardEvent} event - keyboard event
907
+ * @param {KeyboardEvent} event The keyboard event which is available when handleKeyboardOpen is invoked.
839
908
  */
840
909
  async handleKeyboardOpen(event) {
841
- this.keyboardNav = false;
842
910
  if (this.activationType === "automatic") {
843
911
  this.autoSetInputValueKeyboardOpen(event);
844
912
  }
@@ -859,7 +927,7 @@ export class Menu {
859
927
  */
860
928
  async initPopperJs(anchor) {
861
929
  // Placements set to "-start" to accommodate for custom menu width - menu should always be aligned to the left
862
- this.popperInstance = createPopper(anchor, this.el, {
930
+ this.popperInstance = createPopper(anchor, this.host, {
863
931
  placement: "bottom-start",
864
932
  modifiers: [
865
933
  {
@@ -878,16 +946,26 @@ export class Menu {
878
946
  ],
879
947
  });
880
948
  }
949
+ focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex) {
950
+ if (!menuOptions[highlightedOptionIndex])
951
+ return;
952
+ if (this.isSearchBar) {
953
+ this.parentEl.setFocus();
954
+ if (this.searchMode === "navigation")
955
+ this.setHighlightedOption(0);
956
+ }
957
+ if (this.isSearchableSelect) {
958
+ this.parentEl.setFocus();
959
+ }
960
+ this.focusFromSearchKeypress = true;
961
+ }
881
962
  render() {
882
963
  const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, } = this;
883
964
  const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
884
- const hasNoResults = this.el.classList.contains("no-results");
965
+ const hasNoResults = this.host.classList.contains("no-results");
885
966
  return (h(Host, { class: {
886
967
  "ic-menu-full-width": fullWidth,
887
- "ic-menu-no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" ||
888
- hasTimedOut ||
889
- isLoading ||
890
- hasNoResults,
968
+ "ic-menu-no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" || hasTimedOut || isLoading,
891
969
  [`ic-menu-${size}`]: true,
892
970
  "ic-menu-open": open && options.length !== 0,
893
971
  "ic-menu-multiple": this.isMultiSelect,
@@ -916,661 +994,14 @@ export class Menu {
916
994
  !hasTimedOut &&
917
995
  !hasNoResults && (h("div", { class: "option-bar" }, h("ic-typography", null, h("p", null, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
918
996
  }
919
- static get is() { return "ic-menu-with-multi"; }
920
- static get encapsulation() { return "scoped"; }
921
- static get originalStyleUrls() {
922
- return {
923
- "$": ["ic-menu.css"]
924
- };
925
- }
926
- static get styleUrls() {
927
- return {
928
- "$": ["ic-menu.css"]
929
- };
930
- }
931
- static get properties() {
932
- return {
933
- "activationType": {
934
- "type": "string",
935
- "mutable": false,
936
- "complexType": {
937
- "original": "IcActivationTypes",
938
- "resolved": "\"automatic\" | \"manual\"",
939
- "references": {
940
- "IcActivationTypes": {
941
- "location": "import",
942
- "path": "@ukic/web-components/dist/types/utils/types",
943
- "id": "../web-components/dist/types/utils/types.d.ts::IcActivationTypes"
944
- }
945
- }
946
- },
947
- "required": false,
948
- "optional": true,
949
- "docs": {
950
- "tags": [],
951
- "text": "Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation."
952
- },
953
- "attribute": "activation-type",
954
- "reflect": false,
955
- "defaultValue": "\"automatic\""
956
- },
957
- "anchorEl": {
958
- "type": "unknown",
959
- "mutable": false,
960
- "complexType": {
961
- "original": "HTMLElement",
962
- "resolved": "HTMLElement",
963
- "references": {
964
- "HTMLElement": {
965
- "location": "global",
966
- "id": "global::HTMLElement"
967
- }
968
- }
969
- },
970
- "required": true,
971
- "optional": false,
972
- "docs": {
973
- "tags": [],
974
- "text": "The reference to an anchor element the menu will position itself from when rendered."
975
- }
976
- },
977
- "autoFocusOnSelected": {
978
- "type": "boolean",
979
- "mutable": false,
980
- "complexType": {
981
- "original": "boolean",
982
- "resolved": "boolean",
983
- "references": {}
984
- },
985
- "required": false,
986
- "optional": false,
987
- "docs": {
988
- "tags": [{
989
- "name": "internal",
990
- "text": "If `true`, autofocus will be applied on selected item when menu is open."
991
- }],
992
- "text": ""
993
- },
994
- "attribute": "auto-focus-on-selected",
995
- "reflect": false,
996
- "defaultValue": "true"
997
- },
998
- "closeOnSelect": {
999
- "type": "boolean",
1000
- "mutable": false,
1001
- "complexType": {
1002
- "original": "boolean",
1003
- "resolved": "boolean",
1004
- "references": {}
1005
- },
1006
- "required": false,
1007
- "optional": false,
1008
- "docs": {
1009
- "tags": [],
1010
- "text": "If `true`, the menu will close when an option is selected."
1011
- },
1012
- "attribute": "close-on-select",
1013
- "reflect": false,
1014
- "defaultValue": "true"
1015
- },
1016
- "fullWidth": {
1017
- "type": "boolean",
1018
- "mutable": false,
1019
- "complexType": {
1020
- "original": "boolean",
1021
- "resolved": "boolean",
1022
- "references": {}
1023
- },
1024
- "required": false,
1025
- "optional": false,
1026
- "docs": {
1027
- "tags": [],
1028
- "text": "If `true`, the menu will fill the width of the container."
1029
- },
1030
- "attribute": "full-width",
1031
- "reflect": false,
1032
- "defaultValue": "false"
1033
- },
1034
- "inputEl": {
1035
- "type": "unknown",
1036
- "mutable": false,
1037
- "complexType": {
1038
- "original": "HTMLElement",
1039
- "resolved": "HTMLElement",
1040
- "references": {
1041
- "HTMLElement": {
1042
- "location": "global",
1043
- "id": "global::HTMLElement"
1044
- }
1045
- }
1046
- },
1047
- "required": true,
1048
- "optional": false,
1049
- "docs": {
1050
- "tags": [],
1051
- "text": "The reference to the input element."
1052
- }
1053
- },
1054
- "inputLabel": {
1055
- "type": "string",
1056
- "mutable": false,
1057
- "complexType": {
1058
- "original": "string",
1059
- "resolved": "string",
1060
- "references": {}
1061
- },
1062
- "required": true,
1063
- "optional": false,
1064
- "docs": {
1065
- "tags": [],
1066
- "text": "The label for the input element."
1067
- },
1068
- "attribute": "input-label",
1069
- "reflect": false
1070
- },
1071
- "labelField": {
1072
- "type": "string",
1073
- "mutable": false,
1074
- "complexType": {
1075
- "original": "string",
1076
- "resolved": "string",
1077
- "references": {}
1078
- },
1079
- "required": false,
1080
- "optional": false,
1081
- "docs": {
1082
- "tags": [],
1083
- "text": "The custom name for the label field for IcMenuOption."
1084
- },
1085
- "attribute": "label-field",
1086
- "reflect": false,
1087
- "defaultValue": "\"label\""
1088
- },
1089
- "menuId": {
1090
- "type": "string",
1091
- "mutable": false,
1092
- "complexType": {
1093
- "original": "string",
1094
- "resolved": "string",
1095
- "references": {}
1096
- },
1097
- "required": true,
1098
- "optional": false,
1099
- "docs": {
1100
- "tags": [],
1101
- "text": "The ID of the menu."
1102
- },
1103
- "attribute": "menu-id",
1104
- "reflect": false
1105
- },
1106
- "open": {
1107
- "type": "boolean",
1108
- "mutable": false,
1109
- "complexType": {
1110
- "original": "boolean",
1111
- "resolved": "boolean",
1112
- "references": {}
1113
- },
1114
- "required": true,
1115
- "optional": false,
1116
- "docs": {
1117
- "tags": [],
1118
- "text": "If `true`, the menu will be displayed open."
1119
- },
1120
- "attribute": "open",
1121
- "reflect": true
1122
- },
1123
- "parentEl": {
1124
- "type": "unknown",
1125
- "mutable": false,
1126
- "complexType": {
1127
- "original": "HTMLElement",
1128
- "resolved": "HTMLElement",
1129
- "references": {
1130
- "HTMLElement": {
1131
- "location": "global",
1132
- "id": "global::HTMLElement"
1133
- }
1134
- }
1135
- },
1136
- "required": false,
1137
- "optional": true,
1138
- "docs": {
1139
- "tags": [{
1140
- "name": "internal",
1141
- "text": "- The parent element if ic-menu is nested inside another component."
1142
- }],
1143
- "text": ""
1144
- }
1145
- },
1146
- "searchMode": {
1147
- "type": "string",
1148
- "mutable": false,
1149
- "complexType": {
1150
- "original": "IcSearchBarSearchModes",
1151
- "resolved": "\"navigation\" | \"query\"",
1152
- "references": {
1153
- "IcSearchBarSearchModes": {
1154
- "location": "import",
1155
- "path": "@ukic/web-components/dist/types/components",
1156
- "id": "../web-components/dist/types/components.d.ts::IcSearchBarSearchModes"
1157
- }
1158
- }
1159
- },
1160
- "required": false,
1161
- "optional": true,
1162
- "docs": {
1163
- "tags": [],
1164
- "text": "Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches."
1165
- },
1166
- "attribute": "search-mode",
1167
- "reflect": false,
1168
- "defaultValue": "\"navigation\""
1169
- },
1170
- "selectOnEnter": {
1171
- "type": "boolean",
1172
- "mutable": false,
1173
- "complexType": {
1174
- "original": "boolean",
1175
- "resolved": "boolean",
1176
- "references": {}
1177
- },
1178
- "required": false,
1179
- "optional": true,
1180
- "docs": {
1181
- "tags": [{
1182
- "name": "internal",
1183
- "text": "If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown."
1184
- }],
1185
- "text": ""
1186
- },
1187
- "attribute": "select-on-enter",
1188
- "reflect": false,
1189
- "defaultValue": "false"
1190
- },
1191
- "size": {
1192
- "type": "string",
1193
- "mutable": false,
1194
- "complexType": {
1195
- "original": "IcSizes",
1196
- "resolved": "\"large\" | \"medium\" | \"small\"",
1197
- "references": {
1198
- "IcSizes": {
1199
- "location": "import",
1200
- "path": "../../utils/types",
1201
- "id": "src/utils/types.ts::IcSizes"
1202
- }
1203
- }
1204
- },
1205
- "required": false,
1206
- "optional": true,
1207
- "docs": {
1208
- "tags": [],
1209
- "text": "The size of the menu."
1210
- },
1211
- "attribute": "size",
1212
- "reflect": false,
1213
- "defaultValue": "\"medium\""
1214
- },
1215
- "options": {
1216
- "type": "unknown",
1217
- "mutable": false,
1218
- "complexType": {
1219
- "original": "IcMenuOption[]",
1220
- "resolved": "IcMenuOption[]",
1221
- "references": {
1222
- "IcMenuOption": {
1223
- "location": "import",
1224
- "path": "@ukic/web-components/dist/types/utils/types",
1225
- "id": "../web-components/dist/types/utils/types.d.ts::IcMenuOption"
1226
- }
1227
- }
1228
- },
1229
- "required": true,
1230
- "optional": false,
1231
- "docs": {
1232
- "tags": [],
1233
- "text": "The possible menu selection options."
1234
- }
1235
- },
1236
- "value": {
1237
- "type": "string",
1238
- "mutable": false,
1239
- "complexType": {
1240
- "original": "string | string[]",
1241
- "resolved": "string | string[]",
1242
- "references": {}
1243
- },
1244
- "required": true,
1245
- "optional": false,
1246
- "docs": {
1247
- "tags": [],
1248
- "text": "The value of the currently selected option - or array of values (if multiple options allowed)."
1249
- },
1250
- "attribute": "value",
1251
- "reflect": false
1252
- },
1253
- "valueField": {
1254
- "type": "string",
1255
- "mutable": false,
1256
- "complexType": {
1257
- "original": "string",
1258
- "resolved": "string",
1259
- "references": {}
1260
- },
1261
- "required": false,
1262
- "optional": false,
1263
- "docs": {
1264
- "tags": [],
1265
- "text": "The custom name for the value field for IcMenuOption."
1266
- },
1267
- "attribute": "value-field",
1268
- "reflect": false,
1269
- "defaultValue": "\"value\""
1270
- }
1271
- };
1272
- }
1273
- static get states() {
1274
- return {
1275
- "focusFromSearchKeypress": {},
1276
- "initialOptionsListRender": {},
1277
- "keyboardNav": {},
1278
- "optionHighlighted": {},
1279
- "preventIncorrectTabOrder": {},
1280
- "menuOptions": {}
1281
- };
1282
- }
1283
- static get events() {
1284
- return [{
1285
- "method": "menuKeyPress",
1286
- "name": "menuKeyPress",
1287
- "bubbles": true,
1288
- "cancelable": true,
1289
- "composed": true,
1290
- "docs": {
1291
- "tags": [{
1292
- "name": "internal",
1293
- "text": "Emitted when key is pressed while menu is open."
1294
- }],
1295
- "text": ""
1296
- },
1297
- "complexType": {
1298
- "original": "{ isNavKey: boolean; key: string }",
1299
- "resolved": "{ isNavKey: boolean; key: string; }",
1300
- "references": {}
1301
- }
1302
- }, {
1303
- "method": "menuOptionId",
1304
- "name": "menuOptionId",
1305
- "bubbles": true,
1306
- "cancelable": true,
1307
- "composed": true,
1308
- "docs": {
1309
- "tags": [{
1310
- "name": "internal",
1311
- "text": "Emitted when an option has been highlighted."
1312
- }],
1313
- "text": ""
1314
- },
1315
- "complexType": {
1316
- "original": "IcMenuOptionIdEventDetail",
1317
- "resolved": "IcMenuOptionIdEventDetail",
1318
- "references": {
1319
- "IcMenuOptionIdEventDetail": {
1320
- "location": "import",
1321
- "path": "@ukic/web-components/dist/types/components",
1322
- "id": "../web-components/dist/types/components.d.ts::IcMenuOptionIdEventDetail"
1323
- }
1324
- }
1325
- }
1326
- }, {
1327
- "method": "menuOptionSelect",
1328
- "name": "menuOptionSelect",
1329
- "bubbles": true,
1330
- "cancelable": true,
1331
- "composed": true,
1332
- "docs": {
1333
- "tags": [{
1334
- "name": "internal",
1335
- "text": "Emitted when an option is selected."
1336
- }],
1337
- "text": ""
1338
- },
1339
- "complexType": {
1340
- "original": "IcOptionSelectEventDetail",
1341
- "resolved": "IcOptionSelectEventDetail",
1342
- "references": {
1343
- "IcOptionSelectEventDetail": {
1344
- "location": "import",
1345
- "path": "@ukic/web-components/dist/types/components",
1346
- "id": "../web-components/dist/types/components.d.ts::IcOptionSelectEventDetail"
1347
- }
1348
- }
1349
- }
1350
- }, {
1351
- "method": "menuOptionSelectAll",
1352
- "name": "menuOptionSelectAll",
1353
- "bubbles": true,
1354
- "cancelable": true,
1355
- "composed": true,
1356
- "docs": {
1357
- "tags": [{
1358
- "name": "internal",
1359
- "text": "Emitted when all options are selected or deselected."
1360
- }],
1361
- "text": ""
1362
- },
1363
- "complexType": {
1364
- "original": "{ select: boolean }",
1365
- "resolved": "{ select: boolean; }",
1366
- "references": {}
1367
- }
1368
- }, {
1369
- "method": "menuStateChange",
1370
- "name": "menuStateChange",
1371
- "bubbles": true,
1372
- "cancelable": true,
1373
- "composed": true,
1374
- "docs": {
1375
- "tags": [{
1376
- "name": "internal",
1377
- "text": "Emitted when state of menu changes (i.e. open or close)."
1378
- }],
1379
- "text": ""
1380
- },
1381
- "complexType": {
1382
- "original": "IcMenuChangeEventDetail",
1383
- "resolved": "IcMenuChangeEventDetail",
1384
- "references": {
1385
- "IcMenuChangeEventDetail": {
1386
- "location": "import",
1387
- "path": "@ukic/web-components/dist/types/components",
1388
- "id": "../web-components/dist/types/components.d.ts::IcMenuChangeEventDetail"
1389
- }
1390
- }
1391
- }
1392
- }, {
1393
- "method": "retryButtonClicked",
1394
- "name": "retryButtonClicked",
1395
- "bubbles": true,
1396
- "cancelable": true,
1397
- "composed": true,
1398
- "docs": {
1399
- "tags": [{
1400
- "name": "internal",
1401
- "text": "Emitted when the retry button is clicked."
1402
- }],
1403
- "text": ""
1404
- },
1405
- "complexType": {
1406
- "original": "IcValueEventDetail",
1407
- "resolved": "IcValueEventDetail",
1408
- "references": {
1409
- "IcValueEventDetail": {
1410
- "location": "import",
1411
- "path": "../../utils/types",
1412
- "id": "src/utils/types.ts::IcValueEventDetail"
1413
- }
1414
- }
1415
- }
1416
- }, {
1417
- "method": "timeoutBlur",
1418
- "name": "timeoutBlur",
1419
- "bubbles": true,
1420
- "cancelable": true,
1421
- "composed": true,
1422
- "docs": {
1423
- "tags": [{
1424
- "name": "internal",
1425
- "text": "Emitted when the timeout menu loses focus."
1426
- }],
1427
- "text": ""
1428
- },
1429
- "complexType": {
1430
- "original": "{ ev: FocusEvent }",
1431
- "resolved": "{ ev: FocusEvent; }",
1432
- "references": {
1433
- "FocusEvent": {
1434
- "location": "global",
1435
- "id": "global::FocusEvent"
1436
- }
1437
- }
1438
- }
1439
- }, {
1440
- "method": "ungroupedOptionsSet",
1441
- "name": "ungroupedOptionsSet",
1442
- "bubbles": true,
1443
- "cancelable": true,
1444
- "composed": true,
1445
- "docs": {
1446
- "tags": [{
1447
- "name": "internal",
1448
- "text": "Emitted when the ungrouped options have been set."
1449
- }],
1450
- "text": ""
1451
- },
1452
- "complexType": {
1453
- "original": "{ options: IcMenuOption[] }",
1454
- "resolved": "{ options: IcMenuOption[]; }",
1455
- "references": {
1456
- "IcMenuOption": {
1457
- "location": "import",
1458
- "path": "@ukic/web-components/dist/types/utils/types",
1459
- "id": "../web-components/dist/types/utils/types.d.ts::IcMenuOption"
1460
- }
1461
- }
1462
- }
1463
- }];
1464
- }
1465
- static get methods() {
1466
- return {
1467
- "handleClickOpen": {
1468
- "complexType": {
1469
- "signature": "() => Promise<void>",
1470
- "parameters": [],
1471
- "references": {
1472
- "Promise": {
1473
- "location": "global",
1474
- "id": "global::Promise"
1475
- }
1476
- },
1477
- "return": "Promise<void>"
1478
- },
1479
- "docs": {
1480
- "text": "",
1481
- "tags": [{
1482
- "name": "internal",
1483
- "text": "If menu is opened with the mouse, emit menuStateChange custom event."
1484
- }]
1485
- }
1486
- },
1487
- "handleKeyboardOpen": {
1488
- "complexType": {
1489
- "signature": "(event: KeyboardEvent) => Promise<void>",
1490
- "parameters": [{
1491
- "name": "event",
1492
- "type": "KeyboardEvent",
1493
- "docs": "- keyboard event"
1494
- }],
1495
- "references": {
1496
- "Promise": {
1497
- "location": "global",
1498
- "id": "global::Promise"
1499
- },
1500
- "KeyboardEvent": {
1501
- "location": "global",
1502
- "id": "global::KeyboardEvent"
1503
- }
1504
- },
1505
- "return": "Promise<void>"
1506
- },
1507
- "docs": {
1508
- "text": "Used alongside activationType\nIf menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.",
1509
- "tags": [{
1510
- "name": "param",
1511
- "text": "event - keyboard event"
1512
- }]
1513
- }
1514
- },
1515
- "handleSetFirstOption": {
1516
- "complexType": {
1517
- "signature": "() => Promise<void>",
1518
- "parameters": [],
1519
- "references": {
1520
- "Promise": {
1521
- "location": "global",
1522
- "id": "global::Promise"
1523
- }
1524
- },
1525
- "return": "Promise<void>"
1526
- },
1527
- "docs": {
1528
- "text": "",
1529
- "tags": [{
1530
- "name": "internal",
1531
- "text": "Used to highlight the first option in the menu."
1532
- }]
1533
- }
1534
- },
1535
- "initPopperJs": {
1536
- "complexType": {
1537
- "signature": "(anchor: HTMLElement) => Promise<void>",
1538
- "parameters": [{
1539
- "name": "anchor",
1540
- "type": "HTMLElement",
1541
- "docs": ""
1542
- }],
1543
- "references": {
1544
- "Promise": {
1545
- "location": "global",
1546
- "id": "global::Promise"
1547
- },
1548
- "HTMLElement": {
1549
- "location": "global",
1550
- "id": "global::HTMLElement"
1551
- }
1552
- },
1553
- "return": "Promise<void>"
1554
- },
1555
- "docs": {
1556
- "text": "",
1557
- "tags": [{
1558
- "name": "internal",
1559
- "text": "Used to initialize popperJS with an anchor element.\n5/12/2023: Tested with Floating UI, however, discovered inconsistent\nboundary behaviour so sticking with PopperJS."
1560
- }]
1561
- }
1562
- }
1563
- };
1564
- }
1565
- static get elementRef() { return "el"; }
1566
- static get watchers() {
1567
- return [{
1568
- "propName": "open",
1569
- "methodName": "watchOpenHandler"
1570
- }, {
1571
- "propName": "options",
1572
- "methodName": "watchOptionsHandler"
1573
- }];
1574
- }
1575
- }
1576
- //# sourceMappingURL=ic-menu.js.map
997
+ get host() { return getElement(this); }
998
+ static get watchers() { return {
999
+ "open": ["watchOpenHandler"],
1000
+ "options": ["watchOptionsHandler"]
1001
+ }; }
1002
+ };
1003
+ Menu.style = icMenuCss;
1004
+
1005
+ export { InputComponentContainer as ic_input_component_container, InputContainer as ic_input_container, Menu as ic_menu };
1006
+
1007
+ //# sourceMappingURL=ic-input-component-container_3.entry.js.map