@ukic/web-components 2.0.0-alpha.124 → 2.0.0-alpha.125

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 (254) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-9d4961dc.js → helpers-ea79c7b0.js} +41 -2
  3. package/dist/cjs/helpers-ea79c7b0.js.map +1 -0
  4. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-breadcrumbs.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-button_3.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-card.cjs.entry.js +2 -2
  11. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  20. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +78 -24
  22. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-search-bar.cjs.entry.js +3 -5
  33. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-select.cjs.entry.js +216 -23
  35. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-tab-list.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-text-field.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  49. package/dist/cjs/loader.cjs.js +1 -1
  50. package/dist/collection/components/ic-button/ic-button.css +0 -6
  51. package/dist/collection/components/ic-card/ic-card.js +1 -1
  52. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  53. package/dist/collection/components/ic-hero/ic-hero.css +5 -0
  54. package/dist/collection/components/ic-hero/ic-hero.js +1 -1
  55. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  56. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +4 -3
  57. package/dist/collection/components/ic-menu/ic-menu.css +3 -2
  58. package/dist/collection/components/ic-menu/ic-menu.js +78 -21
  59. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  60. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -1
  61. package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -0
  62. package/dist/collection/components/ic-search-bar/ic-search-bar.js +2 -4
  63. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  64. package/dist/collection/components/ic-select/ic-select.css +70 -9
  65. package/dist/collection/components/ic-select/ic-select.js +337 -24
  66. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  67. package/dist/collection/components/ic-typography/ic-typography.css +11 -4
  68. package/dist/collection/components/ic-typography/ic-typography.js +1 -1
  69. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  70. package/dist/collection/utils/helpers.js +39 -1
  71. package/dist/collection/utils/helpers.js.map +1 -1
  72. package/dist/collection/utils/types.js.map +1 -1
  73. package/dist/components/helpers.js +40 -2
  74. package/dist/components/helpers.js.map +1 -1
  75. package/dist/components/ic-button2.js +2 -2
  76. package/dist/components/ic-button2.js.map +1 -1
  77. package/dist/components/ic-card.js +1 -1
  78. package/dist/components/ic-card.js.map +1 -1
  79. package/dist/components/ic-hero.js +2 -2
  80. package/dist/components/ic-hero.js.map +1 -1
  81. package/dist/components/ic-input-component-container2.js +2 -2
  82. package/dist/components/ic-input-component-container2.js.map +1 -1
  83. package/dist/components/ic-input-label2.js +1 -1
  84. package/dist/components/ic-input-validation2.js +1 -1
  85. package/dist/components/ic-link2.js +1 -1
  86. package/dist/components/ic-menu2.js +76 -22
  87. package/dist/components/ic-menu2.js.map +1 -1
  88. package/dist/components/ic-navigation-menu2.js +1 -1
  89. package/dist/components/ic-search-bar.js +3 -5
  90. package/dist/components/ic-search-bar.js.map +1 -1
  91. package/dist/components/ic-select.js +226 -23
  92. package/dist/components/ic-select.js.map +1 -1
  93. package/dist/components/ic-side-navigation.js +1 -1
  94. package/dist/components/ic-tab-list.js +1 -1
  95. package/dist/components/ic-text-field2.js +1 -1
  96. package/dist/components/ic-theme.js +1 -1
  97. package/dist/components/ic-top-navigation.js +1 -1
  98. package/dist/components/ic-typography2.js +1 -1
  99. package/dist/components/ic-typography2.js.map +1 -1
  100. package/dist/core/core.css +1 -1
  101. package/dist/core/core.esm.js +1 -1
  102. package/dist/core/core.esm.js.map +1 -1
  103. package/dist/core/{p-8af2a343.entry.js → p-01450166.entry.js} +2 -2
  104. package/dist/core/{p-8af2a343.entry.js.map → p-01450166.entry.js.map} +0 -0
  105. package/dist/core/{p-016fcce8.entry.js → p-01a17304.entry.js} +2 -2
  106. package/dist/core/{p-016fcce8.entry.js.map → p-01a17304.entry.js.map} +0 -0
  107. package/dist/core/{p-5e0b88fa.entry.js → p-08239789.entry.js} +2 -2
  108. package/dist/core/{p-5e0b88fa.entry.js.map → p-08239789.entry.js.map} +0 -0
  109. package/dist/core/{p-44af91df.entry.js → p-09c0cd28.entry.js} +2 -2
  110. package/dist/core/{p-44af91df.entry.js.map → p-09c0cd28.entry.js.map} +0 -0
  111. package/dist/core/{p-44355e34.entry.js → p-0cf51da5.entry.js} +2 -2
  112. package/dist/core/{p-44355e34.entry.js.map → p-0cf51da5.entry.js.map} +0 -0
  113. package/dist/core/{p-bbe0b521.entry.js → p-10531d9a.entry.js} +2 -2
  114. package/dist/core/{p-bbe0b521.entry.js.map → p-10531d9a.entry.js.map} +0 -0
  115. package/dist/core/p-14ba2f18.js +2 -0
  116. package/dist/core/p-14ba2f18.js.map +1 -0
  117. package/dist/core/{p-0d4ac3c9.entry.js → p-211465cf.entry.js} +2 -2
  118. package/dist/core/{p-0d4ac3c9.entry.js.map → p-211465cf.entry.js.map} +0 -0
  119. package/dist/core/{p-13854b65.entry.js → p-2c687b76.entry.js} +2 -2
  120. package/dist/core/{p-13854b65.entry.js.map → p-2c687b76.entry.js.map} +0 -0
  121. package/dist/core/p-2d5824f1.entry.js +2 -0
  122. package/dist/core/p-2d5824f1.entry.js.map +1 -0
  123. package/dist/core/{p-17420c90.entry.js → p-34e5ee10.entry.js} +2 -2
  124. package/dist/core/{p-17420c90.entry.js.map → p-34e5ee10.entry.js.map} +0 -0
  125. package/dist/core/{p-17f3a2bd.entry.js → p-35b91376.entry.js} +2 -2
  126. package/dist/core/{p-17f3a2bd.entry.js.map → p-35b91376.entry.js.map} +0 -0
  127. package/dist/core/{p-7152788d.entry.js → p-36e9f6ff.entry.js} +2 -2
  128. package/dist/core/{p-7152788d.entry.js.map → p-36e9f6ff.entry.js.map} +0 -0
  129. package/dist/core/{p-85a32ec7.entry.js → p-3a7725ed.entry.js} +2 -2
  130. package/dist/core/{p-85a32ec7.entry.js.map → p-3a7725ed.entry.js.map} +0 -0
  131. package/dist/core/{p-85436343.entry.js → p-3d95b097.entry.js} +2 -2
  132. package/dist/core/{p-85436343.entry.js.map → p-3d95b097.entry.js.map} +0 -0
  133. package/dist/core/p-40a17d61.entry.js +2 -0
  134. package/dist/core/p-40a17d61.entry.js.map +1 -0
  135. package/dist/core/{p-a3df537f.entry.js → p-41dab885.entry.js} +2 -2
  136. package/dist/core/{p-a3df537f.entry.js.map → p-41dab885.entry.js.map} +0 -0
  137. package/dist/core/{p-ed1d8712.entry.js → p-42876f02.entry.js} +2 -2
  138. package/dist/core/{p-ed1d8712.entry.js.map → p-42876f02.entry.js.map} +0 -0
  139. package/dist/core/{p-bddb885a.entry.js → p-483ba0f6.entry.js} +2 -2
  140. package/dist/core/{p-bddb885a.entry.js.map → p-483ba0f6.entry.js.map} +0 -0
  141. package/dist/core/{p-bdd2f166.entry.js → p-49831676.entry.js} +2 -2
  142. package/dist/core/{p-bdd2f166.entry.js.map → p-49831676.entry.js.map} +0 -0
  143. package/dist/core/p-55a8f5b6.entry.js +2 -0
  144. package/dist/core/p-55a8f5b6.entry.js.map +1 -0
  145. package/dist/core/{p-7ed79493.entry.js → p-5928296a.entry.js} +2 -2
  146. package/dist/core/p-5928296a.entry.js.map +1 -0
  147. package/dist/core/{p-4b1b46f5.entry.js → p-66800ec4.entry.js} +2 -2
  148. package/dist/core/p-66800ec4.entry.js.map +1 -0
  149. package/dist/core/{p-dc79694a.entry.js → p-7c207056.entry.js} +2 -2
  150. package/dist/core/{p-dc79694a.entry.js.map → p-7c207056.entry.js.map} +0 -0
  151. package/dist/core/{p-3b9d4007.entry.js → p-7f27efda.entry.js} +2 -2
  152. package/dist/core/{p-3b9d4007.entry.js.map → p-7f27efda.entry.js.map} +0 -0
  153. package/dist/core/{p-263018da.entry.js → p-87fc80f1.entry.js} +2 -2
  154. package/dist/core/{p-263018da.entry.js.map → p-87fc80f1.entry.js.map} +0 -0
  155. package/dist/core/{p-ea93611e.entry.js → p-886e7a24.entry.js} +2 -2
  156. package/dist/core/{p-ea93611e.entry.js.map → p-886e7a24.entry.js.map} +0 -0
  157. package/dist/core/{p-012dc33c.entry.js → p-889744b7.entry.js} +2 -2
  158. package/dist/core/{p-012dc33c.entry.js.map → p-889744b7.entry.js.map} +0 -0
  159. package/dist/core/{p-836c93b1.entry.js → p-92cc098f.entry.js} +2 -2
  160. package/dist/core/{p-836c93b1.entry.js.map → p-92cc098f.entry.js.map} +0 -0
  161. package/dist/core/{p-a968ff18.entry.js → p-961c9038.entry.js} +2 -2
  162. package/dist/core/{p-a968ff18.entry.js.map → p-961c9038.entry.js.map} +0 -0
  163. package/dist/core/{p-c09e9589.entry.js → p-9753e5f2.entry.js} +2 -2
  164. package/dist/core/{p-c09e9589.entry.js.map → p-9753e5f2.entry.js.map} +0 -0
  165. package/dist/core/{p-7f6ba60a.entry.js → p-a334ed34.entry.js} +2 -2
  166. package/dist/core/{p-7f6ba60a.entry.js.map → p-a334ed34.entry.js.map} +0 -0
  167. package/dist/core/p-b70f2538.entry.js +2 -0
  168. package/dist/core/p-b70f2538.entry.js.map +1 -0
  169. package/dist/core/{p-d198ae1f.entry.js → p-bbff1667.entry.js} +2 -2
  170. package/dist/core/{p-d198ae1f.entry.js.map → p-bbff1667.entry.js.map} +0 -0
  171. package/dist/core/{p-d10ce0a7.entry.js → p-c0bfb272.entry.js} +2 -2
  172. package/dist/core/{p-d10ce0a7.entry.js.map → p-c0bfb272.entry.js.map} +0 -0
  173. package/dist/core/{p-4fba6cae.entry.js → p-cd14a9dc.entry.js} +2 -2
  174. package/dist/core/{p-4fba6cae.entry.js.map → p-cd14a9dc.entry.js.map} +0 -0
  175. package/dist/core/{p-4cf60a22.entry.js → p-d7af7446.entry.js} +2 -2
  176. package/dist/core/{p-4cf60a22.entry.js.map → p-d7af7446.entry.js.map} +0 -0
  177. package/dist/core/{p-5d3dd182.entry.js → p-e2304886.entry.js} +2 -2
  178. package/dist/core/{p-5d3dd182.entry.js.map → p-e2304886.entry.js.map} +0 -0
  179. package/dist/core/p-f90ce9ca.entry.js +2 -0
  180. package/dist/core/p-f90ce9ca.entry.js.map +1 -0
  181. package/dist/esm/core.js +1 -1
  182. package/dist/esm/{helpers-db00eae1.js → helpers-63cb8828.js} +41 -3
  183. package/dist/esm/helpers-63cb8828.js.map +1 -0
  184. package/dist/esm/ic-alert.entry.js +1 -1
  185. package/dist/esm/ic-back-to-top.entry.js +1 -1
  186. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  187. package/dist/esm/ic-breadcrumbs.entry.js +1 -1
  188. package/dist/esm/ic-button_3.entry.js +2 -2
  189. package/dist/esm/ic-button_3.entry.js.map +1 -1
  190. package/dist/esm/ic-card.entry.js +2 -2
  191. package/dist/esm/ic-card.entry.js.map +1 -1
  192. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  193. package/dist/esm/ic-checkbox.entry.js +1 -1
  194. package/dist/esm/ic-data-row.entry.js +1 -1
  195. package/dist/esm/ic-divider.entry.js +1 -1
  196. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  197. package/dist/esm/ic-footer-link.entry.js +1 -1
  198. package/dist/esm/ic-footer.entry.js +1 -1
  199. package/dist/esm/ic-hero.entry.js +3 -3
  200. package/dist/esm/ic-hero.entry.js.map +1 -1
  201. package/dist/esm/ic-input-component-container_3.entry.js +78 -24
  202. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  203. package/dist/esm/ic-input-label_2.entry.js +1 -1
  204. package/dist/esm/ic-link.entry.js +1 -1
  205. package/dist/esm/ic-navigation-button.entry.js +1 -1
  206. package/dist/esm/ic-navigation-group.entry.js +1 -1
  207. package/dist/esm/ic-navigation-item.entry.js +1 -1
  208. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  209. package/dist/esm/ic-page-header.entry.js +1 -1
  210. package/dist/esm/ic-radio-group.entry.js +1 -1
  211. package/dist/esm/ic-radio-option.entry.js +1 -1
  212. package/dist/esm/ic-search-bar.entry.js +3 -5
  213. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  214. package/dist/esm/ic-select.entry.js +216 -23
  215. package/dist/esm/ic-select.entry.js.map +1 -1
  216. package/dist/esm/ic-side-navigation.entry.js +1 -1
  217. package/dist/esm/ic-status-tag.entry.js +1 -1
  218. package/dist/esm/ic-step.entry.js +1 -1
  219. package/dist/esm/ic-stepper.entry.js +1 -1
  220. package/dist/esm/ic-switch.entry.js +1 -1
  221. package/dist/esm/ic-tab-list.entry.js +1 -1
  222. package/dist/esm/ic-tab-panel.entry.js +1 -1
  223. package/dist/esm/ic-tab.entry.js +1 -1
  224. package/dist/esm/ic-text-field.entry.js +1 -1
  225. package/dist/esm/ic-theme.entry.js +1 -1
  226. package/dist/esm/ic-top-navigation.entry.js +1 -1
  227. package/dist/esm/ic-typography.entry.js +1 -1
  228. package/dist/esm/ic-typography.entry.js.map +1 -1
  229. package/dist/esm/loader.js +1 -1
  230. package/dist/types/components/ic-menu/ic-menu.d.ts +2 -0
  231. package/dist/types/components/ic-menu/ic-menu.types.d.ts +1 -0
  232. package/dist/types/components/ic-select/ic-select.d.ts +44 -2
  233. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  234. package/dist/types/components.d.ts +53 -5
  235. package/dist/types/utils/helpers.d.ts +11 -2
  236. package/dist/types/utils/types.d.ts +1 -0
  237. package/hydrate/index.js +348 -55
  238. package/package.json +3 -3
  239. package/dist/cjs/helpers-9d4961dc.js.map +0 -1
  240. package/dist/core/p-16a81e12.entry.js +0 -2
  241. package/dist/core/p-16a81e12.entry.js.map +0 -1
  242. package/dist/core/p-22eb7fc8.entry.js +0 -2
  243. package/dist/core/p-22eb7fc8.entry.js.map +0 -1
  244. package/dist/core/p-4b1b46f5.entry.js.map +0 -1
  245. package/dist/core/p-6238313f.entry.js +0 -2
  246. package/dist/core/p-6238313f.entry.js.map +0 -1
  247. package/dist/core/p-7ed79493.entry.js.map +0 -1
  248. package/dist/core/p-856d9516.entry.js +0 -2
  249. package/dist/core/p-856d9516.entry.js.map +0 -1
  250. package/dist/core/p-8a677ff1.entry.js +0 -2
  251. package/dist/core/p-8a677ff1.entry.js.map +0 -1
  252. package/dist/core/p-e5a09372.js +0 -2
  253. package/dist/core/p-e5a09372.js.map +0 -1
  254. package/dist/esm/helpers-db00eae1.js.map +0 -1
@@ -7,7 +7,7 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IcAlertVariants } from "./components/ic-alert/ic-alert.types";
9
9
  import { IcButtonSizes, IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
10
- import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcInformationStatusOrEmpty, IcMenuOption, IcTheme, IcThemeForeground, IcTypographyVariants } from "./utils/types";
10
+ import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcInformationStatusOrEmpty, IcMenuOption, IcSearchMatchPositions, IcTheme, IcThemeForeground, IcTypographyVariants } from "./utils/types";
11
11
  import { IcChangeEventDetail } from "./components/ic-checkbox-group/ic-checkbox-group.types";
12
12
  import { IcProtectiveMarkings } from "./components/ic-classification-banner/ic-classification-banner.types";
13
13
  import { IcFooterBreakpoints } from "./components/ic-footer/ic-footer.types";
@@ -924,6 +924,10 @@ export namespace Components {
924
924
  "fullHeight"?: boolean;
925
925
  }
926
926
  interface IcSelect {
927
+ /**
928
+ * Number of characters until suggestions appear for a searchable select.
929
+ */
930
+ "charactersUntilSuggestions"?: number;
927
931
  /**
928
932
  * Specify whether dense styling is to be applied to the element.
929
933
  */
@@ -932,6 +936,10 @@ export namespace Components {
932
936
  * Specify whether the input is disabled.
933
937
  */
934
938
  "disabled"?: boolean;
939
+ /**
940
+ * Provide text for empty results list
941
+ */
942
+ "emptyOptionListText": string;
935
943
  /**
936
944
  * If true, then fill width of container.
937
945
  */
@@ -944,6 +952,14 @@ export namespace Components {
944
952
  * Hides the label and applies the required label value as an aria-label.
945
953
  */
946
954
  "hideLabel"?: boolean;
955
+ /**
956
+ * If true, descriptions of options are included when filtering options in a searchable select.
957
+ */
958
+ "includeDescriptionsInSearch"?: boolean;
959
+ /**
960
+ * If true, group titles of grouped options are included when filtering options in a searchable select.
961
+ */
962
+ "includeGroupTitlesInSearch"?: boolean;
947
963
  /**
948
964
  * Provide a label for the input.
949
965
  */
@@ -968,12 +984,20 @@ export namespace Components {
968
984
  * Specify if the input requires a value.
969
985
  */
970
986
  "required"?: boolean;
987
+ /**
988
+ * Whether the search string of the searchable select should match the start of or anywhere in the options.
989
+ */
990
+ "searchMatchPosition"?: IcSearchMatchPositions;
991
+ /**
992
+ * If true, the select can be typed in to filter options.
993
+ */
994
+ "searchable"?: boolean;
971
995
  /**
972
996
  * Sets focus on the input box.
973
997
  */
974
998
  "setFocus": () => Promise<void>;
975
999
  /**
976
- * Display a button which clears the input when clicked.
1000
+ * Display a button which clears the input when clicked. The button will always appear on the searchable select.
977
1001
  */
978
1002
  "showClearButton"?: boolean;
979
1003
  /**
@@ -1342,7 +1366,7 @@ export namespace Components {
1342
1366
  }
1343
1367
  interface IcTypography {
1344
1368
  /**
1345
- * Adds margin to the bottom of the typography relative to the font-size.
1369
+ * Adds appropriate margins to the top and bottom of the typography.
1346
1370
  */
1347
1371
  "spacing"?: boolean;
1348
1372
  /**
@@ -2713,6 +2737,10 @@ declare namespace LocalJSX {
2713
2737
  "fullHeight"?: boolean;
2714
2738
  }
2715
2739
  interface IcSelect {
2740
+ /**
2741
+ * Number of characters until suggestions appear for a searchable select.
2742
+ */
2743
+ "charactersUntilSuggestions"?: number;
2716
2744
  /**
2717
2745
  * Specify whether dense styling is to be applied to the element.
2718
2746
  */
@@ -2721,6 +2749,10 @@ declare namespace LocalJSX {
2721
2749
  * Specify whether the input is disabled.
2722
2750
  */
2723
2751
  "disabled"?: boolean;
2752
+ /**
2753
+ * Provide text for empty results list
2754
+ */
2755
+ "emptyOptionListText"?: string;
2724
2756
  /**
2725
2757
  * If true, then fill width of container.
2726
2758
  */
@@ -2733,6 +2765,14 @@ declare namespace LocalJSX {
2733
2765
  * Hides the label and applies the required label value as an aria-label.
2734
2766
  */
2735
2767
  "hideLabel"?: boolean;
2768
+ /**
2769
+ * If true, descriptions of options are included when filtering options in a searchable select.
2770
+ */
2771
+ "includeDescriptionsInSearch"?: boolean;
2772
+ /**
2773
+ * If true, group titles of grouped options are included when filtering options in a searchable select.
2774
+ */
2775
+ "includeGroupTitlesInSearch"?: boolean;
2736
2776
  /**
2737
2777
  * Provide a label for the input.
2738
2778
  */
@@ -2770,7 +2810,15 @@ declare namespace LocalJSX {
2770
2810
  */
2771
2811
  "required"?: boolean;
2772
2812
  /**
2773
- * Display a button which clears the input when clicked.
2813
+ * Whether the search string of the searchable select should match the start of or anywhere in the options.
2814
+ */
2815
+ "searchMatchPosition"?: IcSearchMatchPositions;
2816
+ /**
2817
+ * If true, the select can be typed in to filter options.
2818
+ */
2819
+ "searchable"?: boolean;
2820
+ /**
2821
+ * Display a button which clears the input when clicked. The button will always appear on the searchable select.
2774
2822
  */
2775
2823
  "showClearButton"?: boolean;
2776
2824
  /**
@@ -3160,7 +3208,7 @@ declare namespace LocalJSX {
3160
3208
  }
3161
3209
  interface IcTypography {
3162
3210
  /**
3163
- * Adds margin to the bottom of the typography relative to the font-size.
3211
+ * Adds appropriate margins to the top and bottom of the typography.
3164
3212
  */
3165
3213
  "spacing"?: boolean;
3166
3214
  /**
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "../stencil-public-runtime";
2
- import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcColorRGB } from "./types";
2
+ import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcColorRGB, IcSearchMatchPositions } from "./types";
3
3
  import { IcMenuOption, IcThemeForeground } from "../utils/types";
4
4
  /**
5
5
  * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
@@ -58,9 +58,18 @@ export declare const isEmptyString: (value: string) => boolean;
58
58
  * Extracts the label using the value from an object. Requires the object to have a label and value property.
59
59
  * @param value - value from object
60
60
  * @param options - list of menu items
61
- * @returns - label correspoonding to value
61
+ * @returns - label corresponding to value
62
62
  */
63
63
  export declare const getLabelFromValue: (value: string, options: IcMenuOption[]) => string | undefined;
64
+ /**
65
+ * Filters the options based on the search string.
66
+ * @param options - array of options
67
+ * @param includeDescriptions - determines whether option descriptions are included when filtering options
68
+ * @param searchString - string used to filter the options
69
+ * @param position - whether the search string matches the start of or anywhere in the options
70
+ * @returns filtered array of options
71
+ */
72
+ export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDescriptions: boolean, searchString: string, position: IcSearchMatchPositions) => IcMenuOption[];
64
73
  export declare const deviceSizeMatches: (size: number) => boolean;
65
74
  export declare const getCurrentDeviceSize: () => number;
66
75
  export declare const getCssProperty: (cssVar: string) => string;
@@ -38,6 +38,7 @@ export interface IcMenuOption {
38
38
  recommended?: boolean;
39
39
  children?: IcMenuOption[];
40
40
  }
41
+ export declare type IcSearchMatchPositions = "start" | "anywhere";
41
42
  export declare type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
42
43
  export declare type IcRequiredPropsTypes = string | boolean | number | HTMLElement | IcMenuOption[];
43
44
  export declare type IcPropObject = {