@ukic/web-components 3.2.0 → 3.3.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 (485) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-789082d4.js → helpers-fc4016d2.js} +21 -37
  3. package/dist/cjs/helpers-fc4016d2.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-badge.cjs.entry.js +4 -4
  9. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +56 -76
  11. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-breadcrumb.cjs.entry.js +32 -51
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-button_3.cjs.entry.js +110 -131
  15. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +9 -10
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-checkbox.cjs.entry.js +34 -33
  20. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-chip.cjs.entry.js +26 -38
  22. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  24. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  25. package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
  26. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
  28. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  30. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js +5 -5
  32. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +9 -9
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js +8 -8
  35. package/dist/cjs/ic-link.cjs.entry.js +21 -3
  36. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  38. package/dist/cjs/ic-menu-item.cjs.entry.js +5 -5
  39. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
  41. package/dist/cjs/ic-navigation-group.cjs.entry.js +2 -2
  42. package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
  43. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  44. package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
  45. package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
  46. package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
  47. package/dist/cjs/ic-popover-menu.cjs.entry.js +8 -7
  48. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
  50. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
  51. package/dist/cjs/ic-search-bar.cjs.entry.js +112 -135
  52. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  54. package/dist/cjs/ic-select.cjs.entry.js +7 -7
  55. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
  57. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  59. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  60. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  61. package/dist/cjs/ic-step.cjs.entry.js +14 -14
  62. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  63. package/dist/cjs/ic-switch.cjs.entry.js +6 -6
  64. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  67. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  68. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  69. package/dist/cjs/ic-text-field.cjs.entry.js +32 -29
  70. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  72. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  73. package/dist/cjs/ic-toast.cjs.entry.js +4 -4
  74. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
  75. package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
  76. package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
  77. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-typography.cjs.entry.js +3 -3
  79. package/dist/cjs/loader.cjs.js +1 -1
  80. package/dist/collection/components/ic-badge/ic-badge.css +1 -1
  81. package/dist/collection/components/ic-badge/ic-badge.js +2 -2
  82. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +40 -59
  83. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  84. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +65 -86
  85. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  86. package/dist/collection/components/ic-button/ic-button.css +105 -54
  87. package/dist/collection/components/ic-button/ic-button.js +141 -162
  88. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  89. package/dist/collection/components/ic-button/ic-button.stories.js +10 -2
  90. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
  91. package/dist/collection/components/ic-checkbox/ic-checkbox.js +71 -73
  92. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  93. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +24 -25
  94. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  95. package/dist/collection/components/ic-chip/ic-chip.css +9 -0
  96. package/dist/collection/components/ic-chip/ic-chip.js +66 -72
  97. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  98. package/dist/collection/components/ic-chip/ic-chip.stories.js +2 -1
  99. package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
  100. package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
  101. package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
  102. package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
  103. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
  104. package/dist/collection/components/ic-hero/ic-hero.js +4 -4
  105. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
  106. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
  107. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  108. package/dist/collection/components/ic-input-label/ic-input-label.js +4 -4
  109. package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
  110. package/dist/collection/components/ic-link/ic-link.js +23 -2
  111. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  112. package/dist/collection/components/ic-link/ic-link.stories.js +28 -5
  113. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +3 -3
  114. package/dist/collection/components/ic-menu/ic-menu.js +3 -3
  115. package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
  116. package/dist/collection/components/ic-menu-item/ic-menu-item.css +0 -5
  117. package/dist/collection/components/ic-menu-item/ic-menu-item.js +3 -3
  118. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  119. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
  120. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
  121. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
  122. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
  123. package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
  124. package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
  125. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
  126. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +0 -5
  127. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +6 -5
  128. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  129. package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
  130. package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
  131. package/dist/collection/components/ic-search-bar/ic-search-bar.js +169 -192
  132. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  133. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  134. package/dist/collection/components/ic-select/ic-select.js +6 -6
  135. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  136. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -1
  137. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
  138. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  139. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  140. package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
  141. package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
  142. package/dist/collection/components/ic-step/ic-step.js +13 -13
  143. package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
  144. package/dist/collection/components/ic-switch/ic-switch.js +5 -5
  145. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  146. package/dist/collection/components/ic-tab/ic-tab.js +2 -2
  147. package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
  148. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
  149. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  150. package/dist/collection/components/ic-text-field/ic-text-field.js +112 -95
  151. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  152. package/dist/collection/components/ic-theme/ic-theme.js +1 -1
  153. package/dist/collection/components/ic-toast/ic-toast.js +3 -3
  154. package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
  155. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
  156. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
  157. package/dist/collection/components/ic-tooltip/ic-tooltip.js +2 -2
  158. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
  159. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  160. package/dist/collection/components/ic-typography/ic-typography.js +2 -2
  161. package/dist/collection/utils/helpers.js +20 -36
  162. package/dist/collection/utils/helpers.js.map +1 -1
  163. package/dist/components/helpers.js +21 -37
  164. package/dist/components/helpers.js.map +1 -1
  165. package/dist/components/ic-badge.js +3 -3
  166. package/dist/components/ic-badge.js.map +1 -1
  167. package/dist/components/ic-breadcrumb-group.js +57 -78
  168. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  169. package/dist/components/ic-breadcrumb2.js +32 -51
  170. package/dist/components/ic-breadcrumb2.js.map +1 -1
  171. package/dist/components/ic-button2.js +105 -126
  172. package/dist/components/ic-button2.js.map +1 -1
  173. package/dist/components/ic-card-vertical.js +4 -4
  174. package/dist/components/ic-checkbox-group.js +8 -9
  175. package/dist/components/ic-checkbox-group.js.map +1 -1
  176. package/dist/components/ic-checkbox.js +36 -35
  177. package/dist/components/ic-checkbox.js.map +1 -1
  178. package/dist/components/ic-chip.js +28 -40
  179. package/dist/components/ic-chip.js.map +1 -1
  180. package/dist/components/ic-data-list.js +2 -2
  181. package/dist/components/ic-data-row.js +2 -2
  182. package/dist/components/ic-dialog.js +1 -1
  183. package/dist/components/ic-empty-state.js +2 -2
  184. package/dist/components/ic-footer-link.js +2 -2
  185. package/dist/components/ic-hero.js +4 -4
  186. package/dist/components/ic-horizontal-scroll2.js +5 -5
  187. package/dist/components/ic-input-component-container2.js +3 -3
  188. package/dist/components/ic-input-container2.js +2 -2
  189. package/dist/components/ic-input-label2.js +4 -4
  190. package/dist/components/ic-input-validation2.js +3 -3
  191. package/dist/components/ic-link2.js +23 -3
  192. package/dist/components/ic-link2.js.map +1 -1
  193. package/dist/components/ic-loading-indicator2.js +3 -3
  194. package/dist/components/ic-menu-group.js +1 -1
  195. package/dist/components/ic-menu-item2.js +4 -4
  196. package/dist/components/ic-menu-item2.js.map +1 -1
  197. package/dist/components/ic-menu2.js +3 -3
  198. package/dist/components/ic-navigation-button.js +2 -2
  199. package/dist/components/ic-navigation-group.js +1 -1
  200. package/dist/components/ic-navigation-item.js +2 -2
  201. package/dist/components/ic-navigation-menu2.js +4 -4
  202. package/dist/components/ic-page-header.js +6 -6
  203. package/dist/components/ic-pagination-item2.js +1 -1
  204. package/dist/components/ic-pagination.js +4 -4
  205. package/dist/components/ic-popover-menu.js +7 -6
  206. package/dist/components/ic-popover-menu.js.map +1 -1
  207. package/dist/components/ic-radio-group.js +4 -4
  208. package/dist/components/ic-radio-option.js +4 -4
  209. package/dist/components/ic-search-bar.js +112 -135
  210. package/dist/components/ic-search-bar.js.map +1 -1
  211. package/dist/components/ic-section-container2.js +2 -2
  212. package/dist/components/ic-select.js +7 -7
  213. package/dist/components/ic-select.js.map +1 -1
  214. package/dist/components/ic-side-navigation.js +5 -5
  215. package/dist/components/ic-side-navigation.js.map +1 -1
  216. package/dist/components/ic-skeleton.js +2 -2
  217. package/dist/components/ic-skip-link.js +2 -2
  218. package/dist/components/ic-status-tag.js +2 -2
  219. package/dist/components/ic-step.js +13 -13
  220. package/dist/components/ic-stepper.js +2 -2
  221. package/dist/components/ic-switch.js +5 -5
  222. package/dist/components/ic-switch.js.map +1 -1
  223. package/dist/components/ic-tab-context.js +1 -1
  224. package/dist/components/ic-tab-group.js +2 -2
  225. package/dist/components/ic-tab-panel.js +2 -2
  226. package/dist/components/ic-tab-panel.js.map +1 -1
  227. package/dist/components/ic-tab.js +2 -2
  228. package/dist/components/ic-text-field.js +32 -29
  229. package/dist/components/ic-text-field.js.map +1 -1
  230. package/dist/components/ic-theme.js +1 -1
  231. package/dist/components/ic-toast-region.js +1 -1
  232. package/dist/components/ic-toast.js +3 -3
  233. package/dist/components/ic-toggle-button-group.js +2 -2
  234. package/dist/components/ic-toggle-button.js +2 -2
  235. package/dist/components/ic-tooltip2.js +2 -2
  236. package/dist/components/ic-top-navigation.js +4 -4
  237. package/dist/components/ic-top-navigation.js.map +1 -1
  238. package/dist/components/ic-typography2.js +2 -2
  239. package/dist/core/core.css +159 -109
  240. package/dist/core/core.esm.js +1 -1
  241. package/dist/core/core.esm.js.map +1 -1
  242. package/dist/core/{p-4245a976.entry.js → p-00bc353b.entry.js} +2 -2
  243. package/dist/core/{p-ef09b450.entry.js → p-0a436c47.entry.js} +2 -2
  244. package/dist/core/{p-fbde763c.entry.js → p-10e1e227.entry.js} +2 -2
  245. package/dist/core/{p-88924aef.entry.js → p-1440847f.entry.js} +2 -2
  246. package/dist/core/{p-bbe5596b.entry.js → p-15b7adaf.entry.js} +2 -2
  247. package/dist/core/p-16f55230.entry.js +2 -0
  248. package/dist/core/p-16f55230.entry.js.map +1 -0
  249. package/dist/core/{p-45432bf5.entry.js → p-1838d1e9.entry.js} +2 -2
  250. package/dist/core/{p-3eb7ef1d.entry.js → p-18714198.entry.js} +2 -2
  251. package/dist/core/{p-3b5d3e24.entry.js → p-1b2690b4.entry.js} +2 -2
  252. package/dist/core/p-1b2690b4.entry.js.map +1 -0
  253. package/dist/core/{p-b3ac38c5.entry.js → p-1be17f22.entry.js} +2 -2
  254. package/dist/core/p-206c2a26.entry.js +2 -0
  255. package/dist/core/p-206c2a26.entry.js.map +1 -0
  256. package/dist/core/{p-b3d6d5be.entry.js → p-267a19d4.entry.js} +2 -2
  257. package/dist/core/{p-81a12e36.entry.js → p-26dfc4db.entry.js} +2 -2
  258. package/dist/core/{p-81a12e36.entry.js.map → p-26dfc4db.entry.js.map} +1 -1
  259. package/dist/core/p-2c17cc67.entry.js +2 -0
  260. package/dist/core/p-2c17cc67.entry.js.map +1 -0
  261. package/dist/core/{p-f3c72ffb.entry.js → p-2c371198.entry.js} +2 -2
  262. package/dist/core/{p-63fe83ad.entry.js → p-2e44cf53.entry.js} +2 -2
  263. package/dist/core/{p-63fe83ad.entry.js.map → p-2e44cf53.entry.js.map} +1 -1
  264. package/dist/core/{p-70700c7a.entry.js → p-42a7d0b6.entry.js} +2 -2
  265. package/dist/core/p-513628ef.entry.js +2 -0
  266. package/dist/core/p-513628ef.entry.js.map +1 -0
  267. package/dist/core/{p-33c86ba6.entry.js → p-628c32b8.entry.js} +2 -2
  268. package/dist/core/{p-0631c3ab.entry.js → p-70a6cff1.entry.js} +2 -2
  269. package/dist/core/{p-f815f8c9.entry.js → p-72c117b6.entry.js} +2 -2
  270. package/dist/core/p-730d2f6e.entry.js +2 -0
  271. package/dist/core/p-730d2f6e.entry.js.map +1 -0
  272. package/dist/core/{p-7dfe0284.entry.js → p-788c96ac.entry.js} +2 -2
  273. package/dist/core/{p-fe833509.entry.js → p-7fb79e87.entry.js} +2 -2
  274. package/dist/core/p-8242c24f.js +2 -0
  275. package/dist/core/p-8242c24f.js.map +1 -0
  276. package/dist/core/{p-6de6b6b7.entry.js → p-83764268.entry.js} +2 -2
  277. package/dist/core/{p-4b601e06.entry.js → p-8b5022bc.entry.js} +2 -2
  278. package/dist/core/{p-1e4cdd2d.entry.js → p-8c4f7c63.entry.js} +2 -2
  279. package/dist/core/{p-5e18b899.entry.js → p-910f5f14.entry.js} +2 -2
  280. package/dist/core/{p-7afc71d0.entry.js → p-9479f272.entry.js} +2 -2
  281. package/dist/core/{p-acebb05c.entry.js → p-9c47521d.entry.js} +2 -2
  282. package/dist/core/{p-40f2f58e.entry.js → p-9ca147f3.entry.js} +2 -2
  283. package/dist/core/{p-e56d0db2.entry.js → p-9cfc2bac.entry.js} +2 -2
  284. package/dist/core/{p-abaea607.entry.js → p-a0161990.entry.js} +2 -2
  285. package/dist/core/p-a17499ff.entry.js +2 -0
  286. package/dist/core/p-a17499ff.entry.js.map +1 -0
  287. package/dist/core/{p-c2ca6274.entry.js → p-a4f9b5bf.entry.js} +2 -2
  288. package/dist/core/{p-005cd8a8.entry.js → p-aad10013.entry.js} +2 -2
  289. package/dist/core/{p-959a9cdf.entry.js → p-b371a498.entry.js} +2 -2
  290. package/dist/core/{p-959a9cdf.entry.js.map → p-b371a498.entry.js.map} +1 -1
  291. package/dist/core/p-b7568944.entry.js +2 -0
  292. package/dist/core/p-b7568944.entry.js.map +1 -0
  293. package/dist/core/{p-3675c4b4.entry.js → p-b8da5c07.entry.js} +2 -2
  294. package/dist/core/{p-de43d375.entry.js → p-b9459ba2.entry.js} +2 -2
  295. package/dist/core/p-ba600947.entry.js +2 -0
  296. package/dist/core/p-ba600947.entry.js.map +1 -0
  297. package/dist/core/{p-f34eee68.entry.js → p-bc2ca778.entry.js} +2 -2
  298. package/dist/core/{p-7c0914e7.entry.js → p-bdc72446.entry.js} +2 -2
  299. package/dist/core/{p-a9c96e3e.entry.js → p-c45023b7.entry.js} +2 -2
  300. package/dist/core/p-c4663e1a.entry.js +2 -0
  301. package/dist/core/p-c4663e1a.entry.js.map +1 -0
  302. package/dist/core/{p-5206a978.entry.js → p-c8cf1ad5.entry.js} +2 -2
  303. package/dist/core/p-c9a4fe37.entry.js +2 -0
  304. package/dist/core/p-c9a4fe37.entry.js.map +1 -0
  305. package/dist/core/p-cdf56a5d.entry.js +2 -0
  306. package/dist/core/p-cdf56a5d.entry.js.map +1 -0
  307. package/dist/core/{p-23d059ff.entry.js → p-d45d66c0.entry.js} +2 -2
  308. package/dist/core/{p-9ea9a4ce.entry.js → p-d6c50565.entry.js} +2 -2
  309. package/dist/core/{p-950db960.entry.js → p-d975bf2f.entry.js} +2 -2
  310. package/dist/core/{p-950db960.entry.js.map → p-d975bf2f.entry.js.map} +1 -1
  311. package/dist/core/{p-3132270d.entry.js → p-dede4974.entry.js} +2 -2
  312. package/dist/core/{p-23ed8b99.entry.js → p-df88ff5b.entry.js} +2 -2
  313. package/dist/core/{p-c04f36c5.entry.js → p-e86a6d2d.entry.js} +2 -2
  314. package/dist/core/{p-7a0d238b.entry.js → p-ebab7a9e.entry.js} +2 -2
  315. package/dist/core/{p-517d7afb.entry.js → p-eeab3a2e.entry.js} +2 -2
  316. package/dist/core/{p-44e4e8c1.entry.js → p-ef36181d.entry.js} +2 -2
  317. package/dist/core/{p-fc50d582.entry.js → p-f0388d68.entry.js} +2 -2
  318. package/dist/core/{p-e2f893f0.entry.js → p-fbf57f0a.entry.js} +2 -2
  319. package/dist/esm/core.js +1 -1
  320. package/dist/esm/{helpers-46a2d1fd.js → helpers-f2ffaa7c.js} +22 -38
  321. package/dist/esm/helpers-f2ffaa7c.js.map +1 -0
  322. package/dist/esm/ic-accordion-group.entry.js +1 -1
  323. package/dist/esm/ic-accordion.entry.js +1 -1
  324. package/dist/esm/ic-alert.entry.js +1 -1
  325. package/dist/esm/ic-back-to-top.entry.js +1 -1
  326. package/dist/esm/ic-badge.entry.js +4 -4
  327. package/dist/esm/ic-badge.entry.js.map +1 -1
  328. package/dist/esm/ic-breadcrumb-group.entry.js +56 -76
  329. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  330. package/dist/esm/ic-breadcrumb.entry.js +32 -51
  331. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  332. package/dist/esm/ic-button_3.entry.js +111 -132
  333. package/dist/esm/ic-button_3.entry.js.map +1 -1
  334. package/dist/esm/ic-card-vertical.entry.js +5 -5
  335. package/dist/esm/ic-checkbox-group.entry.js +9 -10
  336. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  337. package/dist/esm/ic-checkbox.entry.js +34 -33
  338. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  339. package/dist/esm/ic-chip.entry.js +26 -38
  340. package/dist/esm/ic-chip.entry.js.map +1 -1
  341. package/dist/esm/ic-data-list.entry.js +2 -2
  342. package/dist/esm/ic-data-row.entry.js +3 -3
  343. package/dist/esm/ic-dialog.entry.js +2 -2
  344. package/dist/esm/ic-divider.entry.js +1 -1
  345. package/dist/esm/ic-empty-state.entry.js +3 -3
  346. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  347. package/dist/esm/ic-footer-link.entry.js +3 -3
  348. package/dist/esm/ic-footer.entry.js +1 -1
  349. package/dist/esm/ic-hero.entry.js +5 -5
  350. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  351. package/dist/esm/ic-input-component-container_3.entry.js +9 -9
  352. package/dist/esm/ic-input-label_2.entry.js +8 -8
  353. package/dist/esm/ic-link.entry.js +21 -3
  354. package/dist/esm/ic-link.entry.js.map +1 -1
  355. package/dist/esm/ic-menu-group.entry.js +2 -2
  356. package/dist/esm/ic-menu-item.entry.js +5 -5
  357. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  358. package/dist/esm/ic-navigation-button.entry.js +3 -3
  359. package/dist/esm/ic-navigation-group.entry.js +2 -2
  360. package/dist/esm/ic-navigation-item.entry.js +3 -3
  361. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  362. package/dist/esm/ic-page-header.entry.js +7 -7
  363. package/dist/esm/ic-pagination-item.entry.js +2 -2
  364. package/dist/esm/ic-pagination.entry.js +5 -5
  365. package/dist/esm/ic-popover-menu.entry.js +8 -7
  366. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  367. package/dist/esm/ic-radio-group.entry.js +5 -5
  368. package/dist/esm/ic-radio-option.entry.js +5 -5
  369. package/dist/esm/ic-search-bar.entry.js +112 -135
  370. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  371. package/dist/esm/ic-section-container.entry.js +2 -2
  372. package/dist/esm/ic-select.entry.js +7 -7
  373. package/dist/esm/ic-select.entry.js.map +1 -1
  374. package/dist/esm/ic-side-navigation.entry.js +6 -6
  375. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  376. package/dist/esm/ic-skeleton.entry.js +2 -2
  377. package/dist/esm/ic-skip-link.entry.js +2 -2
  378. package/dist/esm/ic-status-tag.entry.js +3 -3
  379. package/dist/esm/ic-step.entry.js +14 -14
  380. package/dist/esm/ic-stepper.entry.js +3 -3
  381. package/dist/esm/ic-switch.entry.js +6 -6
  382. package/dist/esm/ic-switch.entry.js.map +1 -1
  383. package/dist/esm/ic-tab-context.entry.js +1 -1
  384. package/dist/esm/ic-tab-group.entry.js +3 -3
  385. package/dist/esm/ic-tab-panel.entry.js +2 -2
  386. package/dist/esm/ic-tab.entry.js +3 -3
  387. package/dist/esm/ic-text-field.entry.js +32 -29
  388. package/dist/esm/ic-text-field.entry.js.map +1 -1
  389. package/dist/esm/ic-theme.entry.js +2 -2
  390. package/dist/esm/ic-toast-region.entry.js +1 -1
  391. package/dist/esm/ic-toast.entry.js +4 -4
  392. package/dist/esm/ic-toggle-button-group.entry.js +3 -3
  393. package/dist/esm/ic-toggle-button.entry.js +3 -3
  394. package/dist/esm/ic-top-navigation.entry.js +5 -5
  395. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  396. package/dist/esm/ic-typography.entry.js +3 -3
  397. package/dist/esm/loader.js +1 -1
  398. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +4 -6
  399. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +9 -15
  400. package/dist/types/components/ic-button/ic-button.d.ts +29 -22
  401. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +14 -13
  402. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +8 -9
  403. package/dist/types/components/ic-chip/ic-chip.d.ts +13 -15
  404. package/dist/types/components/ic-link/ic-link.d.ts +2 -0
  405. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +38 -40
  406. package/dist/types/components/ic-text-field/ic-text-field.d.ts +37 -32
  407. package/dist/types/components.d.ts +127 -122
  408. package/dist/types/utils/helpers.d.ts +8 -8
  409. package/hydrate/index.js +590 -680
  410. package/hydrate/index.mjs +590 -680
  411. package/package.json +2 -2
  412. package/vscode-data.json +167 -3
  413. package/dist/cjs/helpers-789082d4.js.map +0 -1
  414. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +0 -2
  415. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +0 -1
  416. package/dist/core/p-0a8b3967.entry.js +0 -2
  417. package/dist/core/p-0a8b3967.entry.js.map +0 -1
  418. package/dist/core/p-0b4350df.entry.js +0 -2
  419. package/dist/core/p-0b4350df.entry.js.map +0 -1
  420. package/dist/core/p-0e618fc5.entry.js +0 -2
  421. package/dist/core/p-0e618fc5.entry.js.map +0 -1
  422. package/dist/core/p-18ecba80.entry.js +0 -2
  423. package/dist/core/p-18ecba80.entry.js.map +0 -1
  424. package/dist/core/p-281ce313.js +0 -2
  425. package/dist/core/p-281ce313.js.map +0 -1
  426. package/dist/core/p-30abe545.entry.js +0 -2
  427. package/dist/core/p-30abe545.entry.js.map +0 -1
  428. package/dist/core/p-3b5d3e24.entry.js.map +0 -1
  429. package/dist/core/p-5d4b0480.entry.js +0 -2
  430. package/dist/core/p-5d4b0480.entry.js.map +0 -1
  431. package/dist/core/p-6337fe1f.entry.js +0 -2
  432. package/dist/core/p-6337fe1f.entry.js.map +0 -1
  433. package/dist/core/p-8ba129fc.entry.js +0 -2
  434. package/dist/core/p-8ba129fc.entry.js.map +0 -1
  435. package/dist/core/p-ac7db165.entry.js +0 -2
  436. package/dist/core/p-ac7db165.entry.js.map +0 -1
  437. package/dist/core/p-c62318a8.entry.js +0 -2
  438. package/dist/core/p-c62318a8.entry.js.map +0 -1
  439. package/dist/core/p-e586ae7b.entry.js +0 -2
  440. package/dist/core/p-e586ae7b.entry.js.map +0 -1
  441. package/dist/esm/helpers-46a2d1fd.js.map +0 -1
  442. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +0 -1
  443. /package/dist/core/{p-4245a976.entry.js.map → p-00bc353b.entry.js.map} +0 -0
  444. /package/dist/core/{p-ef09b450.entry.js.map → p-0a436c47.entry.js.map} +0 -0
  445. /package/dist/core/{p-fbde763c.entry.js.map → p-10e1e227.entry.js.map} +0 -0
  446. /package/dist/core/{p-88924aef.entry.js.map → p-1440847f.entry.js.map} +0 -0
  447. /package/dist/core/{p-bbe5596b.entry.js.map → p-15b7adaf.entry.js.map} +0 -0
  448. /package/dist/core/{p-45432bf5.entry.js.map → p-1838d1e9.entry.js.map} +0 -0
  449. /package/dist/core/{p-3eb7ef1d.entry.js.map → p-18714198.entry.js.map} +0 -0
  450. /package/dist/core/{p-b3ac38c5.entry.js.map → p-1be17f22.entry.js.map} +0 -0
  451. /package/dist/core/{p-b3d6d5be.entry.js.map → p-267a19d4.entry.js.map} +0 -0
  452. /package/dist/core/{p-f3c72ffb.entry.js.map → p-2c371198.entry.js.map} +0 -0
  453. /package/dist/core/{p-70700c7a.entry.js.map → p-42a7d0b6.entry.js.map} +0 -0
  454. /package/dist/core/{p-33c86ba6.entry.js.map → p-628c32b8.entry.js.map} +0 -0
  455. /package/dist/core/{p-0631c3ab.entry.js.map → p-70a6cff1.entry.js.map} +0 -0
  456. /package/dist/core/{p-f815f8c9.entry.js.map → p-72c117b6.entry.js.map} +0 -0
  457. /package/dist/core/{p-7dfe0284.entry.js.map → p-788c96ac.entry.js.map} +0 -0
  458. /package/dist/core/{p-fe833509.entry.js.map → p-7fb79e87.entry.js.map} +0 -0
  459. /package/dist/core/{p-6de6b6b7.entry.js.map → p-83764268.entry.js.map} +0 -0
  460. /package/dist/core/{p-4b601e06.entry.js.map → p-8b5022bc.entry.js.map} +0 -0
  461. /package/dist/core/{p-1e4cdd2d.entry.js.map → p-8c4f7c63.entry.js.map} +0 -0
  462. /package/dist/core/{p-5e18b899.entry.js.map → p-910f5f14.entry.js.map} +0 -0
  463. /package/dist/core/{p-7afc71d0.entry.js.map → p-9479f272.entry.js.map} +0 -0
  464. /package/dist/core/{p-acebb05c.entry.js.map → p-9c47521d.entry.js.map} +0 -0
  465. /package/dist/core/{p-40f2f58e.entry.js.map → p-9ca147f3.entry.js.map} +0 -0
  466. /package/dist/core/{p-e56d0db2.entry.js.map → p-9cfc2bac.entry.js.map} +0 -0
  467. /package/dist/core/{p-abaea607.entry.js.map → p-a0161990.entry.js.map} +0 -0
  468. /package/dist/core/{p-c2ca6274.entry.js.map → p-a4f9b5bf.entry.js.map} +0 -0
  469. /package/dist/core/{p-005cd8a8.entry.js.map → p-aad10013.entry.js.map} +0 -0
  470. /package/dist/core/{p-3675c4b4.entry.js.map → p-b8da5c07.entry.js.map} +0 -0
  471. /package/dist/core/{p-de43d375.entry.js.map → p-b9459ba2.entry.js.map} +0 -0
  472. /package/dist/core/{p-f34eee68.entry.js.map → p-bc2ca778.entry.js.map} +0 -0
  473. /package/dist/core/{p-7c0914e7.entry.js.map → p-bdc72446.entry.js.map} +0 -0
  474. /package/dist/core/{p-a9c96e3e.entry.js.map → p-c45023b7.entry.js.map} +0 -0
  475. /package/dist/core/{p-5206a978.entry.js.map → p-c8cf1ad5.entry.js.map} +0 -0
  476. /package/dist/core/{p-23d059ff.entry.js.map → p-d45d66c0.entry.js.map} +0 -0
  477. /package/dist/core/{p-9ea9a4ce.entry.js.map → p-d6c50565.entry.js.map} +0 -0
  478. /package/dist/core/{p-3132270d.entry.js.map → p-dede4974.entry.js.map} +0 -0
  479. /package/dist/core/{p-23ed8b99.entry.js.map → p-df88ff5b.entry.js.map} +0 -0
  480. /package/dist/core/{p-c04f36c5.entry.js.map → p-e86a6d2d.entry.js.map} +0 -0
  481. /package/dist/core/{p-7a0d238b.entry.js.map → p-ebab7a9e.entry.js.map} +0 -0
  482. /package/dist/core/{p-517d7afb.entry.js.map → p-eeab3a2e.entry.js.map} +0 -0
  483. /package/dist/core/{p-44e4e8c1.entry.js.map → p-ef36181d.entry.js.map} +0 -0
  484. /package/dist/core/{p-fc50d582.entry.js.map → p-f0388d68.entry.js.map} +0 -0
  485. /package/dist/core/{p-e2f893f0.entry.js.map → p-fbf57f0a.entry.js.map} +0 -0
@@ -6,7 +6,6 @@ let inputIds = 0;
6
6
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7
7
  export class SearchBar {
8
8
  constructor() {
9
- this.assistiveHintEl = null;
10
9
  this.hasTimedOut = false;
11
10
  this.inputId = `ic-search-bar-input-${inputIds++}`;
12
11
  this.menuCloseFromMenuChangeEvent = false;
@@ -15,6 +14,7 @@ export class SearchBar {
15
14
  this.preventSubmit = false;
16
15
  this.prevNoOption = false;
17
16
  this.retryButtonClick = false;
17
+ this.retryViaKeyPress = false;
18
18
  this.truncateValue = false;
19
19
  this.clearButtonFocused = false;
20
20
  this.open = false;
@@ -158,46 +158,57 @@ export class SearchBar {
158
158
  this.preventSubmit = true;
159
159
  }
160
160
  };
161
- this.onInput = (ev) => {
162
- this.value = ev.target.value;
161
+ this.onInput = ({ target }) => {
162
+ this.value = target.value;
163
163
  this.icInput.emit({ value: this.value });
164
- const noOptions = [
165
- { [this.labelField]: this.emptyOptionListText, [this.valueField]: "" },
166
- ];
167
164
  if (this.options.length > 0) {
168
165
  this.setMenuChange(true);
169
166
  this.preLoad = false;
170
167
  if (this.disableAutoFiltering === false) {
171
168
  const rawFilteredOptions = getFilteredMenuOptions(this.options, false, this.value, "anywhere", this.labelField);
172
169
  this.filteredOptions =
173
- rawFilteredOptions.length > 0 ? rawFilteredOptions : noOptions;
170
+ rawFilteredOptions.length > 0
171
+ ? rawFilteredOptions
172
+ : [
173
+ {
174
+ [this.labelField]: this.emptyOptionListText,
175
+ [this.valueField]: "",
176
+ },
177
+ ];
174
178
  }
175
179
  }
176
- if (!this.showClearButton) {
177
- this.handleShowClearButton(true);
178
- }
180
+ if (!this.showClearButton)
181
+ this.showClearButton = true;
179
182
  this.debounceAriaLiveUpdate();
180
183
  };
181
- this.onInputBlur = (ev) => {
182
- const value = ev.target.value;
183
- const nextFocus = ev.relatedTarget;
184
- this.icSearchBarBlur.emit({ value: value, relatedTarget: nextFocus });
184
+ this.onInputBlur = ({ target, relatedTarget }) => {
185
+ this.icSearchBarBlur.emit({
186
+ value: target.value,
187
+ relatedTarget,
188
+ });
185
189
  };
186
- this.onInputFocus = (ev) => {
187
- const value = ev.target.value;
188
- this.icSearchBarFocus.emit({ value: value });
189
- this.handleShowClearButton(true);
190
+ this.onInputFocus = ({ target }) => {
191
+ this.icSearchBarFocus.emit({ value: target.value });
192
+ this.showClearButton = true;
190
193
  };
191
- this.handleClearBlur = (ev) => {
192
- const nextFocus = ev.relatedTarget;
193
- this.icClearBlur.emit({ relatedTarget: nextFocus });
194
+ this.handleClearBlur = ({ relatedTarget }) => {
195
+ this.icClearBlur.emit({ relatedTarget });
194
196
  this.clearButtonFocused = false;
195
197
  };
196
- this.handleSubmitSearchBlur = (ev) => {
197
- const nextFocus = ev.relatedTarget;
198
- this.icSubmitSearchBlur.emit({ relatedTarget: nextFocus });
198
+ this.handleSubmitSearchBlur = ({ relatedTarget }) => {
199
+ this.icSubmitSearchBlur.emit({ relatedTarget });
199
200
  this.searchSubmitFocused = false;
200
201
  };
202
+ this.setInputValue = (newValue) => {
203
+ if (this.inputEl) {
204
+ const label = getLabelFromValue(newValue, this.options, this.valueField, this.labelField);
205
+ if (label)
206
+ this.inputEl.value = label;
207
+ else if (this.inputEl.value !== newValue) {
208
+ this.inputEl.value = newValue;
209
+ }
210
+ }
211
+ };
201
212
  this.handleMouseDown = (ev) => {
202
213
  ev.preventDefault();
203
214
  };
@@ -205,7 +216,8 @@ export class SearchBar {
205
216
  this.searchSubmitFocused = true;
206
217
  };
207
218
  this.handleSubmitSearch = () => {
208
- this.highlightedValue && (this.value = this.highlightedValue);
219
+ if (this.highlightedValue)
220
+ this.value = this.highlightedValue;
209
221
  this.highlightedValue = undefined;
210
222
  this.icSubmitSearch.emit({ value: this.value });
211
223
  const form = this.el.closest("FORM");
@@ -256,15 +268,10 @@ export class SearchBar {
256
268
  this.icOptionSelect.emit({ value: this.value });
257
269
  };
258
270
  this.handleMenuOptionHighlight = (ev) => {
259
- var _a;
260
- const optionValue = (_a = ev.detail.optionId) === null || _a === void 0 ? void 0 : _a.replace(`${this.menuId}-`, "");
261
- optionValue && (this.highlightedValue = optionValue);
262
- if (ev.detail.optionId) {
263
- this.ariaActiveDescendant = ev.detail.optionId;
264
- }
265
- else {
266
- this.ariaActiveDescendant = "";
267
- }
271
+ const { optionId } = ev.detail;
272
+ if (optionId)
273
+ this.highlightedValue = optionId.replace(`${this.menuId}-`, "");
274
+ this.ariaActiveDescendant = optionId || "";
268
275
  };
269
276
  this.handleMenuChange = (ev) => {
270
277
  this.setMenuChange(ev.detail.open);
@@ -282,15 +289,14 @@ export class SearchBar {
282
289
  if (this.options && this.value && !this.menuCloseFromMenuChangeEvent) {
283
290
  this.setMenuChange(true);
284
291
  }
285
- this.handleTruncateValue(false);
292
+ this.truncateValue = false;
286
293
  this.icSearchBarFocus.emit();
287
294
  };
288
- this.handleHostBlur = (ev) => {
295
+ this.handleHostBlur = ({ relatedTarget }) => {
289
296
  var _a;
290
- const nextFocus = ev.relatedTarget;
291
297
  if (this.open &&
292
298
  this.options &&
293
- nextFocus !== this.menu &&
299
+ relatedTarget !== this.menu &&
294
300
  !this.retryViaKeyPress &&
295
301
  !this.retryButtonClick) {
296
302
  this.setMenuChange(false);
@@ -298,35 +304,30 @@ export class SearchBar {
298
304
  if (this.retryButtonClick || this.retryViaKeyPress) {
299
305
  (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
300
306
  }
301
- this.handleShowClearButton(false);
307
+ this.showClearButton = false;
302
308
  this.menuCloseFromMenuChangeEvent = false;
303
- this.handleTruncateValue(true);
304
- this.icSearchBarBlur.emit({ relatedTarget: nextFocus, value: this.value });
309
+ this.truncateValue = true;
310
+ this.icSearchBarBlur.emit({
311
+ relatedTarget,
312
+ value: this.value,
313
+ });
305
314
  this.retryViaKeyPress = false;
306
315
  this.retryButtonClick = false;
307
316
  };
308
- this.handleShowClearButton = (visible) => {
309
- this.showClearButton = visible;
310
- };
311
317
  this.handleFocusClearButton = () => {
312
318
  this.clearButtonFocused = true;
313
319
  };
314
- this.handleTruncateValue = (truncate) => {
315
- this.truncateValue = truncate;
316
- };
317
320
  this.renderAssistiveHintEl = () => {
318
- var _a;
321
+ var _a, _b;
319
322
  const input = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`#${this.inputId}`);
320
323
  if (input &&
321
324
  Object.keys(input).length > 0 &&
322
325
  this.hasOptionsOrFilterDisabled()) {
323
326
  this.assistiveHintEl = document.createElement("span");
324
- this.assistiveHintEl.innerText = this.assistiveHintText || "";
327
+ this.assistiveHintEl.innerText = this.assistiveHintText;
325
328
  this.assistiveHintEl.id = `${this.inputId}-assistive-hint`;
326
329
  this.assistiveHintEl.style.display = "none";
327
- if (input.after !== undefined) {
328
- input.after(this.assistiveHintEl);
329
- }
330
+ (_b = input.after) === null || _b === void 0 ? void 0 : _b.call(input, this.assistiveHintEl);
330
331
  }
331
332
  };
332
333
  this.updateSearchResultAriaLive = () => {
@@ -342,41 +343,22 @@ export class SearchBar {
342
343
  this.filteredOptions.length > 0 &&
343
344
  this.open &&
344
345
  !this.filteredOptions[0].loading) {
345
- if (this.hadNoOptions()) {
346
- searchResultsStatusEl.innerText = this.emptyOptionListText;
347
- }
348
- else {
349
- searchResultsStatusEl.innerText = `${this.filteredOptions.length} result${this.filteredOptions.length > 1 ? "s" : ""} available`;
350
- }
346
+ searchResultsStatusEl.innerText = this.hadNoOptions()
347
+ ? this.emptyOptionListText
348
+ : `${this.filteredOptions.length} result${this.filteredOptions.length > 1 ? "s" : ""} available`;
351
349
  }
352
350
  }
353
351
  };
354
- this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || !!this.disableAutoFiltering;
352
+ this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || this.disableAutoFiltering;
355
353
  this.hadNoOptions = () => this.filteredOptions.length === 1 &&
356
354
  this.filteredOptions[0][this.labelField] === this.emptyOptionListText &&
357
355
  this.searchMode === "navigation";
358
- this.isSubmitDisabled = () => {
359
- const valueNotSet = this.value === undefined || this.value === null || this.value === "";
360
- const valueLengthLess = this.value.length < this.charactersUntilSuggestion;
361
- return (valueNotSet ||
362
- valueLengthLess ||
363
- this.disabled ||
364
- this.hadNoOptions() ||
365
- this.hasTimedOut ||
366
- !!this.loading);
367
- };
368
- this.highlightFirstOptionAfterNoResults = () => {
369
- if (this.prevNoOption && this.menu && !this.hasTimedOut) {
370
- this.menu.handleSetFirstOption();
371
- this.prevNoOption = false;
372
- }
373
- const prevNoOptionsList = this.filteredOptions.find((filteredOption) => filteredOption[this.labelField] === this.emptyOptionListText ||
374
- filteredOption[this.labelField] === this.loadingErrorLabel ||
375
- filteredOption[this.labelField] === this.loadingLabel);
376
- if (prevNoOptionsList) {
377
- this.prevNoOption = true;
378
- }
379
- };
356
+ this.isSubmitDisabled = () => !this.value ||
357
+ this.value.length < this.charactersUntilSuggestion ||
358
+ this.disabled ||
359
+ this.hadNoOptions() ||
360
+ this.hasTimedOut ||
361
+ this.loading;
380
362
  }
381
363
  watchDisabledHandler() {
382
364
  removeDisabledFalse(this.disabled, this.el);
@@ -405,40 +387,32 @@ export class SearchBar {
405
387
  return;
406
388
  }
407
389
  this.setMenuChange(true);
408
- !this.preLoad &&
409
- (this.filteredOptions = [
390
+ if (!this.preLoad) {
391
+ this.filteredOptions = [
410
392
  {
411
393
  [this.labelField]: this.emptyOptionListText,
412
394
  [this.valueField]: "",
413
395
  },
414
- ]);
396
+ ];
397
+ }
415
398
  this.preLoad = true;
416
399
  }
417
400
  }
418
401
  this.debounceAriaLiveUpdate();
419
402
  }
420
403
  watchValueHandler(newValue) {
421
- if (this.inputEl &&
422
- this.options &&
423
- !!getLabelFromValue(newValue, this.options, this.valueField, this.labelField)) {
424
- this.inputEl.value =
425
- getLabelFromValue(newValue, this.options, this.valueField, this.labelField) || "";
426
- }
427
- else if (this.inputEl && this.inputEl.value !== newValue) {
428
- this.inputEl.value = newValue;
429
- }
404
+ this.setInputValue(newValue);
430
405
  this.icChange.emit({ value: newValue });
431
406
  }
432
407
  connectedCallback() {
433
408
  this.debounceChanged();
434
409
  }
435
410
  disconnectedCallback() {
436
- if (this.assistiveHintEl) {
437
- this.assistiveHintEl.remove();
438
- }
411
+ var _a;
412
+ (_a = this.assistiveHintEl) === null || _a === void 0 ? void 0 : _a.remove();
439
413
  }
440
414
  componentWillLoad() {
441
- this.watchValueHandler(this.value);
415
+ this.setInputValue(this.value);
442
416
  removeDisabledFalse(this.disabled, this.el);
443
417
  }
444
418
  componentDidLoad() {
@@ -454,7 +428,15 @@ export class SearchBar {
454
428
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Search Bar");
455
429
  }
456
430
  componentWillRender() {
457
- this.highlightFirstOptionAfterNoResults();
431
+ if (this.prevNoOption && this.menu && !this.hasTimedOut) {
432
+ this.menu.handleSetFirstOption();
433
+ this.prevNoOption = false;
434
+ }
435
+ if (this.filteredOptions.find((filteredOption) => filteredOption[this.labelField] === this.emptyOptionListText ||
436
+ filteredOption[this.labelField] === this.loadingErrorLabel ||
437
+ filteredOption[this.labelField] === this.loadingLabel)) {
438
+ this.prevNoOption = true;
439
+ }
458
440
  }
459
441
  handleKeyDown(event) {
460
442
  this.icKeydown.emit({ event });
@@ -493,62 +475,57 @@ export class SearchBar {
493
475
  }, 500);
494
476
  }
495
477
  render() {
496
- const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, theme, } = this;
478
+ 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, } = this;
497
479
  const disabledMode = readonly || disabled;
498
480
  const describedBy = getInputDescribedByText(inputId, helperText !== "", false).trim();
499
- let describedById;
481
+ let describedById = undefined;
500
482
  if (describedBy !== "" && this.hasOptionsOrFilterDisabled()) {
501
- describedById = `${describedBy} ${this.inputId}-assistive-hint`;
483
+ describedById = `${describedBy} ${inputId}-assistive-hint`;
502
484
  }
503
485
  else if (this.hasOptionsOrFilterDisabled()) {
504
- describedById = `${this.inputId}-assistive-hint`;
486
+ describedById = `${inputId}-assistive-hint`;
505
487
  }
506
488
  else if (describedBy !== "") {
507
489
  describedById = describedBy;
508
490
  }
509
- else {
510
- describedById = undefined;
511
- }
512
491
  const hasSuggestedSearch = !!value && this.hasOptionsOrFilterDisabled();
513
492
  const menuOpen = hasSuggestedSearch && open && filteredOptions.length > 0;
514
- const menuRendered = menuOpen && value.length >= this.charactersUntilSuggestion;
515
- const labelValue = getLabelFromValue(value, options, this.valueField, this.labelField);
516
- renderHiddenInput(true, this.el, name, value, disabledMode);
517
- return (h(Host, { key: '00d7c200dadef58f3be6eeae1299f255da97e79a', class: {
518
- ["ic-search-bar-search"]: true,
519
- ["ic-search-bar-full-width"]: !!fullWidth,
520
- ["ic-search-bar-disabled"]: !!disabled,
521
- ["ic-search-bar-small"]: size === "small",
493
+ const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
494
+ const labelValue = getLabelFromValue(value, options, valueField, labelField);
495
+ renderHiddenInput(this.el, value, name, disabledMode);
496
+ return (h(Host, { key: '5120b79da9d0840d87421287913f49cda06da4f3', class: {
497
+ "ic-search-bar-search": true,
498
+ "ic-search-bar-full-width": fullWidth,
499
+ "ic-search-bar-disabled": disabled,
500
+ "ic-search-bar-small": size === "small",
522
501
  [`ic-theme-${theme}`]: theme !== "inherit",
523
- }, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: 'e9620617be40182b556185417647b0ba298116d3', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '02fcdd33f0bb62ac24ca12aa09c6c5e188f20c06', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly })), h("ic-input-component-container", { key: '0649a65ad29290c2a60bd33c90552e8bbc875e66', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, h("input", { key: '80b924a66fe7f7aa5193ae0e64b6e4d143ee713a', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
524
- "no-left-pad": !!readonly,
525
- readonly: !!readonly,
502
+ }, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: '246484c51e7169a8f9944b66499126ea3d86921a', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '043651daee6abf565a44ad6c1c090e8d6dd85f8a', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly })), h("ic-input-component-container", { key: '880ab5440ec935340d56dd69e64e467879f3bbc5', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, h("input", { key: '37ece1e8c9f5ab12f2f3a303544c882192a07107', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
503
+ "no-left-pad": readonly,
504
+ readonly,
526
505
  "truncate-value": truncateValue,
527
- }, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": label, "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: '0feabdeed8caa3ac63634fdf52221c9cd8a0ea15', class: {
506
+ }, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": label, "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: '4498fbe2293958c1ae6f6ddfeab15b2ff29ca2a8', class: {
528
507
  "clear-button-container": true,
529
- "clear-button-visible": !!value && !disabledMode && this.showClearButton,
530
- } }, h("ic-button", { key: '3e7e1f8e39c50eb45595d8eddc6cbc1dfd624e5c', id: "clear-button", class: {
508
+ "clear-button-visible": !!value && !disabledMode && showClearButton,
509
+ } }, h("ic-button", { key: '561c5cbe830f34bc80967e0899f2dc8526c1c4f7', id: "clear-button", class: {
531
510
  "clear-button": true,
532
- "clear-button-unfocused": !this.clearButtonFocused,
533
- }, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "submit", variant: "icon", theme: this.clearButtonFocused ? "light" : "dark" }), h("div", { key: '793bf0fd78a2bfce32b78885f0478e2eb214d337', class: "divider" })), h("div", { key: '828edde2b4c950fc0e2c1faff736ee021ab6d49c', class: {
511
+ "clear-button-unfocused": !clearButtonFocused,
512
+ }, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "submit", variant: "icon", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '9c783d276ad0a931e538a79ce303ad060db1fa1b', class: "divider" })), h("div", { key: '5babcd978eb8263ca710b32ead6926c95f558838', class: {
534
513
  "search-submit-button-container": true,
535
514
  "search-submit-button-disabled": this.isSubmitDisabled(),
536
- } }, h("ic-button", { key: 'c84ee2e7957b7a9d326598af93bb50e78a41ccd2', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
537
- ["search-submit-button"]: true,
538
- ["search-submit-button-small"]: size === "small",
539
- ["search-submit-button-unfocused"]: !this.searchSubmitFocused,
540
- ["search-submit-button-disabled"]: this.isSubmitDisabled(),
541
- }, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", theme: this.searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '2d00bc902d0b81b245348735d7e258939f98e369', class: {
515
+ } }, h("ic-button", { key: '785dbe4deb7549662d263f74b75c759b932399fb', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
516
+ "search-submit-button": true,
517
+ "search-submit-button-small": size === "small",
518
+ "search-submit-button-unfocused": !searchSubmitFocused,
519
+ "search-submit-button-disabled": this.isSubmitDisabled(),
520
+ }, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '78297ce56515a4f1f50a8108949a20837c87828f', class: {
542
521
  "menu-container": true,
543
- fullwidth: !!fullWidth,
544
- } }, menuRendered && (h("ic-menu", { key: '16049726b55a6a7775343b5a74c6c8c86939ad20', class: {
522
+ fullwidth: fullWidth,
523
+ } }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: 'd527adddfc250b1f0fe605cbaec5f08ea1e25c04', class: {
545
524
  "no-results": this.hadNoOptions() ||
546
525
  (filteredOptions.length === 1 &&
547
- (filteredOptions[0][this.labelField] ===
548
- this.loadingLabel ||
549
- filteredOptions[0][this.labelField] ===
550
- this.loadingErrorLabel)),
551
- }, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: this.searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: !!menuRendered, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: this.labelField, valueField: this.valueField })))), h("div", { key: '9844297f2d4ed1dd4e168685da928b44eeeb4698', "aria-live": "polite", role: "status", class: "search-results-status" })));
526
+ (filteredOptions[0][labelField] === loadingLabel ||
527
+ filteredOptions[0][labelField] === loadingErrorLabel)),
528
+ }, 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 })))), h("div", { key: '716cd74ed9726cd134772aba2b98e374face0753', "aria-live": "polite", role: "status", class: "search-results-status" })));
552
529
  }
553
530
  static get is() { return "ic-search-bar"; }
554
531
  static get encapsulation() { return "shadow"; }
@@ -569,8 +546,8 @@ export class SearchBar {
569
546
  "type": "string",
570
547
  "mutable": false,
571
548
  "complexType": {
572
- "original": "string | undefined",
573
- "resolved": "string | undefined",
549
+ "original": "string",
550
+ "resolved": "string",
574
551
  "references": {}
575
552
  },
576
553
  "required": false,
@@ -590,7 +567,7 @@ export class SearchBar {
590
567
  "mutable": false,
591
568
  "complexType": {
592
569
  "original": "IcAutocompleteTypes",
593
- "resolved": "IcAutocompleteTypes | undefined",
570
+ "resolved": "\"on\" | \"off\" | \"name\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"email\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"url\" | \"photo\"",
594
571
  "references": {
595
572
  "IcAutocompleteTypes": {
596
573
  "location": "import",
@@ -600,7 +577,7 @@ export class SearchBar {
600
577
  }
601
578
  },
602
579
  "required": false,
603
- "optional": true,
580
+ "optional": false,
604
581
  "docs": {
605
582
  "tags": [],
606
583
  "text": "The state of autocompletion the browser can apply on the text value."
@@ -616,7 +593,7 @@ export class SearchBar {
616
593
  "mutable": false,
617
594
  "complexType": {
618
595
  "original": "IcAutocorrectStates",
619
- "resolved": "\"off\" | \"on\" | undefined",
596
+ "resolved": "\"off\" | \"on\"",
620
597
  "references": {
621
598
  "IcAutocorrectStates": {
622
599
  "location": "import",
@@ -626,7 +603,7 @@ export class SearchBar {
626
603
  }
627
604
  },
628
605
  "required": false,
629
- "optional": true,
606
+ "optional": false,
630
607
  "docs": {
631
608
  "tags": [],
632
609
  "text": "The state of autocorrection the browser can apply when the user is entering/editing the text value."
@@ -641,8 +618,8 @@ export class SearchBar {
641
618
  "type": "boolean",
642
619
  "mutable": false,
643
620
  "complexType": {
644
- "original": "boolean | undefined",
645
- "resolved": "boolean | undefined",
621
+ "original": "boolean",
622
+ "resolved": "boolean",
646
623
  "references": {}
647
624
  },
648
625
  "required": false,
@@ -662,11 +639,11 @@ export class SearchBar {
662
639
  "mutable": false,
663
640
  "complexType": {
664
641
  "original": "number",
665
- "resolved": "number | undefined",
642
+ "resolved": "number",
666
643
  "references": {}
667
644
  },
668
645
  "required": false,
669
- "optional": true,
646
+ "optional": false,
670
647
  "docs": {
671
648
  "tags": [],
672
649
  "text": "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."
@@ -682,11 +659,11 @@ export class SearchBar {
682
659
  "mutable": false,
683
660
  "complexType": {
684
661
  "original": "boolean",
685
- "resolved": "boolean | undefined",
662
+ "resolved": "boolean",
686
663
  "references": {}
687
664
  },
688
665
  "required": false,
689
- "optional": true,
666
+ "optional": false,
690
667
  "docs": {
691
668
  "tags": [],
692
669
  "text": "If `true`, the disabled state will be set."
@@ -702,11 +679,11 @@ export class SearchBar {
702
679
  "mutable": false,
703
680
  "complexType": {
704
681
  "original": "boolean",
705
- "resolved": "boolean | undefined",
682
+ "resolved": "boolean",
706
683
  "references": {}
707
684
  },
708
685
  "required": false,
709
- "optional": true,
686
+ "optional": false,
710
687
  "docs": {
711
688
  "tags": [],
712
689
  "text": "Specify whether to disable the built in filtering. For example, if options will already be filtered from external source.\nIf `true`, all options provided will be displayed."
@@ -722,11 +699,11 @@ export class SearchBar {
722
699
  "mutable": false,
723
700
  "complexType": {
724
701
  "original": "number",
725
- "resolved": "number | undefined",
702
+ "resolved": "number",
726
703
  "references": {}
727
704
  },
728
705
  "required": false,
729
- "optional": true,
706
+ "optional": false,
730
707
  "docs": {
731
708
  "tags": [],
732
709
  "text": "The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke."
@@ -742,11 +719,11 @@ export class SearchBar {
742
719
  "mutable": false,
743
720
  "complexType": {
744
721
  "original": "string",
745
- "resolved": "string | undefined",
722
+ "resolved": "string",
746
723
  "references": {}
747
724
  },
748
725
  "required": false,
749
- "optional": true,
726
+ "optional": false,
750
727
  "docs": {
751
728
  "tags": [],
752
729
  "text": "The text displayed when there are no options in the option list."
@@ -762,11 +739,11 @@ export class SearchBar {
762
739
  "mutable": false,
763
740
  "complexType": {
764
741
  "original": "boolean",
765
- "resolved": "boolean | undefined",
742
+ "resolved": "boolean",
766
743
  "references": {}
767
744
  },
768
745
  "required": false,
769
- "optional": true,
746
+ "optional": false,
770
747
  "docs": {
771
748
  "tags": [],
772
749
  "text": "If `true`, the search bar will be focused when component loaded."
@@ -782,11 +759,11 @@ export class SearchBar {
782
759
  "mutable": false,
783
760
  "complexType": {
784
761
  "original": "boolean",
785
- "resolved": "boolean | undefined",
762
+ "resolved": "boolean",
786
763
  "references": {}
787
764
  },
788
765
  "required": false,
789
- "optional": true,
766
+ "optional": false,
790
767
  "docs": {
791
768
  "tags": [],
792
769
  "text": "Specify whether the search bar fills the full width of the container.\nIf `true`, this overrides the --input-width CSS variable."
@@ -802,11 +779,11 @@ export class SearchBar {
802
779
  "mutable": false,
803
780
  "complexType": {
804
781
  "original": "string",
805
- "resolved": "string | undefined",
782
+ "resolved": "string",
806
783
  "references": {}
807
784
  },
808
785
  "required": false,
809
- "optional": true,
786
+ "optional": false,
810
787
  "docs": {
811
788
  "tags": [],
812
789
  "text": "The helper text that will be displayed for additional field guidance."
@@ -822,11 +799,11 @@ export class SearchBar {
822
799
  "mutable": false,
823
800
  "complexType": {
824
801
  "original": "boolean",
825
- "resolved": "boolean | undefined",
802
+ "resolved": "boolean",
826
803
  "references": {}
827
804
  },
828
805
  "required": false,
829
- "optional": true,
806
+ "optional": false,
830
807
  "docs": {
831
808
  "tags": [],
832
809
  "text": "If `true`, the label will be hidden and the required label value will be applied as an aria-label."
@@ -842,11 +819,11 @@ export class SearchBar {
842
819
  "mutable": false,
843
820
  "complexType": {
844
821
  "original": "string",
845
- "resolved": "string | undefined",
822
+ "resolved": "string",
846
823
  "references": {}
847
824
  },
848
825
  "required": false,
849
- "optional": true,
826
+ "optional": false,
850
827
  "docs": {
851
828
  "tags": [],
852
829
  "text": "The hint text for the hidden assistive description element."
@@ -881,11 +858,11 @@ export class SearchBar {
881
858
  "mutable": false,
882
859
  "complexType": {
883
860
  "original": "string",
884
- "resolved": "string | undefined",
861
+ "resolved": "string",
885
862
  "references": {}
886
863
  },
887
864
  "required": false,
888
- "optional": true,
865
+ "optional": false,
889
866
  "docs": {
890
867
  "tags": [],
891
868
  "text": "The custom name for the label field to correspond with the IcMenuOption type."
@@ -901,11 +878,11 @@ export class SearchBar {
901
878
  "mutable": true,
902
879
  "complexType": {
903
880
  "original": "boolean",
904
- "resolved": "boolean | undefined",
881
+ "resolved": "boolean",
905
882
  "references": {}
906
883
  },
907
884
  "required": false,
908
- "optional": true,
885
+ "optional": false,
909
886
  "docs": {
910
887
  "tags": [],
911
888
  "text": "Trigger loading state when fetching options asynchronously"
@@ -921,11 +898,11 @@ export class SearchBar {
921
898
  "mutable": false,
922
899
  "complexType": {
923
900
  "original": "string",
924
- "resolved": "string | undefined",
901
+ "resolved": "string",
925
902
  "references": {}
926
903
  },
927
904
  "required": false,
928
- "optional": true,
905
+ "optional": false,
929
906
  "docs": {
930
907
  "tags": [],
931
908
  "text": "Change the message displayed when external loading times out."
@@ -941,11 +918,11 @@ export class SearchBar {
941
918
  "mutable": false,
942
919
  "complexType": {
943
920
  "original": "string",
944
- "resolved": "string | undefined",
921
+ "resolved": "string",
945
922
  "references": {}
946
923
  },
947
924
  "required": false,
948
- "optional": true,
925
+ "optional": false,
949
926
  "docs": {
950
927
  "tags": [],
951
928
  "text": "Change the message displayed whilst the options are being loaded externally."
@@ -961,11 +938,11 @@ export class SearchBar {
961
938
  "mutable": false,
962
939
  "complexType": {
963
940
  "original": "string",
964
- "resolved": "string | undefined",
941
+ "resolved": "string",
965
942
  "references": {}
966
943
  },
967
944
  "required": false,
968
- "optional": true,
945
+ "optional": false,
969
946
  "docs": {
970
947
  "tags": [],
971
948
  "text": "The name of the control, which is submitted with the form data."
@@ -981,11 +958,11 @@ export class SearchBar {
981
958
  "mutable": false,
982
959
  "complexType": {
983
960
  "original": "string",
984
- "resolved": "string | undefined",
961
+ "resolved": "string",
985
962
  "references": {}
986
963
  },
987
964
  "required": false,
988
- "optional": true,
965
+ "optional": false,
989
966
  "docs": {
990
967
  "tags": [],
991
968
  "text": "The placeholder value to display."
@@ -1001,11 +978,11 @@ export class SearchBar {
1001
978
  "mutable": false,
1002
979
  "complexType": {
1003
980
  "original": "boolean",
1004
- "resolved": "boolean | undefined",
981
+ "resolved": "boolean",
1005
982
  "references": {}
1006
983
  },
1007
984
  "required": false,
1008
- "optional": true,
985
+ "optional": false,
1009
986
  "docs": {
1010
987
  "tags": [],
1011
988
  "text": "If `true`, the readonly state will be set."
@@ -1021,11 +998,11 @@ export class SearchBar {
1021
998
  "mutable": false,
1022
999
  "complexType": {
1023
1000
  "original": "boolean",
1024
- "resolved": "boolean | undefined",
1001
+ "resolved": "boolean",
1025
1002
  "references": {}
1026
1003
  },
1027
1004
  "required": false,
1028
- "optional": true,
1005
+ "optional": false,
1029
1006
  "docs": {
1030
1007
  "tags": [],
1031
1008
  "text": "If `true`, the search bar will require a value."
@@ -1041,7 +1018,7 @@ export class SearchBar {
1041
1018
  "mutable": false,
1042
1019
  "complexType": {
1043
1020
  "original": "IcSearchBarSearchModes",
1044
- "resolved": "\"navigation\" | \"query\" | undefined",
1021
+ "resolved": "\"navigation\" | \"query\"",
1045
1022
  "references": {
1046
1023
  "IcSearchBarSearchModes": {
1047
1024
  "location": "import",
@@ -1051,7 +1028,7 @@ export class SearchBar {
1051
1028
  }
1052
1029
  },
1053
1030
  "required": false,
1054
- "optional": true,
1031
+ "optional": false,
1055
1032
  "docs": {
1056
1033
  "tags": [],
1057
1034
  "text": "Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches."
@@ -1067,7 +1044,7 @@ export class SearchBar {
1067
1044
  "mutable": false,
1068
1045
  "complexType": {
1069
1046
  "original": "IcSizesNoLarge",
1070
- "resolved": "\"medium\" | \"small\" | undefined",
1047
+ "resolved": "\"medium\" | \"small\"",
1071
1048
  "references": {
1072
1049
  "IcSizesNoLarge": {
1073
1050
  "location": "import",
@@ -1077,7 +1054,7 @@ export class SearchBar {
1077
1054
  }
1078
1055
  },
1079
1056
  "required": false,
1080
- "optional": true,
1057
+ "optional": false,
1081
1058
  "docs": {
1082
1059
  "tags": [],
1083
1060
  "text": "The size of the search bar component."
@@ -1092,8 +1069,8 @@ export class SearchBar {
1092
1069
  "type": "boolean",
1093
1070
  "mutable": false,
1094
1071
  "complexType": {
1095
- "original": "boolean | undefined",
1096
- "resolved": "boolean | undefined",
1072
+ "original": "boolean",
1073
+ "resolved": "boolean",
1097
1074
  "references": {}
1098
1075
  },
1099
1076
  "required": false,
@@ -1113,7 +1090,7 @@ export class SearchBar {
1113
1090
  "mutable": false,
1114
1091
  "complexType": {
1115
1092
  "original": "IcThemeMode",
1116
- "resolved": "\"dark\" | \"inherit\" | \"light\" | undefined",
1093
+ "resolved": "\"dark\" | \"inherit\" | \"light\"",
1117
1094
  "references": {
1118
1095
  "IcThemeMode": {
1119
1096
  "location": "import",
@@ -1123,7 +1100,7 @@ export class SearchBar {
1123
1100
  }
1124
1101
  },
1125
1102
  "required": false,
1126
- "optional": true,
1103
+ "optional": false,
1127
1104
  "docs": {
1128
1105
  "tags": [],
1129
1106
  "text": "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."
@@ -1158,11 +1135,11 @@ export class SearchBar {
1158
1135
  "mutable": false,
1159
1136
  "complexType": {
1160
1137
  "original": "string",
1161
- "resolved": "string | undefined",
1138
+ "resolved": "string",
1162
1139
  "references": {}
1163
1140
  },
1164
1141
  "required": false,
1165
- "optional": true,
1142
+ "optional": false,
1166
1143
  "docs": {
1167
1144
  "tags": [],
1168
1145
  "text": "The custom name for the value field to correspond with the IcMenuOption type."
@@ -1178,7 +1155,7 @@ export class SearchBar {
1178
1155
  "mutable": false,
1179
1156
  "complexType": {
1180
1157
  "original": "IcMenuOption[]",
1181
- "resolved": "IcMenuOption[] | undefined",
1158
+ "resolved": "IcMenuOption[]",
1182
1159
  "references": {
1183
1160
  "IcMenuOption": {
1184
1161
  "location": "import",
@@ -1188,7 +1165,7 @@ export class SearchBar {
1188
1165
  }
1189
1166
  },
1190
1167
  "required": false,
1191
- "optional": true,
1168
+ "optional": false,
1192
1169
  "docs": {
1193
1170
  "tags": [],
1194
1171
  "text": "The suggested search options."
@@ -1202,11 +1179,11 @@ export class SearchBar {
1202
1179
  "mutable": true,
1203
1180
  "complexType": {
1204
1181
  "original": "string",
1205
- "resolved": "string | undefined",
1182
+ "resolved": "string",
1206
1183
  "references": {}
1207
1184
  },
1208
1185
  "required": false,
1209
- "optional": true,
1186
+ "optional": false,
1210
1187
  "docs": {
1211
1188
  "tags": [],
1212
1189
  "text": "The value of the search input."