@ukic/web-components 3.26.0 → 3.28.0

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 (482) hide show
  1. package/components/OpenInNew.js +5 -0
  2. package/components/OpenInNew.js.map +1 -0
  3. package/components/check-icon.js +8 -0
  4. package/components/check-icon.js.map +1 -0
  5. package/components/chevron-icon.js +8 -0
  6. package/components/chevron-icon.js.map +1 -0
  7. package/{dist/esm/close-icon-539ec8d1.js → components/close-icon.js} +2 -3
  8. package/components/close-icon.js.map +1 -0
  9. package/components/constants.js +184 -0
  10. package/components/constants.js.map +1 -0
  11. package/components/custom-elements.d.ts +2 -0
  12. package/components/helpers.js +547 -0
  13. package/components/helpers.js.map +1 -0
  14. package/components/ic-accordion-group.d.ts +11 -0
  15. package/components/ic-accordion-group.js +191 -0
  16. package/components/ic-accordion-group.js.map +1 -0
  17. package/components/ic-accordion.d.ts +11 -0
  18. package/components/ic-accordion.js +188 -0
  19. package/components/ic-accordion.js.map +1 -0
  20. package/components/ic-action-chip.d.ts +11 -0
  21. package/components/ic-action-chip.js +164 -0
  22. package/components/ic-action-chip.js.map +1 -0
  23. package/components/ic-alert.d.ts +11 -0
  24. package/components/ic-alert.js +193 -0
  25. package/components/ic-alert.js.map +1 -0
  26. package/components/ic-back-to-top.d.ts +11 -0
  27. package/components/ic-back-to-top.js +216 -0
  28. package/components/ic-back-to-top.js.map +1 -0
  29. package/components/ic-badge.d.ts +11 -0
  30. package/components/ic-badge.js +222 -0
  31. package/components/ic-badge.js.map +1 -0
  32. package/components/ic-breadcrumb-group.d.ts +11 -0
  33. package/components/ic-breadcrumb-group.js +278 -0
  34. package/components/ic-breadcrumb-group.js.map +1 -0
  35. package/components/ic-breadcrumb.d.ts +11 -0
  36. package/components/ic-breadcrumb.js +8 -0
  37. package/components/ic-breadcrumb.js.map +1 -0
  38. package/components/ic-breadcrumb2.js +145 -0
  39. package/components/ic-breadcrumb2.js.map +1 -0
  40. package/components/ic-button.d.ts +11 -0
  41. package/components/ic-button.js +8 -0
  42. package/components/ic-button.js.map +1 -0
  43. package/components/ic-button2.js +509 -0
  44. package/components/ic-button2.js.map +1 -0
  45. package/components/ic-card-horizontal.d.ts +11 -0
  46. package/components/ic-card-horizontal.js +214 -0
  47. package/components/ic-card-horizontal.js.map +1 -0
  48. package/components/ic-card-vertical.d.ts +11 -0
  49. package/components/ic-card-vertical.js +219 -0
  50. package/components/ic-card-vertical.js.map +1 -0
  51. package/components/ic-checkbox-group.d.ts +11 -0
  52. package/components/ic-checkbox-group.js +198 -0
  53. package/components/ic-checkbox-group.js.map +1 -0
  54. package/components/ic-checkbox.d.ts +11 -0
  55. package/components/ic-checkbox.js +202 -0
  56. package/components/ic-checkbox.js.map +1 -0
  57. package/components/ic-chip.d.ts +11 -0
  58. package/components/ic-chip.js +183 -0
  59. package/components/ic-chip.js.map +1 -0
  60. package/components/ic-classification-banner.d.ts +11 -0
  61. package/components/ic-classification-banner.js +102 -0
  62. package/components/ic-classification-banner.js.map +1 -0
  63. package/components/ic-data-list.d.ts +11 -0
  64. package/components/ic-data-list.js +63 -0
  65. package/components/ic-data-list.js.map +1 -0
  66. package/components/ic-data-row.d.ts +11 -0
  67. package/components/ic-data-row.js +115 -0
  68. package/components/ic-data-row.js.map +1 -0
  69. package/components/ic-dialog.d.ts +11 -0
  70. package/components/ic-dialog.js +366 -0
  71. package/components/ic-dialog.js.map +1 -0
  72. package/components/ic-divider.d.ts +11 -0
  73. package/components/ic-divider.js +8 -0
  74. package/components/ic-divider.js.map +1 -0
  75. package/components/ic-divider2.js +148 -0
  76. package/components/ic-divider2.js.map +1 -0
  77. package/components/ic-empty-state.d.ts +11 -0
  78. package/components/ic-empty-state.js +82 -0
  79. package/components/ic-empty-state.js.map +1 -0
  80. package/components/ic-footer-link-group.d.ts +11 -0
  81. package/components/ic-footer-link-group.js +101 -0
  82. package/components/ic-footer-link-group.js.map +1 -0
  83. package/components/ic-footer-link.d.ts +11 -0
  84. package/components/ic-footer-link.js +95 -0
  85. package/components/ic-footer-link.js.map +1 -0
  86. package/components/ic-footer.d.ts +11 -0
  87. package/components/ic-footer.js +156 -0
  88. package/components/ic-footer.js.map +1 -0
  89. package/components/ic-hero.d.ts +11 -0
  90. package/components/ic-hero.js +145 -0
  91. package/components/ic-hero.js.map +1 -0
  92. package/components/ic-horizontal-scroll.d.ts +11 -0
  93. package/components/ic-horizontal-scroll.js +8 -0
  94. package/components/ic-horizontal-scroll.js.map +1 -0
  95. package/components/ic-horizontal-scroll2.js +240 -0
  96. package/components/ic-horizontal-scroll2.js.map +1 -0
  97. package/components/ic-input-component-container.d.ts +11 -0
  98. package/components/ic-input-component-container.js +8 -0
  99. package/components/ic-input-component-container.js.map +1 -0
  100. package/components/ic-input-component-container2.js +95 -0
  101. package/components/ic-input-component-container2.js.map +1 -0
  102. package/components/ic-input-container.d.ts +11 -0
  103. package/components/ic-input-container.js +8 -0
  104. package/components/ic-input-container.js.map +1 -0
  105. package/components/ic-input-container2.js +47 -0
  106. package/components/ic-input-container2.js.map +1 -0
  107. package/components/ic-input-label.d.ts +11 -0
  108. package/components/ic-input-label.js +8 -0
  109. package/components/ic-input-label.js.map +1 -0
  110. package/components/ic-input-label2.js +121 -0
  111. package/components/ic-input-label2.js.map +1 -0
  112. package/components/ic-input-validation.d.ts +11 -0
  113. package/components/ic-input-validation.js +8 -0
  114. package/components/ic-input-validation.js.map +1 -0
  115. package/components/ic-input-validation2.js +90 -0
  116. package/components/ic-input-validation2.js.map +1 -0
  117. package/components/ic-layout-grid-item.d.ts +11 -0
  118. package/components/ic-layout-grid-item.js +95 -0
  119. package/components/ic-layout-grid-item.js.map +1 -0
  120. package/components/ic-layout-grid.d.ts +11 -0
  121. package/components/ic-layout-grid.js +188 -0
  122. package/components/ic-layout-grid.js.map +1 -0
  123. package/components/ic-link.d.ts +11 -0
  124. package/components/ic-link.js +8 -0
  125. package/components/ic-link.js.map +1 -0
  126. package/components/ic-link2.js +135 -0
  127. package/components/ic-link2.js.map +1 -0
  128. package/components/ic-loading-indicator.d.ts +11 -0
  129. package/components/ic-loading-indicator.js +8 -0
  130. package/components/ic-loading-indicator.js.map +1 -0
  131. package/components/ic-loading-indicator2.js +278 -0
  132. package/components/ic-loading-indicator2.js.map +1 -0
  133. package/components/ic-menu-group.d.ts +11 -0
  134. package/components/ic-menu-group.js +47 -0
  135. package/components/ic-menu-group.js.map +1 -0
  136. package/components/ic-menu-item.d.ts +11 -0
  137. package/components/ic-menu-item.js +8 -0
  138. package/components/ic-menu-item.js.map +1 -0
  139. package/components/ic-menu-item2.js +171 -0
  140. package/components/ic-menu-item2.js.map +1 -0
  141. package/components/ic-menu.d.ts +11 -0
  142. package/components/ic-menu.js +8 -0
  143. package/components/ic-menu.js.map +1 -0
  144. package/components/ic-menu2.js +2590 -0
  145. package/components/ic-menu2.js.map +1 -0
  146. package/components/ic-navigation-button.d.ts +11 -0
  147. package/components/ic-navigation-button.js +175 -0
  148. package/components/ic-navigation-button.js.map +1 -0
  149. package/components/ic-navigation-group.d.ts +11 -0
  150. package/components/ic-navigation-group.js +326 -0
  151. package/components/ic-navigation-group.js.map +1 -0
  152. package/components/ic-navigation-item.d.ts +11 -0
  153. package/components/ic-navigation-item.js +294 -0
  154. package/components/ic-navigation-item.js.map +1 -0
  155. package/components/ic-navigation-menu.d.ts +11 -0
  156. package/components/ic-navigation-menu.js +8 -0
  157. package/components/ic-navigation-menu.js.map +1 -0
  158. package/components/ic-navigation-menu2.js +188 -0
  159. package/components/ic-navigation-menu2.js.map +1 -0
  160. package/components/ic-page-header.d.ts +11 -0
  161. package/components/ic-page-header.js +196 -0
  162. package/components/ic-page-header.js.map +1 -0
  163. package/components/ic-pagination-bar.d.ts +11 -0
  164. package/components/ic-pagination-bar.js +523 -0
  165. package/components/ic-pagination-bar.js.map +1 -0
  166. package/components/ic-pagination-item.d.ts +11 -0
  167. package/components/ic-pagination-item.js +8 -0
  168. package/components/ic-pagination-item.js.map +1 -0
  169. package/components/ic-pagination-item2.js +107 -0
  170. package/components/ic-pagination-item2.js.map +1 -0
  171. package/components/ic-pagination.d.ts +11 -0
  172. package/components/ic-pagination.js +8 -0
  173. package/components/ic-pagination.js.map +1 -0
  174. package/components/ic-pagination2.js +383 -0
  175. package/components/ic-pagination2.js.map +1 -0
  176. package/components/ic-popover-menu.d.ts +11 -0
  177. package/components/ic-popover-menu.js +391 -0
  178. package/components/ic-popover-menu.js.map +1 -0
  179. package/components/ic-radio-group.d.ts +11 -0
  180. package/components/ic-radio-group.js +317 -0
  181. package/components/ic-radio-group.js.map +1 -0
  182. package/components/ic-radio-option.d.ts +11 -0
  183. package/components/ic-radio-option.js +211 -0
  184. package/components/ic-radio-option.js.map +1 -0
  185. package/components/ic-search-bar.d.ts +11 -0
  186. package/components/ic-search-bar.js +715 -0
  187. package/components/ic-search-bar.js.map +1 -0
  188. package/components/ic-section-container.d.ts +11 -0
  189. package/components/ic-section-container.js +8 -0
  190. package/components/ic-section-container.js.map +1 -0
  191. package/components/ic-section-container2.js +50 -0
  192. package/components/ic-section-container2.js.map +1 -0
  193. package/components/ic-select.d.ts +11 -0
  194. package/components/ic-select.js +8 -0
  195. package/components/ic-select.js.map +1 -0
  196. package/components/ic-select2.js +806 -0
  197. package/components/ic-select2.js.map +1 -0
  198. package/components/ic-side-navigation.d.ts +11 -0
  199. package/components/ic-side-navigation.js +568 -0
  200. package/components/ic-side-navigation.js.map +1 -0
  201. package/components/ic-skeleton.d.ts +11 -0
  202. package/components/ic-skeleton.js +81 -0
  203. package/components/ic-skeleton.js.map +1 -0
  204. package/components/ic-skip-link.d.ts +11 -0
  205. package/components/ic-skip-link.js +91 -0
  206. package/components/ic-skip-link.js.map +1 -0
  207. package/components/ic-status-tag.d.ts +11 -0
  208. package/components/ic-status-tag.js +85 -0
  209. package/components/ic-status-tag.js.map +1 -0
  210. package/components/ic-step.d.ts +11 -0
  211. package/components/ic-step.js +200 -0
  212. package/components/ic-step.js.map +1 -0
  213. package/components/ic-stepper.d.ts +11 -0
  214. package/components/ic-stepper.js +340 -0
  215. package/components/ic-stepper.js.map +1 -0
  216. package/components/ic-switch.d.ts +11 -0
  217. package/components/ic-switch.js +164 -0
  218. package/components/ic-switch.js.map +1 -0
  219. package/components/ic-tab-context.d.ts +11 -0
  220. package/components/ic-tab-context.js +275 -0
  221. package/components/ic-tab-context.js.map +1 -0
  222. package/components/ic-tab-group.d.ts +11 -0
  223. package/components/ic-tab-group.js +89 -0
  224. package/components/ic-tab-group.js.map +1 -0
  225. package/components/ic-tab-panel.d.ts +11 -0
  226. package/components/ic-tab-panel.js +63 -0
  227. package/components/ic-tab-panel.js.map +1 -0
  228. package/components/ic-tab.d.ts +11 -0
  229. package/components/ic-tab.js +143 -0
  230. package/components/ic-tab.js.map +1 -0
  231. package/components/ic-text-field.d.ts +11 -0
  232. package/components/ic-text-field.js +8 -0
  233. package/components/ic-text-field.js.map +1 -0
  234. package/components/ic-text-field2.js +532 -0
  235. package/components/ic-text-field2.js.map +1 -0
  236. package/components/ic-theme.d.ts +11 -0
  237. package/components/ic-theme.js +105 -0
  238. package/components/ic-theme.js.map +1 -0
  239. package/components/ic-toast-region.d.ts +11 -0
  240. package/components/ic-toast-region.js +76 -0
  241. package/components/ic-toast-region.js.map +1 -0
  242. package/components/ic-toast.d.ts +11 -0
  243. package/components/ic-toast.js +295 -0
  244. package/components/ic-toast.js.map +1 -0
  245. package/components/ic-toggle-button-group.d.ts +11 -0
  246. package/components/ic-toggle-button-group.js +323 -0
  247. package/components/ic-toggle-button-group.js.map +1 -0
  248. package/components/ic-toggle-button.d.ts +11 -0
  249. package/components/ic-toggle-button.js +235 -0
  250. package/components/ic-toggle-button.js.map +1 -0
  251. package/components/ic-tooltip.d.ts +11 -0
  252. package/components/ic-tooltip.js +8 -0
  253. package/components/ic-tooltip.js.map +1 -0
  254. package/components/ic-tooltip2.js +2078 -0
  255. package/components/ic-tooltip2.js.map +1 -0
  256. package/components/ic-top-navigation.d.ts +11 -0
  257. package/components/ic-top-navigation.js +320 -0
  258. package/components/ic-top-navigation.js.map +1 -0
  259. package/components/ic-typography.d.ts +11 -0
  260. package/components/ic-typography.js +8 -0
  261. package/components/ic-typography.js.map +1 -0
  262. package/components/ic-typography2.js +228 -0
  263. package/components/ic-typography2.js.map +1 -0
  264. package/components/index.d.ts +33 -0
  265. package/components/index.js +4 -0
  266. package/components/index.js.map +1 -0
  267. package/components/package.json +9 -0
  268. package/dist/cjs/{close-icon-7f6ef8e4.js → close-icon-30d8bb41.js} +2 -3
  269. package/dist/cjs/close-icon-30d8bb41.js.map +1 -0
  270. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  271. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  272. package/dist/cjs/ic-data-list.cjs.entry.js +1 -1
  273. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  274. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  275. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  276. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  277. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +63 -37
  278. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  279. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  280. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  281. package/dist/cjs/ic-pagination_3.cjs.entry.js +29 -25
  282. package/dist/cjs/ic-pagination_3.cjs.entry.js.map +1 -1
  283. package/dist/cjs/ic-popover-menu.cjs.entry.js +33 -11
  284. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  285. package/dist/cjs/ic-search-bar.cjs.entry.js +2 -6
  286. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  287. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  288. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  289. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  290. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  291. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  292. package/dist/cjs/ic-step.cjs.entry.js +13 -13
  293. package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
  294. package/dist/cjs/ic-switch.cjs.entry.js +4 -4
  295. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  296. package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
  297. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  298. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  299. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  300. package/dist/cjs/ic-toast.cjs.entry.js +6 -6
  301. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +2 -2
  302. package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
  303. package/dist/collection/assets/close-icon.svg +1 -2
  304. package/dist/collection/components/ic-data-list/ic-data-list.css +4 -0
  305. package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
  306. package/dist/collection/components/ic-menu/ic-menu.css +19 -0
  307. package/dist/collection/components/ic-menu/ic-menu.js +62 -36
  308. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  309. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -1
  310. package/dist/collection/components/ic-pagination/ic-pagination.js +12 -8
  311. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  312. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +2 -1
  313. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +4 -4
  314. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +36 -11
  315. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  316. package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +72 -0
  317. package/dist/collection/components/ic-search-bar/ic-search-bar.js +1 -1
  318. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  319. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  320. package/dist/collection/components/ic-select/ic-select.js +17 -17
  321. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  322. package/dist/collection/components/ic-select/ic-select_(single).stories.js +54 -0
  323. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  324. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  325. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  326. package/dist/collection/components/ic-step/ic-step.js +13 -13
  327. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  328. package/dist/collection/components/ic-switch/ic-switch.js +4 -4
  329. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  330. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  331. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  332. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  333. package/dist/collection/components/ic-toast/ic-toast.js +5 -5
  334. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  335. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  336. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  337. package/dist/components/close-icon.js +1 -2
  338. package/dist/components/close-icon.js.map +1 -1
  339. package/dist/components/ic-data-list.js +1 -1
  340. package/dist/components/ic-data-list.js.map +1 -1
  341. package/dist/components/ic-data-row.js +1 -1
  342. package/dist/components/ic-data-row.js.map +1 -1
  343. package/dist/components/ic-menu2.js +63 -37
  344. package/dist/components/ic-menu2.js.map +1 -1
  345. package/dist/components/ic-page-header.js.map +1 -1
  346. package/dist/components/ic-pagination-bar.js.map +1 -1
  347. package/dist/components/ic-pagination-item2.js +1 -1
  348. package/dist/components/ic-pagination-item2.js.map +1 -1
  349. package/dist/components/ic-pagination2.js +12 -8
  350. package/dist/components/ic-pagination2.js.map +1 -1
  351. package/dist/components/ic-popover-menu.js +34 -12
  352. package/dist/components/ic-popover-menu.js.map +1 -1
  353. package/dist/components/ic-radio-group.js.map +1 -1
  354. package/dist/components/ic-radio-option.js.map +1 -1
  355. package/dist/components/ic-search-bar.js +2 -6
  356. package/dist/components/ic-search-bar.js.map +1 -1
  357. package/dist/components/ic-section-container2.js +2 -2
  358. package/dist/components/ic-select2.js +17 -17
  359. package/dist/components/ic-select2.js.map +1 -1
  360. package/dist/components/ic-side-navigation.js.map +1 -1
  361. package/dist/components/ic-skeleton.js +2 -2
  362. package/dist/components/ic-skip-link.js +2 -2
  363. package/dist/components/ic-status-tag.js +2 -2
  364. package/dist/components/ic-step.js +13 -13
  365. package/dist/components/ic-stepper.js +2 -2
  366. package/dist/components/ic-switch.js +4 -4
  367. package/dist/components/ic-tab-context.js +1 -1
  368. package/dist/components/ic-tab-group.js +2 -2
  369. package/dist/components/ic-tab-panel.js +2 -2
  370. package/dist/components/ic-theme.js +1 -1
  371. package/dist/components/ic-toast-region.js +1 -1
  372. package/dist/components/ic-toast.js +5 -5
  373. package/dist/components/ic-toggle-button-group.js +2 -2
  374. package/dist/components/ic-toggle-button.js +2 -2
  375. package/dist/core/core.esm.js +1 -1
  376. package/dist/core/{p-23fb87be.entry.js → p-0558baed.entry.js} +2 -2
  377. package/dist/core/{p-a0c54a50.entry.js → p-0740be66.entry.js} +2 -2
  378. package/dist/core/{p-d0dd9f2c.entry.js → p-0cd21e04.entry.js} +2 -2
  379. package/dist/core/p-0cd21e04.entry.js.map +1 -0
  380. package/dist/core/{p-bb52e752.entry.js → p-1043f3dd.entry.js} +2 -2
  381. package/dist/core/{p-74a3a450.entry.js → p-1843357b.entry.js} +2 -2
  382. package/dist/core/{p-b58fb588.entry.js → p-2251df98.entry.js} +2 -2
  383. package/dist/core/{p-cf87b6db.entry.js → p-2bb815ef.entry.js} +2 -2
  384. package/dist/core/p-308be45e.entry.js +2 -0
  385. package/dist/core/p-308be45e.entry.js.map +1 -0
  386. package/dist/core/p-4b61e92e.entry.js +2 -0
  387. package/dist/core/{p-99b20121.entry.js.map → p-4b61e92e.entry.js.map} +1 -1
  388. package/dist/core/p-56ab6fb7.entry.js +2 -0
  389. package/dist/core/p-56ab6fb7.entry.js.map +1 -0
  390. package/dist/core/{p-fd9ea62a.entry.js → p-75f91c8c.entry.js} +2 -2
  391. package/dist/core/p-77f011e7.entry.js +2 -0
  392. package/dist/core/p-77f011e7.entry.js.map +1 -0
  393. package/dist/core/{p-70ca7796.entry.js → p-85db7e71.entry.js} +2 -2
  394. package/dist/core/{p-ab104baa.entry.js → p-987b08f9.entry.js} +2 -2
  395. package/dist/core/p-98dee727.entry.js.map +1 -1
  396. package/dist/core/{p-85ac0d78.entry.js → p-9b144bed.entry.js} +2 -2
  397. package/dist/core/{p-d1220d2a.entry.js → p-a8d98164.entry.js} +2 -2
  398. package/dist/core/{p-a7c263bd.entry.js → p-ba8799ea.entry.js} +2 -2
  399. package/dist/core/p-ba8799ea.entry.js.map +1 -0
  400. package/dist/core/{p-85232cec.entry.js → p-bf06d022.entry.js} +2 -2
  401. package/dist/core/{p-c41fd2cf.entry.js → p-c0f6f568.entry.js} +2 -2
  402. package/dist/core/p-c391e323.js +2 -0
  403. package/dist/core/{p-271ee0bc.entry.js → p-c75c316b.entry.js} +2 -2
  404. package/dist/core/{p-970e190c.entry.js → p-e0b52a71.entry.js} +2 -2
  405. package/dist/core/{p-3da9774b.entry.js → p-ef91cf17.entry.js} +2 -2
  406. package/dist/core/{p-d7c6fc8d.entry.js → p-f8e5d8f8.entry.js} +2 -2
  407. package/dist/core/{p-6b5edd6b.entry.js → p-f9daecc7.entry.js} +2 -2
  408. package/dist/core/{p-171a19bf.entry.js → p-fdc4376e.entry.js} +2 -2
  409. package/dist/core/p-fdc4376e.entry.js.map +1 -0
  410. package/dist/esm/close-icon-0db44bf2.js +9 -0
  411. package/dist/esm/close-icon-0db44bf2.js.map +1 -0
  412. package/dist/esm/ic-alert.entry.js +1 -1
  413. package/dist/esm/ic-button_3.entry.js.map +1 -1
  414. package/dist/esm/ic-data-list.entry.js +1 -1
  415. package/dist/esm/ic-data-list.entry.js.map +1 -1
  416. package/dist/esm/ic-data-row.entry.js +1 -1
  417. package/dist/esm/ic-data-row.entry.js.map +1 -1
  418. package/dist/esm/ic-dialog.entry.js +1 -1
  419. package/dist/esm/ic-input-component-container_3.entry.js +63 -37
  420. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  421. package/dist/esm/ic-pagination-item.entry.js +1 -1
  422. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  423. package/dist/esm/ic-pagination_3.entry.js +29 -25
  424. package/dist/esm/ic-pagination_3.entry.js.map +1 -1
  425. package/dist/esm/ic-popover-menu.entry.js +34 -12
  426. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  427. package/dist/esm/ic-search-bar.entry.js +2 -6
  428. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  429. package/dist/esm/ic-section-container.entry.js +2 -2
  430. package/dist/esm/ic-side-navigation.entry.js +1 -1
  431. package/dist/esm/ic-skeleton.entry.js +2 -2
  432. package/dist/esm/ic-skip-link.entry.js +2 -2
  433. package/dist/esm/ic-status-tag.entry.js +2 -2
  434. package/dist/esm/ic-step.entry.js +13 -13
  435. package/dist/esm/ic-stepper.entry.js +2 -2
  436. package/dist/esm/ic-switch.entry.js +4 -4
  437. package/dist/esm/ic-tab-context.entry.js +1 -1
  438. package/dist/esm/ic-tab-group.entry.js +2 -2
  439. package/dist/esm/ic-tab-panel.entry.js +2 -2
  440. package/dist/esm/ic-theme.entry.js +1 -1
  441. package/dist/esm/ic-toast-region.entry.js +1 -1
  442. package/dist/esm/ic-toast.entry.js +6 -6
  443. package/dist/esm/ic-toggle-button-group.entry.js +2 -2
  444. package/dist/esm/ic-toggle-button.entry.js +2 -2
  445. package/dist/types/components/ic-menu/ic-menu.types.d.ts +1 -0
  446. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -0
  447. package/hydrate/index.js +176 -127
  448. package/hydrate/index.mjs +176 -127
  449. package/package.json +10 -9
  450. package/dist/cjs/close-icon-7f6ef8e4.js.map +0 -1
  451. package/dist/collection/assets/clear-icon.svg +0 -3
  452. package/dist/core/p-023cf5d9.entry.js +0 -2
  453. package/dist/core/p-023cf5d9.entry.js.map +0 -1
  454. package/dist/core/p-171a19bf.entry.js.map +0 -1
  455. package/dist/core/p-2424f82f.entry.js +0 -2
  456. package/dist/core/p-2424f82f.entry.js.map +0 -1
  457. package/dist/core/p-343670b4.entry.js +0 -2
  458. package/dist/core/p-343670b4.entry.js.map +0 -1
  459. package/dist/core/p-99b20121.entry.js +0 -2
  460. package/dist/core/p-a7c263bd.entry.js.map +0 -1
  461. package/dist/core/p-d0dd9f2c.entry.js.map +0 -1
  462. package/dist/core/p-f074ef5b.js +0 -2
  463. package/dist/esm/close-icon-539ec8d1.js.map +0 -1
  464. /package/dist/core/{p-23fb87be.entry.js.map → p-0558baed.entry.js.map} +0 -0
  465. /package/dist/core/{p-a0c54a50.entry.js.map → p-0740be66.entry.js.map} +0 -0
  466. /package/dist/core/{p-bb52e752.entry.js.map → p-1043f3dd.entry.js.map} +0 -0
  467. /package/dist/core/{p-74a3a450.entry.js.map → p-1843357b.entry.js.map} +0 -0
  468. /package/dist/core/{p-b58fb588.entry.js.map → p-2251df98.entry.js.map} +0 -0
  469. /package/dist/core/{p-cf87b6db.entry.js.map → p-2bb815ef.entry.js.map} +0 -0
  470. /package/dist/core/{p-fd9ea62a.entry.js.map → p-75f91c8c.entry.js.map} +0 -0
  471. /package/dist/core/{p-70ca7796.entry.js.map → p-85db7e71.entry.js.map} +0 -0
  472. /package/dist/core/{p-ab104baa.entry.js.map → p-987b08f9.entry.js.map} +0 -0
  473. /package/dist/core/{p-85ac0d78.entry.js.map → p-9b144bed.entry.js.map} +0 -0
  474. /package/dist/core/{p-d1220d2a.entry.js.map → p-a8d98164.entry.js.map} +0 -0
  475. /package/dist/core/{p-85232cec.entry.js.map → p-bf06d022.entry.js.map} +0 -0
  476. /package/dist/core/{p-c41fd2cf.entry.js.map → p-c0f6f568.entry.js.map} +0 -0
  477. /package/dist/core/{p-f074ef5b.js.map → p-c391e323.js.map} +0 -0
  478. /package/dist/core/{p-271ee0bc.entry.js.map → p-c75c316b.entry.js.map} +0 -0
  479. /package/dist/core/{p-970e190c.entry.js.map → p-e0b52a71.entry.js.map} +0 -0
  480. /package/dist/core/{p-3da9774b.entry.js.map → p-ef91cf17.entry.js.map} +0 -0
  481. /package/dist/core/{p-d7c6fc8d.entry.js.map → p-f8e5d8f8.entry.js.map} +0 -0
  482. /package/dist/core/{p-6b5edd6b.entry.js.map → p-f9daecc7.entry.js.map} +0 -0
@@ -0,0 +1,715 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { V as getFilteredMenuOptions, W as getLabelFromValue, h as handleHiddenFormButtonClick, r as removeDisabledFalse, U as debounceEvent, o as onComponentRequiredPropUndefined, w as getInputDescribedByText, u as renderHiddenInput } from './helpers.js';
3
+ import { c as closeIcon } from './close-icon.js';
4
+ import { d as defineCustomElement$9 } from './ic-button2.js';
5
+ import { d as defineCustomElement$8 } from './ic-input-component-container2.js';
6
+ import { d as defineCustomElement$7 } from './ic-input-container2.js';
7
+ import { d as defineCustomElement$6 } from './ic-input-label2.js';
8
+ import { d as defineCustomElement$5 } from './ic-loading-indicator2.js';
9
+ import { d as defineCustomElement$4 } from './ic-menu2.js';
10
+ import { d as defineCustomElement$3 } from './ic-tooltip2.js';
11
+ import { d as defineCustomElement$2 } from './ic-typography2.js';
12
+
13
+ const searchIcon = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
14
+ <path d="M13.1292 11.8792H12.4708L12.2375 11.6542C13.0542 10.7042 13.5458 9.47083 13.5458 8.12916C13.5458 5.13749 11.1208 2.71249 8.12916 2.71249C5.13749 2.71249 2.71249 5.13749 2.71249 8.12916C2.71249 11.1208 5.13749 13.5458 8.12916 13.5458C9.47083 13.5458 10.7042 13.0542 11.6542 12.2375L11.8792 12.4708V13.1292L16.0458 17.2875L17.2875 16.0458L13.1292 11.8792ZM8.12916 11.8792C6.05416 11.8792 4.37916 10.2042 4.37916 8.12916C4.37916 6.05416 6.05416 4.37916 8.12916 4.37916C10.2042 4.37916 11.8792 6.05416 11.8792 8.12916C11.8792 10.2042 10.2042 11.8792 8.12916 11.8792Z" fill="currentColor"/>
15
+ </svg>`;
16
+
17
+ const icSearchBarCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-search-bar-search){display:block;--divider-height:1.5rem;--ic-input-label-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-search-bar-outline);--input-bg-color:var(--ic-search-bar-background);--border-color-disabled:var(--ic-search-bar-outline-disabled);--menu-item-text-color:var(--ic-search-bar-dropdown-option-text);--menu-item-desc-text-color:var(--ic-search-bar-dropdown-option-description);--menu-bg-color:var(--ic-search-bar-dropdown-background);--menu-border-color:var(--ic-search-bar-dropdown-outline)}:host(.ic-search-bar-disabled){--ic-input-label-text-color:var(--ic-search-bar-label-disabled);--ic-input-label-helper-text-color:var(--ic-search-bar-subtitle-disabled)}:host(.ic-search-bar-search:hover){--border-color:var(--ic-search-bar-outline-hover)}:host(.ic-search-bar-search:active){--border-color:var(--ic-search-bar-outline-pressed)}:host(.ic-search-bar-search.ic-search-bar-small){--divider-height:1rem}:host(.ic-search-bar-full-width){width:100%}::-moz-placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}::placeholder{color:var(--ic-search-bar-placeholder-text);opacity:1}input{border:0;border-radius:var(--ic-border-radius);color:var(--ic-search-bar-filled-text);background-color:var(--input-bg-color);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(--ic-search-bar-filled-text-cursor)}input:focus{border:0;outline:0}input:disabled::-moz-placeholder{color:var(--ic-search-bar-disabled-text)}input:disabled,input:disabled::placeholder{color:var(--ic-search-bar-disabled-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.no-left-pad{padding-left:0}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.clear-button-container{align-items:center;margin-right:var(--ic-space-1px);display:none;visibility:hidden}.clear-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus,.clear-button:active{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button-unfocused *{fill:var(--ic-search-bar-clear-button)}.clear-button:focus,.clear-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button-visible{visibility:visible;display:flex}.search-submit-button-container{display:flex;align-items:center}.search-submit-button-unfocused *{fill:var(--ic-search-bar-filled-icon)}.search-submit-button-disabled *{fill:var(--ic-search-bar-icon-disabled)}.search-submit-button-disabled .ic-tooltip-container{display:none !important}.search-submit-button:focus,.search-submit-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:var(--ic-space-xxs)}.search-submit-button:focus,.search-submit-button:active *{fill:white}.divider{width:var(--ic-border-width);background-color:var(--ic-search-bar-dropdown-divider);height:var(--divider-height)}.menu-container{width:var(--input-width, 20rem);position:relative;top:var(--ic-space-xxxs)}.menu-container.fullwidth{width:100%}.no-results{cursor:not-allowed}.search-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);margin-bottom:calc(-1 * var(--ic-space-1px));margin-right:calc(-1 * var(--ic-space-1px));overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}@media (forced-colors: active){.search-submit-button-unfocused *{fill:canvastext}.search-submit-button-disabled *{fill:GrayText}}@media screen AND (max-width: 22rem){.menu-container{max-width:var(--menu-width, var(--input-width, 20rem));width:100%}}@media (prefers-reduced-motion: reduce){.clear-button{transition:none}}";
18
+ const IcSearchBarStyle0 = icSearchBarCss;
19
+
20
+ let inputIds = 0;
21
+ const SearchBar = /*@__PURE__*/ proxyCustomElement(class SearchBar extends HTMLElement {
22
+ constructor() {
23
+ super();
24
+ this.__registerHost();
25
+ this.__attachShadow();
26
+ this.icChange = createEvent(this, "icChange", 7);
27
+ this.icClear = createEvent(this, "icClear", 7);
28
+ this.icInput = createEvent(this, "icInput", 7);
29
+ this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
30
+ this.icMenuChange = createEvent(this, "icMenuChange", 7);
31
+ this.icClearBlur = createEvent(this, "icClearBlur", 7);
32
+ this.icRetryLoad = createEvent(this, "icRetryLoad", 7);
33
+ this.icSubmitSearch = createEvent(this, "icSubmitSearch", 7);
34
+ this.icSubmitSearchBlur = createEvent(this, "icSubmitSearchBlur", 7);
35
+ this.icSearchBarBlur = createEvent(this, "icSearchBarBlur", 7);
36
+ this.icSearchBarFocus = createEvent(this, "icSearchBarFocus", 7);
37
+ this.icKeydown = createEvent(this, "icKeydown", 7);
38
+ this.hasTimedOut = false;
39
+ this.inputId = `ic-search-bar-input-${inputIds++}`;
40
+ this.menuCloseFromMenuChangeEvent = false;
41
+ this.menuId = `${this.inputId}-menu`;
42
+ this.preLoad = true;
43
+ this.preventSubmit = false;
44
+ this.prevNoOption = false;
45
+ this.retryButtonClick = false;
46
+ this.retryViaKeyPress = false;
47
+ this.truncateValue = false;
48
+ this.clearButtonFocused = false;
49
+ this.open = false;
50
+ this.searchSubmitFocused = false;
51
+ this.showClearButton = false;
52
+ /**
53
+ * The automatic capitalisation of the text value as it is entered/edited by the user.
54
+ * Available options: "off", "none", "on", "sentences", "words", "characters".
55
+ */
56
+ this.autocapitalize = "off";
57
+ /**
58
+ * The state of autocompletion the browser can apply on the text value.
59
+ */
60
+ this.autocomplete = "off";
61
+ /**
62
+ * The state of autocorrection the browser can apply when the user is entering/editing the text value.
63
+ */
64
+ this.autocorrect = "off";
65
+ /**
66
+ * If `true`, the form control will have input focus when the page loads.
67
+ */
68
+ this.autofocus = false;
69
+ /**
70
+ * The number of characters until suggestions appear. The submit button will be disabled until the inputted value is equal to or greater than this number.
71
+ */
72
+ this.charactersUntilSuggestion = 2;
73
+ /**
74
+ * If `true`, the disabled state will be set.
75
+ */
76
+ this.disabled = false;
77
+ /**
78
+ * Specify whether to disable the built in filtering. For example, if options will already be filtered from external source.
79
+ * If `true`, all options provided will be displayed.
80
+ */
81
+ this.disableAutoFiltering = false;
82
+ /**
83
+ * The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
84
+ */
85
+ this.debounce = 0;
86
+ /**
87
+ * The text displayed when there are no options in the option list.
88
+ */
89
+ this.emptyOptionListText = "No results found";
90
+ /**
91
+ * If `true`, the search bar will be focused when component loaded.
92
+ */
93
+ this.focusOnLoad = false;
94
+ /**
95
+ * Specify whether the search bar fills the full width of the container.
96
+ * If `true`, this overrides the --input-width CSS variable.
97
+ */
98
+ this.fullWidth = false;
99
+ /**
100
+ * The helper text that will be displayed for additional field guidance.
101
+ */
102
+ this.helperText = "";
103
+ /**
104
+ * If `true`, the label will be hidden and the required label value will be applied as an aria-label.
105
+ */
106
+ this.hideLabel = false;
107
+ /**
108
+ * The hint text for the hidden assistive description element.
109
+ */
110
+ this.assistiveHintText = "When autocomplete results are available use the up and down arrows to choose and press enter to select";
111
+ /**
112
+ * The custom name for the label field to correspond with the IcMenuOption type.
113
+ */
114
+ this.labelField = "label";
115
+ /**
116
+ * Trigger loading state when fetching options asynchronously
117
+ */
118
+ this.loading = false;
119
+ /**
120
+ * Change the message displayed when external loading times out.
121
+ */
122
+ this.loadingErrorLabel = "Loading Error";
123
+ /**
124
+ * Change the message displayed whilst the options are being loaded externally.
125
+ */
126
+ this.loadingLabel = "Loading...";
127
+ /**
128
+ * The name of the control, which is submitted with the form data.
129
+ */
130
+ this.name = this.inputId;
131
+ /**
132
+ * The placeholder value to display.
133
+ */
134
+ this.placeholder = "Search";
135
+ /**
136
+ * If `true` the parent form will not submit when the icSubmitSearch event fires.
137
+ */
138
+ this.preventFormSubmitOnSearch = false;
139
+ /**
140
+ * If `true`, the readonly state will be set.
141
+ */
142
+ this.readonly = false;
143
+ /**
144
+ * If `true`, the search bar will require a value.
145
+ */
146
+ this.required = false;
147
+ /**
148
+ * Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches.
149
+ */
150
+ this.searchMode = "navigation";
151
+ /**
152
+ * The size of the search bar component.
153
+ */
154
+ this.size = "medium";
155
+ /**
156
+ * If `true`, the value of the search will have its spelling and grammar checked.
157
+ */
158
+ this.spellcheck = false;
159
+ /**
160
+ * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
161
+ */
162
+ this.theme = "inherit";
163
+ /**
164
+ * The custom name for the value field to correspond with the IcMenuOption type.
165
+ */
166
+ this.valueField = "value";
167
+ this.filteredOptions = [];
168
+ /**
169
+ * The suggested search options.
170
+ */
171
+ this.options = [];
172
+ /**
173
+ * The value of the search input.
174
+ */
175
+ this.value = "";
176
+ this.handleClear = (ev) => {
177
+ var _a;
178
+ const keyboardEvent = ev;
179
+ const mouseEvent = ev;
180
+ if (mouseEvent.type === "click" ||
181
+ keyboardEvent.code === "Enter" ||
182
+ keyboardEvent.code === "Space") {
183
+ this.value = "";
184
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setAttribute("value", "");
185
+ this.loading = false;
186
+ clearTimeout(this.timeoutTimer);
187
+ this.filteredOptions = this.options;
188
+ this.showMenuWithNoInput() && this.setMenuChange(true);
189
+ this.el.setFocus();
190
+ this.icClear.emit();
191
+ ev.preventDefault();
192
+ this.preventSubmit = true;
193
+ }
194
+ };
195
+ this.onInput = ({ target }) => {
196
+ this.value = target.value;
197
+ this.icInput.emit({ value: this.value });
198
+ if (this.options.length > 0) {
199
+ this.setMenuChange(true);
200
+ this.preLoad = false;
201
+ if (this.disableAutoFiltering === false) {
202
+ const rawFilteredOptions = getFilteredMenuOptions(this.options, this.value, this.labelField);
203
+ this.filteredOptions =
204
+ rawFilteredOptions.length > 0
205
+ ? rawFilteredOptions
206
+ : [
207
+ {
208
+ [this.labelField]: this.emptyOptionListText,
209
+ [this.valueField]: "",
210
+ },
211
+ ];
212
+ }
213
+ }
214
+ if (!this.showClearButton)
215
+ this.showClearButton = true;
216
+ this.debounceAriaLiveUpdate();
217
+ };
218
+ this.onInputBlur = ({ target, relatedTarget }) => {
219
+ this.icSearchBarBlur.emit({
220
+ value: target.value,
221
+ relatedTarget,
222
+ });
223
+ };
224
+ this.onInputFocus = ({ target }) => {
225
+ this.icSearchBarFocus.emit({ value: target.value });
226
+ this.showClearButton = true;
227
+ };
228
+ this.handleClearBlur = ({ relatedTarget }) => {
229
+ this.icClearBlur.emit({ relatedTarget });
230
+ this.clearButtonFocused = false;
231
+ };
232
+ this.handleSubmitSearchBlur = ({ relatedTarget }) => {
233
+ this.icSubmitSearchBlur.emit({ relatedTarget });
234
+ this.searchSubmitFocused = false;
235
+ };
236
+ this.setInputValue = (newValue) => {
237
+ if (this.inputEl) {
238
+ const label = getLabelFromValue(newValue, this.options, this.valueField, this.labelField);
239
+ if (label)
240
+ this.inputEl.value = label;
241
+ else if (this.inputEl.value !== newValue) {
242
+ this.inputEl.value = newValue;
243
+ }
244
+ }
245
+ };
246
+ this.handleMouseDown = (ev) => {
247
+ ev.preventDefault();
248
+ };
249
+ this.handleSubmitSearchFocus = () => {
250
+ this.searchSubmitFocused = true;
251
+ };
252
+ this.handleSubmitSearch = () => {
253
+ if (this.highlightedValue)
254
+ this.value = this.highlightedValue;
255
+ this.highlightedValue = undefined;
256
+ this.icSubmitSearch.emit({ value: this.value });
257
+ const form = this.el.closest("FORM");
258
+ if (this.searchSubmitButton && !!form && !this.preventSubmit) {
259
+ handleHiddenFormButtonClick(form, this.searchSubmitButton);
260
+ }
261
+ };
262
+ this.handleSubmitSearchKeyDown = (ev) => {
263
+ if (ev.key === " ") {
264
+ ev.preventDefault();
265
+ this.handleSubmitSearch();
266
+ }
267
+ };
268
+ this.handleRetry = (ev) => {
269
+ this.retryViaKeyPress = ev.detail.keyPressed === "Enter";
270
+ this.icRetryLoad.emit({ value: ev.detail.value });
271
+ this.triggerLoading();
272
+ this.retryButtonClick = true;
273
+ };
274
+ this.triggerLoading = () => {
275
+ const loadingOption = [
276
+ {
277
+ [this.labelField]: this.loadingLabel,
278
+ [this.valueField]: "",
279
+ loading: true,
280
+ },
281
+ ];
282
+ if (this.filteredOptions !== loadingOption)
283
+ this.filteredOptions = loadingOption;
284
+ if (this.timeout) {
285
+ this.timeoutTimer = window.setTimeout(() => {
286
+ this.filteredOptions = [
287
+ {
288
+ [this.labelField]: this.loadingErrorLabel,
289
+ [this.valueField]: "",
290
+ timedOut: true,
291
+ },
292
+ ];
293
+ }, this.timeout);
294
+ }
295
+ };
296
+ this.handleOptionSelect = (ev) => {
297
+ if (ev.detail.label === this.emptyOptionListText) {
298
+ this.el.setFocus();
299
+ return;
300
+ }
301
+ this.value = ev.detail.value;
302
+ this.icOptionSelect.emit({ value: this.value });
303
+ };
304
+ this.handleMenuOptionHighlight = (ev) => {
305
+ const { optionId } = ev.detail;
306
+ if (optionId)
307
+ this.highlightedValue = optionId.replace(`${this.menuId}-`, "");
308
+ this.ariaActiveDescendant = optionId || "";
309
+ };
310
+ this.handleMenuChange = (ev) => {
311
+ this.setMenuChange(ev.detail.open);
312
+ if (!ev.detail.open) {
313
+ this.menuCloseFromMenuChangeEvent = true;
314
+ }
315
+ };
316
+ this.setMenuChange = (open) => {
317
+ if (this.open !== open) {
318
+ this.open = open;
319
+ this.icMenuChange.emit({ open });
320
+ }
321
+ };
322
+ this.handleHostFocus = () => {
323
+ if (this.options &&
324
+ (this.value || this.showMenuWithNoInput()) &&
325
+ !this.menuCloseFromMenuChangeEvent) {
326
+ this.setMenuChange(true);
327
+ }
328
+ this.truncateValue = false;
329
+ this.showMenuWithNoInput() && this.debounceAriaLiveUpdate();
330
+ this.icSearchBarFocus.emit();
331
+ };
332
+ this.handleHostBlur = ({ relatedTarget }) => {
333
+ var _a;
334
+ if (this.open &&
335
+ this.options &&
336
+ relatedTarget !== this.menu &&
337
+ !this.retryViaKeyPress &&
338
+ !this.retryButtonClick) {
339
+ this.setMenuChange(false);
340
+ }
341
+ if (this.retryButtonClick || this.retryViaKeyPress) {
342
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
343
+ }
344
+ this.showClearButton = false;
345
+ this.menuCloseFromMenuChangeEvent = false;
346
+ this.truncateValue = true;
347
+ this.icSearchBarBlur.emit({
348
+ relatedTarget,
349
+ value: this.value,
350
+ });
351
+ this.retryViaKeyPress = false;
352
+ this.retryButtonClick = false;
353
+ this.showMenuWithNoInput() && this.updateSearchResultAriaLive();
354
+ };
355
+ this.handleFocusClearButton = () => {
356
+ this.clearButtonFocused = true;
357
+ };
358
+ this.renderAssistiveHintEl = () => {
359
+ var _a, _b;
360
+ const input = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`#${this.inputId}`);
361
+ if (input &&
362
+ Object.keys(input).length > 0 &&
363
+ this.hasOptionsOrFilterDisabled()) {
364
+ this.assistiveHintEl = document.createElement("span");
365
+ this.assistiveHintEl.innerText = this.assistiveHintText;
366
+ this.assistiveHintEl.id = `${this.inputId}-assistive-hint`;
367
+ this.assistiveHintEl.style.display = "none";
368
+ (_b = input.after) === null || _b === void 0 ? void 0 : _b.call(input, this.assistiveHintEl);
369
+ }
370
+ };
371
+ this.updateSearchResultAriaLive = () => {
372
+ var _a;
373
+ const searchResultsStatusEl = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".search-results-status");
374
+ if (searchResultsStatusEl) {
375
+ if (!this.open ||
376
+ (this.value === "" && !this.showMenuWithNoInput()) ||
377
+ this.value.length < this.charactersUntilSuggestion) {
378
+ searchResultsStatusEl.innerText = "";
379
+ }
380
+ else if (this.hasOptionsOrFilterDisabled() &&
381
+ this.filteredOptions.length > 0 &&
382
+ this.open &&
383
+ !this.filteredOptions[0].loading) {
384
+ searchResultsStatusEl.innerText = this.hadNoOptions()
385
+ ? this.emptyOptionListText
386
+ : `${this.filteredOptions.length} result${this.filteredOptions.length > 1 ? "s" : ""} available`;
387
+ }
388
+ }
389
+ };
390
+ this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || this.disableAutoFiltering;
391
+ this.hadNoOptions = () => this.filteredOptions.length === 1 &&
392
+ this.filteredOptions[0][this.labelField] === this.emptyOptionListText &&
393
+ this.searchMode === "navigation";
394
+ this.isSubmitDisabled = () => !this.value ||
395
+ this.value.length < this.charactersUntilSuggestion ||
396
+ this.disabled ||
397
+ this.hadNoOptions() ||
398
+ this.hasTimedOut ||
399
+ this.loading;
400
+ this.showMenuWithNoInput = () => this.charactersUntilSuggestion === 0;
401
+ this.updateSearchButtonType = () => {
402
+ this.searchButtonType =
403
+ !!this.el.closest("FORM") &&
404
+ !this.preventFormSubmitOnSearch
405
+ ? "submit"
406
+ : "button";
407
+ };
408
+ }
409
+ watchCharactersUntilSuggestionHandler() {
410
+ if (this.showMenuWithNoInput()) {
411
+ this.filteredOptions = this.options;
412
+ }
413
+ }
414
+ watchDisabledHandler() {
415
+ removeDisabledFalse(this.disabled, this.el);
416
+ }
417
+ debounceChanged() {
418
+ this.icChange = debounceEvent(this.icChange, this.debounce);
419
+ }
420
+ loadingHandler(newValue) {
421
+ if (newValue && !this.hasTimedOut) {
422
+ this.preLoad = false;
423
+ this.triggerLoading();
424
+ }
425
+ }
426
+ preventFormSubmitOnSearchHandler() {
427
+ this.updateSearchButtonType();
428
+ }
429
+ filteredOptionsHandler(newOptions) {
430
+ this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
431
+ }
432
+ watchOptionsHandler(newOptions) {
433
+ if (this.disableAutoFiltering) {
434
+ if (!this.hasTimedOut) {
435
+ this.loading = false;
436
+ clearTimeout(this.timeoutTimer);
437
+ if (newOptions.length > 0) {
438
+ this.filteredOptions = newOptions;
439
+ }
440
+ else {
441
+ if (this.hadNoOptions()) {
442
+ return;
443
+ }
444
+ this.setMenuChange(true);
445
+ if (!this.preLoad) {
446
+ this.filteredOptions = [
447
+ {
448
+ [this.labelField]: this.emptyOptionListText,
449
+ [this.valueField]: "",
450
+ },
451
+ ];
452
+ }
453
+ this.preLoad = true;
454
+ }
455
+ }
456
+ }
457
+ else if (this.showMenuWithNoInput()) {
458
+ this.filteredOptions = newOptions;
459
+ }
460
+ this.debounceAriaLiveUpdate();
461
+ }
462
+ watchValueHandler(newValue) {
463
+ this.setInputValue(newValue);
464
+ this.icChange.emit({ value: newValue });
465
+ }
466
+ connectedCallback() {
467
+ this.debounceChanged();
468
+ }
469
+ disconnectedCallback() {
470
+ var _a;
471
+ (_a = this.assistiveHintEl) === null || _a === void 0 ? void 0 : _a.remove();
472
+ }
473
+ componentWillLoad() {
474
+ this.setInputValue(this.value);
475
+ removeDisabledFalse(this.disabled, this.el);
476
+ this.updateSearchButtonType();
477
+ }
478
+ componentDidLoad() {
479
+ if (this.focusOnLoad) {
480
+ this.el.setFocus();
481
+ }
482
+ if (this.hasOptionsOrFilterDisabled()) {
483
+ this.renderAssistiveHintEl();
484
+ if (this.disableAutoFiltering || this.showMenuWithNoInput()) {
485
+ this.filteredOptions = this.options;
486
+ }
487
+ }
488
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Search Bar");
489
+ }
490
+ componentWillRender() {
491
+ if (this.prevNoOption && this.menu && !this.hasTimedOut) {
492
+ this.menu.handleSetFirstOption();
493
+ this.prevNoOption = false;
494
+ }
495
+ if (this.filteredOptions.find((filteredOption) => filteredOption[this.labelField] === this.emptyOptionListText ||
496
+ filteredOption[this.labelField] === this.loadingErrorLabel ||
497
+ filteredOption[this.labelField] === this.loadingLabel)) {
498
+ this.prevNoOption = true;
499
+ }
500
+ }
501
+ handleKeyDown(event) {
502
+ this.icKeydown.emit({ event });
503
+ if (this.menu && this.open) {
504
+ this.menu.handleKeyboardOpen(event);
505
+ }
506
+ }
507
+ handleKeyUp(ev) {
508
+ if (ev.key === "Enter") {
509
+ if (this.preventSubmit || this.isSubmitDisabled()) {
510
+ return;
511
+ }
512
+ this.handleSubmitSearch();
513
+ this.setMenuChange(false);
514
+ }
515
+ if (ev.key === "Escape") {
516
+ this.setMenuChange(false);
517
+ }
518
+ if (this.preventSubmit) {
519
+ this.preventSubmit = false;
520
+ }
521
+ }
522
+ /**
523
+ * Sets focus on the native `input`.
524
+ */
525
+ async setFocus() {
526
+ var _a;
527
+ this.retryViaKeyPress = false;
528
+ this.retryButtonClick = false;
529
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
530
+ }
531
+ debounceAriaLiveUpdate() {
532
+ clearTimeout(this.debounceAriaLive);
533
+ this.debounceAriaLive = window.setTimeout(() => {
534
+ this.updateSearchResultAriaLive();
535
+ }, 500);
536
+ }
537
+ render() {
538
+ const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, theme, charactersUntilSuggestion, labelField, valueField, loadingLabel, loadingErrorLabel, searchMode, showClearButton, searchSubmitFocused, clearButtonFocused, searchButtonType, } = this;
539
+ const disabledMode = readonly || disabled;
540
+ const describedBy = getInputDescribedByText(this.el, inputId, helperText !== "", false).trim();
541
+ let describedById = undefined;
542
+ if (describedBy !== "" && this.hasOptionsOrFilterDisabled()) {
543
+ describedById = `${describedBy} ${inputId}-assistive-hint`;
544
+ }
545
+ else if (this.hasOptionsOrFilterDisabled()) {
546
+ describedById = `${inputId}-assistive-hint`;
547
+ }
548
+ else if (describedBy !== "") {
549
+ describedById = describedBy;
550
+ }
551
+ const hasSuggestedSearch = (!!value || this.showMenuWithNoInput()) &&
552
+ this.hasOptionsOrFilterDisabled();
553
+ const menuOpen = hasSuggestedSearch && open && filteredOptions.length > 0;
554
+ const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
555
+ const labelValue = getLabelFromValue(value, options, valueField, labelField);
556
+ renderHiddenInput(this.el, value, name, disabledMode);
557
+ return (h(Host, { key: 'f9ec3f2c47607e817cf0352546d0f72653b433ae', class: {
558
+ "ic-search-bar-search": true,
559
+ "ic-search-bar-full-width": fullWidth,
560
+ "ic-search-bar-disabled": disabled,
561
+ "ic-search-bar-small": size === "small",
562
+ [`ic-theme-${theme}`]: theme !== "inherit",
563
+ }, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: 'fde0dc358fd80f81d23927eb18b6bd73e9694bcc', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '3c2a138a07c5a637842bf0330a857cd8a4c05be5', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, h("slot", { key: '4e5d465c5f4486826f3a634a4dd5ed2ecf01b249', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: '62ad9581a1280af102d990de7fcac4055f800bec', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, h("input", { key: '196cad9c551d68276d99af9a60bd07a141130bd9', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
564
+ "no-left-pad": readonly,
565
+ readonly,
566
+ "truncate-value": truncateValue,
567
+ }, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: '94889d1ffab13321ea522704aacd7ebf0e0c3d00', class: {
568
+ "clear-button-container": true,
569
+ "clear-button-visible": !!value && !disabledMode && showClearButton,
570
+ } }, h("ic-button", { key: 'd0a3c5b6288c249ba8be2a4bcbbd2a33f1a30025', id: "clear-button", class: {
571
+ "clear-button": true,
572
+ "clear-button-unfocused": !clearButtonFocused,
573
+ }, "aria-label": "Clear", innerHTML: closeIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '3965e828aba0dd8f88051ec717c7fafcb237a271', class: "divider" })), h("div", { key: 'c143dbc227dce558f5f87e1e2f7e3a014b9d250c', class: {
574
+ "search-submit-button-container": true,
575
+ "search-submit-button-disabled": this.isSubmitDisabled(),
576
+ } }, h("ic-button", { key: '98e79886a69703ab39c8d6f5f97c147fb406870d', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
577
+ "search-submit-button": true,
578
+ "search-submit-button-small": size === "small",
579
+ "search-submit-button-unfocused": !searchSubmitFocused,
580
+ "search-submit-button-disabled": this.isSubmitDisabled(),
581
+ }, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '4b0377230ac437eda9f5674876e87a7a72a0779c', class: {
582
+ "menu-container": true,
583
+ fullwidth: fullWidth,
584
+ } }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: '8be3e2accba616f85a408e8c82304433e98f7715', class: {
585
+ "no-results": this.hadNoOptions() ||
586
+ (filteredOptions.length === 1 &&
587
+ (filteredOptions[0][labelField] === loadingLabel ||
588
+ filteredOptions[0][labelField] === loadingErrorLabel)),
589
+ }, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), h("div", { key: '09953fbff84f3e27a6522da365ef49e96b21fa62', "aria-live": "polite", role: "status", class: "search-results-status" })));
590
+ }
591
+ static get delegatesFocus() { return true; }
592
+ get el() { return this; }
593
+ static get watchers() { return {
594
+ "charactersUntilSuggestion": ["watchCharactersUntilSuggestionHandler"],
595
+ "disabled": ["watchDisabledHandler"],
596
+ "debounce": ["debounceChanged"],
597
+ "loading": ["loadingHandler"],
598
+ "preventFormSubmitOnSearch": ["preventFormSubmitOnSearchHandler"],
599
+ "filteredOptions": ["filteredOptionsHandler"],
600
+ "options": ["watchOptionsHandler"],
601
+ "value": ["watchValueHandler"]
602
+ }; }
603
+ static get style() { return IcSearchBarStyle0; }
604
+ }, [17, "ic-search-bar", {
605
+ "autocapitalize": [1],
606
+ "autocomplete": [1],
607
+ "autocorrect": [1],
608
+ "autofocus": [4],
609
+ "charactersUntilSuggestion": [2, "characters-until-suggestion"],
610
+ "disabled": [4],
611
+ "disableAutoFiltering": [4, "disable-auto-filtering"],
612
+ "debounce": [2],
613
+ "emptyOptionListText": [1, "empty-option-list-text"],
614
+ "focusOnLoad": [4, "focus-on-load"],
615
+ "fullWidth": [4, "full-width"],
616
+ "helperText": [1, "helper-text"],
617
+ "hideLabel": [4, "hide-label"],
618
+ "assistiveHintText": [1, "assistive-hint-text"],
619
+ "label": [1],
620
+ "labelField": [1, "label-field"],
621
+ "loading": [1028],
622
+ "loadingErrorLabel": [1, "loading-error-label"],
623
+ "loadingLabel": [1, "loading-label"],
624
+ "name": [1],
625
+ "placeholder": [1],
626
+ "preventFormSubmitOnSearch": [4, "prevent-form-submit-on-search"],
627
+ "readonly": [4],
628
+ "required": [4],
629
+ "searchMode": [1, "search-mode"],
630
+ "size": [1],
631
+ "spellcheck": [4],
632
+ "theme": [1],
633
+ "timeout": [2],
634
+ "valueField": [1, "value-field"],
635
+ "options": [16],
636
+ "value": [1537],
637
+ "ariaActiveDescendant": [32],
638
+ "clearButtonFocused": [32],
639
+ "highlightedValue": [32],
640
+ "open": [32],
641
+ "searchSubmitFocused": [32],
642
+ "showClearButton": [32],
643
+ "searchButtonType": [32],
644
+ "filteredOptions": [32],
645
+ "setFocus": [64]
646
+ }, [[0, "keydown", "handleKeyDown"], [0, "keyup", "handleKeyUp"]], {
647
+ "charactersUntilSuggestion": ["watchCharactersUntilSuggestionHandler"],
648
+ "disabled": ["watchDisabledHandler"],
649
+ "debounce": ["debounceChanged"],
650
+ "loading": ["loadingHandler"],
651
+ "preventFormSubmitOnSearch": ["preventFormSubmitOnSearchHandler"],
652
+ "filteredOptions": ["filteredOptionsHandler"],
653
+ "options": ["watchOptionsHandler"],
654
+ "value": ["watchValueHandler"]
655
+ }]);
656
+ function defineCustomElement$1() {
657
+ if (typeof customElements === "undefined") {
658
+ return;
659
+ }
660
+ const components = ["ic-search-bar", "ic-button", "ic-input-component-container", "ic-input-container", "ic-input-label", "ic-loading-indicator", "ic-menu", "ic-tooltip", "ic-typography"];
661
+ components.forEach(tagName => { switch (tagName) {
662
+ case "ic-search-bar":
663
+ if (!customElements.get(tagName)) {
664
+ customElements.define(tagName, SearchBar);
665
+ }
666
+ break;
667
+ case "ic-button":
668
+ if (!customElements.get(tagName)) {
669
+ defineCustomElement$9();
670
+ }
671
+ break;
672
+ case "ic-input-component-container":
673
+ if (!customElements.get(tagName)) {
674
+ defineCustomElement$8();
675
+ }
676
+ break;
677
+ case "ic-input-container":
678
+ if (!customElements.get(tagName)) {
679
+ defineCustomElement$7();
680
+ }
681
+ break;
682
+ case "ic-input-label":
683
+ if (!customElements.get(tagName)) {
684
+ defineCustomElement$6();
685
+ }
686
+ break;
687
+ case "ic-loading-indicator":
688
+ if (!customElements.get(tagName)) {
689
+ defineCustomElement$5();
690
+ }
691
+ break;
692
+ case "ic-menu":
693
+ if (!customElements.get(tagName)) {
694
+ defineCustomElement$4();
695
+ }
696
+ break;
697
+ case "ic-tooltip":
698
+ if (!customElements.get(tagName)) {
699
+ defineCustomElement$3();
700
+ }
701
+ break;
702
+ case "ic-typography":
703
+ if (!customElements.get(tagName)) {
704
+ defineCustomElement$2();
705
+ }
706
+ break;
707
+ } });
708
+ }
709
+
710
+ const IcSearchBar = SearchBar;
711
+ const defineCustomElement = defineCustomElement$1;
712
+
713
+ export { IcSearchBar, defineCustomElement };
714
+
715
+ //# sourceMappingURL=ic-search-bar.js.map