@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
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1500de1f.js';
2
- import { w as getLabelFromValue, v as getFilteredMenuOptions, m as inheritAttributes, d as addFormResetListener, a as onComponentRequiredPropUndefined, r as removeFormResetListener, e as renderHiddenInput, h as getInputDescribedByText, j as hasValidationStatus, x as isMobileOrTablet, n as IC_INHERITED_ARIA } from './helpers-46e5291b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90721b3c.js';
2
+ import { w as getLabelFromValue, v as getFilteredMenuOptions, m as inheritAttributes, d as addFormResetListener, a as onComponentRequiredPropUndefined, r as removeFormResetListener, e as renderHiddenInput, h as getInputDescribedByText, j as hasValidationStatus, x as isMobileOrTablet, n as IC_INHERITED_ARIA } from './helpers-c332acf8.js';
3
3
  import { I as IcThemeForegroundEnum, a as IcInformationStatus } from './types-dd515332.js';
4
4
 
5
- const Expand = `<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
5
+ const Expand = `<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
6
6
  <path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor" />
7
7
  </svg>
8
8
  `;
@@ -12,18 +12,33 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
12
12
  </svg>
13
13
  `;
14
14
 
15
- 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}";
15
+ 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}";
16
16
 
17
17
  let inputIds = 0;
18
18
  const Select = class {
19
19
  constructor(hostRef) {
20
20
  registerInstance(this, hostRef);
21
21
  this.icChange = createEvent(this, "icChange", 7);
22
+ this.icClear = createEvent(this, "icClear", 7);
22
23
  this.icFocus = createEvent(this, "icFocus", 7);
23
24
  this.icBlur = createEvent(this, "icBlur", 7);
25
+ this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
26
+ this.icInput = createEvent(this, "icInput", 7);
24
27
  this.inputId = `ic-select-input-${inputIds++}`;
25
28
  this.menuId = `${this.inputId}-menu`;
26
29
  this.inheritedAttributes = {};
30
+ this.hasSetSearchableDefaultValue = false;
31
+ this.initialRender = false;
32
+ this.emitIcChange = (value) => {
33
+ clearTimeout(this.debounceIcChange);
34
+ this.debounceIcChange = window.setTimeout(() => {
35
+ this.icChange.emit({ value: value });
36
+ }, this.currDebounce);
37
+ };
38
+ this.emitImmediateIcChange = (value) => {
39
+ clearTimeout(this.debounceIcChange);
40
+ this.icChange.emit({ value: value });
41
+ };
27
42
  this.isMenuEnabled = () => {
28
43
  return (((this.searchableSelectInputValue === null ||
29
44
  this.searchableSelectInputValue === "") &&
@@ -70,7 +85,8 @@ const Select = class {
70
85
  return newOption;
71
86
  };
72
87
  this.handleNativeSelectChange = () => {
73
- this.icChange.emit({ value: this.nativeSelectElement.value });
88
+ this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
89
+ this.emitImmediateIcChange(this.nativeSelectElement.value);
74
90
  this.setTextColor();
75
91
  };
76
92
  this.handleCustomSelectChange = (event) => {
@@ -82,12 +98,19 @@ const Select = class {
82
98
  this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
83
99
  }
84
100
  this.ariaActiveDescendant = event.detail.optionId;
85
- this.icChange.emit({ value: event.detail.value });
101
+ this.icOptionSelect.emit({ value: event.detail.value });
102
+ this.emitImmediateIcChange(event.detail.value);
86
103
  };
87
104
  this.handleMenuChange = (event) => {
88
105
  this.open = event.detail.open;
89
106
  this.searchable && this.handleFocusIndicatorDisplay();
90
107
  };
108
+ // clears the debounce delay when navigating the menu with arrow keys etc
109
+ // to prevent delay in change event, which should only occur when typing in input
110
+ this.handleMenuKeyPress = (ev) => {
111
+ const debounce = ev.detail.isNavKey ? 0 : this.debounce;
112
+ this.debounceChangedHandler(debounce);
113
+ };
91
114
  this.handleFocusIndicatorDisplay = () => {
92
115
  const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
93
116
  if (this.open) {
@@ -102,9 +125,15 @@ const Select = class {
102
125
  event.preventDefault();
103
126
  }
104
127
  };
128
+ this.isExternalFiltering = () => this.searchable && this.disableFilter;
105
129
  this.handleClick = (event) => {
106
- this.noOptions = null;
107
- this.menu.options = this.options;
130
+ if (this.isExternalFiltering()) {
131
+ this.menu.options = this.filteredOptions;
132
+ }
133
+ else {
134
+ this.noOptions = null;
135
+ this.menu.options = this.options;
136
+ }
108
137
  if (event.detail !== 0 && this.isMenuEnabled()) {
109
138
  this.menu.handleClickOpen();
110
139
  }
@@ -119,7 +148,8 @@ const Select = class {
119
148
  this.handleClear = (event) => {
120
149
  event.stopPropagation();
121
150
  this.noOptions = null;
122
- this.icChange.emit({ value: null });
151
+ this.emitImmediateIcChange(null);
152
+ this.icClear.emit();
123
153
  if (this.searchable) {
124
154
  this.searchableSelectElement.value = null;
125
155
  this.searchableSelectInputValue = null;
@@ -135,17 +165,24 @@ const Select = class {
135
165
  };
136
166
  this.handleKeyDown = (event) => {
137
167
  event.cancelBubble = true;
168
+ const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
138
169
  if (!this.open) {
139
- this.noOptions = null;
140
- this.menu.options = this.options;
170
+ if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
171
+ this.menu.options = this.filteredOptions;
172
+ }
173
+ else {
174
+ this.noOptions = null;
175
+ this.menu.options = this.options;
176
+ }
141
177
  }
142
178
  if (this.open && event.key === "Enter") {
143
179
  this.setMenuChange(false);
144
180
  }
145
181
  else {
146
- if (!((event.key === "ArrowDown" || event.key === "ArrowUp") &&
147
- this.noOptions !== null) &&
148
- this.isMenuEnabled()) {
182
+ if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
183
+ if (this.isExternalFiltering() && isArrowKey && this.debounce > 0) {
184
+ this.debounceChangedHandler(0);
185
+ }
149
186
  this.menu.handleKeyboardOpen(event);
150
187
  }
151
188
  }
@@ -158,8 +195,12 @@ const Select = class {
158
195
  };
159
196
  this.handleSearchableSelectInput = (event) => {
160
197
  this.searchableSelectInputValue = event.target.value;
161
- if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
162
- this.icChange.emit({ value: null });
198
+ this.icInput.emit({ value: this.searchableSelectInputValue });
199
+ if (this.disableFilter) {
200
+ this.emitIcChange(this.searchableSelectInputValue);
201
+ }
202
+ else if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
203
+ this.emitIcChange(null);
163
204
  }
164
205
  if (this.isMenuEnabled()) {
165
206
  this.setMenuChange(true);
@@ -167,62 +208,70 @@ const Select = class {
167
208
  else {
168
209
  this.setMenuChange(false);
169
210
  }
170
- const options = [...this.options];
171
- let isGrouped = false;
172
- let newFilteredOptions = [];
173
- options.map((option) => {
174
- if (option.children)
175
- isGrouped = true;
176
- });
177
- const menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
178
- if (!isGrouped) {
179
- newFilteredOptions = menuOptionsFiltered;
180
- }
181
- else {
211
+ if (!this.disableFilter) {
212
+ const options = [...this.options];
213
+ let isGrouped = false;
214
+ let newFilteredOptions = [];
182
215
  options.map((option) => {
183
- if (this.includeGroupTitlesInSearch) {
184
- if (menuOptionsFiltered.indexOf(option) !== -1) {
185
- newFilteredOptions.push(option);
216
+ if (option.children)
217
+ isGrouped = true;
218
+ });
219
+ const menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
220
+ if (!isGrouped) {
221
+ newFilteredOptions = menuOptionsFiltered;
222
+ }
223
+ else {
224
+ options.map((option) => {
225
+ if (this.includeGroupTitlesInSearch) {
226
+ if (menuOptionsFiltered.indexOf(option) !== -1) {
227
+ newFilteredOptions.push(option);
228
+ }
229
+ else {
230
+ newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
231
+ }
186
232
  }
187
233
  else {
188
234
  newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
189
235
  }
190
- }
191
- else {
192
- newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
193
- }
194
- });
195
- }
196
- let noChildOptionsWhenFiltered = false;
197
- if (isGrouped) {
198
- noChildOptionsWhenFiltered = true;
199
- newFilteredOptions.map((option) => {
200
- if (option.children.length > 0) {
201
- noChildOptionsWhenFiltered = false;
202
- }
203
- });
204
- }
205
- const noOptions = [{ label: this.emptyOptionListText, value: "" }];
206
- if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
207
- this.noOptions = null;
208
- this.filteredOptions = newFilteredOptions;
209
- }
210
- else {
211
- this.noOptions = noOptions;
212
- this.filteredOptions = this.noOptions;
236
+ });
237
+ }
238
+ let noChildOptionsWhenFiltered = false;
239
+ if (isGrouped) {
240
+ noChildOptionsWhenFiltered = true;
241
+ newFilteredOptions.map((option) => {
242
+ if (option.children.length > 0) {
243
+ noChildOptionsWhenFiltered = false;
244
+ }
245
+ });
246
+ }
247
+ const noOptions = [{ label: this.emptyOptionListText, value: "" }];
248
+ if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
249
+ this.noOptions = null;
250
+ this.filteredOptions = newFilteredOptions;
251
+ }
252
+ else {
253
+ this.noOptions = noOptions;
254
+ this.filteredOptions = this.noOptions;
255
+ }
256
+ this.debounceAriaLiveUpdate();
213
257
  }
214
- this.debounceAriaLiveUpdate();
215
258
  };
216
259
  this.updateSearchableSelectResultAriaLive = () => {
217
260
  const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
218
- if (this.noOptions !== null) {
219
- searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
220
- }
221
- else {
222
- searchableSelectResultsStatusEl.innerText = "";
261
+ if (searchableSelectResultsStatusEl) {
262
+ if (this.noOptions !== null) {
263
+ searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
264
+ }
265
+ else {
266
+ searchableSelectResultsStatusEl.innerText = "";
267
+ }
223
268
  }
224
269
  };
270
+ this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
225
271
  this.onFocus = () => {
272
+ if (this.isExternalFiltering() && this.debounce > 0) {
273
+ this.debounceChangedHandler(this.debounce);
274
+ }
226
275
  this.icFocus.emit();
227
276
  };
228
277
  this.onBlur = (event) => {
@@ -237,7 +286,7 @@ const Select = class {
237
286
  this.handleFormReset = () => {
238
287
  this.value = this.initialValue;
239
288
  if (this.searchable) {
240
- this.searchableSelectInputValue = null;
289
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
241
290
  }
242
291
  };
243
292
  this.label = undefined;
@@ -253,6 +302,7 @@ const Select = class {
253
302
  this.validationStatus = "";
254
303
  this.validationText = "";
255
304
  this.value = undefined;
305
+ this.debounce = 0;
256
306
  this.name = this.inputId;
257
307
  this.showClearButton = false;
258
308
  this.searchable = false;
@@ -261,6 +311,7 @@ const Select = class {
261
311
  this.searchMatchPosition = "anywhere";
262
312
  this.charactersUntilSuggestions = 0;
263
313
  this.emptyOptionListText = "No results found";
314
+ this.disableFilter = false;
264
315
  this.open = false;
265
316
  this.clearButtonFocused = false;
266
317
  this.searchableSelectInputValue = null;
@@ -268,10 +319,34 @@ const Select = class {
268
319
  this.ariaActiveDescendant = undefined;
269
320
  this.noOptions = null;
270
321
  this.initialValue = this.value;
322
+ this.currDebounce = this.debounce;
323
+ this.debounceIcChange = undefined;
271
324
  }
272
325
  watchOptionsHandler() {
273
- this.setOptionsValuesFromLabels();
274
- this.filteredOptions = this.options;
326
+ if (this.isExternalFiltering()) {
327
+ if (this.options.length > 0) {
328
+ this.setOptionsValuesFromLabels();
329
+ this.noOptions = null;
330
+ this.filteredOptions = this.options;
331
+ }
332
+ else if (this.isMenuEnabled()) {
333
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
334
+ this.filteredOptions = this.noOptions;
335
+ // Will prevent 'No results found' displaying on initial load and setting default value
336
+ if (!this.initialRender) {
337
+ this.setMenuChange(true);
338
+ }
339
+ }
340
+ this.updateSearchableSelectResultAriaLive();
341
+ this.setSearchableDefaultValue();
342
+ }
343
+ else {
344
+ this.setOptionsValuesFromLabels();
345
+ this.filteredOptions = this.options;
346
+ }
347
+ }
348
+ debounceChangedHandler(newValue) {
349
+ this.updateOnChangeDebounce(newValue);
275
350
  }
276
351
  /**
277
352
  * Sets focus on the input box.
@@ -287,12 +362,24 @@ const Select = class {
287
362
  this.searchableSelectElement.focus();
288
363
  }
289
364
  }
365
+ updateOnChangeDebounce(newValue) {
366
+ if (this.currDebounce !== newValue) {
367
+ this.currDebounce = newValue;
368
+ }
369
+ }
290
370
  debounceAriaLiveUpdate() {
291
- clearTimeout(this.debounce);
371
+ clearTimeout(this.debounceAria);
292
372
  window.setTimeout(() => {
293
373
  this.updateSearchableSelectResultAriaLive();
294
374
  }, 800);
295
375
  }
376
+ setSearchableDefaultValue() {
377
+ if (!this.hasSetSearchableDefaultValue && this.value && this.searchable) {
378
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
379
+ this.initialValue = this.value;
380
+ this.hasSetSearchableDefaultValue = true;
381
+ }
382
+ }
296
383
  componentWillLoad() {
297
384
  this.inheritedAttributes = inheritAttributes(this.host, [
298
385
  ...IC_INHERITED_ARIA,
@@ -301,12 +388,19 @@ const Select = class {
301
388
  ]);
302
389
  this.setOptionsValuesFromLabels();
303
390
  addFormResetListener(this.host, this.handleFormReset);
391
+ this.initialRender = true;
392
+ if (!this.disableFilter) {
393
+ this.setSearchableDefaultValue();
394
+ }
304
395
  }
305
396
  componentDidRender() {
306
397
  if (this.nativeSelectElement && !this.disabled) {
307
398
  this.setTextColor();
308
399
  }
309
400
  }
401
+ componentWillUpdate() {
402
+ this.initialRender = false;
403
+ }
310
404
  componentDidLoad() {
311
405
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
312
406
  }
@@ -348,11 +442,13 @@ const Select = class {
348
442
  "no-results": this.noOptions !== null,
349
443
  }, ref: (el) => (this.menu = el), inputEl: searchable
350
444
  ? this.searchableSelectElement
351
- : 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 })), hasValidationStatus(this.validationStatus, this.disabled) && (h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
445
+ : 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 })), hasValidationStatus(this.validationStatus, this.disabled) && (h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
352
446
  }
447
+ static get delegatesFocus() { return true; }
353
448
  get host() { return getElement(this); }
354
449
  static get watchers() { return {
355
- "options": ["watchOptionsHandler"]
450
+ "options": ["watchOptionsHandler"],
451
+ "debounce": ["debounceChangedHandler"]
356
452
  }; }
357
453
  };
358
454
  Select.style = icSelectCss;