@ukic/web-components 2.1.0-beta.7 → 2.1.0-beta.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (686) hide show
  1. package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
  2. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  3. package/dist/cjs/{chevron-icon-d175fe66.js → chevron-icon-2645d6b0.js} +2 -2
  4. package/dist/cjs/chevron-icon-2645d6b0.js.map +1 -0
  5. package/dist/cjs/core.cjs.js +2 -2
  6. package/dist/cjs/{helpers-81484ceb.js → helpers-6eb26e7a.js} +76 -3
  7. package/dist/cjs/helpers-6eb26e7a.js.map +1 -0
  8. package/dist/cjs/ic-alert.cjs.entry.js +4 -25
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +7 -5
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js +13 -4
  14. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-button_3.cjs.entry.js +23 -31
  16. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-card.cjs.entry.js +15 -4
  18. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  20. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-checkbox.cjs.entry.js +14 -4
  22. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-chip.cjs.entry.js +13 -4
  24. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  26. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  28. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  30. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  32. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -3
  34. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-footer-link.cjs.entry.js +4 -3
  36. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-footer.cjs.entry.js +3 -3
  38. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  40. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +158 -0
  42. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  43. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +44 -29
  44. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -8
  46. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-link.cjs.entry.js +12 -3
  48. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -4
  50. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-navigation-group.cjs.entry.js +6 -5
  52. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-navigation-item.cjs.entry.js +6 -5
  54. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-navigation-menu.cjs.entry.js +8 -8
  56. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-page-header.cjs.entry.js +4 -4
  58. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-radio-group.cjs.entry.js +13 -4
  60. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-radio-option.cjs.entry.js +14 -5
  62. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-search-bar.cjs.entry.js +23 -23
  64. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  66. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-select.cjs.entry.js +162 -66
  68. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-side-navigation.cjs.entry.js +17 -9
  70. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  73. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-step.cjs.entry.js +3 -3
  75. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-stepper.cjs.entry.js +13 -10
  77. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-switch.cjs.entry.js +12 -3
  79. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  81. package/dist/cjs/ic-tab-group.cjs.entry.js +8 -117
  82. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  84. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-tab.cjs.entry.js +10 -2
  86. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-text-field.cjs.entry.js +5 -5
  88. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  90. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  91. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  92. package/dist/cjs/ic-toast.cjs.entry.js +165 -0
  93. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  94. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -10
  95. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  97. package/dist/cjs/{index-3ef30d9d.js → index-f79a4e53.js} +17 -2
  98. package/dist/cjs/index-f79a4e53.js.map +1 -0
  99. package/dist/cjs/loader.cjs.js +2 -2
  100. package/dist/cjs/types-3eb02246.js.map +1 -1
  101. package/dist/collection/assets/back-icon.svg +1 -1
  102. package/dist/collection/assets/check-icon.svg +1 -1
  103. package/dist/collection/assets/chevron-icon.svg +1 -1
  104. package/dist/collection/assets/dismiss-icon.svg +1 -1
  105. package/dist/collection/assets/error-icon.svg +3 -3
  106. package/dist/collection/assets/info-icon.svg +3 -3
  107. package/dist/collection/assets/neutral-icon.svg +3 -3
  108. package/dist/collection/assets/success-icon.svg +3 -3
  109. package/dist/collection/assets/warning-icon.svg +3 -3
  110. package/dist/collection/collection-manifest.json +3 -0
  111. package/dist/collection/components/ic-alert/ic-alert.css +13 -13
  112. package/dist/collection/components/ic-alert/ic-alert.js +5 -16
  113. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  114. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +2 -2
  115. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +17 -7
  116. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +1 -0
  117. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  118. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +29 -0
  119. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  120. package/dist/collection/components/ic-button/ic-button.css +16 -15
  121. package/dist/collection/components/ic-button/ic-button.js +4 -19
  122. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  123. package/dist/collection/components/ic-card/ic-card.css +4 -4
  124. package/dist/collection/components/ic-card/ic-card.js +32 -1
  125. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  126. package/dist/collection/components/ic-checkbox/ic-checkbox.css +28 -30
  127. package/dist/collection/components/ic-checkbox/ic-checkbox.js +34 -1
  128. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  129. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +18 -2
  130. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +1 -1
  131. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  132. package/dist/collection/components/ic-chip/ic-chip.css +11 -10
  133. package/dist/collection/components/ic-chip/ic-chip.js +29 -0
  134. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  135. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +5 -1
  136. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  137. package/dist/collection/components/ic-data-row/ic-data-row.css +7 -7
  138. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  139. package/dist/collection/components/ic-footer/ic-footer.css +4 -4
  140. package/dist/collection/components/ic-footer-link/ic-footer-link.css +1 -1
  141. package/dist/collection/components/ic-footer-link/ic-footer-link.js +1 -0
  142. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  143. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +1 -1
  144. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +1 -0
  145. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  146. package/dist/collection/components/ic-hero/ic-hero.css +30 -30
  147. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  148. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  149. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +539 -0
  150. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +213 -0
  151. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  152. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js +34 -0
  153. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +1 -0
  154. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +16 -15
  155. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -1
  156. package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
  157. package/dist/collection/components/ic-link/ic-link.css +0 -9
  158. package/dist/collection/components/ic-link/ic-link.js +30 -1
  159. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  160. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -5
  161. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +15 -12
  162. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  163. package/dist/collection/components/ic-menu/ic-menu.css +19 -14
  164. package/dist/collection/components/ic-menu/ic-menu.js +71 -44
  165. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  166. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +4 -3
  167. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  168. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +14 -7
  169. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +3 -2
  170. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  171. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +30 -15
  172. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +3 -2
  173. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  174. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +15 -11
  175. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +5 -5
  176. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  177. package/dist/collection/components/ic-page-header/ic-page-header.css +14 -5
  178. package/dist/collection/components/ic-page-header/ic-page-header.js +1 -1
  179. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  180. package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
  181. package/dist/collection/components/ic-radio-group/ic-radio-group.js +34 -2
  182. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  183. package/dist/collection/components/ic-radio-option/ic-radio-option.css +25 -34
  184. package/dist/collection/components/ic-radio-option/ic-radio-option.js +31 -2
  185. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  186. package/dist/collection/components/ic-search-bar/ic-search-bar.css +24 -18
  187. package/dist/collection/components/ic-search-bar/ic-search-bar.js +21 -33
  188. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  189. package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
  190. package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
  191. package/dist/collection/components/ic-select/ic-select.css +30 -17
  192. package/dist/collection/components/ic-select/ic-select.js +256 -68
  193. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  194. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +42 -24
  195. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +16 -7
  196. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  197. package/dist/collection/components/ic-status-tag/ic-status-tag.css +7 -7
  198. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  199. package/dist/collection/components/ic-step/ic-step.css +11 -10
  200. package/dist/collection/components/ic-stepper/ic-stepper.js +12 -9
  201. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  202. package/dist/collection/components/ic-switch/ic-switch.css +19 -19
  203. package/dist/collection/components/ic-switch/ic-switch.js +29 -0
  204. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  205. package/dist/collection/components/ic-tab/ic-tab.css +1 -1
  206. package/dist/collection/components/ic-tab/ic-tab.js +28 -0
  207. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  208. package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
  209. package/dist/collection/components/ic-tab-group/ic-tab-group.js +7 -151
  210. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  211. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +4 -0
  212. package/dist/collection/components/ic-text-field/ic-text-field.css +6 -7
  213. package/dist/collection/components/ic-text-field/ic-text-field.js +4 -4
  214. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  215. package/dist/collection/components/ic-toast/ic-toast.css +597 -0
  216. package/dist/collection/components/ic-toast/ic-toast.js +382 -0
  217. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  218. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js +16 -0
  219. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +1 -0
  220. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  221. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  222. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  223. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  224. package/dist/collection/components/ic-tooltip/ic-tooltip.css +8 -10
  225. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +27 -50
  226. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +15 -9
  227. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  228. package/dist/collection/utils/constants.js +28 -0
  229. package/dist/collection/utils/constants.js.map +1 -1
  230. package/dist/collection/utils/helpers.js +12 -3
  231. package/dist/collection/utils/helpers.js.map +1 -1
  232. package/dist/collection/utils/types.js.map +1 -1
  233. package/dist/components/check-icon.js +1 -1
  234. package/dist/components/chevron-icon.js +1 -1
  235. package/dist/components/helpers.js +70 -3
  236. package/dist/components/helpers.js.map +1 -1
  237. package/dist/components/ic-alert.js +3 -24
  238. package/dist/components/ic-alert.js.map +1 -1
  239. package/dist/components/ic-back-to-top.js +6 -4
  240. package/dist/components/ic-back-to-top.js.map +1 -1
  241. package/dist/components/ic-breadcrumb2.js +13 -3
  242. package/dist/components/ic-breadcrumb2.js.map +1 -1
  243. package/dist/components/ic-button2.js +5 -17
  244. package/dist/components/ic-button2.js.map +1 -1
  245. package/dist/components/ic-card.js +14 -2
  246. package/dist/components/ic-card.js.map +1 -1
  247. package/dist/components/ic-checkbox-group.js +2 -2
  248. package/dist/components/ic-checkbox-group.js.map +1 -1
  249. package/dist/components/ic-checkbox.js +15 -4
  250. package/dist/components/ic-checkbox.js.map +1 -1
  251. package/dist/components/ic-chip.js +14 -4
  252. package/dist/components/ic-chip.js.map +1 -1
  253. package/dist/components/ic-classification-banner.js +1 -1
  254. package/dist/components/ic-classification-banner.js.map +1 -1
  255. package/dist/components/ic-data-entity.js +1 -1
  256. package/dist/components/ic-data-entity.js.map +1 -1
  257. package/dist/components/ic-data-row.js +1 -1
  258. package/dist/components/ic-data-row.js.map +1 -1
  259. package/dist/components/ic-divider2.js +1 -1
  260. package/dist/components/ic-divider2.js.map +1 -1
  261. package/dist/components/ic-footer-link-group.js +3 -2
  262. package/dist/components/ic-footer-link-group.js.map +1 -1
  263. package/dist/components/ic-footer-link.js +3 -2
  264. package/dist/components/ic-footer-link.js.map +1 -1
  265. package/dist/components/ic-footer.js +1 -1
  266. package/dist/components/ic-footer.js.map +1 -1
  267. package/dist/components/ic-hero.js +1 -1
  268. package/dist/components/ic-hero.js.map +1 -1
  269. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  270. package/dist/components/ic-horizontal-scroll.js +8 -0
  271. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  272. package/dist/components/ic-horizontal-scroll2.js +199 -0
  273. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  274. package/dist/components/ic-input-component-container2.js +2 -3
  275. package/dist/components/ic-input-component-container2.js.map +1 -1
  276. package/dist/components/ic-input-container2.js +1 -1
  277. package/dist/components/ic-input-container2.js.map +1 -1
  278. package/dist/components/ic-input-label2.js +1 -1
  279. package/dist/components/ic-input-validation2.js +2 -4
  280. package/dist/components/ic-input-validation2.js.map +1 -1
  281. package/dist/components/ic-link2.js +13 -3
  282. package/dist/components/ic-link2.js.map +1 -1
  283. package/dist/components/ic-loading-indicator2.js +16 -13
  284. package/dist/components/ic-loading-indicator2.js.map +1 -1
  285. package/dist/components/ic-menu2.js +39 -23
  286. package/dist/components/ic-menu2.js.map +1 -1
  287. package/dist/components/ic-navigation-button.js +4 -3
  288. package/dist/components/ic-navigation-button.js.map +1 -1
  289. package/dist/components/ic-navigation-group.js +4 -3
  290. package/dist/components/ic-navigation-group.js.map +1 -1
  291. package/dist/components/ic-navigation-item.js +4 -3
  292. package/dist/components/ic-navigation-item.js.map +1 -1
  293. package/dist/components/ic-navigation-menu2.js +6 -6
  294. package/dist/components/ic-navigation-menu2.js.map +1 -1
  295. package/dist/components/ic-page-header.js +28 -4
  296. package/dist/components/ic-page-header.js.map +1 -1
  297. package/dist/components/ic-radio-group.js +13 -3
  298. package/dist/components/ic-radio-group.js.map +1 -1
  299. package/dist/components/ic-radio-option.js +15 -5
  300. package/dist/components/ic-radio-option.js.map +1 -1
  301. package/dist/components/ic-search-bar.js +23 -23
  302. package/dist/components/ic-search-bar.js.map +1 -1
  303. package/dist/components/ic-section-container2.js +1 -1
  304. package/dist/components/ic-section-container2.js.map +1 -1
  305. package/dist/components/ic-select.js +165 -65
  306. package/dist/components/ic-select.js.map +1 -1
  307. package/dist/components/ic-side-navigation.js +14 -6
  308. package/dist/components/ic-side-navigation.js.map +1 -1
  309. package/dist/components/ic-status-tag.js +1 -1
  310. package/dist/components/ic-status-tag.js.map +1 -1
  311. package/dist/components/ic-step.js +1 -1
  312. package/dist/components/ic-step.js.map +1 -1
  313. package/dist/components/ic-stepper.js +12 -9
  314. package/dist/components/ic-stepper.js.map +1 -1
  315. package/dist/components/ic-switch.js +13 -3
  316. package/dist/components/ic-switch.js.map +1 -1
  317. package/dist/components/ic-tab-group.js +29 -124
  318. package/dist/components/ic-tab-group.js.map +1 -1
  319. package/dist/components/ic-tab-panel.js +1 -1
  320. package/dist/components/ic-tab-panel.js.map +1 -1
  321. package/dist/components/ic-tab.js +11 -2
  322. package/dist/components/ic-tab.js.map +1 -1
  323. package/dist/components/ic-text-field2.js +4 -4
  324. package/dist/components/ic-text-field2.js.map +1 -1
  325. package/dist/components/ic-toast-region.d.ts +11 -0
  326. package/dist/components/ic-toast-region.js +63 -0
  327. package/dist/components/ic-toast-region.js.map +1 -0
  328. package/dist/components/ic-toast.d.ts +11 -0
  329. package/dist/components/ic-toast.js +214 -0
  330. package/dist/components/ic-toast.js.map +1 -0
  331. package/dist/components/ic-tooltip2.js +1 -1
  332. package/dist/components/ic-tooltip2.js.map +1 -1
  333. package/dist/components/ic-top-navigation.js +21 -10
  334. package/dist/components/ic-top-navigation.js.map +1 -1
  335. package/dist/components/index.d.ts +3 -0
  336. package/dist/components/index.js +3 -0
  337. package/dist/components/index.js.map +1 -1
  338. package/dist/components/types.js.map +1 -1
  339. package/dist/core/core.css +1 -1
  340. package/dist/core/core.esm.js +1 -1
  341. package/dist/core/core.esm.js.map +1 -1
  342. package/dist/core/p-1724000c.js +2 -0
  343. package/dist/core/p-1724000c.js.map +1 -0
  344. package/dist/core/p-17f91c94.entry.js +2 -0
  345. package/dist/core/p-17f91c94.entry.js.map +1 -0
  346. package/dist/core/p-18ae4b6d.entry.js +2 -0
  347. package/dist/core/p-18ae4b6d.entry.js.map +1 -0
  348. package/dist/core/p-18bf3cb0.entry.js +2 -0
  349. package/dist/core/p-18bf3cb0.entry.js.map +1 -0
  350. package/dist/core/p-24240e11.js +2 -0
  351. package/dist/core/p-2642f880.entry.js +2 -0
  352. package/dist/core/p-2642f880.entry.js.map +1 -0
  353. package/dist/core/p-284970bc.entry.js +2 -0
  354. package/dist/core/p-284970bc.entry.js.map +1 -0
  355. package/dist/core/p-31a595c1.entry.js +2 -0
  356. package/dist/core/p-31a595c1.entry.js.map +1 -0
  357. package/dist/core/p-35a03442.entry.js +2 -0
  358. package/dist/core/p-35a03442.entry.js.map +1 -0
  359. package/dist/core/p-360adc51.entry.js +2 -0
  360. package/dist/core/p-360adc51.entry.js.map +1 -0
  361. package/dist/core/p-3dda76db.entry.js +2 -0
  362. package/dist/core/p-3dda76db.entry.js.map +1 -0
  363. package/dist/core/p-41e239cb.entry.js +2 -0
  364. package/dist/core/p-41e239cb.entry.js.map +1 -0
  365. package/dist/core/p-44c9612c.entry.js +2 -0
  366. package/dist/core/p-44c9612c.entry.js.map +1 -0
  367. package/dist/core/p-521be4e2.entry.js +2 -0
  368. package/dist/core/p-521be4e2.entry.js.map +1 -0
  369. package/dist/core/{p-f9370be6.js → p-5450cebf.js} +3 -3
  370. package/dist/core/p-5450cebf.js.map +1 -0
  371. package/dist/core/{p-c5e453eb.entry.js → p-55512a85.entry.js} +2 -2
  372. package/dist/core/p-55512a85.entry.js.map +1 -0
  373. package/dist/core/p-560c06af.entry.js +2 -0
  374. package/dist/core/p-560c06af.entry.js.map +1 -0
  375. package/dist/core/p-57f2c81c.entry.js +2 -0
  376. package/dist/core/p-57f2c81c.entry.js.map +1 -0
  377. package/dist/core/p-5b083ce5.entry.js +2 -0
  378. package/dist/core/p-5b083ce5.entry.js.map +1 -0
  379. package/dist/core/p-62b3516e.entry.js +2 -0
  380. package/dist/core/p-62b3516e.entry.js.map +1 -0
  381. package/dist/core/{p-f760198e.entry.js → p-691ea0f2.entry.js} +2 -2
  382. package/dist/core/p-6f57b13c.js.map +1 -1
  383. package/dist/core/p-7818d958.entry.js +2 -0
  384. package/dist/core/p-7818d958.entry.js.map +1 -0
  385. package/dist/core/p-7a0bf893.entry.js +2 -0
  386. package/dist/core/p-7a0bf893.entry.js.map +1 -0
  387. package/dist/core/p-7a9bc7f2.entry.js +2 -0
  388. package/dist/core/p-7a9bc7f2.entry.js.map +1 -0
  389. package/dist/core/{p-e93e9aa3.entry.js → p-7fd50355.entry.js} +2 -2
  390. package/dist/core/p-7fd50355.entry.js.map +1 -0
  391. package/dist/core/{p-9e684c58.entry.js → p-897e967a.entry.js} +2 -2
  392. package/dist/core/p-8c7f4343.js +2 -0
  393. package/dist/core/p-8f1176c6.entry.js +2 -0
  394. package/dist/core/p-8f1176c6.entry.js.map +1 -0
  395. package/dist/core/{p-9b4022d7.entry.js → p-8ffa00c9.entry.js} +2 -2
  396. package/dist/core/p-8ffa00c9.entry.js.map +1 -0
  397. package/dist/core/p-91a8db51.entry.js +2 -0
  398. package/dist/core/p-91a8db51.entry.js.map +1 -0
  399. package/dist/core/p-a09d853e.entry.js +2 -0
  400. package/dist/core/p-a09d853e.entry.js.map +1 -0
  401. package/dist/core/p-a667e329.entry.js +2 -0
  402. package/dist/core/p-a667e329.entry.js.map +1 -0
  403. package/dist/core/{p-6be5e06b.entry.js → p-ad2477d8.entry.js} +2 -2
  404. package/dist/core/p-ad2477d8.entry.js.map +1 -0
  405. package/dist/core/p-b35ae170.entry.js +2 -0
  406. package/dist/core/{p-c320fa70.entry.js.map → p-b35ae170.entry.js.map} +1 -1
  407. package/dist/core/p-b40bd77c.entry.js +2 -0
  408. package/dist/core/p-b40bd77c.entry.js.map +1 -0
  409. package/dist/core/p-b4234318.entry.js +2 -0
  410. package/dist/core/p-b4234318.entry.js.map +1 -0
  411. package/dist/core/p-ba8d6c23.entry.js +2 -0
  412. package/dist/core/p-ba8d6c23.entry.js.map +1 -0
  413. package/dist/core/p-bd819f68.entry.js +2 -0
  414. package/dist/core/p-bd819f68.entry.js.map +1 -0
  415. package/dist/core/{p-4f1a7195.entry.js → p-c4a7c734.entry.js} +2 -2
  416. package/dist/core/p-c72e4b75.entry.js +2 -0
  417. package/dist/core/p-c72e4b75.entry.js.map +1 -0
  418. package/dist/core/p-c7b86643.entry.js +2 -0
  419. package/dist/core/p-c7b86643.entry.js.map +1 -0
  420. package/dist/core/p-c8f07be6.entry.js +2 -0
  421. package/dist/core/p-c8f07be6.entry.js.map +1 -0
  422. package/dist/core/{p-6d0eaaeb.entry.js → p-c9068822.entry.js} +2 -2
  423. package/dist/core/p-cccbf2bf.entry.js +2 -0
  424. package/dist/core/p-cccbf2bf.entry.js.map +1 -0
  425. package/dist/core/{p-a2d3e955.entry.js → p-d2508752.entry.js} +2 -2
  426. package/dist/core/p-d7bbace4.entry.js +2 -0
  427. package/dist/core/p-d7bbace4.entry.js.map +1 -0
  428. package/dist/core/p-d86b0d0e.entry.js +2 -0
  429. package/dist/core/p-d86b0d0e.entry.js.map +1 -0
  430. package/dist/core/p-e0d88c31.entry.js +2 -0
  431. package/dist/core/p-e0d88c31.entry.js.map +1 -0
  432. package/dist/core/p-e9202767.entry.js +2 -0
  433. package/dist/core/p-e9202767.entry.js.map +1 -0
  434. package/dist/core/p-eba373bf.entry.js +2 -0
  435. package/dist/core/p-eba373bf.entry.js.map +1 -0
  436. package/dist/core/{p-cadb531f.entry.js → p-ed6cf9b9.entry.js} +2 -2
  437. package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
  438. package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
  439. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  440. package/dist/esm/chevron-icon-98c98242.js +8 -0
  441. package/dist/esm/chevron-icon-98c98242.js.map +1 -0
  442. package/dist/esm/core.js +2 -2
  443. package/dist/esm/{helpers-46e5291b.js → helpers-c332acf8.js} +71 -4
  444. package/dist/esm/helpers-c332acf8.js.map +1 -0
  445. package/dist/esm/ic-alert.entry.js +4 -25
  446. package/dist/esm/ic-alert.entry.js.map +1 -1
  447. package/dist/esm/ic-back-to-top.entry.js +7 -5
  448. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  449. package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
  450. package/dist/esm/ic-breadcrumb.entry.js +13 -4
  451. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  452. package/dist/esm/ic-button_3.entry.js +23 -31
  453. package/dist/esm/ic-button_3.entry.js.map +1 -1
  454. package/dist/esm/ic-card.entry.js +15 -4
  455. package/dist/esm/ic-card.entry.js.map +1 -1
  456. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  457. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  458. package/dist/esm/ic-checkbox.entry.js +14 -4
  459. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  460. package/dist/esm/ic-chip.entry.js +13 -4
  461. package/dist/esm/ic-chip.entry.js.map +1 -1
  462. package/dist/esm/ic-classification-banner.entry.js +2 -2
  463. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  464. package/dist/esm/ic-data-entity.entry.js +2 -2
  465. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  466. package/dist/esm/ic-data-row.entry.js +3 -3
  467. package/dist/esm/ic-data-row.entry.js.map +1 -1
  468. package/dist/esm/ic-divider.entry.js +3 -3
  469. package/dist/esm/ic-divider.entry.js.map +1 -1
  470. package/dist/esm/ic-footer-link-group.entry.js +4 -3
  471. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  472. package/dist/esm/ic-footer-link.entry.js +4 -3
  473. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  474. package/dist/esm/ic-footer.entry.js +3 -3
  475. package/dist/esm/ic-footer.entry.js.map +1 -1
  476. package/dist/esm/ic-hero.entry.js +3 -3
  477. package/dist/esm/ic-hero.entry.js.map +1 -1
  478. package/dist/esm/ic-horizontal-scroll.entry.js +154 -0
  479. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  480. package/dist/esm/ic-input-component-container_3.entry.js +43 -28
  481. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  482. package/dist/esm/ic-input-label_2.entry.js +3 -5
  483. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  484. package/dist/esm/ic-link.entry.js +12 -3
  485. package/dist/esm/ic-link.entry.js.map +1 -1
  486. package/dist/esm/ic-navigation-button.entry.js +5 -4
  487. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  488. package/dist/esm/ic-navigation-group.entry.js +6 -5
  489. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  490. package/dist/esm/ic-navigation-item.entry.js +6 -5
  491. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  492. package/dist/esm/ic-navigation-menu.entry.js +8 -8
  493. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  494. package/dist/esm/ic-page-header.entry.js +4 -4
  495. package/dist/esm/ic-page-header.entry.js.map +1 -1
  496. package/dist/esm/ic-radio-group.entry.js +13 -4
  497. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  498. package/dist/esm/ic-radio-option.entry.js +14 -5
  499. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  500. package/dist/esm/ic-search-bar.entry.js +23 -23
  501. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  502. package/dist/esm/ic-section-container.entry.js +2 -2
  503. package/dist/esm/ic-section-container.entry.js.map +1 -1
  504. package/dist/esm/ic-select.entry.js +162 -66
  505. package/dist/esm/ic-select.entry.js.map +1 -1
  506. package/dist/esm/ic-side-navigation.entry.js +17 -9
  507. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  508. package/dist/esm/ic-skeleton.entry.js +1 -1
  509. package/dist/esm/ic-status-tag.entry.js +3 -3
  510. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  511. package/dist/esm/ic-step.entry.js +3 -3
  512. package/dist/esm/ic-step.entry.js.map +1 -1
  513. package/dist/esm/ic-stepper.entry.js +13 -10
  514. package/dist/esm/ic-stepper.entry.js.map +1 -1
  515. package/dist/esm/ic-switch.entry.js +12 -3
  516. package/dist/esm/ic-switch.entry.js.map +1 -1
  517. package/dist/esm/ic-tab-context.entry.js +1 -1
  518. package/dist/esm/ic-tab-group.entry.js +8 -117
  519. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  520. package/dist/esm/ic-tab-panel.entry.js +2 -2
  521. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  522. package/dist/esm/ic-tab.entry.js +10 -2
  523. package/dist/esm/ic-tab.entry.js.map +1 -1
  524. package/dist/esm/ic-text-field.entry.js +5 -5
  525. package/dist/esm/ic-text-field.entry.js.map +1 -1
  526. package/dist/esm/ic-theme.entry.js +2 -2
  527. package/dist/esm/ic-toast-region.entry.js +44 -0
  528. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  529. package/dist/esm/ic-toast.entry.js +161 -0
  530. package/dist/esm/ic-toast.entry.js.map +1 -0
  531. package/dist/esm/ic-top-navigation.entry.js +15 -10
  532. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  533. package/dist/esm/ic-typography.entry.js +1 -1
  534. package/dist/esm/{index-1500de1f.js → index-90721b3c.js} +17 -2
  535. package/dist/esm/index-90721b3c.js.map +1 -0
  536. package/dist/esm/loader.js +2 -2
  537. package/dist/esm/types-dd515332.js.map +1 -1
  538. package/dist/types/components/ic-alert/ic-alert.d.ts +2 -2
  539. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +4 -0
  540. package/dist/types/components/ic-button/ic-button.d.ts +1 -4
  541. package/dist/types/components/ic-card/ic-card.d.ts +4 -0
  542. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +4 -0
  543. package/dist/types/components/ic-chip/ic-chip.d.ts +4 -0
  544. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +39 -0
  545. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  546. package/dist/types/components/ic-link/ic-link.d.ts +4 -0
  547. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +0 -1
  548. package/dist/types/components/ic-menu/ic-menu.d.ts +16 -7
  549. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -1
  550. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +1 -1
  551. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +1 -1
  552. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +5 -1
  553. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +4 -0
  554. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +2 -3
  555. package/dist/types/components/ic-select/ic-select.d.ts +42 -7
  556. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +2 -1
  557. package/dist/types/components/ic-switch/ic-switch.d.ts +4 -0
  558. package/dist/types/components/ic-tab/ic-tab.d.ts +4 -0
  559. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +2 -30
  560. package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -1
  561. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  562. package/dist/types/components/ic-toast/ic-toast.test.a11y.d.ts +1 -0
  563. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  564. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  565. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +2 -1
  566. package/dist/types/components.d.ts +214 -37
  567. package/dist/types/interface.d.ts +0 -1
  568. package/dist/types/utils/constants.d.ts +22 -0
  569. package/dist/types/utils/helpers.d.ts +2 -0
  570. package/dist/types/utils/types.d.ts +3 -0
  571. package/hydrate/index.js +932 -402
  572. package/package.json +5 -5
  573. package/dist/cjs/check-icon-999d9877.js.map +0 -1
  574. package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
  575. package/dist/cjs/error-icon-99504103.js +0 -18
  576. package/dist/cjs/error-icon-99504103.js.map +0 -1
  577. package/dist/cjs/helpers-81484ceb.js.map +0 -1
  578. package/dist/cjs/index-3ef30d9d.js.map +0 -1
  579. package/dist/cjs/success-icon-887b2097.js +0 -11
  580. package/dist/cjs/success-icon-887b2097.js.map +0 -1
  581. package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
  582. package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
  583. package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
  584. package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
  585. package/dist/components/error-icon.js +0 -15
  586. package/dist/components/error-icon.js.map +0 -1
  587. package/dist/components/success-icon.js +0 -9
  588. package/dist/components/success-icon.js.map +0 -1
  589. package/dist/core/p-01e8bd4a.entry.js +0 -2
  590. package/dist/core/p-01e8bd4a.entry.js.map +0 -1
  591. package/dist/core/p-050e1e7b.entry.js +0 -2
  592. package/dist/core/p-050e1e7b.entry.js.map +0 -1
  593. package/dist/core/p-09592918.entry.js +0 -2
  594. package/dist/core/p-09592918.entry.js.map +0 -1
  595. package/dist/core/p-0b00f848.entry.js +0 -2
  596. package/dist/core/p-0b00f848.entry.js.map +0 -1
  597. package/dist/core/p-16698d3e.entry.js +0 -2
  598. package/dist/core/p-16698d3e.entry.js.map +0 -1
  599. package/dist/core/p-18a9beea.entry.js +0 -2
  600. package/dist/core/p-18a9beea.entry.js.map +0 -1
  601. package/dist/core/p-1da1f2f3.entry.js +0 -2
  602. package/dist/core/p-1da1f2f3.entry.js.map +0 -1
  603. package/dist/core/p-1e7b4310.js +0 -2
  604. package/dist/core/p-204f6315.entry.js +0 -2
  605. package/dist/core/p-204f6315.entry.js.map +0 -1
  606. package/dist/core/p-272c7abd.entry.js +0 -2
  607. package/dist/core/p-272c7abd.entry.js.map +0 -1
  608. package/dist/core/p-27554319.entry.js +0 -2
  609. package/dist/core/p-27554319.entry.js.map +0 -1
  610. package/dist/core/p-3efa7f8b.entry.js +0 -2
  611. package/dist/core/p-3efa7f8b.entry.js.map +0 -1
  612. package/dist/core/p-3f4d632c.entry.js +0 -2
  613. package/dist/core/p-3f4d632c.entry.js.map +0 -1
  614. package/dist/core/p-3f9cdcdd.entry.js +0 -2
  615. package/dist/core/p-3f9cdcdd.entry.js.map +0 -1
  616. package/dist/core/p-4902b46a.entry.js +0 -2
  617. package/dist/core/p-4902b46a.entry.js.map +0 -1
  618. package/dist/core/p-541918c2.entry.js +0 -2
  619. package/dist/core/p-541918c2.entry.js.map +0 -1
  620. package/dist/core/p-5616cfb8.entry.js +0 -2
  621. package/dist/core/p-5616cfb8.entry.js.map +0 -1
  622. package/dist/core/p-66cad84e.entry.js +0 -2
  623. package/dist/core/p-66cad84e.entry.js.map +0 -1
  624. package/dist/core/p-6be5e06b.entry.js.map +0 -1
  625. package/dist/core/p-6cb276c6.entry.js +0 -2
  626. package/dist/core/p-6cb276c6.entry.js.map +0 -1
  627. package/dist/core/p-6f442942.entry.js +0 -2
  628. package/dist/core/p-6f442942.entry.js.map +0 -1
  629. package/dist/core/p-7ba184da.entry.js +0 -2
  630. package/dist/core/p-7ba184da.entry.js.map +0 -1
  631. package/dist/core/p-80cd0a2d.entry.js +0 -2
  632. package/dist/core/p-80cd0a2d.entry.js.map +0 -1
  633. package/dist/core/p-8470c255.entry.js +0 -2
  634. package/dist/core/p-8470c255.entry.js.map +0 -1
  635. package/dist/core/p-89a925f8.entry.js +0 -2
  636. package/dist/core/p-89a925f8.entry.js.map +0 -1
  637. package/dist/core/p-9020d1ff.entry.js +0 -2
  638. package/dist/core/p-9020d1ff.entry.js.map +0 -1
  639. package/dist/core/p-930cd4cc.entry.js +0 -2
  640. package/dist/core/p-930cd4cc.entry.js.map +0 -1
  641. package/dist/core/p-9b4022d7.entry.js.map +0 -1
  642. package/dist/core/p-a38cbb3f.entry.js +0 -2
  643. package/dist/core/p-a38cbb3f.entry.js.map +0 -1
  644. package/dist/core/p-a8ac8f72.js +0 -2
  645. package/dist/core/p-a8ac8f72.js.map +0 -1
  646. package/dist/core/p-ae02b008.entry.js +0 -2
  647. package/dist/core/p-ae02b008.entry.js.map +0 -1
  648. package/dist/core/p-ae6aa67f.js +0 -2
  649. package/dist/core/p-bb106092.entry.js +0 -2
  650. package/dist/core/p-bb106092.entry.js.map +0 -1
  651. package/dist/core/p-bbe00cb1.entry.js +0 -2
  652. package/dist/core/p-bbe00cb1.entry.js.map +0 -1
  653. package/dist/core/p-bf5717ca.js +0 -2
  654. package/dist/core/p-bf5717ca.js.map +0 -1
  655. package/dist/core/p-c320fa70.entry.js +0 -2
  656. package/dist/core/p-c5e453eb.entry.js.map +0 -1
  657. package/dist/core/p-cadb531f.entry.js.map +0 -1
  658. package/dist/core/p-d599cf4f.entry.js +0 -2
  659. package/dist/core/p-d599cf4f.entry.js.map +0 -1
  660. package/dist/core/p-e192e25d.entry.js +0 -2
  661. package/dist/core/p-e192e25d.entry.js.map +0 -1
  662. package/dist/core/p-e28af65b.js +0 -2
  663. package/dist/core/p-e28af65b.js.map +0 -1
  664. package/dist/core/p-e810f48c.entry.js +0 -2
  665. package/dist/core/p-e810f48c.entry.js.map +0 -1
  666. package/dist/core/p-e93e9aa3.entry.js.map +0 -1
  667. package/dist/core/p-f9370be6.js.map +0 -1
  668. package/dist/core/p-fd0c6039.entry.js +0 -2
  669. package/dist/core/p-fd0c6039.entry.js.map +0 -1
  670. package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
  671. package/dist/esm/chevron-icon-5b38c60a.js +0 -8
  672. package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
  673. package/dist/esm/error-icon-6046a380.js +0 -15
  674. package/dist/esm/error-icon-6046a380.js.map +0 -1
  675. package/dist/esm/helpers-46e5291b.js.map +0 -1
  676. package/dist/esm/index-1500de1f.js.map +0 -1
  677. package/dist/esm/success-icon-2f71b115.js +0 -9
  678. package/dist/esm/success-icon-2f71b115.js.map +0 -1
  679. package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
  680. /package/dist/core/{p-1e7b4310.js.map → p-24240e11.js.map} +0 -0
  681. /package/dist/core/{p-f760198e.entry.js.map → p-691ea0f2.entry.js.map} +0 -0
  682. /package/dist/core/{p-9e684c58.entry.js.map → p-897e967a.entry.js.map} +0 -0
  683. /package/dist/core/{p-ae6aa67f.js.map → p-8c7f4343.js.map} +0 -0
  684. /package/dist/core/{p-4f1a7195.entry.js.map → p-c4a7c734.entry.js.map} +0 -0
  685. /package/dist/core/{p-6d0eaaeb.entry.js.map → p-c9068822.entry.js.map} +0 -0
  686. /package/dist/core/{p-a2d3e955.entry.js.map → p-d2508752.entry.js.map} +0 -0
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3ef30d9d.js');
6
- const helpers = require('./helpers-81484ceb.js');
5
+ const index = require('./index-f79a4e53.js');
6
+ const helpers = require('./helpers-6eb26e7a.js');
7
7
  const types = require('./types-3eb02246.js');
8
8
 
9
- const Expand = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
9
+ const Expand = `<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
10
10
  <path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor" />
11
11
  </svg>
12
12
  `;
@@ -16,18 +16,33 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
16
16
  </svg>
17
17
  `;
18
18
 
19
- const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-active);color:var(--ic-action-dark-active)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:6px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 6px center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-primary-text)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center}.select-input{width:100%;height:100%;padding:0 6px;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not([disabled])) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}:host([disabled]) .select-input{pointer-events:none}:host([searchable]) .select-input{cursor:auto}.searchable-select-container{align-items:center;display:flex;width:100%}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xs);color:var(--ic-action-dark)}:host([disabled]) .expand-icon,:host([disabled]) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host([searchable]) .expand-icon{padding-left:var(--ic-space-xxs);height:36px}:host([searchable]) .expand-icon>svg{height:36px;padding:0 6px}:host([searchable]:not([disabled])) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-filled{color:var(--ic-action-dark)}.expand-icon-open,:host([searchable]) .expand-icon-open{transform:rotateX(180deg)}:host([disabled]) .value-text,.placeholder{color:var(--ic-color-tertiary-text)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;gap:var(--ic-space-xxs);padding-left:38px}:host([small]) .clear-button-container{padding-left:30px}.divider{width:1px;background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:1px;height:var(--ic-space-lg)}:host([small]) .divider{height:var(--ic-space-md)}.clear-button{position:absolute;right:44px;border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 2px var(--ic-focus-glow);border-radius:4px}.clear-button:focus *{fill:white}.searchable-select-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";
19
+ const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:relative}:host([full-width]){width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-active);color:var(--ic-action-dark-active)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-primary-text)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not([disabled])) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}:host([disabled]) .select-input{pointer-events:none}:host([searchable]) .select-input{cursor:auto}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xs);color:var(--ic-action-dark)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host([disabled]) .expand-icon,:host([disabled]) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host([searchable]) .expand-icon{padding-left:var(--ic-space-xxs);height:2.25rem}:host([searchable]) .expand-icon>svg{height:2.25rem;padding:0 0.375rem}:host([searchable]:not([disabled])) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-filled{color:var(--ic-action-dark)}.expand-icon-open,:host([searchable]) .expand-icon-open{transform:rotateX(180deg)}:host([disabled]) .value-text,.placeholder{color:var(--ic-color-tertiary-text)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;gap:var(--ic-space-xxs);padding-left:2.375rem}:host([small]) .clear-button-container{padding-left:1.875rem}.divider{width:0.063rem;background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:0.063rem;height:var(--ic-space-lg)}:host([small]) .divider{height:var(--ic-space-md)}.clear-button{position:absolute;right:2.75rem;border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus *{fill:white}.searchable-select-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:0.063rem;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:0.063rem}";
20
20
 
21
21
  let inputIds = 0;
22
22
  const Select = class {
23
23
  constructor(hostRef) {
24
24
  index.registerInstance(this, hostRef);
25
25
  this.icChange = index.createEvent(this, "icChange", 7);
26
+ this.icClear = index.createEvent(this, "icClear", 7);
26
27
  this.icFocus = index.createEvent(this, "icFocus", 7);
27
28
  this.icBlur = index.createEvent(this, "icBlur", 7);
29
+ this.icOptionSelect = index.createEvent(this, "icOptionSelect", 7);
30
+ this.icInput = index.createEvent(this, "icInput", 7);
28
31
  this.inputId = `ic-select-input-${inputIds++}`;
29
32
  this.menuId = `${this.inputId}-menu`;
30
33
  this.inheritedAttributes = {};
34
+ this.hasSetSearchableDefaultValue = false;
35
+ this.initialRender = false;
36
+ this.emitIcChange = (value) => {
37
+ clearTimeout(this.debounceIcChange);
38
+ this.debounceIcChange = window.setTimeout(() => {
39
+ this.icChange.emit({ value: value });
40
+ }, this.currDebounce);
41
+ };
42
+ this.emitImmediateIcChange = (value) => {
43
+ clearTimeout(this.debounceIcChange);
44
+ this.icChange.emit({ value: value });
45
+ };
31
46
  this.isMenuEnabled = () => {
32
47
  return (((this.searchableSelectInputValue === null ||
33
48
  this.searchableSelectInputValue === "") &&
@@ -74,7 +89,8 @@ const Select = class {
74
89
  return newOption;
75
90
  };
76
91
  this.handleNativeSelectChange = () => {
77
- this.icChange.emit({ value: this.nativeSelectElement.value });
92
+ this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
93
+ this.emitImmediateIcChange(this.nativeSelectElement.value);
78
94
  this.setTextColor();
79
95
  };
80
96
  this.handleCustomSelectChange = (event) => {
@@ -86,12 +102,19 @@ const Select = class {
86
102
  this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
87
103
  }
88
104
  this.ariaActiveDescendant = event.detail.optionId;
89
- this.icChange.emit({ value: event.detail.value });
105
+ this.icOptionSelect.emit({ value: event.detail.value });
106
+ this.emitImmediateIcChange(event.detail.value);
90
107
  };
91
108
  this.handleMenuChange = (event) => {
92
109
  this.open = event.detail.open;
93
110
  this.searchable && this.handleFocusIndicatorDisplay();
94
111
  };
112
+ // clears the debounce delay when navigating the menu with arrow keys etc
113
+ // to prevent delay in change event, which should only occur when typing in input
114
+ this.handleMenuKeyPress = (ev) => {
115
+ const debounce = ev.detail.isNavKey ? 0 : this.debounce;
116
+ this.debounceChangedHandler(debounce);
117
+ };
95
118
  this.handleFocusIndicatorDisplay = () => {
96
119
  const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
97
120
  if (this.open) {
@@ -106,9 +129,15 @@ const Select = class {
106
129
  event.preventDefault();
107
130
  }
108
131
  };
132
+ this.isExternalFiltering = () => this.searchable && this.disableFilter;
109
133
  this.handleClick = (event) => {
110
- this.noOptions = null;
111
- this.menu.options = this.options;
134
+ if (this.isExternalFiltering()) {
135
+ this.menu.options = this.filteredOptions;
136
+ }
137
+ else {
138
+ this.noOptions = null;
139
+ this.menu.options = this.options;
140
+ }
112
141
  if (event.detail !== 0 && this.isMenuEnabled()) {
113
142
  this.menu.handleClickOpen();
114
143
  }
@@ -123,7 +152,8 @@ const Select = class {
123
152
  this.handleClear = (event) => {
124
153
  event.stopPropagation();
125
154
  this.noOptions = null;
126
- this.icChange.emit({ value: null });
155
+ this.emitImmediateIcChange(null);
156
+ this.icClear.emit();
127
157
  if (this.searchable) {
128
158
  this.searchableSelectElement.value = null;
129
159
  this.searchableSelectInputValue = null;
@@ -139,17 +169,24 @@ const Select = class {
139
169
  };
140
170
  this.handleKeyDown = (event) => {
141
171
  event.cancelBubble = true;
172
+ const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
142
173
  if (!this.open) {
143
- this.noOptions = null;
144
- this.menu.options = this.options;
174
+ if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
175
+ this.menu.options = this.filteredOptions;
176
+ }
177
+ else {
178
+ this.noOptions = null;
179
+ this.menu.options = this.options;
180
+ }
145
181
  }
146
182
  if (this.open && event.key === "Enter") {
147
183
  this.setMenuChange(false);
148
184
  }
149
185
  else {
150
- if (!((event.key === "ArrowDown" || event.key === "ArrowUp") &&
151
- this.noOptions !== null) &&
152
- this.isMenuEnabled()) {
186
+ if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
187
+ if (this.isExternalFiltering() && isArrowKey && this.debounce > 0) {
188
+ this.debounceChangedHandler(0);
189
+ }
153
190
  this.menu.handleKeyboardOpen(event);
154
191
  }
155
192
  }
@@ -162,8 +199,12 @@ const Select = class {
162
199
  };
163
200
  this.handleSearchableSelectInput = (event) => {
164
201
  this.searchableSelectInputValue = event.target.value;
165
- if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
166
- this.icChange.emit({ value: null });
202
+ this.icInput.emit({ value: this.searchableSelectInputValue });
203
+ if (this.disableFilter) {
204
+ this.emitIcChange(this.searchableSelectInputValue);
205
+ }
206
+ else if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
207
+ this.emitIcChange(null);
167
208
  }
168
209
  if (this.isMenuEnabled()) {
169
210
  this.setMenuChange(true);
@@ -171,62 +212,70 @@ const Select = class {
171
212
  else {
172
213
  this.setMenuChange(false);
173
214
  }
174
- const options = [...this.options];
175
- let isGrouped = false;
176
- let newFilteredOptions = [];
177
- options.map((option) => {
178
- if (option.children)
179
- isGrouped = true;
180
- });
181
- const menuOptionsFiltered = helpers.getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
182
- if (!isGrouped) {
183
- newFilteredOptions = menuOptionsFiltered;
184
- }
185
- else {
215
+ if (!this.disableFilter) {
216
+ const options = [...this.options];
217
+ let isGrouped = false;
218
+ let newFilteredOptions = [];
186
219
  options.map((option) => {
187
- if (this.includeGroupTitlesInSearch) {
188
- if (menuOptionsFiltered.indexOf(option) !== -1) {
189
- newFilteredOptions.push(option);
220
+ if (option.children)
221
+ isGrouped = true;
222
+ });
223
+ const menuOptionsFiltered = helpers.getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
224
+ if (!isGrouped) {
225
+ newFilteredOptions = menuOptionsFiltered;
226
+ }
227
+ else {
228
+ options.map((option) => {
229
+ if (this.includeGroupTitlesInSearch) {
230
+ if (menuOptionsFiltered.indexOf(option) !== -1) {
231
+ newFilteredOptions.push(option);
232
+ }
233
+ else {
234
+ newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
235
+ }
190
236
  }
191
237
  else {
192
238
  newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
193
239
  }
194
- }
195
- else {
196
- newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
197
- }
198
- });
199
- }
200
- let noChildOptionsWhenFiltered = false;
201
- if (isGrouped) {
202
- noChildOptionsWhenFiltered = true;
203
- newFilteredOptions.map((option) => {
204
- if (option.children.length > 0) {
205
- noChildOptionsWhenFiltered = false;
206
- }
207
- });
208
- }
209
- const noOptions = [{ label: this.emptyOptionListText, value: "" }];
210
- if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
211
- this.noOptions = null;
212
- this.filteredOptions = newFilteredOptions;
213
- }
214
- else {
215
- this.noOptions = noOptions;
216
- this.filteredOptions = this.noOptions;
240
+ });
241
+ }
242
+ let noChildOptionsWhenFiltered = false;
243
+ if (isGrouped) {
244
+ noChildOptionsWhenFiltered = true;
245
+ newFilteredOptions.map((option) => {
246
+ if (option.children.length > 0) {
247
+ noChildOptionsWhenFiltered = false;
248
+ }
249
+ });
250
+ }
251
+ const noOptions = [{ label: this.emptyOptionListText, value: "" }];
252
+ if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
253
+ this.noOptions = null;
254
+ this.filteredOptions = newFilteredOptions;
255
+ }
256
+ else {
257
+ this.noOptions = noOptions;
258
+ this.filteredOptions = this.noOptions;
259
+ }
260
+ this.debounceAriaLiveUpdate();
217
261
  }
218
- this.debounceAriaLiveUpdate();
219
262
  };
220
263
  this.updateSearchableSelectResultAriaLive = () => {
221
264
  const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
222
- if (this.noOptions !== null) {
223
- searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
224
- }
225
- else {
226
- searchableSelectResultsStatusEl.innerText = "";
265
+ if (searchableSelectResultsStatusEl) {
266
+ if (this.noOptions !== null) {
267
+ searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
268
+ }
269
+ else {
270
+ searchableSelectResultsStatusEl.innerText = "";
271
+ }
227
272
  }
228
273
  };
274
+ this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
229
275
  this.onFocus = () => {
276
+ if (this.isExternalFiltering() && this.debounce > 0) {
277
+ this.debounceChangedHandler(this.debounce);
278
+ }
230
279
  this.icFocus.emit();
231
280
  };
232
281
  this.onBlur = (event) => {
@@ -241,7 +290,7 @@ const Select = class {
241
290
  this.handleFormReset = () => {
242
291
  this.value = this.initialValue;
243
292
  if (this.searchable) {
244
- this.searchableSelectInputValue = null;
293
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
245
294
  }
246
295
  };
247
296
  this.label = undefined;
@@ -257,6 +306,7 @@ const Select = class {
257
306
  this.validationStatus = "";
258
307
  this.validationText = "";
259
308
  this.value = undefined;
309
+ this.debounce = 0;
260
310
  this.name = this.inputId;
261
311
  this.showClearButton = false;
262
312
  this.searchable = false;
@@ -265,6 +315,7 @@ const Select = class {
265
315
  this.searchMatchPosition = "anywhere";
266
316
  this.charactersUntilSuggestions = 0;
267
317
  this.emptyOptionListText = "No results found";
318
+ this.disableFilter = false;
268
319
  this.open = false;
269
320
  this.clearButtonFocused = false;
270
321
  this.searchableSelectInputValue = null;
@@ -272,10 +323,34 @@ const Select = class {
272
323
  this.ariaActiveDescendant = undefined;
273
324
  this.noOptions = null;
274
325
  this.initialValue = this.value;
326
+ this.currDebounce = this.debounce;
327
+ this.debounceIcChange = undefined;
275
328
  }
276
329
  watchOptionsHandler() {
277
- this.setOptionsValuesFromLabels();
278
- this.filteredOptions = this.options;
330
+ if (this.isExternalFiltering()) {
331
+ if (this.options.length > 0) {
332
+ this.setOptionsValuesFromLabels();
333
+ this.noOptions = null;
334
+ this.filteredOptions = this.options;
335
+ }
336
+ else if (this.isMenuEnabled()) {
337
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
338
+ this.filteredOptions = this.noOptions;
339
+ // Will prevent 'No results found' displaying on initial load and setting default value
340
+ if (!this.initialRender) {
341
+ this.setMenuChange(true);
342
+ }
343
+ }
344
+ this.updateSearchableSelectResultAriaLive();
345
+ this.setSearchableDefaultValue();
346
+ }
347
+ else {
348
+ this.setOptionsValuesFromLabels();
349
+ this.filteredOptions = this.options;
350
+ }
351
+ }
352
+ debounceChangedHandler(newValue) {
353
+ this.updateOnChangeDebounce(newValue);
279
354
  }
280
355
  /**
281
356
  * Sets focus on the input box.
@@ -291,12 +366,24 @@ const Select = class {
291
366
  this.searchableSelectElement.focus();
292
367
  }
293
368
  }
369
+ updateOnChangeDebounce(newValue) {
370
+ if (this.currDebounce !== newValue) {
371
+ this.currDebounce = newValue;
372
+ }
373
+ }
294
374
  debounceAriaLiveUpdate() {
295
- clearTimeout(this.debounce);
375
+ clearTimeout(this.debounceAria);
296
376
  window.setTimeout(() => {
297
377
  this.updateSearchableSelectResultAriaLive();
298
378
  }, 800);
299
379
  }
380
+ setSearchableDefaultValue() {
381
+ if (!this.hasSetSearchableDefaultValue && this.value && this.searchable) {
382
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
383
+ this.initialValue = this.value;
384
+ this.hasSetSearchableDefaultValue = true;
385
+ }
386
+ }
300
387
  componentWillLoad() {
301
388
  this.inheritedAttributes = helpers.inheritAttributes(this.host, [
302
389
  ...helpers.IC_INHERITED_ARIA,
@@ -305,12 +392,19 @@ const Select = class {
305
392
  ]);
306
393
  this.setOptionsValuesFromLabels();
307
394
  helpers.addFormResetListener(this.host, this.handleFormReset);
395
+ this.initialRender = true;
396
+ if (!this.disableFilter) {
397
+ this.setSearchableDefaultValue();
398
+ }
308
399
  }
309
400
  componentDidRender() {
310
401
  if (this.nativeSelectElement && !this.disabled) {
311
402
  this.setTextColor();
312
403
  }
313
404
  }
405
+ componentWillUpdate() {
406
+ this.initialRender = false;
407
+ }
314
408
  componentDidLoad() {
315
409
  helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
316
410
  }
@@ -352,11 +446,13 @@ const Select = class {
352
446
  "no-results": this.noOptions !== null,
353
447
  }, ref: (el) => (this.menu = el), inputEl: searchable
354
448
  ? this.searchableSelectElement
355
- : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : options, value: value, fullWidth: fullWidth, onIcMenuStateChange: this.handleMenuChange, onIcOptionSelect: this.handleCustomSelectChange, parentEl: this.host })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
449
+ : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : options, value: value, fullWidth: fullWidth, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, parentEl: this.host })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
356
450
  }
451
+ static get delegatesFocus() { return true; }
357
452
  get host() { return index.getElement(this); }
358
453
  static get watchers() { return {
359
- "options": ["watchOptionsHandler"]
454
+ "options": ["watchOptionsHandler"],
455
+ "debounce": ["debounceChangedHandler"]
360
456
  }; }
361
457
  };
362
458
  Select.style = icSelectCss;