@ukic/web-components 2.1.0-beta.1 → 2.1.0-beta.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. package/README.md +8 -0
  2. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  3. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  4. package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
  5. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  6. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  7. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  8. package/dist/cjs/core.cjs.js +2 -2
  9. package/dist/cjs/{helpers-8bc3b6d2.js → helpers-2021e212.js} +78 -4
  10. package/dist/cjs/helpers-2021e212.js.map +1 -0
  11. package/dist/cjs/ic-alert.cjs.entry.js +6 -25
  12. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js +24 -12
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js +15 -6
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-button_3.cjs.entry.js +46 -31
  20. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-card.cjs.entry.js +29 -5
  22. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox.cjs.entry.js +16 -4
  26. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-chip.cjs.entry.js +77 -0
  28. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js +3 -3
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  32. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-row.cjs.entry.js +14 -12
  34. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  36. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -3
  38. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-footer-link.cjs.entry.js +12 -5
  40. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-footer.cjs.entry.js +5 -5
  42. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  44. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +164 -0
  46. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +79 -45
  48. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -8
  50. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-link.cjs.entry.js +14 -8
  52. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  54. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-menu-item.cjs.entry.js +120 -0
  56. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -4
  58. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -6
  60. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-navigation-item.cjs.entry.js +19 -12
  62. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-menu.cjs.entry.js +8 -8
  64. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
  66. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-popover-menu.cjs.entry.js +236 -0
  68. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-radio-group.cjs.entry.js +13 -5
  70. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-radio-option.cjs.entry.js +24 -6
  72. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-search-bar.cjs.entry.js +56 -42
  74. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  76. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-select.cjs.entry.js +218 -69
  78. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-side-navigation.cjs.entry.js +26 -14
  80. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  82. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-status-tag.cjs.entry.js +6 -5
  84. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-step.cjs.entry.js +103 -15
  86. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-stepper.cjs.entry.js +166 -42
  88. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-switch.cjs.entry.js +12 -3
  90. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-tab-context.cjs.entry.js +7 -2
  92. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-tab-group.cjs.entry.js +9 -118
  94. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  96. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-tab.cjs.entry.js +10 -2
  98. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-text-field.cjs.entry.js +5 -5
  100. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-theme.cjs.entry.js +4 -4
  102. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  104. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  105. package/dist/cjs/ic-toast.cjs.entry.js +165 -0
  106. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  107. package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -10
  108. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  110. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  111. package/dist/cjs/{index-3ef30d9d.js → index-f79a4e53.js} +33 -2
  112. package/dist/cjs/index-f79a4e53.js.map +1 -0
  113. package/dist/cjs/loader.cjs.js +2 -2
  114. package/dist/cjs/types-3eb02246.js.map +1 -1
  115. package/dist/collection/assets/back-icon.svg +1 -1
  116. package/dist/collection/assets/check-icon.svg +1 -1
  117. package/dist/collection/assets/chevron-icon.svg +1 -1
  118. package/dist/collection/assets/dismiss-icon.svg +3 -0
  119. package/dist/collection/assets/error-icon.svg +3 -3
  120. package/dist/collection/assets/info-icon.svg +3 -3
  121. package/dist/collection/assets/neutral-icon.svg +3 -3
  122. package/dist/collection/assets/success-icon.svg +3 -3
  123. package/dist/collection/assets/warning-icon-outline.svg +3 -0
  124. package/dist/collection/assets/warning-icon.svg +3 -3
  125. package/dist/collection/collection-manifest.json +7 -0
  126. package/dist/collection/components/ic-alert/ic-alert.css +13 -13
  127. package/dist/collection/components/ic-alert/ic-alert.js +32 -24
  128. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  129. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +2 -2
  130. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +18 -8
  131. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +18 -7
  132. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  133. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +20 -5
  134. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +33 -4
  135. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  136. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
  137. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  138. package/dist/collection/components/ic-button/ic-button.css +16 -15
  139. package/dist/collection/components/ic-button/ic-button.js +18 -32
  140. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  141. package/dist/collection/components/ic-card/ic-card.css +75 -17
  142. package/dist/collection/components/ic-card/ic-card.js +103 -16
  143. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  144. package/dist/collection/components/ic-checkbox/ic-checkbox.css +28 -30
  145. package/dist/collection/components/ic-checkbox/ic-checkbox.js +63 -11
  146. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  147. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +18 -2
  148. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +11 -11
  149. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  150. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +1 -1
  151. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -1
  152. package/dist/collection/components/ic-chip/ic-chip.css +596 -0
  153. package/dist/collection/components/ic-chip/ic-chip.js +247 -0
  154. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
  155. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js +11 -0
  156. package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +1 -0
  157. package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
  158. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
  159. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +5 -1
  160. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +6 -6
  161. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  162. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  163. package/dist/collection/components/ic-data-entity/ic-data-entity.js +2 -2
  164. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
  165. package/dist/collection/components/ic-data-row/ic-data-row.css +19 -7
  166. package/dist/collection/components/ic-data-row/ic-data-row.js +14 -12
  167. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  168. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  169. package/dist/collection/components/ic-divider/ic-divider.js +1 -1
  170. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
  171. package/dist/collection/components/ic-footer/ic-footer.css +4 -4
  172. package/dist/collection/components/ic-footer/ic-footer.js +19 -16
  173. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  174. package/dist/collection/components/ic-footer-link/ic-footer-link.css +44 -6
  175. package/dist/collection/components/ic-footer-link/ic-footer-link.js +101 -4
  176. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  177. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +1 -1
  178. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +4 -3
  179. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  180. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +1 -1
  181. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -1
  182. package/dist/collection/components/ic-hero/ic-hero.css +35 -30
  183. package/dist/collection/components/ic-hero/ic-hero.js +10 -10
  184. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  185. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  186. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  187. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +539 -0
  188. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +219 -0
  189. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  190. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js +34 -0
  191. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +1 -0
  192. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +16 -17
  193. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +8 -8
  194. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  195. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -1
  196. package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
  197. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
  198. package/dist/collection/components/ic-input-label/ic-input-label.js +8 -8
  199. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  200. package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
  201. package/dist/collection/components/ic-input-validation/ic-input-validation.js +5 -5
  202. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  203. package/dist/collection/components/ic-link/ic-link.css +14 -10
  204. package/dist/collection/components/ic-link/ic-link.js +43 -13
  205. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  206. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +43 -7
  207. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +48 -9
  208. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  209. package/dist/collection/components/ic-menu/ic-menu.css +20 -15
  210. package/dist/collection/components/ic-menu/ic-menu.js +144 -73
  211. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  212. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  213. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  214. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  215. package/dist/collection/components/ic-menu-item/ic-menu-item.css +633 -0
  216. package/dist/collection/components/ic-menu-item/ic-menu-item.js +392 -0
  217. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  218. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  219. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  220. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -8
  221. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  222. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +14 -7
  223. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -6
  224. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  225. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +68 -18
  226. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +113 -16
  227. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  228. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +15 -11
  229. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +8 -8
  230. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  231. package/dist/collection/components/ic-page-header/ic-page-header.css +15 -5
  232. package/dist/collection/components/ic-page-header/ic-page-header.js +10 -10
  233. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  234. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +535 -0
  235. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +432 -0
  236. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  237. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js +13 -0
  238. package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +1 -0
  239. package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
  240. package/dist/collection/components/ic-radio-group/ic-radio-group.js +44 -13
  241. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  242. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +1 -1
  243. package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -1
  244. package/dist/collection/components/ic-radio-option/ic-radio-option.css +32 -42
  245. package/dist/collection/components/ic-radio-option/ic-radio-option.js +65 -19
  246. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  247. package/dist/collection/components/ic-search-bar/ic-search-bar.css +24 -18
  248. package/dist/collection/components/ic-search-bar/ic-search-bar.js +90 -83
  249. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  250. package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
  251. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
  252. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  253. package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
  254. package/dist/collection/components/ic-select/ic-select.css +47 -30
  255. package/dist/collection/components/ic-select/ic-select.js +336 -88
  256. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  257. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js +90 -0
  258. package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +1 -1
  259. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +47 -37
  260. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +40 -24
  261. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  262. package/dist/collection/components/ic-skeleton/ic-skeleton.css +1 -1
  263. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
  264. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  265. package/dist/collection/components/ic-status-tag/ic-status-tag.css +7 -7
  266. package/dist/collection/components/ic-status-tag/ic-status-tag.js +22 -3
  267. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  268. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +1 -1
  269. package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -1
  270. package/dist/collection/components/ic-step/ic-step.css +127 -30
  271. package/dist/collection/components/ic-step/ic-step.js +269 -28
  272. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  273. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -1
  274. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js +74 -0
  275. package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +1 -0
  276. package/dist/collection/components/ic-stepper/ic-stepper.css +15 -1
  277. package/dist/collection/components/ic-stepper/ic-stepper.js +210 -40
  278. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  279. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +13 -1
  280. package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -1
  281. package/dist/collection/components/ic-switch/ic-switch.css +20 -20
  282. package/dist/collection/components/ic-switch/ic-switch.js +36 -7
  283. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  284. package/dist/collection/components/ic-tab/ic-tab.css +1 -1
  285. package/dist/collection/components/ic-tab/ic-tab.js +37 -6
  286. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  287. package/dist/collection/components/ic-tab-context/ic-tab-context.js +31 -4
  288. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  289. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +1 -1
  290. package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -1
  291. package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
  292. package/dist/collection/components/ic-tab-group/ic-tab-group.js +12 -156
  293. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  294. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +4 -0
  295. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
  296. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  297. package/dist/collection/components/ic-text-field/ic-text-field.css +7 -7
  298. package/dist/collection/components/ic-text-field/ic-text-field.js +32 -32
  299. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  300. package/dist/collection/components/ic-theme/ic-theme.js +9 -6
  301. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  302. package/dist/collection/components/ic-toast/ic-toast.css +602 -0
  303. package/dist/collection/components/ic-toast/ic-toast.js +382 -0
  304. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  305. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js +16 -0
  306. package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +1 -0
  307. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  308. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  309. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  310. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  311. package/dist/collection/components/ic-tooltip/ic-tooltip.css +9 -11
  312. package/dist/collection/components/ic-tooltip/ic-tooltip.js +28 -3
  313. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  314. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +34 -52
  315. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +21 -15
  316. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  317. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +1 -1
  318. package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -1
  319. package/dist/collection/components/ic-typography/ic-typography.js +1 -1
  320. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  321. package/dist/collection/normalize.css +440 -0
  322. package/dist/collection/testspec.setup.js +8 -0
  323. package/dist/collection/testspec.setup.js.map +1 -1
  324. package/dist/collection/utils/constants.js +28 -0
  325. package/dist/collection/utils/constants.js.map +1 -1
  326. package/dist/collection/utils/helpers.js +13 -4
  327. package/dist/collection/utils/helpers.js.map +1 -1
  328. package/dist/collection/utils/types.js.map +1 -1
  329. package/dist/components/OpenInNew.js +5 -0
  330. package/dist/components/OpenInNew.js.map +1 -0
  331. package/dist/components/check-icon.js +1 -1
  332. package/dist/components/chevron-icon.js +1 -1
  333. package/dist/components/helpers.js +71 -4
  334. package/dist/components/helpers.js.map +1 -1
  335. package/dist/components/ic-alert.js +6 -25
  336. package/dist/components/ic-alert.js.map +1 -1
  337. package/dist/components/ic-back-to-top.js +23 -11
  338. package/dist/components/ic-back-to-top.js.map +1 -1
  339. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  340. package/dist/components/ic-breadcrumb2.js +14 -4
  341. package/dist/components/ic-breadcrumb2.js.map +1 -1
  342. package/dist/components/ic-button2.js +9 -20
  343. package/dist/components/ic-button2.js.map +1 -1
  344. package/dist/components/ic-card.js +52 -6
  345. package/dist/components/ic-card.js.map +1 -1
  346. package/dist/components/ic-checkbox-group.js +3 -3
  347. package/dist/components/ic-checkbox-group.js.map +1 -1
  348. package/dist/components/ic-checkbox.js +17 -4
  349. package/dist/components/ic-checkbox.js.map +1 -1
  350. package/dist/components/ic-chip.d.ts +11 -0
  351. package/dist/components/ic-chip.js +111 -0
  352. package/dist/components/ic-chip.js.map +1 -0
  353. package/dist/components/ic-classification-banner.js +2 -2
  354. package/dist/components/ic-classification-banner.js.map +1 -1
  355. package/dist/components/ic-data-entity.js +1 -1
  356. package/dist/components/ic-data-entity.js.map +1 -1
  357. package/dist/components/ic-data-row.js +12 -10
  358. package/dist/components/ic-data-row.js.map +1 -1
  359. package/dist/components/ic-divider2.js +2 -2
  360. package/dist/components/ic-divider2.js.map +1 -1
  361. package/dist/components/ic-footer-link-group.js +4 -3
  362. package/dist/components/ic-footer-link-group.js.map +1 -1
  363. package/dist/components/ic-footer-link.js +17 -5
  364. package/dist/components/ic-footer-link.js.map +1 -1
  365. package/dist/components/ic-footer.js +4 -4
  366. package/dist/components/ic-footer.js.map +1 -1
  367. package/dist/components/ic-hero.js +2 -2
  368. package/dist/components/ic-hero.js.map +1 -1
  369. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  370. package/dist/components/ic-horizontal-scroll.js +8 -0
  371. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  372. package/dist/components/ic-horizontal-scroll2.js +205 -0
  373. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  374. package/dist/components/ic-input-component-container2.js +2 -3
  375. package/dist/components/ic-input-component-container2.js.map +1 -1
  376. package/dist/components/ic-input-container2.js +1 -1
  377. package/dist/components/ic-input-container2.js.map +1 -1
  378. package/dist/components/ic-input-label2.js +1 -1
  379. package/dist/components/ic-input-label2.js.map +1 -1
  380. package/dist/components/ic-input-validation2.js +2 -4
  381. package/dist/components/ic-input-validation2.js.map +1 -1
  382. package/dist/components/ic-link2.js +16 -9
  383. package/dist/components/ic-link2.js.map +1 -1
  384. package/dist/components/ic-loading-indicator2.js +27 -7
  385. package/dist/components/ic-loading-indicator2.js.map +1 -1
  386. package/dist/components/ic-menu-group.d.ts +11 -0
  387. package/dist/components/ic-menu-group.js +46 -0
  388. package/dist/components/ic-menu-group.js.map +1 -0
  389. package/dist/components/ic-menu-item.d.ts +11 -0
  390. package/dist/components/ic-menu-item.js +8 -0
  391. package/dist/components/ic-menu-item.js.map +1 -0
  392. package/dist/components/ic-menu-item2.js +167 -0
  393. package/dist/components/ic-menu-item2.js.map +1 -0
  394. package/dist/components/ic-menu2.js +75 -41
  395. package/dist/components/ic-menu2.js.map +1 -1
  396. package/dist/components/ic-navigation-button.js +5 -4
  397. package/dist/components/ic-navigation-button.js.map +1 -1
  398. package/dist/components/ic-navigation-group.js +5 -4
  399. package/dist/components/ic-navigation-group.js.map +1 -1
  400. package/dist/components/ic-navigation-item.js +22 -10
  401. package/dist/components/ic-navigation-item.js.map +1 -1
  402. package/dist/components/ic-navigation-menu2.js +8 -8
  403. package/dist/components/ic-navigation-menu2.js.map +1 -1
  404. package/dist/components/ic-page-header.js +30 -6
  405. package/dist/components/ic-page-header.js.map +1 -1
  406. package/dist/components/ic-popover-menu.d.ts +11 -0
  407. package/dist/components/ic-popover-menu.js +290 -0
  408. package/dist/components/ic-popover-menu.js.map +1 -0
  409. package/dist/components/ic-radio-group.js +14 -5
  410. package/dist/components/ic-radio-group.js.map +1 -1
  411. package/dist/components/ic-radio-option.js +26 -7
  412. package/dist/components/ic-radio-option.js.map +1 -1
  413. package/dist/components/ic-search-bar.js +59 -44
  414. package/dist/components/ic-search-bar.js.map +1 -1
  415. package/dist/components/ic-section-container2.js +1 -1
  416. package/dist/components/ic-section-container2.js.map +1 -1
  417. package/dist/components/ic-select.js +224 -69
  418. package/dist/components/ic-select.js.map +1 -1
  419. package/dist/components/ic-side-navigation.js +23 -11
  420. package/dist/components/ic-side-navigation.js.map +1 -1
  421. package/dist/components/ic-skeleton.js +1 -1
  422. package/dist/components/ic-skeleton.js.map +1 -1
  423. package/dist/components/ic-status-tag.js +6 -4
  424. package/dist/components/ic-status-tag.js.map +1 -1
  425. package/dist/components/ic-step.js +117 -16
  426. package/dist/components/ic-step.js.map +1 -1
  427. package/dist/components/ic-stepper.js +173 -42
  428. package/dist/components/ic-stepper.js.map +1 -1
  429. package/dist/components/ic-switch.js +13 -3
  430. package/dist/components/ic-switch.js.map +1 -1
  431. package/dist/components/ic-tab-context.js +6 -1
  432. package/dist/components/ic-tab-context.js.map +1 -1
  433. package/dist/components/ic-tab-group.js +30 -125
  434. package/dist/components/ic-tab-group.js.map +1 -1
  435. package/dist/components/ic-tab-panel.js +1 -1
  436. package/dist/components/ic-tab-panel.js.map +1 -1
  437. package/dist/components/ic-tab.js +11 -2
  438. package/dist/components/ic-tab.js.map +1 -1
  439. package/dist/components/ic-text-field2.js +6 -6
  440. package/dist/components/ic-text-field2.js.map +1 -1
  441. package/dist/components/ic-theme.js +2 -2
  442. package/dist/components/ic-theme.js.map +1 -1
  443. package/dist/components/ic-toast-region.d.ts +11 -0
  444. package/dist/components/ic-toast-region.js +63 -0
  445. package/dist/components/ic-toast-region.js.map +1 -0
  446. package/dist/components/ic-toast.d.ts +11 -0
  447. package/dist/components/ic-toast.js +214 -0
  448. package/dist/components/ic-toast.js.map +1 -0
  449. package/dist/components/ic-tooltip2.js +13 -5
  450. package/dist/components/ic-tooltip2.js.map +1 -1
  451. package/dist/components/ic-top-navigation.js +22 -11
  452. package/dist/components/ic-top-navigation.js.map +1 -1
  453. package/dist/components/ic-typography2.js.map +1 -1
  454. package/dist/components/index.d.ts +8 -1
  455. package/dist/components/index.js +7 -0
  456. package/dist/components/index.js.map +1 -1
  457. package/dist/components/types.js.map +1 -1
  458. package/dist/core/core.css +3 -3
  459. package/dist/core/core.esm.js +1 -1
  460. package/dist/core/core.esm.js.map +1 -1
  461. package/dist/core/normalize.css +440 -0
  462. package/dist/core/p-037dfe9d.entry.js +2 -0
  463. package/dist/core/p-037dfe9d.entry.js.map +1 -0
  464. package/dist/core/p-05c5c6c4.entry.js +2 -0
  465. package/dist/core/p-05c5c6c4.entry.js.map +1 -0
  466. package/dist/core/p-06321d19.js +2 -0
  467. package/dist/core/p-0a463a65.entry.js +2 -0
  468. package/dist/core/p-0a463a65.entry.js.map +1 -0
  469. package/dist/core/p-0faf328a.entry.js +2 -0
  470. package/dist/core/p-0faf328a.entry.js.map +1 -0
  471. package/dist/core/p-102281fd.entry.js +2 -0
  472. package/dist/core/p-102281fd.entry.js.map +1 -0
  473. package/dist/core/p-1549adc1.entry.js +2 -0
  474. package/dist/core/p-1549adc1.entry.js.map +1 -0
  475. package/dist/core/p-25b208ae.entry.js +2 -0
  476. package/dist/core/p-25b208ae.entry.js.map +1 -0
  477. package/dist/core/{p-c4d3c18c.entry.js → p-26c9e522.entry.js} +2 -2
  478. package/dist/core/p-26c9e522.entry.js.map +1 -0
  479. package/dist/core/p-31a595c1.entry.js +2 -0
  480. package/dist/core/p-31a595c1.entry.js.map +1 -0
  481. package/dist/core/p-33a0aabe.entry.js +2 -0
  482. package/dist/core/p-33a0aabe.entry.js.map +1 -0
  483. package/dist/core/p-360adc51.entry.js +2 -0
  484. package/dist/core/p-360adc51.entry.js.map +1 -0
  485. package/dist/core/p-3d84a743.entry.js +2 -0
  486. package/dist/core/p-3d84a743.entry.js.map +1 -0
  487. package/dist/core/p-3dea2867.js +2 -0
  488. package/dist/core/p-3dea2867.js.map +1 -0
  489. package/dist/core/p-3fd4f8eb.entry.js +2 -0
  490. package/dist/core/p-3fd4f8eb.entry.js.map +1 -0
  491. package/dist/core/p-48a5c2a7.entry.js +2 -0
  492. package/dist/core/p-48a5c2a7.entry.js.map +1 -0
  493. package/dist/core/p-4d8392fe.entry.js +2 -0
  494. package/dist/core/p-4d8392fe.entry.js.map +1 -0
  495. package/dist/core/p-4ee03271.entry.js +2 -0
  496. package/dist/core/p-4ee03271.entry.js.map +1 -0
  497. package/dist/core/{p-f9370be6.js → p-5450cebf.js} +3 -3
  498. package/dist/core/p-5450cebf.js.map +1 -0
  499. package/dist/core/p-58ff516f.entry.js +2 -0
  500. package/dist/core/p-58ff516f.entry.js.map +1 -0
  501. package/dist/core/p-62b3516e.entry.js +2 -0
  502. package/dist/core/p-62b3516e.entry.js.map +1 -0
  503. package/dist/core/p-6f57b13c.js.map +1 -1
  504. package/dist/core/p-73fddc63.entry.js +2 -0
  505. package/dist/core/p-73fddc63.entry.js.map +1 -0
  506. package/dist/core/p-741b4ea3.entry.js +2 -0
  507. package/dist/core/p-741b4ea3.entry.js.map +1 -0
  508. package/dist/core/p-7dcb9104.entry.js +2 -0
  509. package/dist/core/p-7dcb9104.entry.js.map +1 -0
  510. package/dist/core/{p-e93e9aa3.entry.js → p-7fd50355.entry.js} +2 -2
  511. package/dist/core/p-7fd50355.entry.js.map +1 -0
  512. package/dist/core/p-81652a98.entry.js +2 -0
  513. package/dist/core/p-81652a98.entry.js.map +1 -0
  514. package/dist/core/p-87c7ba3b.entry.js +2 -0
  515. package/dist/core/p-87c7ba3b.entry.js.map +1 -0
  516. package/dist/core/p-897e967a.entry.js +2 -0
  517. package/dist/core/p-897e967a.entry.js.map +1 -0
  518. package/dist/core/p-8c7f4343.js +2 -0
  519. package/dist/core/p-8c9cc4d5.entry.js +2 -0
  520. package/dist/core/p-8c9cc4d5.entry.js.map +1 -0
  521. package/dist/core/p-8d4f7027.js +2 -0
  522. package/dist/core/{p-0118400b.entry.js → p-8ffa00c9.entry.js} +2 -2
  523. package/dist/core/p-8ffa00c9.entry.js.map +1 -0
  524. package/dist/core/p-a2c7dc6c.entry.js +2 -0
  525. package/dist/core/p-a2c7dc6c.entry.js.map +1 -0
  526. package/dist/core/p-a3742d40.entry.js +2 -0
  527. package/dist/core/p-a3742d40.entry.js.map +1 -0
  528. package/dist/core/p-a44a0500.entry.js +2 -0
  529. package/dist/core/p-a44a0500.entry.js.map +1 -0
  530. package/dist/core/p-a8e969ea.entry.js +2 -0
  531. package/dist/core/p-a8e969ea.entry.js.map +1 -0
  532. package/dist/core/p-ac6ecdb6.entry.js +2 -0
  533. package/dist/core/p-ac6ecdb6.entry.js.map +1 -0
  534. package/dist/core/p-acb08809.entry.js +2 -0
  535. package/dist/core/p-acb08809.entry.js.map +1 -0
  536. package/dist/core/{p-6be5e06b.entry.js → p-ad2477d8.entry.js} +2 -2
  537. package/dist/core/p-ad2477d8.entry.js.map +1 -0
  538. package/dist/core/p-affb42c7.entry.js +2 -0
  539. package/dist/core/p-affb42c7.entry.js.map +1 -0
  540. package/dist/core/p-b7fc1f35.entry.js +2 -0
  541. package/dist/core/p-b7fc1f35.entry.js.map +1 -0
  542. package/dist/core/p-b8b960a5.entry.js +2 -0
  543. package/dist/core/p-b8b960a5.entry.js.map +1 -0
  544. package/dist/core/p-b921bb19.entry.js +2 -0
  545. package/dist/core/p-b921bb19.entry.js.map +1 -0
  546. package/dist/core/{p-6d0eaaeb.entry.js → p-c9068822.entry.js} +2 -2
  547. package/dist/core/{p-6d0eaaeb.entry.js.map → p-c9068822.entry.js.map} +1 -1
  548. package/dist/core/p-c996810e.entry.js +2 -0
  549. package/dist/core/p-c996810e.entry.js.map +1 -0
  550. package/dist/core/p-cc62d065.entry.js +2 -0
  551. package/dist/core/p-cc62d065.entry.js.map +1 -0
  552. package/dist/core/{p-02799e26.entry.js → p-d2508752.entry.js} +2 -2
  553. package/dist/core/{p-02799e26.entry.js.map → p-d2508752.entry.js.map} +1 -1
  554. package/dist/core/p-d28d7f24.entry.js +2 -0
  555. package/dist/core/p-d28d7f24.entry.js.map +1 -0
  556. package/dist/core/{p-07cd789d.entry.js → p-dbfdfa8a.entry.js} +2 -2
  557. package/dist/core/p-dbfdfa8a.entry.js.map +1 -0
  558. package/dist/core/{p-10da19d2.entry.js → p-dd71a986.entry.js} +2 -2
  559. package/dist/core/p-dd71a986.entry.js.map +1 -0
  560. package/dist/core/p-e4547265.entry.js +2 -0
  561. package/dist/core/p-e4547265.entry.js.map +1 -0
  562. package/dist/core/p-ea0c4aca.entry.js +2 -0
  563. package/dist/core/p-ea0c4aca.entry.js.map +1 -0
  564. package/dist/core/{p-cadb531f.entry.js → p-ed6cf9b9.entry.js} +2 -2
  565. package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
  566. package/dist/core/p-f6ddd32f.entry.js +2 -0
  567. package/dist/core/p-f6ddd32f.entry.js.map +1 -0
  568. package/dist/core/p-f777679c.entry.js +2 -0
  569. package/dist/core/p-f777679c.entry.js.map +1 -0
  570. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  571. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  572. package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
  573. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  574. package/dist/esm/chevron-icon-7927f709.js +8 -0
  575. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  576. package/dist/esm/core.js +2 -2
  577. package/dist/esm/{helpers-3d41833c.js → helpers-b2b47a7d.js} +72 -5
  578. package/dist/esm/helpers-b2b47a7d.js.map +1 -0
  579. package/dist/esm/ic-alert.entry.js +6 -25
  580. package/dist/esm/ic-alert.entry.js.map +1 -1
  581. package/dist/esm/ic-back-to-top.entry.js +24 -12
  582. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  583. package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
  584. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  585. package/dist/esm/ic-breadcrumb.entry.js +15 -6
  586. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  587. package/dist/esm/ic-button_3.entry.js +46 -31
  588. package/dist/esm/ic-button_3.entry.js.map +1 -1
  589. package/dist/esm/ic-card.entry.js +29 -5
  590. package/dist/esm/ic-card.entry.js.map +1 -1
  591. package/dist/esm/ic-checkbox-group.entry.js +4 -4
  592. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  593. package/dist/esm/ic-checkbox.entry.js +16 -4
  594. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  595. package/dist/esm/ic-chip.entry.js +73 -0
  596. package/dist/esm/ic-chip.entry.js.map +1 -0
  597. package/dist/esm/ic-classification-banner.entry.js +3 -3
  598. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  599. package/dist/esm/ic-data-entity.entry.js +2 -2
  600. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  601. package/dist/esm/ic-data-row.entry.js +14 -12
  602. package/dist/esm/ic-data-row.entry.js.map +1 -1
  603. package/dist/esm/ic-divider.entry.js +3 -3
  604. package/dist/esm/ic-divider.entry.js.map +1 -1
  605. package/dist/esm/ic-footer-link-group.entry.js +4 -3
  606. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  607. package/dist/esm/ic-footer-link.entry.js +12 -5
  608. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  609. package/dist/esm/ic-footer.entry.js +5 -5
  610. package/dist/esm/ic-footer.entry.js.map +1 -1
  611. package/dist/esm/ic-hero.entry.js +3 -3
  612. package/dist/esm/ic-hero.entry.js.map +1 -1
  613. package/dist/esm/ic-horizontal-scroll.entry.js +160 -0
  614. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  615. package/dist/esm/ic-input-component-container_3.entry.js +78 -44
  616. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  617. package/dist/esm/ic-input-label_2.entry.js +3 -5
  618. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  619. package/dist/esm/ic-link.entry.js +14 -8
  620. package/dist/esm/ic-link.entry.js.map +1 -1
  621. package/dist/esm/ic-menu-group.entry.js +20 -0
  622. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  623. package/dist/esm/ic-menu-item.entry.js +116 -0
  624. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  625. package/dist/esm/ic-navigation-button.entry.js +5 -4
  626. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  627. package/dist/esm/ic-navigation-group.entry.js +7 -6
  628. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  629. package/dist/esm/ic-navigation-item.entry.js +19 -12
  630. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  631. package/dist/esm/ic-navigation-menu.entry.js +8 -8
  632. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  633. package/dist/esm/ic-page-header.entry.js +5 -5
  634. package/dist/esm/ic-page-header.entry.js.map +1 -1
  635. package/dist/esm/ic-popover-menu.entry.js +232 -0
  636. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  637. package/dist/esm/ic-radio-group.entry.js +13 -5
  638. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  639. package/dist/esm/ic-radio-option.entry.js +24 -6
  640. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  641. package/dist/esm/ic-search-bar.entry.js +56 -42
  642. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  643. package/dist/esm/ic-section-container.entry.js +2 -2
  644. package/dist/esm/ic-section-container.entry.js.map +1 -1
  645. package/dist/esm/ic-select.entry.js +218 -69
  646. package/dist/esm/ic-select.entry.js.map +1 -1
  647. package/dist/esm/ic-side-navigation.entry.js +26 -14
  648. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  649. package/dist/esm/ic-skeleton.entry.js +2 -2
  650. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  651. package/dist/esm/ic-status-tag.entry.js +6 -5
  652. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  653. package/dist/esm/ic-step.entry.js +103 -15
  654. package/dist/esm/ic-step.entry.js.map +1 -1
  655. package/dist/esm/ic-stepper.entry.js +166 -42
  656. package/dist/esm/ic-stepper.entry.js.map +1 -1
  657. package/dist/esm/ic-switch.entry.js +12 -3
  658. package/dist/esm/ic-switch.entry.js.map +1 -1
  659. package/dist/esm/ic-tab-context.entry.js +7 -2
  660. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  661. package/dist/esm/ic-tab-group.entry.js +9 -118
  662. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  663. package/dist/esm/ic-tab-panel.entry.js +2 -2
  664. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  665. package/dist/esm/ic-tab.entry.js +10 -2
  666. package/dist/esm/ic-tab.entry.js.map +1 -1
  667. package/dist/esm/ic-text-field.entry.js +5 -5
  668. package/dist/esm/ic-text-field.entry.js.map +1 -1
  669. package/dist/esm/ic-theme.entry.js +4 -4
  670. package/dist/esm/ic-theme.entry.js.map +1 -1
  671. package/dist/esm/ic-toast-region.entry.js +44 -0
  672. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  673. package/dist/esm/ic-toast.entry.js +161 -0
  674. package/dist/esm/ic-toast.entry.js.map +1 -0
  675. package/dist/esm/ic-top-navigation.entry.js +15 -10
  676. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  677. package/dist/esm/ic-typography.entry.js +1 -1
  678. package/dist/esm/ic-typography.entry.js.map +1 -1
  679. package/dist/esm/{index-1500de1f.js → index-90721b3c.js} +33 -2
  680. package/dist/esm/index-90721b3c.js.map +1 -0
  681. package/dist/esm/loader.js +2 -2
  682. package/dist/esm/types-dd515332.js.map +1 -1
  683. package/dist/types/components/ic-alert/ic-alert.d.ts +14 -10
  684. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +1 -0
  685. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
  686. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
  687. package/dist/types/components/ic-button/ic-button.d.ts +11 -14
  688. package/dist/types/components/ic-card/ic-card.d.ts +31 -10
  689. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +18 -10
  690. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +9 -9
  691. package/dist/types/components/ic-chip/ic-chip.d.ts +48 -0
  692. package/dist/types/components/ic-chip/ic-chip.test.a11y.d.ts +1 -0
  693. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -0
  694. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +5 -5
  695. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +2 -2
  696. package/dist/types/components/ic-data-row/ic-data-row.d.ts +3 -3
  697. package/dist/types/components/ic-footer/ic-footer.d.ts +12 -12
  698. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +20 -0
  699. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
  700. package/dist/types/components/ic-hero/ic-hero.d.ts +9 -9
  701. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +39 -0
  702. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  703. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +8 -8
  704. package/dist/types/components/ic-input-container/ic-input-container.d.ts +2 -2
  705. package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -8
  706. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +5 -5
  707. package/dist/types/components/ic-link/ic-link.d.ts +10 -7
  708. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +7 -3
  709. package/dist/types/components/ic-menu/ic-menu.d.ts +36 -18
  710. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  711. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  712. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  713. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +6 -6
  714. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -3
  715. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +28 -8
  716. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +2 -2
  717. package/dist/types/components/ic-page-header/ic-page-header.d.ts +10 -8
  718. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +58 -0
  719. package/dist/types/components/ic-popover-menu/ic-popover-menu.test.a11y.d.ts +1 -0
  720. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +15 -11
  721. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +17 -11
  722. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +31 -30
  723. package/dist/types/components/ic-section-container/ic-section-container.d.ts +2 -2
  724. package/dist/types/components/ic-select/ic-select.d.ts +68 -23
  725. package/dist/types/components/ic-side-navigation/ic-side-navigation-test-examples.d.ts +1 -0
  726. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +13 -12
  727. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +2 -2
  728. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -1
  729. package/dist/types/components/ic-step/ic-step.d.ts +37 -8
  730. package/dist/types/components/ic-step/ic-step.types.d.ts +2 -0
  731. package/dist/types/components/ic-stepper/ic-stepper-test-examples.d.ts +4 -0
  732. package/dist/types/components/ic-stepper/ic-stepper.d.ts +23 -6
  733. package/dist/types/components/ic-switch/ic-switch.d.ts +11 -7
  734. package/dist/types/components/ic-tab/ic-tab.d.ts +9 -5
  735. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +8 -4
  736. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -33
  737. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +2 -2
  738. package/dist/types/components/ic-text-field/ic-text-field.d.ts +31 -31
  739. package/dist/types/components/ic-theme/ic-theme.d.ts +3 -3
  740. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  741. package/dist/types/components/ic-toast/ic-toast.test.a11y.d.ts +1 -0
  742. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  743. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  744. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +4 -0
  745. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +7 -6
  746. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  747. package/dist/types/components.d.ts +1103 -559
  748. package/dist/types/interface.d.ts +0 -1
  749. package/dist/types/testspec.setup.d.ts +1 -0
  750. package/dist/types/utils/constants.d.ts +22 -0
  751. package/dist/types/utils/helpers.d.ts +2 -0
  752. package/dist/types/utils/types.d.ts +3 -0
  753. package/hydrate/index.js +2030 -602
  754. package/package.json +5 -5
  755. package/dist/cjs/check-icon-999d9877.js.map +0 -1
  756. package/dist/cjs/chevron-icon-d175fe66.js +0 -10
  757. package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
  758. package/dist/cjs/error-icon-99504103.js +0 -18
  759. package/dist/cjs/error-icon-99504103.js.map +0 -1
  760. package/dist/cjs/helpers-8bc3b6d2.js.map +0 -1
  761. package/dist/cjs/index-3ef30d9d.js.map +0 -1
  762. package/dist/cjs/success-icon-887b2097.js +0 -11
  763. package/dist/cjs/success-icon-887b2097.js.map +0 -1
  764. package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
  765. package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
  766. package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
  767. package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
  768. package/dist/components/error-icon.js +0 -15
  769. package/dist/components/error-icon.js.map +0 -1
  770. package/dist/components/success-icon.js +0 -9
  771. package/dist/components/success-icon.js.map +0 -1
  772. package/dist/core/p-0118400b.entry.js.map +0 -1
  773. package/dist/core/p-07cd789d.entry.js.map +0 -1
  774. package/dist/core/p-0b125f26.entry.js +0 -2
  775. package/dist/core/p-0b125f26.entry.js.map +0 -1
  776. package/dist/core/p-10da19d2.entry.js.map +0 -1
  777. package/dist/core/p-1337db5e.entry.js +0 -2
  778. package/dist/core/p-1337db5e.entry.js.map +0 -1
  779. package/dist/core/p-1721bcf3.entry.js +0 -2
  780. package/dist/core/p-1721bcf3.entry.js.map +0 -1
  781. package/dist/core/p-1e7b4310.js +0 -2
  782. package/dist/core/p-23831891.js +0 -2
  783. package/dist/core/p-23831891.js.map +0 -1
  784. package/dist/core/p-272c7abd.entry.js +0 -2
  785. package/dist/core/p-272c7abd.entry.js.map +0 -1
  786. package/dist/core/p-2f114521.entry.js +0 -2
  787. package/dist/core/p-2f114521.entry.js.map +0 -1
  788. package/dist/core/p-31a8595f.entry.js +0 -2
  789. package/dist/core/p-31a8595f.entry.js.map +0 -1
  790. package/dist/core/p-33a45ace.entry.js +0 -2
  791. package/dist/core/p-33a45ace.entry.js.map +0 -1
  792. package/dist/core/p-347ec49e.entry.js +0 -2
  793. package/dist/core/p-347ec49e.entry.js.map +0 -1
  794. package/dist/core/p-39ae284e.entry.js +0 -2
  795. package/dist/core/p-39ae284e.entry.js.map +0 -1
  796. package/dist/core/p-558552f8.entry.js +0 -2
  797. package/dist/core/p-558552f8.entry.js.map +0 -1
  798. package/dist/core/p-5e261268.entry.js +0 -2
  799. package/dist/core/p-5e261268.entry.js.map +0 -1
  800. package/dist/core/p-60ffb73e.entry.js +0 -2
  801. package/dist/core/p-60ffb73e.entry.js.map +0 -1
  802. package/dist/core/p-69650186.entry.js +0 -2
  803. package/dist/core/p-69650186.entry.js.map +0 -1
  804. package/dist/core/p-6b34d98f.entry.js +0 -2
  805. package/dist/core/p-6b34d98f.entry.js.map +0 -1
  806. package/dist/core/p-6be5e06b.entry.js.map +0 -1
  807. package/dist/core/p-6f6bd657.entry.js +0 -2
  808. package/dist/core/p-6f6bd657.entry.js.map +0 -1
  809. package/dist/core/p-7093d214.entry.js +0 -2
  810. package/dist/core/p-7093d214.entry.js.map +0 -1
  811. package/dist/core/p-7577c6a3.entry.js +0 -2
  812. package/dist/core/p-7577c6a3.entry.js.map +0 -1
  813. package/dist/core/p-7b11e1dc.entry.js +0 -2
  814. package/dist/core/p-7b11e1dc.entry.js.map +0 -1
  815. package/dist/core/p-7b39977f.entry.js +0 -2
  816. package/dist/core/p-7b39977f.entry.js.map +0 -1
  817. package/dist/core/p-7f632414.entry.js +0 -2
  818. package/dist/core/p-7f632414.entry.js.map +0 -1
  819. package/dist/core/p-898607d0.entry.js +0 -2
  820. package/dist/core/p-898607d0.entry.js.map +0 -1
  821. package/dist/core/p-8ddeb574.entry.js +0 -2
  822. package/dist/core/p-8ddeb574.entry.js.map +0 -1
  823. package/dist/core/p-9cd04875.entry.js +0 -2
  824. package/dist/core/p-9cd04875.entry.js.map +0 -1
  825. package/dist/core/p-ac43322e.entry.js +0 -2
  826. package/dist/core/p-ac43322e.entry.js.map +0 -1
  827. package/dist/core/p-ae6aa67f.js +0 -2
  828. package/dist/core/p-ae81dffa.entry.js +0 -2
  829. package/dist/core/p-ae81dffa.entry.js.map +0 -1
  830. package/dist/core/p-b3dec76d.entry.js +0 -2
  831. package/dist/core/p-b3dec76d.entry.js.map +0 -1
  832. package/dist/core/p-b5a988c0.entry.js +0 -2
  833. package/dist/core/p-b5a988c0.entry.js.map +0 -1
  834. package/dist/core/p-bf5717ca.js +0 -2
  835. package/dist/core/p-c4d3c18c.entry.js.map +0 -1
  836. package/dist/core/p-c6dd4f47.entry.js +0 -2
  837. package/dist/core/p-c6dd4f47.entry.js.map +0 -1
  838. package/dist/core/p-cadb531f.entry.js.map +0 -1
  839. package/dist/core/p-cc83692e.entry.js +0 -2
  840. package/dist/core/p-cc83692e.entry.js.map +0 -1
  841. package/dist/core/p-dd3c3e3c.entry.js +0 -2
  842. package/dist/core/p-dd3c3e3c.entry.js.map +0 -1
  843. package/dist/core/p-df5caf13.entry.js +0 -2
  844. package/dist/core/p-df5caf13.entry.js.map +0 -1
  845. package/dist/core/p-e106305b.entry.js +0 -2
  846. package/dist/core/p-e106305b.entry.js.map +0 -1
  847. package/dist/core/p-e28af65b.js +0 -2
  848. package/dist/core/p-e28af65b.js.map +0 -1
  849. package/dist/core/p-e590f1d2.entry.js +0 -2
  850. package/dist/core/p-e590f1d2.entry.js.map +0 -1
  851. package/dist/core/p-e93e9aa3.entry.js.map +0 -1
  852. package/dist/core/p-ecfb2e6b.entry.js +0 -2
  853. package/dist/core/p-ecfb2e6b.entry.js.map +0 -1
  854. package/dist/core/p-f9370be6.js.map +0 -1
  855. package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
  856. package/dist/esm/chevron-icon-5b38c60a.js +0 -8
  857. package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
  858. package/dist/esm/error-icon-6046a380.js +0 -15
  859. package/dist/esm/error-icon-6046a380.js.map +0 -1
  860. package/dist/esm/helpers-3d41833c.js.map +0 -1
  861. package/dist/esm/index-1500de1f.js.map +0 -1
  862. package/dist/esm/success-icon-2f71b115.js +0 -9
  863. package/dist/esm/success-icon-2f71b115.js.map +0 -1
  864. package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
  865. /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
  866. /package/dist/core/{p-1e7b4310.js.map → p-06321d19.js.map} +0 -0
  867. /package/dist/core/{p-ae6aa67f.js.map → p-8c7f4343.js.map} +0 -0
  868. /package/dist/core/{p-bf5717ca.js.map → p-8d4f7027.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 { x 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, y as isMobileOrTablet, n as IC_INHERITED_ARIA } from './helpers-3d41833c.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90721b3c.js';
2
+ import { x as getLabelFromValue, w as getFilteredMenuOptions, m as inheritAttributes, d as addFormResetListener, a as onComponentRequiredPropUndefined, r as removeFormResetListener, e as renderHiddenInput, h as getInputDescribedByText, j as hasValidationStatus, y as isMobileOrTablet, n as IC_INHERITED_ARIA } from './helpers-b2b47a7d.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,28 +12,43 @@ 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}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(--expand-icon-hover, var(--ic-architectural-400))}: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)}.select-input[disabled]{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`;
29
+ this.ungroupedOptions = [];
26
30
  this.inheritedAttributes = {};
31
+ this.hasSetDefaultValue = false;
32
+ this.initialRender = false;
33
+ this.initialOptionsEmpty = false;
34
+ this.emitIcChange = (value) => {
35
+ this.value = value;
36
+ clearTimeout(this.debounceIcChange);
37
+ this.debounceIcChange = window.setTimeout(() => {
38
+ this.icChange.emit({ value: value });
39
+ }, this.currDebounce);
40
+ };
41
+ this.emitImmediateIcChange = (value) => {
42
+ this.value = value;
43
+ clearTimeout(this.debounceIcChange);
44
+ this.icChange.emit({ value: value });
45
+ };
27
46
  this.isMenuEnabled = () => {
28
- return (((this.searchableSelectInputValue === null ||
29
- this.searchableSelectInputValue === "") &&
30
- this.charactersUntilSuggestions === 0) ||
31
- (this.searchableSelectInputValue &&
32
- this.searchableSelectInputValue.length >=
33
- this.charactersUntilSuggestions));
47
+ return (this.searchableSelectInputValue !== null ||
48
+ this.searchableSelectInputValue !== "");
34
49
  };
35
50
  this.setOptionsValuesFromLabels = () => {
36
- if (this.options.length > 0) {
51
+ if (this.options.length > 0 && this.options.map) {
37
52
  this.options.map((option) => {
38
53
  if (!option.value) {
39
54
  option.value = option.label;
@@ -41,6 +56,9 @@ const Select = class {
41
56
  });
42
57
  }
43
58
  };
59
+ this.setUngroupedOptions = (event) => {
60
+ this.ungroupedOptions = event.detail.options;
61
+ };
44
62
  this.setTextColor = () => {
45
63
  if (this.nativeSelectElement.selectedIndex === 0) {
46
64
  this.nativeSelectElement.className = "placeholder";
@@ -64,13 +82,19 @@ const Select = class {
64
82
  };
65
83
  this.getFilteredChildMenuOptions = (option) => {
66
84
  let children = option.children;
67
- children = getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
85
+ if (this.searchable) {
86
+ children = getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
87
+ }
88
+ else {
89
+ children = getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
90
+ }
68
91
  const newOption = Object.assign({}, option);
69
92
  newOption.children = children;
70
93
  return newOption;
71
94
  };
72
95
  this.handleNativeSelectChange = () => {
73
- this.icChange.emit({ value: this.nativeSelectElement.value });
96
+ this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
97
+ this.emitImmediateIcChange(this.nativeSelectElement.value);
74
98
  this.setTextColor();
75
99
  };
76
100
  this.handleCustomSelectChange = (event) => {
@@ -82,12 +106,20 @@ const Select = class {
82
106
  this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
83
107
  }
84
108
  this.ariaActiveDescendant = event.detail.optionId;
85
- this.icChange.emit({ value: event.detail.value });
109
+ this.icOptionSelect.emit({ value: event.detail.value });
110
+ this.emitIcChange(event.detail.value);
86
111
  };
87
112
  this.handleMenuChange = (event) => {
88
113
  this.open = event.detail.open;
114
+ this.pressedCharacters = "";
89
115
  this.searchable && this.handleFocusIndicatorDisplay();
90
116
  };
117
+ // clears the debounce delay when navigating the menu with arrow keys etc
118
+ // to prevent delay in change event, which should only occur when typing in input
119
+ this.handleMenuKeyPress = (ev) => {
120
+ ev.cancelBubble = true;
121
+ this.handleCharacterKeyDown(ev.detail.key);
122
+ };
91
123
  this.handleFocusIndicatorDisplay = () => {
92
124
  const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
93
125
  if (this.open) {
@@ -102,9 +134,15 @@ const Select = class {
102
134
  event.preventDefault();
103
135
  }
104
136
  };
137
+ this.isExternalFiltering = () => this.searchable && this.disableFilter;
105
138
  this.handleClick = (event) => {
106
- this.noOptions = null;
107
- this.menu.options = this.options;
139
+ if (this.isExternalFiltering()) {
140
+ this.menu.options = this.filteredOptions;
141
+ }
142
+ else {
143
+ this.noOptions = null;
144
+ this.menu.options = this.options;
145
+ }
108
146
  if (event.detail !== 0 && this.isMenuEnabled()) {
109
147
  this.menu.handleClickOpen();
110
148
  }
@@ -119,7 +157,8 @@ const Select = class {
119
157
  this.handleClear = (event) => {
120
158
  event.stopPropagation();
121
159
  this.noOptions = null;
122
- this.icChange.emit({ value: null });
160
+ this.emitImmediateIcChange(null);
161
+ this.icClear.emit();
123
162
  if (this.searchable) {
124
163
  this.searchableSelectElement.value = null;
125
164
  this.searchableSelectInputValue = null;
@@ -133,20 +172,49 @@ const Select = class {
133
172
  this.customSelectElement.focus();
134
173
  }
135
174
  };
175
+ this.handleCharacterKeyDown = (key) => {
176
+ // Only close menu when space is pressed if not being used alongside character keys to quickly select options
177
+ if (this.open && key === " " && this.pressedCharacters.length === 0) {
178
+ this.setMenuChange(false);
179
+ }
180
+ if (key.length === 1 && !this.searchable) {
181
+ window.clearTimeout(this.characterKeyPressTimer);
182
+ this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
183
+ this.pressedCharacters += key;
184
+ this.handleFilter();
185
+ if (!this.noOptions) {
186
+ this.emitImmediateIcChange(this.filteredOptions[0].value);
187
+ }
188
+ }
189
+ else {
190
+ this.pressedCharacters = "";
191
+ }
192
+ };
193
+ this.handleNativeSelectKeyDown = (event) => {
194
+ event.cancelBubble = true;
195
+ this.handleCharacterKeyDown(event.key);
196
+ };
136
197
  this.handleKeyDown = (event) => {
137
198
  event.cancelBubble = true;
199
+ const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
138
200
  if (!this.open) {
139
- this.noOptions = null;
140
- this.menu.options = this.options;
201
+ if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
202
+ this.menu.options = this.filteredOptions;
203
+ }
204
+ else {
205
+ this.noOptions = null;
206
+ this.menu.options = this.options;
207
+ }
141
208
  }
142
209
  if (this.open && event.key === "Enter") {
143
210
  this.setMenuChange(false);
144
211
  }
145
212
  else {
146
- if (!((event.key === "ArrowDown" || event.key === "ArrowUp") &&
147
- this.noOptions !== null) &&
148
- this.isMenuEnabled()) {
149
- this.menu.handleKeyboardOpen(event);
213
+ if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
214
+ if (!(event.key === " " && this.pressedCharacters.length > 0)) {
215
+ this.menu.handleKeyboardOpen(event);
216
+ }
217
+ this.handleCharacterKeyDown(event.key);
150
218
  }
151
219
  }
152
220
  };
@@ -156,25 +224,21 @@ const Select = class {
156
224
  this.handleClearButtonBlur = () => {
157
225
  this.clearButtonFocused = false;
158
226
  };
159
- this.handleSearchableSelectInput = (event) => {
160
- this.searchableSelectInputValue = event.target.value;
161
- if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
162
- this.icChange.emit({ value: null });
163
- }
164
- if (this.isMenuEnabled()) {
165
- this.setMenuChange(true);
166
- }
167
- else {
168
- this.setMenuChange(false);
169
- }
170
- const options = [...this.options];
227
+ this.handleFilter = () => {
228
+ const options = this.searchable ? [...this.options] : this.ungroupedOptions;
171
229
  let isGrouped = false;
172
230
  let newFilteredOptions = [];
173
231
  options.map((option) => {
174
232
  if (option.children)
175
233
  isGrouped = true;
176
234
  });
177
- const menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
235
+ let menuOptionsFiltered;
236
+ if (this.searchable) {
237
+ menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
238
+ }
239
+ else {
240
+ menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
241
+ }
178
242
  if (!isGrouped) {
179
243
  newFilteredOptions = menuOptionsFiltered;
180
244
  }
@@ -211,24 +275,48 @@ const Select = class {
211
275
  this.noOptions = noOptions;
212
276
  this.filteredOptions = this.noOptions;
213
277
  }
214
- this.debounceAriaLiveUpdate();
215
278
  };
216
- this.updateSearchableSelectResultAriaLive = () => {
217
- const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
218
- if (this.noOptions !== null) {
219
- searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
279
+ this.handleSearchableSelectInput = (event) => {
280
+ this.searchableSelectInputValue = event.target.value;
281
+ this.icInput.emit({ value: this.searchableSelectInputValue });
282
+ if (this.disableFilter) {
283
+ this.emitIcChange(this.searchableSelectInputValue);
284
+ }
285
+ else if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
286
+ this.emitIcChange(null);
287
+ }
288
+ if (this.isMenuEnabled()) {
289
+ this.setMenuChange(true);
220
290
  }
221
291
  else {
222
- searchableSelectResultsStatusEl.innerText = "";
292
+ this.setMenuChange(false);
293
+ }
294
+ if (!this.disableFilter) {
295
+ this.handleFilter();
296
+ this.debounceAriaLiveUpdate();
297
+ }
298
+ };
299
+ this.updateSearchableSelectResultAriaLive = () => {
300
+ const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
301
+ if (searchableSelectResultsStatusEl) {
302
+ if (this.noOptions !== null) {
303
+ searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
304
+ }
305
+ else {
306
+ searchableSelectResultsStatusEl.innerText = "";
307
+ }
223
308
  }
224
309
  };
310
+ this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
225
311
  this.onFocus = () => {
226
312
  this.icFocus.emit();
227
313
  };
228
314
  this.onBlur = (event) => {
229
- if (this.searchable &&
315
+ const isSearchableAndNoFocusedInternalElements = this.searchable &&
230
316
  event.relatedTarget !== this.menu &&
231
- !(this.clearButton && event.relatedTarget === this.clearButton)) {
317
+ !Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
318
+ !(this.clearButton && event.relatedTarget === this.clearButton);
319
+ if (isSearchableAndNoFocusedInternalElements) {
232
320
  this.setMenuChange(false);
233
321
  this.handleFocusIndicatorDisplay();
234
322
  }
@@ -237,7 +325,7 @@ const Select = class {
237
325
  this.handleFormReset = () => {
238
326
  this.value = this.initialValue;
239
327
  if (this.searchable) {
240
- this.searchableSelectInputValue = null;
328
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
241
329
  }
242
330
  };
243
331
  this.label = undefined;
@@ -253,6 +341,7 @@ const Select = class {
253
341
  this.validationStatus = "";
254
342
  this.validationText = "";
255
343
  this.value = undefined;
344
+ this.debounce = 0;
256
345
  this.name = this.inputId;
257
346
  this.showClearButton = false;
258
347
  this.searchable = false;
@@ -261,6 +350,7 @@ const Select = class {
261
350
  this.searchMatchPosition = "anywhere";
262
351
  this.charactersUntilSuggestions = 0;
263
352
  this.emptyOptionListText = "No results found";
353
+ this.disableFilter = false;
264
354
  this.open = false;
265
355
  this.clearButtonFocused = false;
266
356
  this.searchableSelectInputValue = null;
@@ -268,10 +358,45 @@ const Select = class {
268
358
  this.ariaActiveDescendant = undefined;
269
359
  this.noOptions = null;
270
360
  this.initialValue = this.value;
361
+ this.currDebounce = this.debounce;
362
+ this.currValue = this.value;
363
+ this.debounceIcChange = undefined;
364
+ this.pressedCharacters = "";
271
365
  }
272
366
  watchOptionsHandler() {
273
- this.setOptionsValuesFromLabels();
274
- this.filteredOptions = this.options;
367
+ if (this.isExternalFiltering()) {
368
+ if (this.options.length > 0) {
369
+ this.setOptionsValuesFromLabels();
370
+ this.noOptions = null;
371
+ this.filteredOptions = this.options;
372
+ }
373
+ else if (this.isMenuEnabled()) {
374
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
375
+ this.filteredOptions = this.noOptions;
376
+ // Will prevent 'No results found' displaying on initial load and setting default value
377
+ if (!this.initialRender) {
378
+ this.setMenuChange(true);
379
+ }
380
+ }
381
+ this.updateSearchableSelectResultAriaLive();
382
+ this.setDefaultValue();
383
+ }
384
+ else {
385
+ this.setOptionsValuesFromLabels();
386
+ this.filteredOptions = this.options;
387
+ if (this.initialOptionsEmpty) {
388
+ this.setDefaultValue();
389
+ this.initialOptionsEmpty = false;
390
+ }
391
+ }
392
+ }
393
+ debounceChangedHandler(newValue) {
394
+ this.updateOnChangeDebounce(newValue);
395
+ }
396
+ valueChangedHandler() {
397
+ if (this.value !== this.currValue) {
398
+ this.currValue = this.value;
399
+ }
275
400
  }
276
401
  /**
277
402
  * Sets focus on the input box.
@@ -287,12 +412,24 @@ const Select = class {
287
412
  this.searchableSelectElement.focus();
288
413
  }
289
414
  }
415
+ updateOnChangeDebounce(newValue) {
416
+ if (this.currDebounce !== newValue) {
417
+ this.currDebounce = newValue;
418
+ }
419
+ }
290
420
  debounceAriaLiveUpdate() {
291
- clearTimeout(this.debounce);
421
+ clearTimeout(this.debounceAria);
292
422
  window.setTimeout(() => {
293
423
  this.updateSearchableSelectResultAriaLive();
294
424
  }, 800);
295
425
  }
426
+ setDefaultValue() {
427
+ if (!this.hasSetDefaultValue && this.currValue) {
428
+ this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
429
+ this.initialValue = this.currValue;
430
+ this.hasSetDefaultValue = true;
431
+ }
432
+ }
296
433
  componentWillLoad() {
297
434
  this.inheritedAttributes = inheritAttributes(this.host, [
298
435
  ...IC_INHERITED_ARIA,
@@ -301,12 +438,22 @@ const Select = class {
301
438
  ]);
302
439
  this.setOptionsValuesFromLabels();
303
440
  addFormResetListener(this.host, this.handleFormReset);
441
+ this.initialRender = true;
442
+ if (!this.options.length) {
443
+ this.initialOptionsEmpty = true;
444
+ }
445
+ else if (!this.disableFilter) {
446
+ this.setDefaultValue();
447
+ }
304
448
  }
305
449
  componentDidRender() {
306
450
  if (this.nativeSelectElement && !this.disabled) {
307
451
  this.setTextColor();
308
452
  }
309
453
  }
454
+ componentWillUpdate() {
455
+ this.initialRender = false;
456
+ }
310
457
  componentDidLoad() {
311
458
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
312
459
  }
@@ -314,50 +461,52 @@ const Select = class {
314
461
  removeFormResetListener(this.host, this.handleFormReset);
315
462
  }
316
463
  render() {
317
- const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, value, } = this;
318
- renderHiddenInput(true, this.host, name, value, disabled);
464
+ const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
465
+ renderHiddenInput(true, this.host, name, currValue, disabled);
319
466
  const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
320
467
  const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
321
- return (h(Host, null, h("ic-input-container", { readonly: readonly }, !hideLabel && (h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (h("ic-typography", null, h("p", null, this.getLabelFromValue(value)))) : isMobileOrTablet() ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus }, this.inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
468
+ return (h(Host, { class: {
469
+ disabled: disabled,
470
+ searchable: searchable,
471
+ small: small,
472
+ "full-width": fullWidth,
473
+ } }, h("ic-input-container", { readonly: readonly }, !hideLabel && (h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (h("ic-typography", null, h("p", null, this.getLabelFromValue(currValue)))) : isMobileOrTablet() ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown }, this.inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
322
474
  if (option.children) {
323
- return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === value }, option.label)))));
475
+ return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
324
476
  }
325
477
  else {
326
- return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === value }, option.label));
478
+ return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
327
479
  }
328
480
  }))) : searchable ? (h("div", { class: "searchable-select-container" }, h("input", { class: "select-input", role: "combobox", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": this.ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": this.open ? "true" : "false", "aria-invalid": invalid, "aria-required": required ? "true" : "false", "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: this.inputId, value: this.searchableSelectInputValue, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur }), this.searchableSelectInputValue &&
329
- (showClearButton || searchable) && (h("div", { class: "clear-button-container" }, h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && value === null
481
+ (showClearButton || searchable) && (h("div", { class: "clear-button-container" }, h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
330
482
  ? "Clear input"
331
483
  : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: small ? "small" : "default", variant: "icon", appearance: this.clearButtonFocused
332
484
  ? IcThemeForegroundEnum.Light
333
485
  : IcThemeForegroundEnum.Dark }), h("div", { class: "divider" }))), h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
334
486
  "expand-icon": true,
335
487
  "expand-icon-open": this.open,
336
- "expand-icon-filled": !(value == null || value === ""),
337
- "expand-icon-disabled": !this.isMenuEnabled(),
338
- }, innerHTML: Expand, "aria-hidden": "true" }), h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (h("div", { class: "select-container" }, h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${this.getLabelFromValue(value) || placeholder}${required ? ", required" : ""}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": this.open ? "true" : "false", "aria-owns": menuId, "aria-controls": menuId, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, h("ic-typography", { variant: "body", class: {
488
+ "expand-icon-filled": !(currValue == null || currValue === ""),
489
+ }, innerHTML: Expand, "aria-hidden": "true" }), h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (h("div", { class: "select-container" }, h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${this.getLabelFromValue(currValue) || placeholder}${required ? ", required" : ""}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": this.open ? "true" : "false", "aria-owns": menuId, "aria-controls": menuId, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, h("ic-typography", { variant: "body", class: {
339
490
  "value-text": true,
340
- placeholder: this.getLabelFromValue(value) === undefined,
341
- } }, h("p", null, this.getLabelFromValue(value) || placeholder)), h("div", { class: "select-input-end" }, value && showClearButton && h("div", { class: "divider" }), h("span", { class: {
491
+ placeholder: this.getLabelFromValue(currValue) === undefined,
492
+ } }, h("p", null, this.getLabelFromValue(currValue) || placeholder)), h("div", { class: "select-input-end" }, currValue && showClearButton && (h("div", { class: "divider" })), h("span", { class: {
342
493
  "expand-icon": true,
343
494
  "expand-icon-open": this.open,
344
- "expand-icon-filled": !(value == null || value === ""),
345
- }, innerHTML: Expand, "aria-hidden": "true" }))), value && showClearButton && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: small ? "small" : "default", variant: "icon", appearance: this.clearButtonFocused
495
+ "expand-icon-filled": !(currValue == null || currValue === ""),
496
+ }, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: small ? "small" : "default", variant: "icon", appearance: this.clearButtonFocused
346
497
  ? IcThemeForegroundEnum.Light
347
498
  : IcThemeForegroundEnum.Dark }))))), !isMobileOrTablet() && (h("ic-menu", { class: {
348
- "no-results": this.noOptions !== null,
499
+ "no-results": this.noOptions !== null && this.searchable,
349
500
  }, ref: (el) => (this.menu = el), inputEl: searchable
350
501
  ? 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, onMenuChange: this.handleMenuChange, onOptionSelect: this.handleCustomSelectChange, parentEl: this.host })), h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: hasValidationStatus(this.validationStatus, this.disabled) ===
352
- false
353
- ? ""
354
- : validationStatus, message: hasValidationStatus(this.validationStatus, this.disabled)
355
- ? validationText
356
- : "", for: this.inputId }))));
502
+ : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : options, value: currValue, fullWidth: fullWidth, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, 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 })))));
357
503
  }
504
+ static get delegatesFocus() { return true; }
358
505
  get host() { return getElement(this); }
359
506
  static get watchers() { return {
360
- "options": ["watchOptionsHandler"]
507
+ "options": ["watchOptionsHandler"],
508
+ "debounce": ["debounceChangedHandler"],
509
+ "value": ["valueChangedHandler"]
361
510
  }; }
362
511
  };
363
512
  Select.style = icSelectCss;