@ukic/canary-web-components 2.0.0-canary.7 → 2.0.0-canary.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (361) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/helpers-93c5fc92.js +198 -0
  3. package/dist/cjs/helpers-93c5fc92.js.map +1 -0
  4. package/dist/cjs/{helpers-00b08718.js → helpers-b525d45a.js} +2 -2
  5. package/dist/cjs/helpers-b525d45a.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +6 -2
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-badge.cjs.entry.js +4 -3
  12. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-button_3.cjs.entry.js +23 -12
  16. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-card.cjs.entry.js +5 -6
  18. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-data-entity.cjs.entry.js +3 -6
  23. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-data-row.cjs.entry.js +21 -35
  25. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +12 -10
  35. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +2599 -0
  41. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -0
  42. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-pagination-bar.cjs.entry.js +2 -18
  48. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-pagination_4.cjs.entry.js +21 -13
  50. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-select-with-multi.cjs.entry.js +837 -0
  58. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -0
  59. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  69. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +184 -0
  70. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -0
  71. package/dist/cjs/ic-toggle-button.cjs.entry.js +6 -3
  72. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  74. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  75. package/dist/cjs/index-4cf27b16.js +12 -0
  76. package/dist/cjs/loader.cjs.js +1 -1
  77. package/dist/collection/collection-manifest.json +4 -1
  78. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +701 -0
  79. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +1458 -0
  80. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -0
  81. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +880 -0
  82. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -0
  83. package/dist/collection/components/ic-select-with-multi/assets/Check.svg +3 -0
  84. package/dist/collection/components/ic-select-with-multi/assets/Clear.svg +3 -0
  85. package/dist/collection/components/ic-select-with-multi/assets/Expand.svg +3 -0
  86. package/dist/collection/components/ic-select-with-multi/ic-select.css +693 -0
  87. package/dist/collection/components/ic-select-with-multi/ic-select.js +1649 -0
  88. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -0
  89. package/dist/collection/components/ic-select-with-multi/story-data.js +216 -0
  90. package/dist/collection/components/ic-select-with-multi/story-data.js.map +1 -0
  91. package/dist/collection/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.js +146 -0
  92. package/dist/collection/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.js.map +1 -0
  93. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +2040 -0
  94. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -0
  95. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +1518 -0
  96. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -0
  97. package/dist/collection/utils/constants.js +28 -0
  98. package/dist/collection/utils/constants.js.map +1 -0
  99. package/dist/collection/utils/helpers.js +168 -5
  100. package/dist/collection/utils/helpers.js.map +1 -1
  101. package/dist/collection/utils/types.js +13 -0
  102. package/dist/collection/utils/types.js.map +1 -0
  103. package/dist/components/helpers.js +1 -1
  104. package/dist/components/helpers.js.map +1 -1
  105. package/dist/components/helpers2.js +183 -0
  106. package/dist/components/helpers2.js.map +1 -0
  107. package/dist/components/ic-accordion-group.js +7 -2
  108. package/dist/components/ic-accordion-group.js.map +1 -1
  109. package/dist/components/ic-badge.js +3 -2
  110. package/dist/components/ic-badge.js.map +1 -1
  111. package/dist/components/ic-button2.js +22 -11
  112. package/dist/components/ic-button2.js.map +1 -1
  113. package/dist/components/ic-card.js +5 -18
  114. package/dist/components/ic-card.js.map +1 -1
  115. package/dist/components/ic-data-entity.js +3 -6
  116. package/dist/components/ic-data-entity.js.map +1 -1
  117. package/dist/components/ic-data-row.js +20 -34
  118. package/dist/components/ic-data-row.js.map +1 -1
  119. package/dist/components/ic-input-component-container2.js +6 -5
  120. package/dist/components/ic-input-component-container2.js.map +1 -1
  121. package/dist/components/ic-menu-with-multi.d.ts +11 -0
  122. package/dist/components/ic-menu-with-multi.js +8 -0
  123. package/dist/components/ic-menu-with-multi.js.map +1 -0
  124. package/dist/components/ic-menu2.js +5 -4
  125. package/dist/components/ic-menu2.js.map +1 -1
  126. package/dist/components/ic-menu3.js +2665 -0
  127. package/dist/components/ic-menu3.js.map +1 -0
  128. package/dist/components/ic-pagination-bar2.js +1 -17
  129. package/dist/components/ic-pagination-bar2.js.map +1 -1
  130. package/dist/components/ic-popover-menu.js +1 -1
  131. package/dist/components/ic-popover-menu.js.map +1 -1
  132. package/dist/components/ic-search-bar.js.map +1 -1
  133. package/dist/components/ic-select-with-multi.d.ts +11 -0
  134. package/dist/components/ic-select-with-multi.js +962 -0
  135. package/dist/components/ic-select-with-multi.js.map +1 -0
  136. package/dist/components/ic-select2.js +22 -13
  137. package/dist/components/ic-select2.js.map +1 -1
  138. package/dist/components/ic-toggle-button-group.js +210 -0
  139. package/dist/components/ic-toggle-button-group.js.map +1 -0
  140. package/dist/components/ic-toggle-button.js +5 -2
  141. package/dist/components/ic-toggle-button.js.map +1 -1
  142. package/dist/core/core.css +8 -5
  143. package/dist/core/core.esm.js +1 -1
  144. package/dist/core/core.esm.js.map +1 -1
  145. package/dist/core/{p-9ce5f082.entry.js → p-045359e1.entry.js} +2 -2
  146. package/dist/core/{p-7276339a.entry.js → p-10fb4c46.entry.js} +2 -2
  147. package/dist/core/{p-d9342548.entry.js → p-169bfa51.entry.js} +2 -2
  148. package/dist/core/{p-5746577f.entry.js → p-1ca332ca.entry.js} +2 -2
  149. package/dist/core/{p-c345a874.entry.js → p-204ace96.entry.js} +2 -2
  150. package/dist/core/p-21150122.entry.js +2 -0
  151. package/dist/core/p-21150122.entry.js.map +1 -0
  152. package/dist/core/{p-f436630b.entry.js → p-2eac7dcc.entry.js} +2 -2
  153. package/dist/core/{p-b43bd4f3.entry.js → p-3803a5b5.entry.js} +2 -2
  154. package/dist/core/{p-24945ee5.entry.js → p-452985d9.entry.js} +2 -2
  155. package/dist/core/p-452985d9.entry.js.map +1 -0
  156. package/dist/core/{p-ca262cdc.entry.js → p-4753bac8.entry.js} +2 -2
  157. package/dist/core/{p-3d2fcf84.entry.js → p-4baa0916.entry.js} +2 -2
  158. package/dist/core/{p-79b71c18.entry.js → p-4f413fc0.entry.js} +2 -2
  159. package/dist/core/{p-051b8266.entry.js → p-595be57d.entry.js} +2 -2
  160. package/dist/core/{p-434780c8.entry.js → p-5ae93c16.entry.js} +2 -2
  161. package/dist/core/{p-ff1d23cd.entry.js → p-5e0c830b.entry.js} +2 -2
  162. package/dist/core/p-624d4f5f.entry.js +2 -0
  163. package/dist/core/p-624d4f5f.entry.js.map +1 -0
  164. package/dist/core/{p-c263542a.entry.js → p-6933f8e9.entry.js} +2 -2
  165. package/dist/core/{p-32f18701.entry.js → p-6c3044b6.entry.js} +2 -2
  166. package/dist/core/{p-da4f0a58.entry.js → p-73be1251.entry.js} +2 -2
  167. package/dist/core/{p-d49660e0.entry.js → p-75dac3d1.entry.js} +2 -2
  168. package/dist/core/{p-a3ab9f4c.entry.js → p-76915584.entry.js} +2 -2
  169. package/dist/core/p-76915584.entry.js.map +1 -0
  170. package/dist/core/{p-88971cea.entry.js → p-7ef8d616.entry.js} +2 -2
  171. package/dist/core/{p-9fd84c69.entry.js → p-81ddc39d.entry.js} +2 -2
  172. package/dist/core/{p-fbb1fba0.entry.js → p-869954a2.entry.js} +2 -2
  173. package/dist/core/{p-3c859b9e.entry.js → p-88d54b72.entry.js} +2 -2
  174. package/dist/core/{p-5e94fae8.entry.js → p-8b08d8fe.entry.js} +2 -2
  175. package/dist/core/p-8b08d8fe.entry.js.map +1 -0
  176. package/dist/core/{p-d78fd9f3.entry.js → p-917c5721.entry.js} +2 -2
  177. package/dist/core/{p-2094c844.entry.js → p-942282cd.entry.js} +2 -2
  178. package/dist/core/p-99cad6c2.js +2 -0
  179. package/dist/core/p-99cad6c2.js.map +1 -0
  180. package/dist/core/p-9caf19eb.js +2 -0
  181. package/dist/core/p-9caf19eb.js.map +1 -0
  182. package/dist/core/{p-966ab920.entry.js → p-a0f8efb2.entry.js} +2 -2
  183. package/dist/core/{p-7632acc6.entry.js → p-a31031a5.entry.js} +2 -2
  184. package/dist/core/{p-a7d52bd1.entry.js → p-a434c3d4.entry.js} +2 -2
  185. package/dist/core/{p-95d3cd52.entry.js → p-a43c12cd.entry.js} +2 -2
  186. package/dist/core/{p-aafb2c79.entry.js → p-a50c3b9e.entry.js} +2 -2
  187. package/dist/core/{p-28fb7cca.entry.js → p-ab09986c.entry.js} +2 -2
  188. package/dist/core/p-ab09986c.entry.js.map +1 -0
  189. package/dist/core/p-ac4e40a7.entry.js +2 -0
  190. package/dist/core/p-ac4e40a7.entry.js.map +1 -0
  191. package/dist/core/{p-7dfd61bb.entry.js → p-b82dcc29.entry.js} +2 -2
  192. package/dist/core/{p-337b6e05.entry.js → p-ba86928c.entry.js} +2 -2
  193. package/dist/core/{p-f827e4c0.entry.js → p-c125b65a.entry.js} +2 -2
  194. package/dist/core/{p-27aa95e7.entry.js → p-c34848da.entry.js} +2 -2
  195. package/dist/core/{p-3b9f3a07.entry.js → p-d8469ac0.entry.js} +2 -2
  196. package/dist/core/{p-a2f366c7.entry.js → p-db9c03c0.entry.js} +2 -2
  197. package/dist/core/{p-6de46cb7.entry.js → p-e0462b23.entry.js} +2 -2
  198. package/dist/core/p-e0462b23.entry.js.map +1 -0
  199. package/dist/core/p-e0a94f2d.entry.js +2 -0
  200. package/dist/core/p-e0a94f2d.entry.js.map +1 -0
  201. package/dist/core/{p-116b18fe.entry.js → p-e3997d60.entry.js} +2 -2
  202. package/dist/core/p-e79e0292.entry.js +2 -0
  203. package/dist/core/p-e79e0292.entry.js.map +1 -0
  204. package/dist/core/{p-0d181ac8.entry.js → p-e834344e.entry.js} +2 -2
  205. package/dist/core/p-f14454b1.entry.js +2 -0
  206. package/dist/core/{p-93c5b849.entry.js.map → p-f14454b1.entry.js.map} +1 -1
  207. package/dist/core/{p-a162744e.entry.js → p-f3c840cd.entry.js} +2 -2
  208. package/dist/core/{p-a162744e.entry.js.map → p-f3c840cd.entry.js.map} +1 -1
  209. package/dist/core/{p-7b849cb5.entry.js → p-f6888309.entry.js} +2 -2
  210. package/dist/core/p-f74a8752.entry.js +2 -0
  211. package/dist/core/p-f74a8752.entry.js.map +1 -0
  212. package/dist/core/{p-4df42c76.entry.js → p-f7a14c01.entry.js} +2 -2
  213. package/dist/core/{p-d5cc084b.entry.js → p-f843da01.entry.js} +2 -2
  214. package/dist/core/{p-d5cc084b.entry.js.map → p-f843da01.entry.js.map} +1 -1
  215. package/dist/core/{p-0f0509ee.entry.js → p-fc5611e2.entry.js} +2 -2
  216. package/dist/core/p-fc5611e2.entry.js.map +1 -0
  217. package/dist/core/p-fde45b29.entry.js +2 -0
  218. package/dist/core/p-fde45b29.entry.js.map +1 -0
  219. package/dist/esm/core.js +1 -1
  220. package/dist/esm/{helpers-d06dc4ed.js → helpers-12b4266a.js} +2 -2
  221. package/dist/esm/helpers-12b4266a.js.map +1 -0
  222. package/dist/esm/helpers-5271897c.js +183 -0
  223. package/dist/esm/helpers-5271897c.js.map +1 -0
  224. package/dist/esm/ic-accordion-group.entry.js +6 -2
  225. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  226. package/dist/esm/ic-accordion.entry.js +1 -1
  227. package/dist/esm/ic-alert.entry.js +1 -1
  228. package/dist/esm/ic-back-to-top.entry.js +1 -1
  229. package/dist/esm/ic-badge.entry.js +4 -3
  230. package/dist/esm/ic-badge.entry.js.map +1 -1
  231. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  232. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  233. package/dist/esm/ic-button_3.entry.js +23 -12
  234. package/dist/esm/ic-button_3.entry.js.map +1 -1
  235. package/dist/esm/ic-card.entry.js +5 -6
  236. package/dist/esm/ic-card.entry.js.map +1 -1
  237. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  238. package/dist/esm/ic-checkbox.entry.js +1 -1
  239. package/dist/esm/ic-chip.entry.js +1 -1
  240. package/dist/esm/ic-data-entity.entry.js +3 -6
  241. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  242. package/dist/esm/ic-data-row.entry.js +21 -35
  243. package/dist/esm/ic-data-row.entry.js.map +1 -1
  244. package/dist/esm/ic-dialog.entry.js +1 -1
  245. package/dist/esm/ic-divider.entry.js +1 -1
  246. package/dist/esm/ic-empty-state.entry.js +1 -1
  247. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  248. package/dist/esm/ic-footer-link.entry.js +1 -1
  249. package/dist/esm/ic-footer.entry.js +1 -1
  250. package/dist/esm/ic-hero.entry.js +1 -1
  251. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  252. package/dist/esm/ic-input-component-container_3.entry.js +12 -10
  253. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  254. package/dist/esm/ic-input-label_2.entry.js +1 -1
  255. package/dist/esm/ic-link.entry.js +1 -1
  256. package/dist/esm/ic-menu-group.entry.js +1 -1
  257. package/dist/esm/ic-menu-item.entry.js +1 -1
  258. package/dist/esm/ic-menu-with-multi.entry.js +2595 -0
  259. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -0
  260. package/dist/esm/ic-navigation-button.entry.js +1 -1
  261. package/dist/esm/ic-navigation-group.entry.js +1 -1
  262. package/dist/esm/ic-navigation-item.entry.js +1 -1
  263. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  264. package/dist/esm/ic-page-header.entry.js +1 -1
  265. package/dist/esm/ic-pagination-bar.entry.js +1 -17
  266. package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
  267. package/dist/esm/ic-pagination_4.entry.js +21 -13
  268. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  269. package/dist/esm/ic-popover-menu.entry.js +1 -1
  270. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  271. package/dist/esm/ic-radio-group.entry.js +1 -1
  272. package/dist/esm/ic-radio-option.entry.js +1 -1
  273. package/dist/esm/ic-search-bar.entry.js +1 -1
  274. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  275. package/dist/esm/ic-select-with-multi.entry.js +833 -0
  276. package/dist/esm/ic-select-with-multi.entry.js.map +1 -0
  277. package/dist/esm/ic-side-navigation.entry.js +1 -1
  278. package/dist/esm/ic-status-tag.entry.js +1 -1
  279. package/dist/esm/ic-step.entry.js +1 -1
  280. package/dist/esm/ic-stepper.entry.js +1 -1
  281. package/dist/esm/ic-switch.entry.js +1 -1
  282. package/dist/esm/ic-tab-group.entry.js +1 -1
  283. package/dist/esm/ic-tab-panel.entry.js +1 -1
  284. package/dist/esm/ic-tab.entry.js +1 -1
  285. package/dist/esm/ic-theme.entry.js +1 -1
  286. package/dist/esm/ic-toast.entry.js +1 -1
  287. package/dist/esm/ic-toggle-button-group.entry.js +180 -0
  288. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
  289. package/dist/esm/ic-toggle-button.entry.js +6 -3
  290. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  291. package/dist/esm/ic-top-navigation.entry.js +1 -1
  292. package/dist/esm/ic-typography.entry.js +1 -1
  293. package/dist/esm/index-93509377.js +12 -0
  294. package/dist/esm/loader.js +1 -1
  295. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +208 -0
  296. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +289 -0
  297. package/dist/types/components/ic-select-with-multi/story-data.d.ts +32 -0
  298. package/dist/types/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.d.ts +1 -0
  299. package/dist/types/components.d.ts +531 -0
  300. package/dist/types/utils/constants.d.ts +1 -0
  301. package/dist/types/utils/helpers.d.ts +61 -2
  302. package/dist/types/utils/types.d.ts +16 -0
  303. package/hydrate/index.js +6795 -2907
  304. package/package.json +3 -3
  305. package/dist/cjs/helpers-00b08718.js.map +0 -1
  306. package/dist/core/p-0f0509ee.entry.js.map +0 -1
  307. package/dist/core/p-24945ee5.entry.js.map +0 -1
  308. package/dist/core/p-28fb7cca.entry.js.map +0 -1
  309. package/dist/core/p-2aad58b6.js +0 -2
  310. package/dist/core/p-2aad58b6.js.map +0 -1
  311. package/dist/core/p-38314d45.entry.js +0 -2
  312. package/dist/core/p-38314d45.entry.js.map +0 -1
  313. package/dist/core/p-5e94fae8.entry.js.map +0 -1
  314. package/dist/core/p-6de46cb7.entry.js.map +0 -1
  315. package/dist/core/p-93c5b849.entry.js +0 -2
  316. package/dist/core/p-9fdd7d73.entry.js +0 -2
  317. package/dist/core/p-9fdd7d73.entry.js.map +0 -1
  318. package/dist/core/p-a3ab9f4c.entry.js.map +0 -1
  319. package/dist/core/p-c9b11488.entry.js +0 -2
  320. package/dist/core/p-c9b11488.entry.js.map +0 -1
  321. package/dist/core/p-f163a406.entry.js +0 -2
  322. package/dist/core/p-f163a406.entry.js.map +0 -1
  323. package/dist/esm/helpers-d06dc4ed.js.map +0 -1
  324. /package/dist/core/{p-9ce5f082.entry.js.map → p-045359e1.entry.js.map} +0 -0
  325. /package/dist/core/{p-7276339a.entry.js.map → p-10fb4c46.entry.js.map} +0 -0
  326. /package/dist/core/{p-d9342548.entry.js.map → p-169bfa51.entry.js.map} +0 -0
  327. /package/dist/core/{p-5746577f.entry.js.map → p-1ca332ca.entry.js.map} +0 -0
  328. /package/dist/core/{p-c345a874.entry.js.map → p-204ace96.entry.js.map} +0 -0
  329. /package/dist/core/{p-f436630b.entry.js.map → p-2eac7dcc.entry.js.map} +0 -0
  330. /package/dist/core/{p-b43bd4f3.entry.js.map → p-3803a5b5.entry.js.map} +0 -0
  331. /package/dist/core/{p-ca262cdc.entry.js.map → p-4753bac8.entry.js.map} +0 -0
  332. /package/dist/core/{p-3d2fcf84.entry.js.map → p-4baa0916.entry.js.map} +0 -0
  333. /package/dist/core/{p-79b71c18.entry.js.map → p-4f413fc0.entry.js.map} +0 -0
  334. /package/dist/core/{p-051b8266.entry.js.map → p-595be57d.entry.js.map} +0 -0
  335. /package/dist/core/{p-434780c8.entry.js.map → p-5ae93c16.entry.js.map} +0 -0
  336. /package/dist/core/{p-ff1d23cd.entry.js.map → p-5e0c830b.entry.js.map} +0 -0
  337. /package/dist/core/{p-c263542a.entry.js.map → p-6933f8e9.entry.js.map} +0 -0
  338. /package/dist/core/{p-32f18701.entry.js.map → p-6c3044b6.entry.js.map} +0 -0
  339. /package/dist/core/{p-da4f0a58.entry.js.map → p-73be1251.entry.js.map} +0 -0
  340. /package/dist/core/{p-d49660e0.entry.js.map → p-75dac3d1.entry.js.map} +0 -0
  341. /package/dist/core/{p-88971cea.entry.js.map → p-7ef8d616.entry.js.map} +0 -0
  342. /package/dist/core/{p-9fd84c69.entry.js.map → p-81ddc39d.entry.js.map} +0 -0
  343. /package/dist/core/{p-fbb1fba0.entry.js.map → p-869954a2.entry.js.map} +0 -0
  344. /package/dist/core/{p-3c859b9e.entry.js.map → p-88d54b72.entry.js.map} +0 -0
  345. /package/dist/core/{p-d78fd9f3.entry.js.map → p-917c5721.entry.js.map} +0 -0
  346. /package/dist/core/{p-2094c844.entry.js.map → p-942282cd.entry.js.map} +0 -0
  347. /package/dist/core/{p-966ab920.entry.js.map → p-a0f8efb2.entry.js.map} +0 -0
  348. /package/dist/core/{p-7632acc6.entry.js.map → p-a31031a5.entry.js.map} +0 -0
  349. /package/dist/core/{p-a7d52bd1.entry.js.map → p-a434c3d4.entry.js.map} +0 -0
  350. /package/dist/core/{p-95d3cd52.entry.js.map → p-a43c12cd.entry.js.map} +0 -0
  351. /package/dist/core/{p-aafb2c79.entry.js.map → p-a50c3b9e.entry.js.map} +0 -0
  352. /package/dist/core/{p-7dfd61bb.entry.js.map → p-b82dcc29.entry.js.map} +0 -0
  353. /package/dist/core/{p-337b6e05.entry.js.map → p-ba86928c.entry.js.map} +0 -0
  354. /package/dist/core/{p-f827e4c0.entry.js.map → p-c125b65a.entry.js.map} +0 -0
  355. /package/dist/core/{p-27aa95e7.entry.js.map → p-c34848da.entry.js.map} +0 -0
  356. /package/dist/core/{p-3b9f3a07.entry.js.map → p-d8469ac0.entry.js.map} +0 -0
  357. /package/dist/core/{p-a2f366c7.entry.js.map → p-db9c03c0.entry.js.map} +0 -0
  358. /package/dist/core/{p-116b18fe.entry.js.map → p-e3997d60.entry.js.map} +0 -0
  359. /package/dist/core/{p-0d181ac8.entry.js.map → p-e834344e.entry.js.map} +0 -0
  360. /package/dist/core/{p-7b849cb5.entry.js.map → p-f6888309.entry.js.map} +0 -0
  361. /package/dist/core/{p-4df42c76.entry.js.map → p-f7a14c01.entry.js.map} +0 -0
@@ -7,9 +7,15 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableSortOrderOptions } from "./components/ic-data-table/ic-data-table.types";
9
9
  import { IcPaginationAlignmentOptions, IcPaginationControlTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
10
+ import { IcActivationTypes, IcMenuOption, IcSizes } from "@ukic/web-components/dist/types/utils/types";
11
+ import { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
12
+ import { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "./utils/types";
10
13
  import { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
11
14
  export { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableSortOrderOptions } from "./components/ic-data-table/ic-data-table.types";
12
15
  export { IcPaginationAlignmentOptions, IcPaginationControlTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
16
+ export { IcActivationTypes, IcMenuOption, IcSizes } from "@ukic/web-components/dist/types/utils/types";
17
+ export { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
18
+ export { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "./utils/types";
13
19
  export { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
14
20
  export namespace Components {
15
21
  interface IcDataTable {
@@ -72,6 +78,79 @@ export namespace Components {
72
78
  */
73
79
  "stickyRowHeaders"?: boolean;
74
80
  }
81
+ interface IcMenuWithMulti {
82
+ /**
83
+ * Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
84
+ */
85
+ "activationType"?: IcActivationTypes;
86
+ /**
87
+ * The reference to an anchor element the menu will position itself from when rendered.
88
+ */
89
+ "anchorEl": HTMLElement;
90
+ "autoFocusOnSelected": boolean;
91
+ /**
92
+ * If `true`, the menu will close when an option is selected.
93
+ */
94
+ "closeOnSelect": boolean;
95
+ /**
96
+ * If `true`, the menu will fill the width of the container.
97
+ */
98
+ "fullWidth": boolean;
99
+ "handleClickOpen": () => Promise<void>;
100
+ /**
101
+ * Used alongside activationType If menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.
102
+ * @param event - keyboard event
103
+ */
104
+ "handleKeyboardOpen": (event: KeyboardEvent) => Promise<void>;
105
+ "handleSetFirstOption": () => Promise<void>;
106
+ "initPopperJs": (anchor: HTMLElement) => Promise<void>;
107
+ /**
108
+ * The reference to the input element.
109
+ */
110
+ "inputEl": HTMLElement;
111
+ /**
112
+ * The label for the input element.
113
+ */
114
+ "inputLabel": string;
115
+ /**
116
+ * The custom name for the label field for IcMenuOption.
117
+ */
118
+ "labelField": string;
119
+ /**
120
+ * The ID of the menu.
121
+ */
122
+ "menuId": string;
123
+ /**
124
+ * If `true`, the menu will be displayed open.
125
+ */
126
+ "open": boolean;
127
+ /**
128
+ * The possible menu selection options.
129
+ */
130
+ "options": IcMenuOption[];
131
+ "parentEl"?: HTMLElement;
132
+ /**
133
+ * Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches.
134
+ */
135
+ "searchMode"?: IcSearchBarSearchModes;
136
+ "selectOnEnter"?: boolean;
137
+ /**
138
+ * The size of the menu.
139
+ */
140
+ "size"?: IcSizes;
141
+ /**
142
+ * @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
143
+ */
144
+ "small"?: boolean;
145
+ /**
146
+ * The value of the currently selected option - or array of values (if multiple options allowed).
147
+ */
148
+ "value": string | string[];
149
+ /**
150
+ * The custom name for the value field for IcMenuOption.
151
+ */
152
+ "valueField": string;
153
+ }
75
154
  interface IcPaginationBar {
76
155
  /**
77
156
  * Sets the alignment of the items in the pagination bar.
@@ -121,11 +200,169 @@ export namespace Components {
121
200
  */
122
201
  "totalItems": number;
123
202
  }
203
+ interface IcSelectWithMulti {
204
+ /**
205
+ * **[DEPRECATED]** This prop should not be used anymore.
206
+ */
207
+ "charactersUntilSuggestions"?: number;
208
+ /**
209
+ * The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
210
+ */
211
+ "debounce"?: number;
212
+ /**
213
+ * If `true`, the built in filtering will be disabled for a searchable variant. For example, if options will already be filtered from external source.
214
+ */
215
+ "disableFilter"?: boolean;
216
+ /**
217
+ * If `true`, the disabled state will be set.
218
+ */
219
+ "disabled"?: boolean;
220
+ /**
221
+ * The text displayed when there are no options in the option list.
222
+ */
223
+ "emptyOptionListText": string;
224
+ /**
225
+ * The <form> element to associate the select with.
226
+ */
227
+ "form"?: string;
228
+ /**
229
+ * The URL that processes the information submitted by the select. It overrides the action attribute of the select's form owner. Does nothing if there is no form owner. This prop should only be used with searchable select and will only be applied if searchable is true.
230
+ */
231
+ "formaction"?: string;
232
+ /**
233
+ * The way the submitted form data is encoded. This prop should only be used with searchable select and will only be applied if searchable is true.
234
+ */
235
+ "formenctype"?: string;
236
+ /**
237
+ * The HTTP method used to submit the form. This prop should only be used with searchable select and will only be applied if searchable is true.
238
+ */
239
+ "formmethod"?: string;
240
+ /**
241
+ * If `true`, the form will not be validated when submitted. This prop should only be used with searchable select and will only be applied if searchable is true.
242
+ */
243
+ "formnovalidate"?: boolean;
244
+ /**
245
+ * The place to display the response from submitting the form. It overrides the target attribute of the select's form owner. This prop should only be used with searchable select and will only be applied if searchable is true.
246
+ */
247
+ "formtarget"?: string;
248
+ /**
249
+ * If `true`, the select element will fill the width of the container. This prop should only be used with searchable select and will only be applied if searchable is true.
250
+ */
251
+ "fullWidth": boolean;
252
+ /**
253
+ * The helper text that will be displayed for additional field guidance.
254
+ */
255
+ "helperText"?: string;
256
+ /**
257
+ * If `true`, the label will be hidden and the required label value will be applied as an aria-label.
258
+ */
259
+ "hideLabel"?: boolean;
260
+ /**
261
+ * If `true`, descriptions of options will be included when filtering options in a searchable select. Only applies to built in filtering.
262
+ */
263
+ "includeDescriptionsInSearch"?: boolean;
264
+ /**
265
+ * If `true`, group titles of grouped options will be included when filtering options in a searchable select. Only applies to built in filtering.
266
+ */
267
+ "includeGroupTitlesInSearch"?: boolean;
268
+ /**
269
+ * The label for the select.
270
+ */
271
+ "label": string;
272
+ /**
273
+ * If `true`, the loading state will be triggered when fetching options asynchronously.
274
+ */
275
+ "loading"?: boolean;
276
+ /**
277
+ * The message displayed when external loading times out.
278
+ */
279
+ "loadingErrorLabel"?: string;
280
+ /**
281
+ * The message displayed whilst the options are being loaded externally.
282
+ */
283
+ "loadingLabel"?: string;
284
+ /**
285
+ * If `true`, multiple options can be selected.
286
+ */
287
+ "multiple"?: boolean;
288
+ /**
289
+ * The name of the control, which is submitted with the form data.
290
+ */
291
+ "name"?: string;
292
+ /**
293
+ * The possible selection options.
294
+ */
295
+ "options"?: IcMenuOption[];
296
+ /**
297
+ * The placeholder value to be displayed.
298
+ */
299
+ "placeholder"?: string;
300
+ /**
301
+ * If `true`, the readonly state will be set.
302
+ */
303
+ "readonly"?: boolean;
304
+ /**
305
+ * If `true`, the select will require a value.
306
+ */
307
+ "required"?: boolean;
308
+ /**
309
+ * Whether the search string of the searchable select should match the start of or anywhere in the options. Only applies to built in filtering.
310
+ */
311
+ "searchMatchPosition"?: IcSearchMatchPositions;
312
+ /**
313
+ * If `true`, a searchable variant of the select will be displayed which can be typed in to filter options.
314
+ */
315
+ "searchable"?: boolean;
316
+ /**
317
+ * If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown.
318
+ */
319
+ "selectOnEnter"?: boolean;
320
+ /**
321
+ * Sets focus on the input box.
322
+ */
323
+ "setFocus": () => Promise<void>;
324
+ /**
325
+ * If `true`, a button which clears the select input when clicked will be displayed. The button will always appear on the searchable select.
326
+ */
327
+ "showClearButton"?: boolean;
328
+ /**
329
+ * The size of the select.
330
+ */
331
+ "size"?: IcSizes;
332
+ /**
333
+ * **[DEPRECATED]** This prop should not be used anymore. Set prop `size` to "small" instead.
334
+ */
335
+ "small"?: boolean;
336
+ /**
337
+ * If using external filtering, set a timeout for when loading takes too long.
338
+ */
339
+ "timeout"?: number;
340
+ /**
341
+ * The validation status - e.g. 'error' | 'warning' | 'success'.
342
+ */
343
+ "validationStatus"?: IcInformationStatusOrEmpty;
344
+ /**
345
+ * The text to display as the validation message.
346
+ */
347
+ "validationText"?: string;
348
+ /**
349
+ * The value of the select, reflected by the value of the currently selected option. For the searchable variant, the value is also reflected by the user input. For the multi-select variant, the value must be an array of option values.
350
+ */
351
+ "value"?: string | string[];
352
+ }
353
+ }
354
+ export interface IcMenuWithMultiCustomEvent<T> extends CustomEvent<T> {
355
+ detail: T;
356
+ target: HTMLIcMenuWithMultiElement;
124
357
  }
125
358
  export interface IcPaginationBarCustomEvent<T> extends CustomEvent<T> {
126
359
  detail: T;
127
360
  target: HTMLIcPaginationBarElement;
128
361
  }
362
+ export interface IcSelectWithMultiCustomEvent<T> extends CustomEvent<T> {
363
+ detail: T;
364
+ target: HTMLIcSelectWithMultiElement;
365
+ }
129
366
  declare global {
130
367
  interface HTMLIcDataTableElement extends Components.IcDataTable, HTMLStencilElement {
131
368
  }
@@ -133,6 +370,30 @@ declare global {
133
370
  prototype: HTMLIcDataTableElement;
134
371
  new (): HTMLIcDataTableElement;
135
372
  };
373
+ interface HTMLIcMenuWithMultiElementEventMap {
374
+ "menuKeyPress": { isNavKey: boolean; key: string };
375
+ "menuOptionId": IcMenuOptionIdEventDetail;
376
+ "menuOptionSelect": IcOptionSelectEventDetail;
377
+ "menuOptionSelectAll": { select: boolean };
378
+ "menuStateChange": IcMenuChangeEventDetail;
379
+ "retryButtonClicked": IcValueEventDetail;
380
+ "timeoutBlur": { ev: FocusEvent };
381
+ "ungroupedOptionsSet": { options: IcMenuOption[] };
382
+ }
383
+ interface HTMLIcMenuWithMultiElement extends Components.IcMenuWithMulti, HTMLStencilElement {
384
+ addEventListener<K extends keyof HTMLIcMenuWithMultiElementEventMap>(type: K, listener: (this: HTMLIcMenuWithMultiElement, ev: IcMenuWithMultiCustomEvent<HTMLIcMenuWithMultiElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
385
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
386
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
387
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
388
+ removeEventListener<K extends keyof HTMLIcMenuWithMultiElementEventMap>(type: K, listener: (this: HTMLIcMenuWithMultiElement, ev: IcMenuWithMultiCustomEvent<HTMLIcMenuWithMultiElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
389
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
390
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
391
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
392
+ }
393
+ var HTMLIcMenuWithMultiElement: {
394
+ prototype: HTMLIcMenuWithMultiElement;
395
+ new (): HTMLIcMenuWithMultiElement;
396
+ };
136
397
  interface HTMLIcPaginationBarElementEventMap {
137
398
  "icPageChange": { value: number };
138
399
  "icItemsPerPageChange": { value: number };
@@ -151,9 +412,35 @@ declare global {
151
412
  prototype: HTMLIcPaginationBarElement;
152
413
  new (): HTMLIcPaginationBarElement;
153
414
  };
415
+ interface HTMLIcSelectWithMultiElementEventMap {
416
+ "icBlur": void;
417
+ "icChange": IcValueEventDetail;
418
+ "icClear": void;
419
+ "icFocus": void;
420
+ "icInput": IcValueEventDetail;
421
+ "icOptionSelect": IcOptionSelectEventDetail;
422
+ "icOptionDeselect": IcOptionSelectEventDetail;
423
+ "icRetryLoad": IcValueEventDetail;
424
+ }
425
+ interface HTMLIcSelectWithMultiElement extends Components.IcSelectWithMulti, HTMLStencilElement {
426
+ addEventListener<K extends keyof HTMLIcSelectWithMultiElementEventMap>(type: K, listener: (this: HTMLIcSelectWithMultiElement, ev: IcSelectWithMultiCustomEvent<HTMLIcSelectWithMultiElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
427
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
428
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
429
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
430
+ removeEventListener<K extends keyof HTMLIcSelectWithMultiElementEventMap>(type: K, listener: (this: HTMLIcSelectWithMultiElement, ev: IcSelectWithMultiCustomEvent<HTMLIcSelectWithMultiElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
431
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
432
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
433
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
434
+ }
435
+ var HTMLIcSelectWithMultiElement: {
436
+ prototype: HTMLIcSelectWithMultiElement;
437
+ new (): HTMLIcSelectWithMultiElement;
438
+ };
154
439
  interface HTMLElementTagNameMap {
155
440
  "ic-data-table": HTMLIcDataTableElement;
441
+ "ic-menu-with-multi": HTMLIcMenuWithMultiElement;
156
442
  "ic-pagination-bar": HTMLIcPaginationBarElement;
443
+ "ic-select-with-multi": HTMLIcSelectWithMultiElement;
157
444
  }
158
445
  }
159
446
  declare namespace LocalJSX {
@@ -217,6 +504,68 @@ declare namespace LocalJSX {
217
504
  */
218
505
  "stickyRowHeaders"?: boolean;
219
506
  }
507
+ interface IcMenuWithMulti {
508
+ /**
509
+ * Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
510
+ */
511
+ "activationType"?: IcActivationTypes;
512
+ /**
513
+ * The reference to an anchor element the menu will position itself from when rendered.
514
+ */
515
+ "anchorEl": HTMLElement;
516
+ /**
517
+ * If `true`, the menu will close when an option is selected.
518
+ */
519
+ "closeOnSelect"?: boolean;
520
+ /**
521
+ * If `true`, the menu will fill the width of the container.
522
+ */
523
+ "fullWidth"?: boolean;
524
+ /**
525
+ * The reference to the input element.
526
+ */
527
+ "inputEl": HTMLElement;
528
+ /**
529
+ * The label for the input element.
530
+ */
531
+ "inputLabel": string;
532
+ /**
533
+ * The custom name for the label field for IcMenuOption.
534
+ */
535
+ "labelField"?: string;
536
+ /**
537
+ * The ID of the menu.
538
+ */
539
+ "menuId": string;
540
+ /**
541
+ * If `true`, the menu will be displayed open.
542
+ */
543
+ "open": boolean;
544
+ /**
545
+ * The possible menu selection options.
546
+ */
547
+ "options": IcMenuOption[];
548
+ /**
549
+ * Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches.
550
+ */
551
+ "searchMode"?: IcSearchBarSearchModes;
552
+ /**
553
+ * The size of the menu.
554
+ */
555
+ "size"?: IcSizes;
556
+ /**
557
+ * @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
558
+ */
559
+ "small"?: boolean;
560
+ /**
561
+ * The value of the currently selected option - or array of values (if multiple options allowed).
562
+ */
563
+ "value": string | string[];
564
+ /**
565
+ * The custom name for the value field for IcMenuOption.
566
+ */
567
+ "valueField"?: string;
568
+ }
220
569
  interface IcPaginationBar {
221
570
  /**
222
571
  * Sets the alignment of the items in the pagination bar.
@@ -274,9 +623,189 @@ declare namespace LocalJSX {
274
623
  */
275
624
  "totalItems": number;
276
625
  }
626
+ interface IcSelectWithMulti {
627
+ /**
628
+ * **[DEPRECATED]** This prop should not be used anymore.
629
+ */
630
+ "charactersUntilSuggestions"?: number;
631
+ /**
632
+ * The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
633
+ */
634
+ "debounce"?: number;
635
+ /**
636
+ * If `true`, the built in filtering will be disabled for a searchable variant. For example, if options will already be filtered from external source.
637
+ */
638
+ "disableFilter"?: boolean;
639
+ /**
640
+ * If `true`, the disabled state will be set.
641
+ */
642
+ "disabled"?: boolean;
643
+ /**
644
+ * The text displayed when there are no options in the option list.
645
+ */
646
+ "emptyOptionListText"?: string;
647
+ /**
648
+ * The <form> element to associate the select with.
649
+ */
650
+ "form"?: string;
651
+ /**
652
+ * The URL that processes the information submitted by the select. It overrides the action attribute of the select's form owner. Does nothing if there is no form owner. This prop should only be used with searchable select and will only be applied if searchable is true.
653
+ */
654
+ "formaction"?: string;
655
+ /**
656
+ * The way the submitted form data is encoded. This prop should only be used with searchable select and will only be applied if searchable is true.
657
+ */
658
+ "formenctype"?: string;
659
+ /**
660
+ * The HTTP method used to submit the form. This prop should only be used with searchable select and will only be applied if searchable is true.
661
+ */
662
+ "formmethod"?: string;
663
+ /**
664
+ * If `true`, the form will not be validated when submitted. This prop should only be used with searchable select and will only be applied if searchable is true.
665
+ */
666
+ "formnovalidate"?: boolean;
667
+ /**
668
+ * The place to display the response from submitting the form. It overrides the target attribute of the select's form owner. This prop should only be used with searchable select and will only be applied if searchable is true.
669
+ */
670
+ "formtarget"?: string;
671
+ /**
672
+ * If `true`, the select element will fill the width of the container. This prop should only be used with searchable select and will only be applied if searchable is true.
673
+ */
674
+ "fullWidth"?: boolean;
675
+ /**
676
+ * The helper text that will be displayed for additional field guidance.
677
+ */
678
+ "helperText"?: string;
679
+ /**
680
+ * If `true`, the label will be hidden and the required label value will be applied as an aria-label.
681
+ */
682
+ "hideLabel"?: boolean;
683
+ /**
684
+ * If `true`, descriptions of options will be included when filtering options in a searchable select. Only applies to built in filtering.
685
+ */
686
+ "includeDescriptionsInSearch"?: boolean;
687
+ /**
688
+ * If `true`, group titles of grouped options will be included when filtering options in a searchable select. Only applies to built in filtering.
689
+ */
690
+ "includeGroupTitlesInSearch"?: boolean;
691
+ /**
692
+ * The label for the select.
693
+ */
694
+ "label": string;
695
+ /**
696
+ * If `true`, the loading state will be triggered when fetching options asynchronously.
697
+ */
698
+ "loading"?: boolean;
699
+ /**
700
+ * The message displayed when external loading times out.
701
+ */
702
+ "loadingErrorLabel"?: string;
703
+ /**
704
+ * The message displayed whilst the options are being loaded externally.
705
+ */
706
+ "loadingLabel"?: string;
707
+ /**
708
+ * If `true`, multiple options can be selected.
709
+ */
710
+ "multiple"?: boolean;
711
+ /**
712
+ * The name of the control, which is submitted with the form data.
713
+ */
714
+ "name"?: string;
715
+ /**
716
+ * Emitted when the select loses focus.
717
+ */
718
+ "onIcBlur"?: (event: IcSelectWithMultiCustomEvent<void>) => void;
719
+ /**
720
+ * Emitted when the value changes.
721
+ */
722
+ "onIcChange"?: (event: IcSelectWithMultiCustomEvent<IcValueEventDetail>) => void;
723
+ /**
724
+ * Emitted when the clear button is clicked.
725
+ */
726
+ "onIcClear"?: (event: IcSelectWithMultiCustomEvent<void>) => void;
727
+ /**
728
+ * Emitted when the select gains focus.
729
+ */
730
+ "onIcFocus"?: (event: IcSelectWithMultiCustomEvent<void>) => void;
731
+ /**
732
+ * Emitted when a keyboard input occurred.
733
+ */
734
+ "onIcInput"?: (event: IcSelectWithMultiCustomEvent<IcValueEventDetail>) => void;
735
+ /**
736
+ * Emitted when `multiple` is `true` and an option is deselected.
737
+ */
738
+ "onIcOptionDeselect"?: (event: IcSelectWithMultiCustomEvent<IcOptionSelectEventDetail>) => void;
739
+ /**
740
+ * Emitted when an option is selected. Selecting an option will also trigger an `icChange/onIcChange` due to the value being updated.
741
+ */
742
+ "onIcOptionSelect"?: (event: IcSelectWithMultiCustomEvent<IcOptionSelectEventDetail>) => void;
743
+ /**
744
+ * Emitted when the 'retry loading' button is clicked for a searchable variant.
745
+ */
746
+ "onIcRetryLoad"?: (event: IcSelectWithMultiCustomEvent<IcValueEventDetail>) => void;
747
+ /**
748
+ * The possible selection options.
749
+ */
750
+ "options"?: IcMenuOption[];
751
+ /**
752
+ * The placeholder value to be displayed.
753
+ */
754
+ "placeholder"?: string;
755
+ /**
756
+ * If `true`, the readonly state will be set.
757
+ */
758
+ "readonly"?: boolean;
759
+ /**
760
+ * If `true`, the select will require a value.
761
+ */
762
+ "required"?: boolean;
763
+ /**
764
+ * Whether the search string of the searchable select should match the start of or anywhere in the options. Only applies to built in filtering.
765
+ */
766
+ "searchMatchPosition"?: IcSearchMatchPositions;
767
+ /**
768
+ * If `true`, a searchable variant of the select will be displayed which can be typed in to filter options.
769
+ */
770
+ "searchable"?: boolean;
771
+ /**
772
+ * If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown.
773
+ */
774
+ "selectOnEnter"?: boolean;
775
+ /**
776
+ * If `true`, a button which clears the select input when clicked will be displayed. The button will always appear on the searchable select.
777
+ */
778
+ "showClearButton"?: boolean;
779
+ /**
780
+ * The size of the select.
781
+ */
782
+ "size"?: IcSizes;
783
+ /**
784
+ * **[DEPRECATED]** This prop should not be used anymore. Set prop `size` to "small" instead.
785
+ */
786
+ "small"?: boolean;
787
+ /**
788
+ * If using external filtering, set a timeout for when loading takes too long.
789
+ */
790
+ "timeout"?: number;
791
+ /**
792
+ * The validation status - e.g. 'error' | 'warning' | 'success'.
793
+ */
794
+ "validationStatus"?: IcInformationStatusOrEmpty;
795
+ /**
796
+ * The text to display as the validation message.
797
+ */
798
+ "validationText"?: string;
799
+ /**
800
+ * The value of the select, reflected by the value of the currently selected option. For the searchable variant, the value is also reflected by the user input. For the multi-select variant, the value must be an array of option values.
801
+ */
802
+ "value"?: string | string[];
803
+ }
277
804
  interface IntrinsicElements {
278
805
  "ic-data-table": IcDataTable;
806
+ "ic-menu-with-multi": IcMenuWithMulti;
279
807
  "ic-pagination-bar": IcPaginationBar;
808
+ "ic-select-with-multi": IcSelectWithMulti;
280
809
  }
281
810
  }
282
811
  export { LocalJSX as JSX };
@@ -284,7 +813,9 @@ declare module "@stencil/core" {
284
813
  export namespace JSX {
285
814
  interface IntrinsicElements {
286
815
  "ic-data-table": LocalJSX.IcDataTable & JSXBase.HTMLAttributes<HTMLIcDataTableElement>;
816
+ "ic-menu-with-multi": LocalJSX.IcMenuWithMulti & JSXBase.HTMLAttributes<HTMLIcMenuWithMultiElement>;
287
817
  "ic-pagination-bar": LocalJSX.IcPaginationBar & JSXBase.HTMLAttributes<HTMLIcPaginationBarElement>;
818
+ "ic-select-with-multi": LocalJSX.IcSelectWithMulti & JSXBase.HTMLAttributes<HTMLIcSelectWithMultiElement>;
288
819
  }
289
820
  }
290
821
  }
@@ -0,0 +1 @@
1
+ export declare const IC_INHERITED_ARIA: string[];
@@ -1,5 +1,55 @@
1
- import { IcCallbackFunctionNoReturn } from "@ukic/web-components";
2
- export declare const checkResizeObserver: (callbackFn: IcCallbackFunctionNoReturn) => void;
1
+ import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcPropObject, IcSearchMatchPositions, IcMenuOption } from "@ukic/web-components";
2
+ /**
3
+ * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
4
+ * to a variable that is later used in the render function.
5
+ *
6
+ * This does not need to be reactive as changing attributes on the host element
7
+ * does not trigger a re-render.
8
+ */
9
+ export declare const inheritAttributes: (element: HTMLElement, attributes?: string[]) => {
10
+ [key: string]: unknown;
11
+ };
12
+ /**
13
+ * This method is used to add a hidden input to a host element that contains
14
+ * a Shadow DOM. It does not add the input inside of the Shadow root which
15
+ * allows it to be picked up inside of forms. It should contain the same
16
+ * values as the host element.
17
+ *
18
+ * @param always Add a hidden input even if the container does not use Shadow
19
+ * @param container The element where the input will be added
20
+ * @param name The name of the input
21
+ * @param value The value of the input
22
+ * @param disabled If true, the input is disabled
23
+ */
24
+ export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | undefined | null, disabled: boolean) => void;
25
+ export declare const hasShadowDom: (el: HTMLElement) => boolean;
26
+ export declare const getInputHelperTextID: (id: string) => string;
27
+ export declare const getInputValidationTextID: (id: string) => string;
28
+ export declare const getInputDescribedByText: (inputId: string, helperText: boolean, validationText: boolean) => string;
29
+ export declare const isMobileOrTablet: () => boolean;
30
+ /**
31
+ * Extracts the label using the value from an object. Requires the object to have a label and value property.
32
+ * @param value - value from object
33
+ * @param options - list of menu items
34
+ * @returns - label corresponding to value
35
+ */
36
+ export declare const getLabelFromValue: (value: string, options: IcMenuOption[], valueField?: string, labelField?: string) => string | undefined;
37
+ /**
38
+ * Filters the options based on the search string.
39
+ * @param options - array of options
40
+ * @param includeDescriptions - determines whether option descriptions are included when filtering options
41
+ * @param searchString - string used to filter the options
42
+ * @param position - whether the search string matches the start of or anywhere in the options
43
+ * @returns filtered array of options
44
+ */
45
+ export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDescriptions: boolean, searchString: string, position: IcSearchMatchPositions, labelField?: string) => IcMenuOption[];
46
+ /**
47
+ * Gets count of options where only group title "parent" options have been removed.
48
+ * Disabled options are included in the count.
49
+ * @param options - array of options
50
+ * @returns number of options not including group titles
51
+ */
52
+ export declare const getOptionsWithoutGroupTitlesCount: (options: IcMenuOption[]) => number;
3
53
  export declare const getCssProperty: (cssVar: string) => string;
4
54
  export declare const DEVICE_SIZES: {
5
55
  XS: number;
@@ -9,3 +59,12 @@ export declare const DEVICE_SIZES: {
9
59
  XL: number;
10
60
  UNDEFINED: number;
11
61
  };
62
+ export declare const hasValidationStatus: (status: IcInformationStatusOrEmpty, disabled: boolean) => boolean;
63
+ export declare const onComponentRequiredPropUndefined: (props: IcPropObject[], component: string) => void;
64
+ export declare const kebabToCamelCase: (kebabCase: string) => string;
65
+ export declare const checkResizeObserver: (callbackFn: IcCallbackFunctionNoReturn) => void;
66
+ export declare const getForm: (el: HTMLElement) => HTMLFormElement;
67
+ export declare const addFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
68
+ export declare const removeFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
69
+ export declare const removeDisabledFalse: (disabled: boolean, element: HTMLElement) => void;
70
+ export declare const isMacDevice: () => boolean;