@ukic/canary-web-components 3.0.0-canary.1 → 3.0.0-canary.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (736) hide show
  1. package/README.md +3 -2
  2. package/dist/cjs/core.cjs.js +1 -1
  3. package/dist/cjs/{helpers-6817cfbb.js → helpers-02b23286.js} +65 -155
  4. package/dist/cjs/helpers-02b23286.js.map +1 -0
  5. package/dist/cjs/{helpers-33b42cd6.js → helpers-ce248d54.js} +80 -29
  6. package/dist/cjs/helpers-ce248d54.js.map +1 -0
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js +10 -10
  8. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-accordion.cjs.entry.js +12 -5
  10. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-alert.cjs.entry.js +9 -14
  12. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js +8 -5
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-badge.cjs.entry.js +26 -3
  16. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +43 -20
  18. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js +47 -3
  20. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-button_3.cjs.entry.js +28 -26
  22. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-card-horizontal.cjs.entry.js +33 -35
  24. package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-card-vertical.cjs.entry.js +48 -47
  26. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js +21 -6
  28. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-checkbox.cjs.entry.js +10 -4
  30. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-chip.cjs.entry.js +27 -15
  32. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +7 -7
  37. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-data-table.cjs.entry.js +378 -108
  39. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-date-input.cjs.entry.js +23 -18
  41. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-date-picker.cjs.entry.js +16 -5
  43. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-dialog.cjs.entry.js +13 -5
  45. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-divider.cjs.entry.js +73 -9
  47. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-empty-state_2.cjs.entry.js +101 -43
  49. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-footer-link-group.cjs.entry.js +6 -7
  51. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-footer-link.cjs.entry.js +7 -6
  53. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-footer.cjs.entry.js +24 -14
  55. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-hero.cjs.entry.js +7 -15
  57. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +17 -9
  59. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1016 -0
  61. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  62. package/dist/cjs/ic-input-label_2.cjs.entry.js +82 -0
  63. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  64. package/dist/cjs/ic-link.cjs.entry.js +10 -12
  65. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-menu-group.cjs.entry.js +3 -3
  67. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-menu-item.cjs.entry.js +25 -18
  69. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-navigation-button.cjs.entry.js +11 -8
  71. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-navigation-group.cjs.entry.js +10 -8
  73. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-navigation-item.cjs.entry.js +60 -8
  75. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -4
  77. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-page-header.cjs.entry.js +8 -6
  79. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-pagination_4.cjs.entry.js +267 -112
  81. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-popover-menu.cjs.entry.js +47 -25
  83. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-radio-group.cjs.entry.js +58 -28
  85. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-radio-option.cjs.entry.js +42 -22
  87. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-search-bar.cjs.entry.js +54 -56
  89. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-side-navigation.cjs.entry.js +16 -11
  91. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
  93. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-status-tag.cjs.entry.js +5 -4
  95. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-step.cjs.entry.js +4 -5
  97. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-stepper.cjs.entry.js +12 -2
  99. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-switch.cjs.entry.js +21 -16
  101. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-tab-context.cjs.entry.js +60 -123
  103. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -19
  105. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  107. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tab.cjs.entry.js +10 -8
  109. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-theme.cjs.entry.js +20 -20
  111. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-toast.cjs.entry.js +4 -4
  113. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +62 -12
  115. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-toggle-button.cjs.entry.js +64 -9
  117. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-top-navigation.cjs.entry.js +13 -7
  119. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ic-tree-item.cjs.entry.js +22 -16
  121. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-tree-view.cjs.entry.js +45 -23
  123. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ic-typography.cjs.entry.js +5 -3
  125. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  126. package/dist/cjs/index-4cf27b16.js +4 -12
  127. package/dist/cjs/loader.cjs.js +1 -1
  128. package/dist/collection/collection-manifest.json +0 -2
  129. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.css +26 -26
  130. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +63 -38
  131. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  132. package/dist/collection/components/ic-card-horizontal/test/basic/ic-card-horizontal.spec.js +10 -0
  133. package/dist/collection/components/ic-card-horizontal/test/basic/ic-card-horizontal.spec.js.map +1 -1
  134. package/dist/collection/components/ic-data-table/ic-data-table.css +177 -23
  135. package/dist/collection/components/ic-data-table/ic-data-table.js +480 -127
  136. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  137. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  138. package/dist/collection/components/ic-data-table/story-data.js +425 -7
  139. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  140. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +123 -2
  141. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  142. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +9 -4
  143. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +5 -5
  144. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  145. package/dist/collection/components/ic-date-input/ic-date-input.css +74 -9
  146. package/dist/collection/components/ic-date-input/ic-date-input.js +67 -18
  147. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  148. package/dist/collection/components/ic-date-picker/ic-date-picker.css +18 -16
  149. package/dist/collection/components/ic-date-picker/ic-date-picker.js +59 -4
  150. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  151. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +4 -7
  152. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +213 -46
  153. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  154. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js +2 -0
  155. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js.map +1 -0
  156. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +20 -2
  157. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
  158. package/dist/collection/components/ic-tree-item/ic-tree-item.css +51 -26
  159. package/dist/collection/components/ic-tree-item/ic-tree-item.js +84 -44
  160. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  161. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js +3 -0
  162. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js.map +1 -1
  163. package/dist/collection/components/ic-tree-view/ic-tree-view.css +31 -8
  164. package/dist/collection/components/ic-tree-view/ic-tree-view.js +117 -37
  165. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  166. package/dist/collection/utils/helpers.js +53 -34
  167. package/dist/collection/utils/helpers.js.map +1 -1
  168. package/dist/collection/utils/types.js +6 -6
  169. package/dist/collection/utils/types.js.map +1 -1
  170. package/dist/components/helpers.js +73 -26
  171. package/dist/components/helpers.js.map +1 -1
  172. package/dist/components/helpers2.js +60 -145
  173. package/dist/components/helpers2.js.map +1 -1
  174. package/dist/components/ic-accordion-group.js +11 -11
  175. package/dist/components/ic-accordion-group.js.map +1 -1
  176. package/dist/components/ic-accordion.js +14 -6
  177. package/dist/components/ic-accordion.js.map +1 -1
  178. package/dist/components/ic-alert.js +12 -16
  179. package/dist/components/ic-alert.js.map +1 -1
  180. package/dist/components/ic-back-to-top.js +9 -5
  181. package/dist/components/ic-back-to-top.js.map +1 -1
  182. package/dist/components/ic-badge.js +28 -5
  183. package/dist/components/ic-badge.js.map +1 -1
  184. package/dist/components/ic-breadcrumb-group.js +44 -20
  185. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  186. package/dist/components/ic-breadcrumb2.js +49 -3
  187. package/dist/components/ic-breadcrumb2.js.map +1 -1
  188. package/dist/components/ic-button2.js +21 -20
  189. package/dist/components/ic-button2.js.map +1 -1
  190. package/dist/components/ic-card-horizontal.js +38 -37
  191. package/dist/components/ic-card-horizontal.js.map +1 -1
  192. package/dist/components/ic-card-vertical.js +54 -50
  193. package/dist/components/ic-card-vertical.js.map +1 -1
  194. package/dist/components/ic-checkbox-group.js +25 -7
  195. package/dist/components/ic-checkbox-group.js.map +1 -1
  196. package/dist/components/ic-checkbox.js +12 -4
  197. package/dist/components/ic-checkbox.js.map +1 -1
  198. package/dist/components/ic-chip.js +32 -16
  199. package/dist/components/ic-chip.js.map +1 -1
  200. package/dist/components/ic-classification-banner.js +1 -1
  201. package/dist/components/ic-classification-banner.js.map +1 -1
  202. package/dist/components/ic-data-row.js +1 -1
  203. package/dist/components/ic-data-table-title-bar.js +6 -6
  204. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  205. package/dist/components/ic-data-table.js +383 -108
  206. package/dist/components/ic-data-table.js.map +1 -1
  207. package/dist/components/ic-date-input2.js +26 -18
  208. package/dist/components/ic-date-input2.js.map +1 -1
  209. package/dist/components/ic-date-picker.js +19 -5
  210. package/dist/components/ic-date-picker.js.map +1 -1
  211. package/dist/components/ic-dialog.js +13 -4
  212. package/dist/components/ic-dialog.js.map +1 -1
  213. package/dist/components/ic-divider2.js +89 -12
  214. package/dist/components/ic-divider2.js.map +1 -1
  215. package/dist/components/ic-empty-state2.js +10 -17
  216. package/dist/components/ic-empty-state2.js.map +1 -1
  217. package/dist/components/ic-footer-link-group.js +7 -8
  218. package/dist/components/ic-footer-link-group.js.map +1 -1
  219. package/dist/components/ic-footer-link.js +8 -7
  220. package/dist/components/ic-footer-link.js.map +1 -1
  221. package/dist/components/ic-footer.js +25 -15
  222. package/dist/components/ic-footer.js.map +1 -1
  223. package/dist/components/ic-hero.js +9 -17
  224. package/dist/components/ic-hero.js.map +1 -1
  225. package/dist/components/ic-horizontal-scroll2.js +19 -9
  226. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  227. package/dist/components/ic-input-component-container2.js +23 -32
  228. package/dist/components/ic-input-component-container2.js.map +1 -1
  229. package/dist/components/ic-input-label2.js +19 -20
  230. package/dist/components/ic-input-label2.js.map +1 -1
  231. package/dist/components/ic-input-validation2.js +9 -9
  232. package/dist/components/ic-input-validation2.js.map +1 -1
  233. package/dist/components/ic-link2.js +13 -15
  234. package/dist/components/ic-link2.js.map +1 -1
  235. package/dist/components/ic-loading-indicator2.js +11 -9
  236. package/dist/components/ic-loading-indicator2.js.map +1 -1
  237. package/dist/components/ic-menu-group.js +2 -2
  238. package/dist/components/ic-menu-group.js.map +1 -1
  239. package/dist/components/ic-menu-item2.js +30 -21
  240. package/dist/components/ic-menu-item2.js.map +1 -1
  241. package/dist/components/ic-menu2.js +472 -175
  242. package/dist/components/ic-menu2.js.map +1 -1
  243. package/dist/components/ic-navigation-button.js +13 -9
  244. package/dist/components/ic-navigation-button.js.map +1 -1
  245. package/dist/components/ic-navigation-group.js +12 -9
  246. package/dist/components/ic-navigation-group.js.map +1 -1
  247. package/dist/components/ic-navigation-item.js +64 -10
  248. package/dist/components/ic-navigation-item.js.map +1 -1
  249. package/dist/components/ic-navigation-menu2.js +6 -4
  250. package/dist/components/ic-navigation-menu2.js.map +1 -1
  251. package/dist/components/ic-page-header.js +9 -6
  252. package/dist/components/ic-page-header.js.map +1 -1
  253. package/dist/components/ic-pagination-bar2.js +106 -32
  254. package/dist/components/ic-pagination-bar2.js.map +1 -1
  255. package/dist/components/ic-pagination-item2.js +15 -12
  256. package/dist/components/ic-pagination-item2.js.map +1 -1
  257. package/dist/components/ic-pagination2.js +25 -15
  258. package/dist/components/ic-pagination2.js.map +1 -1
  259. package/dist/components/ic-popover-menu.js +50 -26
  260. package/dist/components/ic-popover-menu.js.map +1 -1
  261. package/dist/components/ic-radio-group.js +61 -29
  262. package/dist/components/ic-radio-group.js.map +1 -1
  263. package/dist/components/ic-radio-option.js +45 -23
  264. package/dist/components/ic-radio-option.js.map +1 -1
  265. package/dist/components/ic-search-bar.js +70 -81
  266. package/dist/components/ic-search-bar.js.map +1 -1
  267. package/dist/components/ic-select2.js +196 -67
  268. package/dist/components/ic-select2.js.map +1 -1
  269. package/dist/components/ic-side-navigation.js +17 -12
  270. package/dist/components/ic-side-navigation.js.map +1 -1
  271. package/dist/components/ic-skeleton.js +5 -5
  272. package/dist/components/ic-skeleton.js.map +1 -1
  273. package/dist/components/ic-status-tag.js +5 -3
  274. package/dist/components/ic-status-tag.js.map +1 -1
  275. package/dist/components/ic-step.js +4 -4
  276. package/dist/components/ic-step.js.map +1 -1
  277. package/dist/components/ic-stepper.js +14 -3
  278. package/dist/components/ic-stepper.js.map +1 -1
  279. package/dist/components/ic-switch.js +24 -18
  280. package/dist/components/ic-switch.js.map +1 -1
  281. package/dist/components/ic-tab-context.js +60 -123
  282. package/dist/components/ic-tab-context.js.map +1 -1
  283. package/dist/components/ic-tab-group.js +2 -18
  284. package/dist/components/ic-tab-group.js.map +1 -1
  285. package/dist/components/ic-tab-panel.js +1 -1
  286. package/dist/components/ic-tab-panel.js.map +1 -1
  287. package/dist/components/ic-tab.js +10 -8
  288. package/dist/components/ic-tab.js.map +1 -1
  289. package/dist/components/ic-text-field2.js +46 -24
  290. package/dist/components/ic-text-field2.js.map +1 -1
  291. package/dist/components/ic-theme.js +22 -22
  292. package/dist/components/ic-theme.js.map +1 -1
  293. package/dist/components/ic-toast.js +4 -4
  294. package/dist/components/ic-toast.js.map +1 -1
  295. package/dist/components/ic-toggle-button-group.js +75 -14
  296. package/dist/components/ic-toggle-button-group.js.map +1 -1
  297. package/dist/components/ic-toggle-button.js +76 -17
  298. package/dist/components/ic-toggle-button.js.map +1 -1
  299. package/dist/components/ic-tooltip2.js +1 -1
  300. package/dist/components/ic-tooltip2.js.map +1 -1
  301. package/dist/components/ic-top-navigation.js +15 -8
  302. package/dist/components/ic-top-navigation.js.map +1 -1
  303. package/dist/components/ic-tree-item.js +27 -18
  304. package/dist/components/ic-tree-item.js.map +1 -1
  305. package/dist/components/ic-tree-view.js +54 -27
  306. package/dist/components/ic-tree-view.js.map +1 -1
  307. package/dist/components/ic-typography2.js +4 -2
  308. package/dist/components/ic-typography2.js.map +1 -1
  309. package/dist/core/core.css +1601 -77
  310. package/dist/core/core.esm.js +1 -1
  311. package/dist/core/core.esm.js.map +1 -1
  312. package/dist/core/p-0054bdc2.entry.js +2 -0
  313. package/dist/core/p-0054bdc2.entry.js.map +1 -0
  314. package/dist/core/p-01a23e24.entry.js +2 -0
  315. package/dist/core/p-01a23e24.entry.js.map +1 -0
  316. package/dist/core/{p-5f5403e2.entry.js → p-01ab3a15.entry.js} +2 -2
  317. package/dist/core/{p-5f5403e2.entry.js.map → p-01ab3a15.entry.js.map} +1 -1
  318. package/dist/core/p-063911a8.entry.js +2 -0
  319. package/dist/core/p-063911a8.entry.js.map +1 -0
  320. package/dist/core/{p-bf670360.entry.js → p-0c5d45e1.entry.js} +2 -2
  321. package/dist/core/p-0c5d45e1.entry.js.map +1 -0
  322. package/dist/core/p-0c9155f4.entry.js +2 -0
  323. package/dist/core/p-0c9155f4.entry.js.map +1 -0
  324. package/dist/core/p-14098257.entry.js +2 -0
  325. package/dist/core/p-14098257.entry.js.map +1 -0
  326. package/dist/core/p-157b47bc.entry.js +2 -0
  327. package/dist/core/p-157b47bc.entry.js.map +1 -0
  328. package/dist/core/{p-266341f5.entry.js → p-15a5cce5.entry.js} +2 -2
  329. package/dist/core/{p-266341f5.entry.js.map → p-15a5cce5.entry.js.map} +1 -1
  330. package/dist/core/{p-306def43.entry.js → p-1658e577.entry.js} +2 -2
  331. package/dist/core/p-1658e577.entry.js.map +1 -0
  332. package/dist/core/p-2169e75b.entry.js +2 -0
  333. package/dist/core/p-2169e75b.entry.js.map +1 -0
  334. package/dist/core/p-26aff39e.entry.js +2 -0
  335. package/dist/core/p-26aff39e.entry.js.map +1 -0
  336. package/dist/core/p-27b1223d.entry.js +2 -0
  337. package/dist/core/p-27b1223d.entry.js.map +1 -0
  338. package/dist/core/p-32726b89.entry.js +2 -0
  339. package/dist/core/p-32726b89.entry.js.map +1 -0
  340. package/dist/core/p-33110185.entry.js +2 -0
  341. package/dist/core/p-33110185.entry.js.map +1 -0
  342. package/dist/core/p-3963201d.entry.js +2 -0
  343. package/dist/core/p-3963201d.entry.js.map +1 -0
  344. package/dist/core/p-41bfa3e5.entry.js +2 -0
  345. package/dist/core/p-41bfa3e5.entry.js.map +1 -0
  346. package/dist/core/p-4347f05c.entry.js +2 -0
  347. package/dist/core/p-4347f05c.entry.js.map +1 -0
  348. package/dist/core/{p-d8563643.entry.js → p-45177148.entry.js} +2 -2
  349. package/dist/core/p-45177148.entry.js.map +1 -0
  350. package/dist/core/p-47a1ce8d.entry.js +2 -0
  351. package/dist/core/p-47a1ce8d.entry.js.map +1 -0
  352. package/dist/core/p-4f96bec1.entry.js +2 -0
  353. package/dist/core/p-4f96bec1.entry.js.map +1 -0
  354. package/dist/core/p-51058719.entry.js +2 -0
  355. package/dist/core/p-51058719.entry.js.map +1 -0
  356. package/dist/core/p-5193184c.entry.js +2 -0
  357. package/dist/core/p-5193184c.entry.js.map +1 -0
  358. package/dist/core/p-51faa4ba.entry.js +2 -0
  359. package/dist/core/p-51faa4ba.entry.js.map +1 -0
  360. package/dist/core/p-54dc696e.entry.js +2 -0
  361. package/dist/core/p-54dc696e.entry.js.map +1 -0
  362. package/dist/core/p-6188f029.entry.js +2 -0
  363. package/dist/core/p-6188f029.entry.js.map +1 -0
  364. package/dist/core/p-6ac8e09b.entry.js +2 -0
  365. package/dist/core/p-6ac8e09b.entry.js.map +1 -0
  366. package/dist/core/p-71496305.entry.js +2 -0
  367. package/dist/core/p-71496305.entry.js.map +1 -0
  368. package/dist/core/p-77157922.entry.js +2 -0
  369. package/dist/core/p-77157922.entry.js.map +1 -0
  370. package/dist/core/p-78ed3070.entry.js +2 -0
  371. package/dist/core/p-78ed3070.entry.js.map +1 -0
  372. package/dist/core/p-794ff553.entry.js +2 -0
  373. package/dist/core/p-794ff553.entry.js.map +1 -0
  374. package/dist/core/p-82b408ad.entry.js +2 -0
  375. package/dist/core/p-82b408ad.entry.js.map +1 -0
  376. package/dist/core/p-88913402.entry.js +2 -0
  377. package/dist/core/p-88913402.entry.js.map +1 -0
  378. package/dist/core/p-897fac99.js +2 -0
  379. package/dist/core/p-897fac99.js.map +1 -0
  380. package/dist/core/p-8e56516a.entry.js +2 -0
  381. package/dist/core/p-8e56516a.entry.js.map +1 -0
  382. package/dist/core/p-8ebd64ae.entry.js +2 -0
  383. package/dist/core/p-8ebd64ae.entry.js.map +1 -0
  384. package/dist/core/{p-c21d0db8.entry.js → p-9462f294.entry.js} +2 -2
  385. package/dist/core/p-9462f294.entry.js.map +1 -0
  386. package/dist/core/p-94efa0d2.entry.js +2 -0
  387. package/dist/core/p-94efa0d2.entry.js.map +1 -0
  388. package/dist/core/p-9a392c41.entry.js +2 -0
  389. package/dist/core/p-9a392c41.entry.js.map +1 -0
  390. package/dist/core/p-a04712b9.js +2 -0
  391. package/dist/core/p-a04712b9.js.map +1 -0
  392. package/dist/core/p-a1cf5884.entry.js +2 -0
  393. package/dist/core/p-a1cf5884.entry.js.map +1 -0
  394. package/dist/core/{p-73b40c79.entry.js → p-a1d5fff2.entry.js} +2 -2
  395. package/dist/core/p-a1d5fff2.entry.js.map +1 -0
  396. package/dist/core/p-a69ef3eb.entry.js +2 -0
  397. package/dist/core/p-a69ef3eb.entry.js.map +1 -0
  398. package/dist/core/p-abda7e21.entry.js +2 -0
  399. package/dist/core/p-abda7e21.entry.js.map +1 -0
  400. package/dist/core/p-abdd8560.entry.js +2 -0
  401. package/dist/core/p-abdd8560.entry.js.map +1 -0
  402. package/dist/core/p-ace8126b.entry.js +2 -0
  403. package/dist/core/p-ace8126b.entry.js.map +1 -0
  404. package/dist/core/p-b2a6f0dd.entry.js +2 -0
  405. package/dist/core/p-b2a6f0dd.entry.js.map +1 -0
  406. package/dist/core/p-b5a5fe39.entry.js +2 -0
  407. package/dist/core/p-b5a5fe39.entry.js.map +1 -0
  408. package/dist/core/{p-d03374fc.entry.js → p-b717ae40.entry.js} +2 -2
  409. package/dist/core/p-b85466a7.entry.js +2 -0
  410. package/dist/core/p-b85466a7.entry.js.map +1 -0
  411. package/dist/core/p-bd4401d5.entry.js +2 -0
  412. package/dist/core/p-bd4401d5.entry.js.map +1 -0
  413. package/dist/core/p-bd87bf33.entry.js +2 -0
  414. package/dist/core/p-bd87bf33.entry.js.map +1 -0
  415. package/dist/core/{p-5f313e1a.entry.js → p-be1ec9aa.entry.js} +2 -2
  416. package/dist/core/p-be1ec9aa.entry.js.map +1 -0
  417. package/dist/core/p-c035d7b9.entry.js +2 -0
  418. package/dist/core/p-c035d7b9.entry.js.map +1 -0
  419. package/dist/core/p-ce923b92.entry.js +2 -0
  420. package/dist/core/p-ce923b92.entry.js.map +1 -0
  421. package/dist/core/p-d2b2b7df.entry.js +2 -0
  422. package/dist/core/p-d2b2b7df.entry.js.map +1 -0
  423. package/dist/core/p-e1df1b9a.entry.js +2 -0
  424. package/dist/core/p-e1df1b9a.entry.js.map +1 -0
  425. package/dist/core/p-e3e0cf46.entry.js +2 -0
  426. package/dist/core/p-e3e0cf46.entry.js.map +1 -0
  427. package/dist/core/p-f3d2af04.entry.js +2 -0
  428. package/dist/core/p-f3d2af04.entry.js.map +1 -0
  429. package/dist/core/{p-f1072c28.entry.js → p-f64abdff.entry.js} +2 -2
  430. package/dist/core/p-f64abdff.entry.js.map +1 -0
  431. package/dist/core/p-fc155ae2.entry.js +2 -0
  432. package/dist/core/p-fc155ae2.entry.js.map +1 -0
  433. package/dist/core/p-ffb11ad1.entry.js +2 -0
  434. package/dist/core/p-ffb11ad1.entry.js.map +1 -0
  435. package/dist/esm/core.js +1 -1
  436. package/dist/esm/{helpers-5bd2012a.js → helpers-0f42cb46.js} +61 -146
  437. package/dist/esm/helpers-0f42cb46.js.map +1 -0
  438. package/dist/esm/{helpers-dab8ddfe.js → helpers-56c75bf4.js} +74 -27
  439. package/dist/esm/helpers-56c75bf4.js.map +1 -0
  440. package/dist/esm/ic-accordion-group.entry.js +10 -10
  441. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  442. package/dist/esm/ic-accordion.entry.js +12 -5
  443. package/dist/esm/ic-accordion.entry.js.map +1 -1
  444. package/dist/esm/ic-alert.entry.js +10 -15
  445. package/dist/esm/ic-alert.entry.js.map +1 -1
  446. package/dist/esm/ic-back-to-top.entry.js +9 -6
  447. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  448. package/dist/esm/ic-badge.entry.js +26 -3
  449. package/dist/esm/ic-badge.entry.js.map +1 -1
  450. package/dist/esm/ic-breadcrumb-group.entry.js +43 -20
  451. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  452. package/dist/esm/ic-breadcrumb.entry.js +47 -3
  453. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  454. package/dist/esm/ic-button_3.entry.js +28 -26
  455. package/dist/esm/ic-button_3.entry.js.map +1 -1
  456. package/dist/esm/ic-card-horizontal.entry.js +34 -36
  457. package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
  458. package/dist/esm/ic-card-vertical.entry.js +49 -48
  459. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  460. package/dist/esm/ic-checkbox-group.entry.js +21 -6
  461. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  462. package/dist/esm/ic-checkbox.entry.js +10 -4
  463. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  464. package/dist/esm/ic-chip.entry.js +28 -16
  465. package/dist/esm/ic-chip.entry.js.map +1 -1
  466. package/dist/esm/ic-classification-banner.entry.js +1 -1
  467. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  468. package/dist/esm/ic-data-row.entry.js +1 -1
  469. package/dist/esm/ic-data-table-title-bar.entry.js +7 -7
  470. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  471. package/dist/esm/ic-data-table.entry.js +378 -108
  472. package/dist/esm/ic-data-table.entry.js.map +1 -1
  473. package/dist/esm/ic-date-input.entry.js +23 -18
  474. package/dist/esm/ic-date-input.entry.js.map +1 -1
  475. package/dist/esm/ic-date-picker.entry.js +16 -5
  476. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  477. package/dist/esm/ic-dialog.entry.js +13 -5
  478. package/dist/esm/ic-dialog.entry.js.map +1 -1
  479. package/dist/esm/ic-divider.entry.js +74 -10
  480. package/dist/esm/ic-divider.entry.js.map +1 -1
  481. package/dist/esm/ic-empty-state_2.entry.js +102 -44
  482. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  483. package/dist/esm/ic-footer-link-group.entry.js +6 -7
  484. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  485. package/dist/esm/ic-footer-link.entry.js +7 -6
  486. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  487. package/dist/esm/ic-footer.entry.js +24 -14
  488. package/dist/esm/ic-footer.entry.js.map +1 -1
  489. package/dist/esm/ic-hero.entry.js +8 -16
  490. package/dist/esm/ic-hero.entry.js.map +1 -1
  491. package/dist/esm/ic-horizontal-scroll.entry.js +17 -9
  492. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  493. package/dist/{collection/components/ic-menu-with-multi/ic-menu.js → esm/ic-input-component-container_3.entry.js} +173 -739
  494. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  495. package/dist/esm/ic-input-label_2.entry.js +77 -0
  496. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  497. package/dist/esm/ic-link.entry.js +10 -12
  498. package/dist/esm/ic-link.entry.js.map +1 -1
  499. package/dist/esm/ic-menu-group.entry.js +3 -3
  500. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  501. package/dist/esm/ic-menu-item.entry.js +25 -18
  502. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  503. package/dist/esm/ic-navigation-button.entry.js +11 -8
  504. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  505. package/dist/esm/ic-navigation-group.entry.js +10 -8
  506. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  507. package/dist/esm/ic-navigation-item.entry.js +61 -9
  508. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  509. package/dist/esm/ic-navigation-menu.entry.js +5 -4
  510. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  511. package/dist/esm/ic-page-header.entry.js +8 -6
  512. package/dist/esm/ic-page-header.entry.js.map +1 -1
  513. package/dist/esm/ic-pagination_4.entry.js +267 -112
  514. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  515. package/dist/esm/ic-popover-menu.entry.js +47 -25
  516. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  517. package/dist/esm/ic-radio-group.entry.js +58 -28
  518. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  519. package/dist/esm/ic-radio-option.entry.js +42 -22
  520. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  521. package/dist/esm/ic-search-bar.entry.js +54 -56
  522. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  523. package/dist/esm/ic-side-navigation.entry.js +16 -11
  524. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  525. package/dist/esm/ic-skeleton.entry.js +4 -4
  526. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  527. package/dist/esm/ic-status-tag.entry.js +5 -4
  528. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  529. package/dist/esm/ic-step.entry.js +4 -5
  530. package/dist/esm/ic-step.entry.js.map +1 -1
  531. package/dist/esm/ic-stepper.entry.js +12 -2
  532. package/dist/esm/ic-stepper.entry.js.map +1 -1
  533. package/dist/esm/ic-switch.entry.js +21 -16
  534. package/dist/esm/ic-switch.entry.js.map +1 -1
  535. package/dist/esm/ic-tab-context.entry.js +60 -123
  536. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  537. package/dist/esm/ic-tab-group.entry.js +3 -19
  538. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  539. package/dist/esm/ic-tab-panel.entry.js +2 -2
  540. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  541. package/dist/esm/ic-tab.entry.js +10 -8
  542. package/dist/esm/ic-tab.entry.js.map +1 -1
  543. package/dist/esm/ic-theme.entry.js +20 -20
  544. package/dist/esm/ic-theme.entry.js.map +1 -1
  545. package/dist/esm/ic-toast.entry.js +4 -4
  546. package/dist/esm/ic-toast.entry.js.map +1 -1
  547. package/dist/esm/ic-toggle-button-group.entry.js +62 -12
  548. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  549. package/dist/esm/ic-toggle-button.entry.js +64 -9
  550. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  551. package/dist/esm/ic-top-navigation.entry.js +13 -7
  552. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  553. package/dist/esm/ic-tree-item.entry.js +23 -17
  554. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  555. package/dist/esm/ic-tree-view.entry.js +46 -24
  556. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  557. package/dist/esm/ic-typography.entry.js +5 -3
  558. package/dist/esm/ic-typography.entry.js.map +1 -1
  559. package/dist/esm/index-93509377.js +4 -12
  560. package/dist/esm/loader.js +1 -1
  561. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +8 -4
  562. package/dist/types/components/ic-data-table/ic-data-table.d.ts +50 -5
  563. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +11 -0
  564. package/dist/types/components/ic-data-table/story-data.d.ts +223 -0
  565. package/dist/types/components/ic-date-input/ic-date-input.d.ts +10 -1
  566. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +10 -1
  567. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +33 -8
  568. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.types.d.ts +4 -0
  569. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +16 -7
  570. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +19 -5
  571. package/dist/types/components.d.ts +189 -488
  572. package/dist/types/utils/helpers.d.ts +14 -11
  573. package/dist/types/utils/types.d.ts +17 -12
  574. package/hydrate/index.js +5118 -7475
  575. package/package.json +12 -10
  576. package/dist/cjs/helpers-33b42cd6.js.map +0 -1
  577. package/dist/cjs/helpers-6817cfbb.js.map +0 -1
  578. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +0 -156
  579. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +0 -1
  580. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +0 -2738
  581. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +0 -1
  582. package/dist/cjs/ic-menu.cjs.entry.js +0 -658
  583. package/dist/cjs/ic-menu.cjs.entry.js.map +0 -1
  584. package/dist/cjs/ic-select-with-multi.cjs.entry.js +0 -788
  585. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +0 -1
  586. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +0 -712
  587. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +0 -1
  588. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +0 -1057
  589. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +0 -1
  590. package/dist/collection/components/ic-select-with-multi/assets/Check.svg +0 -3
  591. package/dist/collection/components/ic-select-with-multi/assets/Clear.svg +0 -3
  592. package/dist/collection/components/ic-select-with-multi/assets/Expand.svg +0 -3
  593. package/dist/collection/components/ic-select-with-multi/ic-select.css +0 -695
  594. package/dist/collection/components/ic-select-with-multi/ic-select.js +0 -1520
  595. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +0 -1
  596. package/dist/collection/components/ic-select-with-multi/story-data.js +0 -216
  597. package/dist/collection/components/ic-select-with-multi/story-data.js.map +0 -1
  598. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +0 -1518
  599. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +0 -1
  600. package/dist/components/ic-menu-with-multi.d.ts +0 -11
  601. package/dist/components/ic-menu-with-multi.js +0 -8
  602. package/dist/components/ic-menu-with-multi.js.map +0 -1
  603. package/dist/components/ic-menu3.js +0 -2803
  604. package/dist/components/ic-menu3.js.map +0 -1
  605. package/dist/components/ic-select-with-multi.d.ts +0 -11
  606. package/dist/components/ic-select-with-multi.js +0 -906
  607. package/dist/components/ic-select-with-multi.js.map +0 -1
  608. package/dist/core/p-06eeb7f2.entry.js +0 -2
  609. package/dist/core/p-06eeb7f2.entry.js.map +0 -1
  610. package/dist/core/p-0922c552.entry.js +0 -2
  611. package/dist/core/p-0922c552.entry.js.map +0 -1
  612. package/dist/core/p-0bc0e852.entry.js +0 -2
  613. package/dist/core/p-0bc0e852.entry.js.map +0 -1
  614. package/dist/core/p-108a9029.entry.js +0 -2
  615. package/dist/core/p-108a9029.entry.js.map +0 -1
  616. package/dist/core/p-13100d3c.entry.js +0 -2
  617. package/dist/core/p-13100d3c.entry.js.map +0 -1
  618. package/dist/core/p-1769df1d.entry.js +0 -2
  619. package/dist/core/p-1769df1d.entry.js.map +0 -1
  620. package/dist/core/p-202bc922.entry.js +0 -2
  621. package/dist/core/p-202bc922.entry.js.map +0 -1
  622. package/dist/core/p-297e99cf.js +0 -2
  623. package/dist/core/p-297e99cf.js.map +0 -1
  624. package/dist/core/p-306def43.entry.js.map +0 -1
  625. package/dist/core/p-30b046b2.entry.js +0 -2
  626. package/dist/core/p-30b046b2.entry.js.map +0 -1
  627. package/dist/core/p-3778cc5e.entry.js +0 -2
  628. package/dist/core/p-3778cc5e.entry.js.map +0 -1
  629. package/dist/core/p-383a5a76.entry.js +0 -2
  630. package/dist/core/p-383a5a76.entry.js.map +0 -1
  631. package/dist/core/p-3a0510e2.entry.js +0 -2
  632. package/dist/core/p-3a0510e2.entry.js.map +0 -1
  633. package/dist/core/p-3ace51f5.entry.js +0 -2
  634. package/dist/core/p-3ace51f5.entry.js.map +0 -1
  635. package/dist/core/p-3f0391c1.entry.js +0 -2
  636. package/dist/core/p-3f0391c1.entry.js.map +0 -1
  637. package/dist/core/p-41fecc61.entry.js +0 -2
  638. package/dist/core/p-41fecc61.entry.js.map +0 -1
  639. package/dist/core/p-46cb94a2.entry.js +0 -2
  640. package/dist/core/p-46cb94a2.entry.js.map +0 -1
  641. package/dist/core/p-4e67f127.entry.js +0 -2
  642. package/dist/core/p-4e67f127.entry.js.map +0 -1
  643. package/dist/core/p-505250cf.entry.js +0 -2
  644. package/dist/core/p-505250cf.entry.js.map +0 -1
  645. package/dist/core/p-50e48f4d.entry.js +0 -2
  646. package/dist/core/p-50e48f4d.entry.js.map +0 -1
  647. package/dist/core/p-56e7459a.entry.js +0 -2
  648. package/dist/core/p-56e7459a.entry.js.map +0 -1
  649. package/dist/core/p-59028160.entry.js +0 -2
  650. package/dist/core/p-59028160.entry.js.map +0 -1
  651. package/dist/core/p-5cfb5821.entry.js +0 -2
  652. package/dist/core/p-5cfb5821.entry.js.map +0 -1
  653. package/dist/core/p-5e6fd734.entry.js +0 -2
  654. package/dist/core/p-5e6fd734.entry.js.map +0 -1
  655. package/dist/core/p-5f313e1a.entry.js.map +0 -1
  656. package/dist/core/p-710c6a42.entry.js +0 -2
  657. package/dist/core/p-710c6a42.entry.js.map +0 -1
  658. package/dist/core/p-73b40c79.entry.js.map +0 -1
  659. package/dist/core/p-77a32de5.entry.js +0 -2
  660. package/dist/core/p-77a32de5.entry.js.map +0 -1
  661. package/dist/core/p-7a9de008.entry.js +0 -2
  662. package/dist/core/p-7a9de008.entry.js.map +0 -1
  663. package/dist/core/p-801414e2.entry.js +0 -2
  664. package/dist/core/p-801414e2.entry.js.map +0 -1
  665. package/dist/core/p-82ba744d.entry.js +0 -2
  666. package/dist/core/p-82ba744d.entry.js.map +0 -1
  667. package/dist/core/p-897b8d16.entry.js +0 -2
  668. package/dist/core/p-897b8d16.entry.js.map +0 -1
  669. package/dist/core/p-9397b15b.js +0 -2
  670. package/dist/core/p-9397b15b.js.map +0 -1
  671. package/dist/core/p-9af6adb1.entry.js +0 -2
  672. package/dist/core/p-9af6adb1.entry.js.map +0 -1
  673. package/dist/core/p-9b54feca.entry.js +0 -2
  674. package/dist/core/p-9b54feca.entry.js.map +0 -1
  675. package/dist/core/p-a57cd616.entry.js +0 -2
  676. package/dist/core/p-a57cd616.entry.js.map +0 -1
  677. package/dist/core/p-a5eaed1a.entry.js +0 -2
  678. package/dist/core/p-a5eaed1a.entry.js.map +0 -1
  679. package/dist/core/p-a78cf2cb.entry.js +0 -2
  680. package/dist/core/p-a78cf2cb.entry.js.map +0 -1
  681. package/dist/core/p-a91340b4.entry.js +0 -2
  682. package/dist/core/p-a91340b4.entry.js.map +0 -1
  683. package/dist/core/p-aee8d45b.entry.js +0 -2
  684. package/dist/core/p-aee8d45b.entry.js.map +0 -1
  685. package/dist/core/p-badd4c8d.entry.js +0 -2
  686. package/dist/core/p-badd4c8d.entry.js.map +0 -1
  687. package/dist/core/p-bf670360.entry.js.map +0 -1
  688. package/dist/core/p-c033e7d6.entry.js +0 -2
  689. package/dist/core/p-c033e7d6.entry.js.map +0 -1
  690. package/dist/core/p-c07af2d8.entry.js +0 -2
  691. package/dist/core/p-c07af2d8.entry.js.map +0 -1
  692. package/dist/core/p-c21d0db8.entry.js.map +0 -1
  693. package/dist/core/p-c678f73d.entry.js +0 -2
  694. package/dist/core/p-c678f73d.entry.js.map +0 -1
  695. package/dist/core/p-c6ae9bad.entry.js +0 -2
  696. package/dist/core/p-c6ae9bad.entry.js.map +0 -1
  697. package/dist/core/p-c6c1e08e.entry.js +0 -2
  698. package/dist/core/p-c6c1e08e.entry.js.map +0 -1
  699. package/dist/core/p-cb6cebdd.entry.js +0 -2
  700. package/dist/core/p-cb6cebdd.entry.js.map +0 -1
  701. package/dist/core/p-d16f364a.entry.js +0 -2
  702. package/dist/core/p-d16f364a.entry.js.map +0 -1
  703. package/dist/core/p-d239c33b.entry.js +0 -2
  704. package/dist/core/p-d239c33b.entry.js.map +0 -1
  705. package/dist/core/p-d8563643.entry.js.map +0 -1
  706. package/dist/core/p-da40757f.entry.js +0 -2
  707. package/dist/core/p-da40757f.entry.js.map +0 -1
  708. package/dist/core/p-de052137.entry.js +0 -2
  709. package/dist/core/p-de052137.entry.js.map +0 -1
  710. package/dist/core/p-e5d99316.entry.js +0 -2
  711. package/dist/core/p-e5d99316.entry.js.map +0 -1
  712. package/dist/core/p-e89bb650.entry.js +0 -2
  713. package/dist/core/p-e89bb650.entry.js.map +0 -1
  714. package/dist/core/p-f1072c28.entry.js.map +0 -1
  715. package/dist/core/p-f37df214.entry.js +0 -2
  716. package/dist/core/p-f37df214.entry.js.map +0 -1
  717. package/dist/core/p-f743b0eb.entry.js +0 -2
  718. package/dist/core/p-f743b0eb.entry.js.map +0 -1
  719. package/dist/core/p-f98b1afc.entry.js +0 -2
  720. package/dist/core/p-f98b1afc.entry.js.map +0 -1
  721. package/dist/core/p-fe13f1ba.entry.js +0 -2
  722. package/dist/core/p-fe13f1ba.entry.js.map +0 -1
  723. package/dist/esm/helpers-5bd2012a.js.map +0 -1
  724. package/dist/esm/helpers-dab8ddfe.js.map +0 -1
  725. package/dist/esm/ic-input-component-container_4.entry.js +0 -149
  726. package/dist/esm/ic-input-component-container_4.entry.js.map +0 -1
  727. package/dist/esm/ic-menu-with-multi.entry.js +0 -2734
  728. package/dist/esm/ic-menu-with-multi.entry.js.map +0 -1
  729. package/dist/esm/ic-menu.entry.js +0 -654
  730. package/dist/esm/ic-menu.entry.js.map +0 -1
  731. package/dist/esm/ic-select-with-multi.entry.js +0 -784
  732. package/dist/esm/ic-select-with-multi.entry.js.map +0 -1
  733. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +0 -214
  734. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +0 -259
  735. package/dist/types/components/ic-select-with-multi/story-data.d.ts +0 -32
  736. /package/dist/core/{p-d03374fc.entry.js.map → p-b717ae40.entry.js.map} +0 -0
@@ -1,12 +1,85 @@
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, h, H as Host, g as getElement, c as createEvent, F as Fragment } from './index-93509377.js';
2
+ import { r as removeDisabledFalse, a as renderDynamicChildSlots, s as slotHasContent, R as IcInformationStatus, T as successIcon, U as isMacDevice, b as onComponentRequiredPropUndefined, P as getOptionsWithoutGroupTitlesCount } from './helpers-56c75bf4.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-color-background-primary));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-color-border-neutral-disabled))}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-space-xxxs) solid\n var(--border-color-error, var(--ic-color-border-error));padding:0}ic-input-component-container.ic-input-component-container-error:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-error-hover, var(--ic-color-border-error-hover))}ic-input-component-container.ic-input-component-container-error:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-error-pressed, var(--ic-color-border-error-pressed))}ic-input-component-container.ic-input-component-container-warning{border:var(--ic-space-xxxs) solid\n var(--border-color-warning, var(--ic-color-border-warning));padding:0}ic-input-component-container.ic-input-component-container-warning:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-warning-hover, var(--ic-color-border-warning-hover))}ic-input-component-container.ic-input-component-container-warning:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-warning-pressed, var(--ic-color-border-warning-pressed))}ic-input-component-container.ic-input-component-container-success{border:var(--ic-space-xxxs) solid\n var(--border-color-success, var(--ic-color-border-success));padding:0}ic-input-component-container.ic-input-component-container-success:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-success-hover, var(--ic-color-border-success-hover))}ic-input-component-container.ic-input-component-container-success:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-success-pressed, var(--ic-color-border-success-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 .inline-success>svg{fill:var(--ic-input-component-container-success-icon-inline-color);height:1.25rem;width:1.25rem}ic-input-component-container:hover{border:var(--ic-input-component-container-hover-border);border-color:var(--border-color-hover, var(--ic-color-border-neutral-hover));color:var(--ic-action-dark-hover)}ic-input-component-container:focus{border:var(--ic-border-pressed);border-color:var(\n --border-color-pressed,\n var(--ic-color-border-neutral-pressed)\n )}.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.disabled = false;
12
+ this.fullWidth = false;
13
+ this.multiLine = false;
14
+ this.readonly = false;
15
+ this.size = "medium";
16
+ this.validationInline = false;
17
+ this.validationStatus = "";
18
+ }
19
+ watchDisabledHandler() {
20
+ removeDisabledFalse(this.disabled, this.el);
21
+ }
22
+ componentWillLoad() {
23
+ removeDisabledFalse(this.disabled, this.el);
24
+ }
25
+ componentDidLoad() {
26
+ this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "left-icon", this));
27
+ this.hostMutationObserver.observe(this.el, { childList: true });
28
+ }
29
+ render() {
30
+ const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
31
+ return (h(Host, { class: {
32
+ [`ic-input-component-container-${size}`]: true,
33
+ [`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
34
+ "ic-input-component-container-disabled": disabled,
35
+ "ic-input-component-container-readonly": readonly,
36
+ "ic-input-component-container-multiline": multiLine,
37
+ "ic-input-component-container-full-width": fullWidth,
38
+ }, "aria-disabled": disabled ? "true" : null }, h("div", { class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), h("slot", null), validationInline &&
39
+ validationStatus === IcInformationStatus.Success && (h("span", { class: "inline-success", innerHTML: successIcon })))));
40
+ }
41
+ get el() { return getElement(this); }
42
+ static get watchers() { return {
43
+ "disabled": ["watchDisabledHandler"]
44
+ }; }
45
+ };
46
+ InputComponentContainer.style = icInputComponentContainerCss;
47
+
48
+ const icInputContainerCss = "ic-input-container .component-container{display:flex;flex-direction:column}";
49
+
50
+ const InputContainer = class {
51
+ constructor(hostRef) {
52
+ registerInstance(this, hostRef);
53
+ this.disabled = false;
54
+ this.readonly = false;
55
+ }
56
+ render() {
57
+ return (h(Host, null, h("div", { class: {
58
+ ["component-container"]: true,
59
+ ["disabled"]: this.disabled,
60
+ ["readonly"]: this.readonly,
61
+ } }, h("slot", null))));
62
+ }
63
+ };
64
+ InputContainer.style = icInputContainerCss;
65
+
66
+ 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-menu-list-option-text-color));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-menu-list-option-text-color)\n );background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );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(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );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-menu-border-color));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-menu-list-option-hover-background-color)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-menu-list-option-pressed-background-color)}.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(\n --menu-item-desc-text-color,\n var(--ic-menu-list-option-description-text-color)\n )}.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-menu-loading-list-option-text-color);--ic-typography-color:var(--ic-menu-loading-list-option-text-color)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-atoms-status-icon-error);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-menu-option-group-label-text-color)}.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-menu-last-recommended-option-border)}.disabled-option.sc-ic-menu{color:var(--ic-atoms-list-option-text-disabled-light);--ic-typography-color:var(--ic-atoms-list-option-text-disabled-light);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-atoms-list-option-text-focused-light) !important;--ic-typography-color:var(\n --ic-atoms-list-option-text-focused-light\n ) !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-menu-option-bar-background-color);visibility:hidden;border-bottom:var(--ic-border-width) solid\n var(--ic-menu-option-bar-divider-color);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}.disabled-option.sc-ic-menu{color:GrayText;--ic-typography-color:GrayText}}";
67
+
68
+ const Menu = class {
69
+ constructor(hostRef) {
70
+ registerInstance(this, hostRef);
71
+ this.icClear = createEvent(this, "icClear", 7);
72
+ this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
73
+ this.menuOptionId = createEvent(this, "menuOptionId", 7);
74
+ this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
75
+ this.menuOptionSelectAll = createEvent(this, "menuOptionSelectAll", 7);
76
+ this.menuStateChange = createEvent(this, "menuStateChange", 7);
77
+ this.retryButtonClicked = createEvent(this, "retryButtonClicked", 7);
78
+ this.timeoutBlur = createEvent(this, "timeoutBlur", 7);
79
+ this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
80
+ this.ACTIVE_DESCENDANT = "aria-activedescendant";
81
+ this.CLEAR_BUTTON_ID = "clear-button";
82
+ this.SEARCH_BAR_TAG = "IC-SEARCH-BAR";
10
83
  this.disabledOptionSelected = false;
11
84
  this.hasPreviouslyBlurred = false;
12
85
  this.hasTimedOut = false;
@@ -71,11 +144,10 @@ export class Menu {
71
144
  }
72
145
  };
73
146
  this.getParentEl = (parent) => {
74
- if (parent.tagName === "IC-SEARCH-BAR") {
147
+ if (parent.tagName === this.SEARCH_BAR_TAG) {
75
148
  this.isSearchBar = true;
76
149
  }
77
- else if (parent.tagName === "IC-SELECT" ||
78
- parent.tagName === "IC-SELECT-WITH-MULTI") {
150
+ else if (parent.tagName === "IC-SELECT") {
79
151
  if (parent.getAttribute("searchable") !== null &&
80
152
  parent.getAttribute("searchable") !== undefined) {
81
153
  this.isSearchableSelect = true;
@@ -119,13 +191,13 @@ export class Menu {
119
191
  break;
120
192
  case " ":
121
193
  case "Enter":
122
- if (event.target.id !== this.clearButtonId) {
194
+ if (event.target.id !== this.CLEAR_BUTTON_ID) {
123
195
  this.handleMenuChange(true);
124
196
  }
125
197
  break;
126
198
  }
127
199
  };
128
- this.selectHighlightedOption = (target, options, highlightedOptionIndex) => {
200
+ this.selectHighlightedOption = (options, highlightedOptionIndex) => {
129
201
  if (!this.isLoading && !this.hasTimedOut) {
130
202
  this.keyboardNav = true;
131
203
  }
@@ -146,8 +218,7 @@ export class Menu {
146
218
  this.setInputValue(highlightedOptionIndex);
147
219
  }
148
220
  }
149
- else if (target.id !== this.clearButtonId &&
150
- this.isMultiSelect) {
221
+ else {
151
222
  this.handleMenuChange(true);
152
223
  }
153
224
  };
@@ -172,14 +243,12 @@ export class Menu {
172
243
  // Determines keyboard behaviour when selection is manual (i.e. when you have to press Enter to select an option)
173
244
  this.manualSetInputValueKeyboardOpen = (event) => {
174
245
  const menuOptions = this.getMenuOptions();
175
- // Prevent focus disappearing on currently focused option when Shift / Cmd / Ctrl pressed
246
+ // For preventing focus disappearing on currently focused option when Shift / Cmd / Ctrl pressed
176
247
  // (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
- }
248
+ const isKeyboardCombination = event.shiftKey || event.metaKey || event.ctrlKey;
180
249
  const highlightedOptionIndex = this.getOptionHighlightedIndex();
181
250
  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; };
251
+ const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
183
252
  // Space press should be equivalent to Enter when multi-select
184
253
  if (event.key === " " && this.isMultiSelect) {
185
254
  this.handleOptionSelect(event, highlightedOptionIndex);
@@ -296,17 +365,23 @@ export class Menu {
296
365
  break;
297
366
  }
298
367
  case " ":
368
+ if (!isKeyboardCombination) {
369
+ this.keyboardNav = false;
370
+ }
299
371
  if (this.isSearchBar || this.isSearchableSelect) {
300
372
  break;
301
373
  }
302
374
  else {
303
- if (event.target.id !== this.clearButtonId) {
375
+ if (event.target.id !== this.CLEAR_BUTTON_ID) {
304
376
  this.handleMenuChange(true);
305
377
  }
306
378
  }
307
379
  break;
308
380
  case "Enter":
309
381
  event.preventDefault();
382
+ if (!isKeyboardCombination) {
383
+ this.keyboardNav = false;
384
+ }
310
385
  this.handleOptionSelect(event, highlightedOptionIndex);
311
386
  break;
312
387
  case "Escape":
@@ -321,7 +396,7 @@ export class Menu {
321
396
  // Otherwise, if a different OS, checks Ctrl key
322
397
  if ((isMacDevice() && event.metaKey) ||
323
398
  (!isMacDevice() && event.ctrlKey)) {
324
- this.emitSelectAll();
399
+ this.emitSelectAllEvents();
325
400
  this.lastOptionFocused = null;
326
401
  this.lastOptionSelected = null;
327
402
  }
@@ -347,30 +422,11 @@ export class Menu {
347
422
  this.preventIncorrectTabOrder = true;
348
423
  }
349
424
  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
425
  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;
426
+ if (!isKeyboardCombination) {
427
+ this.keyboardNav = false;
373
428
  }
429
+ this.focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex);
374
430
  }
375
431
  }
376
432
  };
@@ -420,12 +476,12 @@ export class Menu {
420
476
  this.handleBlur = (event) => {
421
477
  if (event.relatedTarget !== this.inputEl) {
422
478
  if (event.relatedTarget === this.selectAllButton) {
423
- this.menu.removeAttribute(this.activeDescendantAttr);
479
+ this.menu.removeAttribute(this.ACTIVE_DESCENDANT);
424
480
  }
425
481
  if (!(this.menu.contains(event.relatedTarget) ||
426
482
  event.relatedTarget === this.selectAllButton)) {
427
483
  this.handleMenuChange(false, this.hasPreviouslyBlurred);
428
- this.menu.removeAttribute(this.activeDescendantAttr);
484
+ this.menu.removeAttribute(this.ACTIVE_DESCENDANT);
429
485
  this.lastOptionFocused = null;
430
486
  this.lastOptionSelected = null;
431
487
  }
@@ -433,7 +489,7 @@ export class Menu {
433
489
  else {
434
490
  this.handleMenuChange(false);
435
491
  this.preventClickOpen = true;
436
- this.menu.removeAttribute(this.activeDescendantAttr);
492
+ this.menu.removeAttribute(this.ACTIVE_DESCENDANT);
437
493
  this.lastOptionFocused = null;
438
494
  this.lastOptionSelected = null;
439
495
  }
@@ -466,18 +522,18 @@ export class Menu {
466
522
  this.handleSelectAllClick = () => {
467
523
  this.keyboardNav = false;
468
524
  this.menu.focus();
469
- this.emitSelectAll();
525
+ this.emitSelectAllEvents();
470
526
  this.lastOptionFocused = null;
471
527
  this.lastOptionSelected = null;
472
528
  };
473
529
  this.handleSelectAllBlur = (event) => {
474
- this.el.classList.remove("select-all-focused");
530
+ this.host.classList.remove("ic-select-select-all-focused");
475
531
  if (!this.menu.contains(event.relatedTarget)) {
476
532
  this.handleMenuChange(false, false);
477
533
  }
478
534
  };
479
535
  this.handleSelectAllFocus = () => {
480
- this.el.classList.add("select-all-focused");
536
+ this.host.classList.add("ic-select-select-all-focused");
481
537
  this.lastOptionFocused = null;
482
538
  this.lastOptionSelected = null;
483
539
  };
@@ -491,7 +547,7 @@ export class Menu {
491
547
  if (this.isMultiSelect &&
492
548
  event.shiftKey &&
493
549
  !this.isOptionSelected(optionToSelectIndex)) {
494
- this.selectHighlightedOption(event.target, options, optionToSelectIndex);
550
+ this.selectHighlightedOption(options, optionToSelectIndex);
495
551
  this.lastOptionSelected = optionToSelectIndex;
496
552
  }
497
553
  };
@@ -525,7 +581,7 @@ export class Menu {
525
581
  this.handleMultipleShiftSelect(optionIndex, useFocusForSelection, firstOptionInSelection);
526
582
  }
527
583
  else {
528
- this.selectHighlightedOption(event.target, menuOptions, optionIndex);
584
+ this.selectHighlightedOption(menuOptions, optionIndex);
529
585
  }
530
586
  this.lastOptionFocused = optionIndex;
531
587
  this.lastOptionSelected = optionIndex;
@@ -537,13 +593,17 @@ export class Menu {
537
593
  ? this.lastOptionSelected
538
594
  : null;
539
595
  };
540
- this.emitSelectAll = () => {
541
- var _a;
596
+ this.emitSelectAllEvents = () => {
597
+ var _a, _b;
542
598
  // Select all if there is either no value or not all options are selected
543
599
  // 'true' means select all, 'false' means clear all
544
600
  this.menuOptionSelectAll.emit({
545
601
  select: !this.value || !(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.ungroupedOptions.length),
546
602
  });
603
+ // Emit clear event if all options are selected
604
+ if (((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) === this.ungroupedOptions.length) {
605
+ this.icClear.emit();
606
+ }
547
607
  };
548
608
  this.emitMenuKeyPress = (isNavKey, key) => {
549
609
  this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
@@ -642,7 +702,7 @@ export class Menu {
642
702
  this.isManualMode = this.activationType === "manual";
643
703
  this.scrollToSelected = (menu) => {
644
704
  const selectedOption = this.selectOnEnter
645
- ? this.el.querySelector(`li[data-value="${this.optionHighlighted}"]`)
705
+ ? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
646
706
  : menu.querySelector(".option[aria-selected='true']");
647
707
  if (selectedOption) {
648
708
  const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
@@ -652,7 +712,7 @@ export class Menu {
652
712
  }
653
713
  // 'aria-activedescendant' affects screen reader focus
654
714
  // https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/#kbd_focus_activedescendant
655
- this.menu.setAttribute(this.activeDescendantAttr, selectedOption.id);
715
+ this.menu.setAttribute(this.ACTIVE_DESCENDANT, selectedOption.id);
656
716
  selectedOption.focus();
657
717
  }
658
718
  };
@@ -674,7 +734,7 @@ export class Menu {
674
734
  };
675
735
  this.setMenuScrollbar = () => {
676
736
  let optionsHeight = 0;
677
- this.el
737
+ this.host
678
738
  .querySelectorAll(".option")
679
739
  .forEach((option) => (optionsHeight += option.clientHeight));
680
740
  if (optionsHeight >= 320) {
@@ -685,10 +745,14 @@ export class Menu {
685
745
  this.timeoutBlur.emit({ ev });
686
746
  };
687
747
  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] &&
748
+ const showCheckIcon = !!option[this.valueField] &&
689
749
  !!this.value &&
690
750
  selected &&
691
- this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: Check }))));
751
+ this.parentEl.tagName !== this.SEARCH_BAR_TAG;
752
+ return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: {
753
+ "option-text-container": true,
754
+ "show-check-icon": showCheckIcon,
755
+ } }, 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
756
  };
693
757
  this.displayOption = (option, selected, index, parentOption) => {
694
758
  const { open, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
@@ -718,7 +782,7 @@ export class Menu {
718
782
  this.menuOptions = undefined;
719
783
  this.activationType = "automatic";
720
784
  this.anchorEl = undefined;
721
- this.autoFocusOnSelected = true;
785
+ this.autofocusOnSelected = true;
722
786
  this.closeOnSelect = true;
723
787
  this.fullWidth = false;
724
788
  this.inputEl = undefined;
@@ -755,11 +819,12 @@ export class Menu {
755
819
  }
756
820
  }
757
821
  disconnectedCallback() {
822
+ var _a, _b;
758
823
  if (this.popperInstance) {
759
824
  this.popperInstance.destroy();
760
825
  }
761
- this.parentEl.removeEventListener("icClear", this.handleClearListener);
762
- this.parentEl.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
826
+ (_a = this.parentEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("icClear", this.handleClearListener);
827
+ (_b = this.parentEl) === null || _b === void 0 ? void 0 : _b.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
763
828
  }
764
829
  componentWillLoad() {
765
830
  var _a, _b;
@@ -784,28 +849,27 @@ export class Menu {
784
849
  }
785
850
  componentDidUpdate() {
786
851
  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
852
  if (this.open && this.options.length !== 0 && !this.preventMenuFocus) {
791
853
  if (this.value &&
792
854
  this.keyboardNav &&
793
855
  inputValueInOptions &&
794
- this.autoFocusOnSelected &&
856
+ this.autofocusOnSelected &&
795
857
  !this.isSearchableSelect) {
796
858
  this.scrollToSelected(this.menu);
797
859
  }
798
- else if (optionHighlightedIsSet &&
860
+ else if (this.selectOnEnter) {
861
+ this.menu.focus();
862
+ }
863
+ else if (!!this.optionHighlighted &&
799
864
  !this.focusFromSearchKeypress &&
800
865
  !this.preventIncorrectTabOrder) {
801
- const highlightedEl = this.el.querySelector(`li[data-value="${this.optionHighlighted}"]`);
866
+ const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
802
867
  if (highlightedEl) {
803
- this.menu.setAttribute(this.activeDescendantAttr, highlightedEl.id);
868
+ this.menu.setAttribute(this.ACTIVE_DESCENDANT, highlightedEl.id);
804
869
  highlightedEl.focus();
805
870
  }
806
871
  }
807
- else if (this.inputEl.tagName !== "IC-TEXT-FIELD" &&
808
- this.inputEl.tagName !== "INPUT") {
872
+ else if (this.inputEl.tagName !== "INPUT") {
809
873
  this.menu.focus();
810
874
  }
811
875
  }
@@ -835,10 +899,9 @@ export class Menu {
835
899
  /**
836
900
  * Used alongside activationType
837
901
  * If menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.
838
- * @param {KeyboardEvent} event - keyboard event
902
+ * @param {KeyboardEvent} event The keyboard event which is available when handleKeyboardOpen is invoked.
839
903
  */
840
904
  async handleKeyboardOpen(event) {
841
- this.keyboardNav = false;
842
905
  if (this.activationType === "automatic") {
843
906
  this.autoSetInputValueKeyboardOpen(event);
844
907
  }
@@ -859,7 +922,7 @@ export class Menu {
859
922
  */
860
923
  async initPopperJs(anchor) {
861
924
  // 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, {
925
+ this.popperInstance = createPopper(anchor, this.host, {
863
926
  placement: "bottom-start",
864
927
  modifiers: [
865
928
  {
@@ -878,20 +941,38 @@ export class Menu {
878
941
  ],
879
942
  });
880
943
  }
944
+ focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex) {
945
+ if (!menuOptions[highlightedOptionIndex])
946
+ return;
947
+ if (this.isSearchBar) {
948
+ this.parentEl.setFocus();
949
+ if (this.searchMode === "navigation")
950
+ this.setHighlightedOption(0);
951
+ }
952
+ if (this.isSearchableSelect) {
953
+ this.parentEl.setFocus();
954
+ }
955
+ this.focusFromSearchKeypress = true;
956
+ }
881
957
  render() {
882
- const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, } = this;
958
+ const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, } = this;
883
959
  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");
960
+ const hasNoResults = this.host.classList.contains("no-results");
885
961
  return (h(Host, { class: {
886
962
  "ic-menu-full-width": fullWidth,
887
- "ic-menu-no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" ||
963
+ "ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
964
+ (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
888
965
  hasTimedOut ||
889
- isLoading ||
890
- hasNoResults,
966
+ isLoading,
891
967
  [`ic-menu-${size}`]: true,
892
968
  "ic-menu-open": open && options.length !== 0,
893
969
  "ic-menu-multiple": this.isMultiSelect,
894
- } }, options.length !== 0 && (h("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open && !keyboardNav && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ? "0" : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
970
+ } }, options.length !== 0 && (h("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
971
+ !keyboardNav &&
972
+ ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
973
+ (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
974
+ ? "0"
975
+ : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
895
976
  if (option.children) {
896
977
  if (option.children.length > 0) {
897
978
  return (h("div", null, h("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, h("p", null, option[this.labelField])), option.children.map((childOption) => childOption.label &&
@@ -916,661 +997,14 @@ export class Menu {
916
997
  !hasTimedOut &&
917
998
  !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
999
  }
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
1000
+ get host() { return getElement(this); }
1001
+ static get watchers() { return {
1002
+ "open": ["watchOpenHandler"],
1003
+ "options": ["watchOptionsHandler"]
1004
+ }; }
1005
+ };
1006
+ Menu.style = icMenuCss;
1007
+
1008
+ export { InputComponentContainer as ic_input_component_container, InputContainer as ic_input_container, Menu as ic_menu };
1009
+
1010
+ //# sourceMappingURL=ic-input-component-container_3.entry.js.map