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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (580) hide show
  1. package/dist/cjs/core.cjs.js +2 -2
  2. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  3. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  4. package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
  5. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-button_3.cjs.entry.js +44 -10
  9. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-card.cjs.entry.js +4 -4
  11. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-checkbox-group.cjs.entry.js +16 -18
  13. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-checkbox.cjs.entry.js +11 -4
  15. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-chip.cjs.entry.js +2 -2
  17. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
  20. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  22. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-divider.cjs.entry.js +2 -2
  24. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-hero.cjs.entry.js +4 -2
  29. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +146 -63
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
  38. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
  40. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-navigation-group.cjs.entry.js +2 -2
  42. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -2
  44. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -2
  46. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-page-header.cjs.entry.js +2 -2
  48. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-pagination-item.cjs.entry.js +51 -0
  50. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -0
  51. package/dist/cjs/ic-pagination.cjs.entry.js +206 -0
  52. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -0
  53. package/dist/cjs/ic-popover-menu.cjs.entry.js +8 -7
  54. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-radio-group.cjs.entry.js +3 -3
  56. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-radio-option.cjs.entry.js +3 -3
  58. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-search-bar.cjs.entry.js +79 -12
  60. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-select.cjs.entry.js +153 -54
  63. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-side-navigation.cjs.entry.js +11 -3
  65. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  68. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-step.cjs.entry.js +2 -2
  70. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-switch.cjs.entry.js +2 -2
  73. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-tab-context.cjs.entry.js +42 -5
  75. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -2
  77. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-tab-panel.cjs.entry.js +11 -2
  79. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-tab.cjs.entry.js +14 -2
  81. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-text-field.cjs.entry.js +50 -11
  83. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  85. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  86. package/dist/cjs/ic-toast.cjs.entry.js +5 -1
  87. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-top-navigation.cjs.entry.js +7 -5
  89. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  91. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  92. package/dist/cjs/{index-f79a4e53.js → index-a62312a7.js} +11 -1
  93. package/dist/cjs/index-a62312a7.js.map +1 -0
  94. package/dist/cjs/loader.cjs.js +2 -2
  95. package/dist/cjs/types-3eb02246.js.map +1 -1
  96. package/dist/collection/assets/pagination-first-last.svg +3 -0
  97. package/dist/collection/assets/pagination-next-previous.svg +3 -0
  98. package/dist/collection/collection-manifest.json +2 -0
  99. package/dist/collection/components/ic-alert/ic-alert.css +1 -1
  100. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +3 -3
  101. package/dist/collection/components/ic-button/ic-button.css +6 -2
  102. package/dist/collection/components/ic-button/ic-button.js +118 -1
  103. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  104. package/dist/collection/components/ic-card/ic-card.css +17 -7
  105. package/dist/collection/components/ic-card/ic-card.js +2 -2
  106. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  107. package/dist/collection/components/ic-checkbox/ic-checkbox.css +11 -8
  108. package/dist/collection/components/ic-checkbox/ic-checkbox.js +28 -2
  109. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  110. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +3 -3
  111. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +15 -21
  112. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  113. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -1
  114. package/dist/collection/components/ic-chip/ic-chip.css +11 -10
  115. package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
  116. package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
  117. package/dist/collection/components/ic-divider/ic-divider.css +1 -1
  118. package/dist/collection/components/ic-hero/ic-hero.css +23 -22
  119. package/dist/collection/components/ic-hero/ic-hero.js +2 -0
  120. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  121. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +4 -8
  122. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +6 -5
  123. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +4 -4
  124. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +11 -3
  125. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  126. package/dist/collection/components/ic-menu/ic-menu.css +39 -10
  127. package/dist/collection/components/ic-menu/ic-menu.js +188 -61
  128. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  129. package/dist/collection/components/ic-menu-item/ic-menu-item.css +1 -6
  130. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +4 -0
  131. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +2 -2
  132. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +2 -2
  133. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +1 -0
  134. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  135. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +18 -14
  136. package/dist/collection/components/ic-page-header/ic-page-header.css +1 -1
  137. package/dist/collection/components/ic-pagination/ic-pagination.css +490 -0
  138. package/dist/collection/components/ic-pagination/ic-pagination.js +435 -0
  139. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
  140. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js +11 -0
  141. package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +1 -0
  142. package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
  143. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
  144. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
  145. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +225 -0
  146. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
  147. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
  148. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
  149. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +2 -1
  150. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +7 -6
  151. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  152. package/dist/collection/components/ic-radio-group/ic-radio-group.css +4 -4
  153. package/dist/collection/components/ic-radio-group/ic-radio-group.js +1 -1
  154. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  155. package/dist/collection/components/ic-radio-option/ic-radio-option.css +6 -6
  156. package/dist/collection/components/ic-radio-option/ic-radio-option.js +1 -1
  157. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  158. package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -10
  159. package/dist/collection/components/ic-search-bar/ic-search-bar.js +172 -11
  160. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  161. package/dist/collection/components/ic-select/ic-select.css +4 -4
  162. package/dist/collection/components/ic-select/ic-select.js +247 -53
  163. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  164. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +43 -20
  165. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +9 -1
  166. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  167. package/dist/collection/components/ic-status-tag/ic-status-tag.css +8 -7
  168. package/dist/collection/components/ic-step/ic-step.css +1 -1
  169. package/dist/collection/components/ic-switch/ic-switch.css +4 -4
  170. package/dist/collection/components/ic-tab/ic-tab.css +4 -4
  171. package/dist/collection/components/ic-tab/ic-tab.js +50 -0
  172. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  173. package/dist/collection/components/ic-tab-context/ic-tab-context.js +79 -4
  174. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  175. package/dist/collection/components/ic-tab-group/ic-tab-group.css +1 -1
  176. package/dist/collection/components/ic-tab-group/ic-tab-group.js +6 -2
  177. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  178. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -4
  179. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +56 -3
  180. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  181. package/dist/collection/components/ic-text-field/ic-text-field.css +2 -3
  182. package/dist/collection/components/ic-text-field/ic-text-field.js +129 -9
  183. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  184. package/dist/collection/components/ic-toast/ic-toast.js +7 -3
  185. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  186. package/dist/collection/components/ic-tooltip/ic-tooltip.js +53 -4
  187. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  188. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +21 -15
  189. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +5 -3
  190. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  191. package/dist/collection/components/ic-typography/ic-typography.css +19 -1
  192. package/dist/collection/components/ic-typography/ic-typography.js +1 -1
  193. package/dist/collection/utils/types.js.map +1 -1
  194. package/dist/components/ic-alert.js +1 -1
  195. package/dist/components/ic-alert.js.map +1 -1
  196. package/dist/components/ic-back-to-top.js +1 -1
  197. package/dist/components/ic-back-to-top.js.map +1 -1
  198. package/dist/components/ic-button2.js +23 -2
  199. package/dist/components/ic-button2.js.map +1 -1
  200. package/dist/components/ic-card.js +3 -3
  201. package/dist/components/ic-card.js.map +1 -1
  202. package/dist/components/ic-checkbox-group.js +16 -19
  203. package/dist/components/ic-checkbox-group.js.map +1 -1
  204. package/dist/components/ic-checkbox.js +11 -3
  205. package/dist/components/ic-checkbox.js.map +1 -1
  206. package/dist/components/ic-chip.js +1 -1
  207. package/dist/components/ic-chip.js.map +1 -1
  208. package/dist/components/ic-data-entity.js +1 -1
  209. package/dist/components/ic-data-entity.js.map +1 -1
  210. package/dist/components/ic-data-row.js +1 -1
  211. package/dist/components/ic-data-row.js.map +1 -1
  212. package/dist/components/ic-divider2.js +1 -1
  213. package/dist/components/ic-divider2.js.map +1 -1
  214. package/dist/components/ic-hero.js +3 -1
  215. package/dist/components/ic-hero.js.map +1 -1
  216. package/dist/components/ic-horizontal-scroll2.js +1 -1
  217. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  218. package/dist/components/ic-input-component-container2.js +1 -1
  219. package/dist/components/ic-input-component-container2.js.map +1 -1
  220. package/dist/components/ic-loading-indicator2.js +12 -4
  221. package/dist/components/ic-loading-indicator2.js.map +1 -1
  222. package/dist/components/ic-menu-item2.js +1 -1
  223. package/dist/components/ic-menu-item2.js.map +1 -1
  224. package/dist/components/ic-menu2.js +164 -64
  225. package/dist/components/ic-menu2.js.map +1 -1
  226. package/dist/components/ic-navigation-button.js +1 -1
  227. package/dist/components/ic-navigation-button.js.map +1 -1
  228. package/dist/components/ic-navigation-group.js +1 -1
  229. package/dist/components/ic-navigation-group.js.map +1 -1
  230. package/dist/components/ic-navigation-item.js +2 -1
  231. package/dist/components/ic-navigation-item.js.map +1 -1
  232. package/dist/components/ic-navigation-menu2.js +1 -1
  233. package/dist/components/ic-navigation-menu2.js.map +1 -1
  234. package/dist/components/ic-page-header.js +1 -1
  235. package/dist/components/ic-page-header.js.map +1 -1
  236. package/dist/components/ic-pagination-item.d.ts +11 -0
  237. package/dist/components/ic-pagination-item.js +8 -0
  238. package/dist/components/ic-pagination-item.js.map +1 -0
  239. package/dist/components/ic-pagination-item2.js +77 -0
  240. package/dist/components/ic-pagination-item2.js.map +1 -0
  241. package/dist/components/ic-pagination.d.ts +11 -0
  242. package/dist/components/ic-pagination.js +266 -0
  243. package/dist/components/ic-pagination.js.map +1 -0
  244. package/dist/components/ic-popover-menu.js +8 -8
  245. package/dist/components/ic-popover-menu.js.map +1 -1
  246. package/dist/components/ic-radio-group.js +2 -2
  247. package/dist/components/ic-radio-group.js.map +1 -1
  248. package/dist/components/ic-radio-option.js +2 -2
  249. package/dist/components/ic-radio-option.js.map +1 -1
  250. package/dist/components/ic-search-bar.js +82 -12
  251. package/dist/components/ic-search-bar.js.map +1 -1
  252. package/dist/components/ic-select.js +158 -53
  253. package/dist/components/ic-select.js.map +1 -1
  254. package/dist/components/ic-side-navigation.js +10 -2
  255. package/dist/components/ic-side-navigation.js.map +1 -1
  256. package/dist/components/ic-status-tag.js +1 -1
  257. package/dist/components/ic-status-tag.js.map +1 -1
  258. package/dist/components/ic-step.js +1 -1
  259. package/dist/components/ic-step.js.map +1 -1
  260. package/dist/components/ic-switch.js +1 -1
  261. package/dist/components/ic-switch.js.map +1 -1
  262. package/dist/components/ic-tab-context.js +44 -6
  263. package/dist/components/ic-tab-context.js.map +1 -1
  264. package/dist/components/ic-tab-group.js +2 -1
  265. package/dist/components/ic-tab-group.js.map +1 -1
  266. package/dist/components/ic-tab-panel.js +11 -2
  267. package/dist/components/ic-tab-panel.js.map +1 -1
  268. package/dist/components/ic-tab.js +13 -1
  269. package/dist/components/ic-tab.js.map +1 -1
  270. package/dist/components/ic-text-field2.js +54 -10
  271. package/dist/components/ic-text-field2.js.map +1 -1
  272. package/dist/components/ic-toast.js +7 -3
  273. package/dist/components/ic-toast.js.map +1 -1
  274. package/dist/components/ic-tooltip2.js +1817 -8
  275. package/dist/components/ic-tooltip2.js.map +1 -1
  276. package/dist/components/ic-top-navigation.js +6 -4
  277. package/dist/components/ic-top-navigation.js.map +1 -1
  278. package/dist/components/ic-typography2.js +1 -1
  279. package/dist/components/ic-typography2.js.map +1 -1
  280. package/dist/components/index.d.ts +2 -0
  281. package/dist/components/index.js +2 -0
  282. package/dist/components/index.js.map +1 -1
  283. package/dist/components/types.js.map +1 -1
  284. package/dist/core/core.css +8 -3
  285. package/dist/core/core.esm.js +1 -1
  286. package/dist/core/core.esm.js.map +1 -1
  287. package/dist/core/{p-25b208ae.entry.js → p-002a63e9.entry.js} +2 -2
  288. package/dist/core/p-002a63e9.entry.js.map +1 -0
  289. package/dist/core/p-0575a77f.entry.js +2 -0
  290. package/dist/core/p-0575a77f.entry.js.map +1 -0
  291. package/dist/core/p-0a41c3cb.entry.js +2 -0
  292. package/dist/core/p-0a41c3cb.entry.js.map +1 -0
  293. package/dist/core/{p-b7fc1f35.entry.js → p-100dbcec.entry.js} +2 -2
  294. package/dist/core/{p-c9068822.entry.js → p-14835d6f.entry.js} +2 -2
  295. package/dist/core/p-14835d6f.entry.js.map +1 -0
  296. package/dist/core/p-1eb0992b.entry.js +2 -0
  297. package/dist/core/p-1eb0992b.entry.js.map +1 -0
  298. package/dist/core/{p-62b3516e.entry.js → p-223a214f.entry.js} +2 -2
  299. package/dist/core/{p-dd71a986.entry.js → p-276f7ecb.entry.js} +2 -2
  300. package/dist/core/{p-3d84a743.entry.js → p-28bc3bf0.entry.js} +2 -2
  301. package/dist/core/{p-8ffa00c9.entry.js → p-312c10b0.entry.js} +2 -2
  302. package/dist/core/p-3845b769.entry.js +2 -0
  303. package/dist/core/p-3845b769.entry.js.map +1 -0
  304. package/dist/core/{p-cc62d065.entry.js → p-3a67718c.entry.js} +2 -2
  305. package/dist/core/p-3c23f963.entry.js +2 -0
  306. package/dist/core/p-3c23f963.entry.js.map +1 -0
  307. package/dist/core/{p-ed6cf9b9.entry.js → p-3dc2ff7b.entry.js} +2 -2
  308. package/dist/core/p-3dc2ff7b.entry.js.map +1 -0
  309. package/dist/core/p-3e5eb873.entry.js +2 -0
  310. package/dist/core/p-3e5eb873.entry.js.map +1 -0
  311. package/dist/core/{p-58ff516f.entry.js → p-3fb307e6.entry.js} +2 -2
  312. package/dist/core/{p-d2508752.entry.js → p-454b1ecd.entry.js} +2 -2
  313. package/dist/core/{p-33a0aabe.entry.js → p-47b0ed42.entry.js} +2 -2
  314. package/dist/core/p-47b0ed42.entry.js.map +1 -0
  315. package/dist/core/p-4b87445b.entry.js +2 -0
  316. package/dist/core/p-4b87445b.entry.js.map +1 -0
  317. package/dist/core/p-4c8fcfe6.entry.js +2 -0
  318. package/dist/core/p-4c8fcfe6.entry.js.map +1 -0
  319. package/dist/core/p-52fd3533.entry.js +2 -0
  320. package/dist/core/p-52fd3533.entry.js.map +1 -0
  321. package/dist/core/{p-0a463a65.entry.js → p-546b620e.entry.js} +2 -2
  322. package/dist/core/p-56fe91ad.entry.js +2 -0
  323. package/dist/core/p-56fe91ad.entry.js.map +1 -0
  324. package/dist/core/{p-5450cebf.js → p-589f6dd3.js} +3 -3
  325. package/dist/core/p-589f6dd3.js.map +1 -0
  326. package/dist/core/p-5d077cf7.entry.js +2 -0
  327. package/dist/core/p-5d077cf7.entry.js.map +1 -0
  328. package/dist/core/{p-8c9cc4d5.entry.js → p-6a77992e.entry.js} +2 -2
  329. package/dist/core/{p-acb08809.entry.js → p-6b39f8b4.entry.js} +2 -2
  330. package/dist/core/p-6b39f8b4.entry.js.map +1 -0
  331. package/dist/core/p-6f57b13c.js.map +1 -1
  332. package/dist/core/p-80eff050.entry.js +2 -0
  333. package/dist/core/p-80eff050.entry.js.map +1 -0
  334. package/dist/core/p-864b46bf.entry.js +2 -0
  335. package/dist/core/p-864b46bf.entry.js.map +1 -0
  336. package/dist/core/p-8780890e.entry.js +2 -0
  337. package/dist/core/p-8780890e.entry.js.map +1 -0
  338. package/dist/core/p-895bda21.entry.js +2 -0
  339. package/dist/core/p-895bda21.entry.js.map +1 -0
  340. package/dist/core/p-92c4fa7f.entry.js +2 -0
  341. package/dist/core/p-92c4fa7f.entry.js.map +1 -0
  342. package/dist/core/{p-dbfdfa8a.entry.js → p-9413d639.entry.js} +2 -2
  343. package/dist/core/p-9413d639.entry.js.map +1 -0
  344. package/dist/core/{p-81652a98.entry.js → p-a0f4e641.entry.js} +2 -2
  345. package/dist/core/p-a0f4e641.entry.js.map +1 -0
  346. package/dist/core/{p-4d8392fe.entry.js → p-a33a04b2.entry.js} +2 -2
  347. package/dist/core/p-a5bee11f.entry.js +2 -0
  348. package/dist/core/p-a5bee11f.entry.js.map +1 -0
  349. package/dist/core/p-b61e76e2.entry.js +2 -0
  350. package/dist/core/p-b61e76e2.entry.js.map +1 -0
  351. package/dist/core/p-c0813424.entry.js +2 -0
  352. package/dist/core/p-c0813424.entry.js.map +1 -0
  353. package/dist/core/p-cb437317.entry.js +2 -0
  354. package/dist/core/p-cb437317.entry.js.map +1 -0
  355. package/dist/core/p-d5d9923a.entry.js +2 -0
  356. package/dist/core/p-d5d9923a.entry.js.map +1 -0
  357. package/dist/core/{p-f777679c.entry.js → p-db7131b6.entry.js} +2 -2
  358. package/dist/core/p-dc0b9e80.entry.js +2 -0
  359. package/dist/core/p-dc0b9e80.entry.js.map +1 -0
  360. package/dist/core/{p-7fd50355.entry.js → p-de45134c.entry.js} +2 -2
  361. package/dist/core/p-de45134c.entry.js.map +1 -0
  362. package/dist/core/p-de891d3d.entry.js +2 -0
  363. package/dist/core/p-de891d3d.entry.js.map +1 -0
  364. package/dist/core/p-e0f24ccd.entry.js +2 -0
  365. package/dist/core/p-e0f24ccd.entry.js.map +1 -0
  366. package/dist/core/{p-741b4ea3.entry.js → p-e384aaee.entry.js} +2 -2
  367. package/dist/core/{p-26c9e522.entry.js → p-e41e701a.entry.js} +2 -2
  368. package/dist/core/p-e41e701a.entry.js.map +1 -0
  369. package/dist/core/p-e839e5dc.entry.js +2 -0
  370. package/dist/core/p-e839e5dc.entry.js.map +1 -0
  371. package/dist/core/p-ea526b54.entry.js +2 -0
  372. package/dist/core/p-ea526b54.entry.js.map +1 -0
  373. package/dist/core/{p-4ee03271.entry.js → p-ec8b228c.entry.js} +2 -2
  374. package/dist/core/p-ec8b228c.entry.js.map +1 -0
  375. package/dist/core/p-f3e10149.entry.js +2 -0
  376. package/dist/core/p-f3e10149.entry.js.map +1 -0
  377. package/dist/core/{p-ad2477d8.entry.js → p-fc7dce3d.entry.js} +2 -2
  378. package/dist/core/p-ff6583e6.entry.js +2 -0
  379. package/dist/core/p-ff6583e6.entry.js.map +1 -0
  380. package/dist/esm/core.js +2 -2
  381. package/dist/esm/ic-alert.entry.js +2 -2
  382. package/dist/esm/ic-alert.entry.js.map +1 -1
  383. package/dist/esm/ic-back-to-top.entry.js +2 -2
  384. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  385. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  386. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  387. package/dist/esm/ic-button_3.entry.js +44 -10
  388. package/dist/esm/ic-button_3.entry.js.map +1 -1
  389. package/dist/esm/ic-card.entry.js +4 -4
  390. package/dist/esm/ic-card.entry.js.map +1 -1
  391. package/dist/esm/ic-checkbox-group.entry.js +16 -18
  392. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  393. package/dist/esm/ic-checkbox.entry.js +11 -4
  394. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  395. package/dist/esm/ic-chip.entry.js +2 -2
  396. package/dist/esm/ic-chip.entry.js.map +1 -1
  397. package/dist/esm/ic-classification-banner.entry.js +1 -1
  398. package/dist/esm/ic-data-entity.entry.js +2 -2
  399. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  400. package/dist/esm/ic-data-row.entry.js +2 -2
  401. package/dist/esm/ic-data-row.entry.js.map +1 -1
  402. package/dist/esm/ic-divider.entry.js +2 -2
  403. package/dist/esm/ic-divider.entry.js.map +1 -1
  404. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  405. package/dist/esm/ic-footer-link.entry.js +1 -1
  406. package/dist/esm/ic-footer.entry.js +1 -1
  407. package/dist/esm/ic-hero.entry.js +4 -2
  408. package/dist/esm/ic-hero.entry.js.map +1 -1
  409. package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
  410. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  411. package/dist/esm/ic-input-component-container_3.entry.js +146 -63
  412. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  413. package/dist/esm/ic-input-label_2.entry.js +1 -1
  414. package/dist/esm/ic-link.entry.js +1 -1
  415. package/dist/esm/ic-menu-group.entry.js +1 -1
  416. package/dist/esm/ic-menu-item.entry.js +2 -2
  417. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  418. package/dist/esm/ic-navigation-button.entry.js +2 -2
  419. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  420. package/dist/esm/ic-navigation-group.entry.js +2 -2
  421. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  422. package/dist/esm/ic-navigation-item.entry.js +3 -2
  423. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  424. package/dist/esm/ic-navigation-menu.entry.js +2 -2
  425. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  426. package/dist/esm/ic-page-header.entry.js +2 -2
  427. package/dist/esm/ic-page-header.entry.js.map +1 -1
  428. package/dist/esm/ic-pagination-item.entry.js +47 -0
  429. package/dist/esm/ic-pagination-item.entry.js.map +1 -0
  430. package/dist/esm/ic-pagination.entry.js +202 -0
  431. package/dist/esm/ic-pagination.entry.js.map +1 -0
  432. package/dist/esm/ic-popover-menu.entry.js +8 -7
  433. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  434. package/dist/esm/ic-radio-group.entry.js +3 -3
  435. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  436. package/dist/esm/ic-radio-option.entry.js +3 -3
  437. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  438. package/dist/esm/ic-search-bar.entry.js +79 -12
  439. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  440. package/dist/esm/ic-section-container.entry.js +1 -1
  441. package/dist/esm/ic-select.entry.js +153 -54
  442. package/dist/esm/ic-select.entry.js.map +1 -1
  443. package/dist/esm/ic-side-navigation.entry.js +11 -3
  444. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  445. package/dist/esm/ic-skeleton.entry.js +1 -1
  446. package/dist/esm/ic-status-tag.entry.js +2 -2
  447. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  448. package/dist/esm/ic-step.entry.js +2 -2
  449. package/dist/esm/ic-step.entry.js.map +1 -1
  450. package/dist/esm/ic-stepper.entry.js +1 -1
  451. package/dist/esm/ic-switch.entry.js +2 -2
  452. package/dist/esm/ic-switch.entry.js.map +1 -1
  453. package/dist/esm/ic-tab-context.entry.js +42 -5
  454. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  455. package/dist/esm/ic-tab-group.entry.js +3 -2
  456. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  457. package/dist/esm/ic-tab-panel.entry.js +11 -2
  458. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  459. package/dist/esm/ic-tab.entry.js +14 -2
  460. package/dist/esm/ic-tab.entry.js.map +1 -1
  461. package/dist/esm/ic-text-field.entry.js +50 -11
  462. package/dist/esm/ic-text-field.entry.js.map +1 -1
  463. package/dist/esm/ic-theme.entry.js +1 -1
  464. package/dist/esm/ic-toast-region.entry.js +1 -1
  465. package/dist/esm/ic-toast.entry.js +5 -1
  466. package/dist/esm/ic-toast.entry.js.map +1 -1
  467. package/dist/esm/ic-top-navigation.entry.js +7 -5
  468. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  469. package/dist/esm/ic-typography.entry.js +2 -2
  470. package/dist/esm/ic-typography.entry.js.map +1 -1
  471. package/dist/esm/{index-90721b3c.js → index-3b144b17.js} +11 -2
  472. package/dist/esm/index-3b144b17.js.map +1 -0
  473. package/dist/esm/loader.js +2 -2
  474. package/dist/esm/types-dd515332.js.map +1 -1
  475. package/dist/types/components/ic-button/ic-button.d.ts +24 -0
  476. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +4 -0
  477. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +1 -3
  478. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +5 -0
  479. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +2 -0
  480. package/dist/types/components/ic-menu/ic-menu.d.ts +26 -7
  481. package/dist/types/components/ic-pagination/ic-pagination.d.ts +74 -0
  482. package/dist/types/components/ic-pagination/ic-pagination.test.a11y.d.ts +1 -0
  483. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +4 -0
  484. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +46 -0
  485. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
  486. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +30 -1
  487. package/dist/types/components/ic-select/ic-select.d.ts +31 -3
  488. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +2 -1
  489. package/dist/types/components/ic-tab/ic-tab.d.ts +11 -0
  490. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +13 -6
  491. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +2 -1
  492. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +25 -5
  493. package/dist/types/components/ic-text-field/ic-text-field.d.ts +19 -0
  494. package/dist/types/components/ic-toast/ic-toast.d.ts +1 -0
  495. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +7 -0
  496. package/dist/types/components.d.ts +359 -19
  497. package/dist/types/utils/types.d.ts +4 -1
  498. package/hydrate/index.js +931 -219
  499. package/package.json +3 -3
  500. package/dist/cjs/index-f79a4e53.js.map +0 -1
  501. package/dist/components/popper.js +0 -1801
  502. package/dist/components/popper.js.map +0 -1
  503. package/dist/core/p-037dfe9d.entry.js +0 -2
  504. package/dist/core/p-037dfe9d.entry.js.map +0 -1
  505. package/dist/core/p-05c5c6c4.entry.js +0 -2
  506. package/dist/core/p-05c5c6c4.entry.js.map +0 -1
  507. package/dist/core/p-0faf328a.entry.js +0 -2
  508. package/dist/core/p-0faf328a.entry.js.map +0 -1
  509. package/dist/core/p-102281fd.entry.js +0 -2
  510. package/dist/core/p-102281fd.entry.js.map +0 -1
  511. package/dist/core/p-1549adc1.entry.js +0 -2
  512. package/dist/core/p-1549adc1.entry.js.map +0 -1
  513. package/dist/core/p-25b208ae.entry.js.map +0 -1
  514. package/dist/core/p-26c9e522.entry.js.map +0 -1
  515. package/dist/core/p-31a595c1.entry.js +0 -2
  516. package/dist/core/p-31a595c1.entry.js.map +0 -1
  517. package/dist/core/p-33a0aabe.entry.js.map +0 -1
  518. package/dist/core/p-360adc51.entry.js +0 -2
  519. package/dist/core/p-360adc51.entry.js.map +0 -1
  520. package/dist/core/p-3fd4f8eb.entry.js +0 -2
  521. package/dist/core/p-3fd4f8eb.entry.js.map +0 -1
  522. package/dist/core/p-48a5c2a7.entry.js +0 -2
  523. package/dist/core/p-48a5c2a7.entry.js.map +0 -1
  524. package/dist/core/p-4ee03271.entry.js.map +0 -1
  525. package/dist/core/p-5450cebf.js.map +0 -1
  526. package/dist/core/p-73fddc63.entry.js +0 -2
  527. package/dist/core/p-73fddc63.entry.js.map +0 -1
  528. package/dist/core/p-7dcb9104.entry.js +0 -2
  529. package/dist/core/p-7dcb9104.entry.js.map +0 -1
  530. package/dist/core/p-7fd50355.entry.js.map +0 -1
  531. package/dist/core/p-81652a98.entry.js.map +0 -1
  532. package/dist/core/p-87c7ba3b.entry.js +0 -2
  533. package/dist/core/p-87c7ba3b.entry.js.map +0 -1
  534. package/dist/core/p-897e967a.entry.js +0 -2
  535. package/dist/core/p-897e967a.entry.js.map +0 -1
  536. package/dist/core/p-a2c7dc6c.entry.js +0 -2
  537. package/dist/core/p-a2c7dc6c.entry.js.map +0 -1
  538. package/dist/core/p-a3742d40.entry.js +0 -2
  539. package/dist/core/p-a3742d40.entry.js.map +0 -1
  540. package/dist/core/p-a44a0500.entry.js +0 -2
  541. package/dist/core/p-a44a0500.entry.js.map +0 -1
  542. package/dist/core/p-a8e969ea.entry.js +0 -2
  543. package/dist/core/p-a8e969ea.entry.js.map +0 -1
  544. package/dist/core/p-ac6ecdb6.entry.js +0 -2
  545. package/dist/core/p-ac6ecdb6.entry.js.map +0 -1
  546. package/dist/core/p-acb08809.entry.js.map +0 -1
  547. package/dist/core/p-affb42c7.entry.js +0 -2
  548. package/dist/core/p-affb42c7.entry.js.map +0 -1
  549. package/dist/core/p-b8b960a5.entry.js +0 -2
  550. package/dist/core/p-b8b960a5.entry.js.map +0 -1
  551. package/dist/core/p-b921bb19.entry.js +0 -2
  552. package/dist/core/p-b921bb19.entry.js.map +0 -1
  553. package/dist/core/p-c9068822.entry.js.map +0 -1
  554. package/dist/core/p-c996810e.entry.js +0 -2
  555. package/dist/core/p-c996810e.entry.js.map +0 -1
  556. package/dist/core/p-d28d7f24.entry.js +0 -2
  557. package/dist/core/p-d28d7f24.entry.js.map +0 -1
  558. package/dist/core/p-dbfdfa8a.entry.js.map +0 -1
  559. package/dist/core/p-e4547265.entry.js +0 -2
  560. package/dist/core/p-e4547265.entry.js.map +0 -1
  561. package/dist/core/p-ea0c4aca.entry.js +0 -2
  562. package/dist/core/p-ea0c4aca.entry.js.map +0 -1
  563. package/dist/core/p-ed6cf9b9.entry.js.map +0 -1
  564. package/dist/core/p-f6ddd32f.entry.js +0 -2
  565. package/dist/core/p-f6ddd32f.entry.js.map +0 -1
  566. package/dist/esm/index-90721b3c.js.map +0 -1
  567. /package/dist/core/{p-b7fc1f35.entry.js.map → p-100dbcec.entry.js.map} +0 -0
  568. /package/dist/core/{p-62b3516e.entry.js.map → p-223a214f.entry.js.map} +0 -0
  569. /package/dist/core/{p-dd71a986.entry.js.map → p-276f7ecb.entry.js.map} +0 -0
  570. /package/dist/core/{p-3d84a743.entry.js.map → p-28bc3bf0.entry.js.map} +0 -0
  571. /package/dist/core/{p-8ffa00c9.entry.js.map → p-312c10b0.entry.js.map} +0 -0
  572. /package/dist/core/{p-cc62d065.entry.js.map → p-3a67718c.entry.js.map} +0 -0
  573. /package/dist/core/{p-58ff516f.entry.js.map → p-3fb307e6.entry.js.map} +0 -0
  574. /package/dist/core/{p-d2508752.entry.js.map → p-454b1ecd.entry.js.map} +0 -0
  575. /package/dist/core/{p-0a463a65.entry.js.map → p-546b620e.entry.js.map} +0 -0
  576. /package/dist/core/{p-8c9cc4d5.entry.js.map → p-6a77992e.entry.js.map} +0 -0
  577. /package/dist/core/{p-4d8392fe.entry.js.map → p-a33a04b2.entry.js.map} +0 -0
  578. /package/dist/core/{p-f777679c.entry.js.map → p-db7131b6.entry.js.map} +0 -0
  579. /package/dist/core/{p-741b4ea3.entry.js.map → p-e384aaee.entry.js.map} +0 -0
  580. /package/dist/core/{p-ad2477d8.entry.js.map → p-fc7dce3d.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90721b3c.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3b144b17.js';
2
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
 
@@ -12,7 +12,7 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
12
12
  </svg>
13
13
  `;
14
14
 
15
- const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{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}";
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:var(--ic-space-1px);background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);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:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}";
16
16
 
17
17
  let inputIds = 0;
18
18
  const Select = class {
@@ -24,15 +24,26 @@ const Select = class {
24
24
  this.icBlur = createEvent(this, "icBlur", 7);
25
25
  this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
26
26
  this.icInput = createEvent(this, "icInput", 7);
27
+ this.icRetryLoad = createEvent(this, "icRetryLoad", 7);
27
28
  this.inputId = `ic-select-input-${inputIds++}`;
28
29
  this.menuId = `${this.inputId}-menu`;
29
30
  this.ungroupedOptions = [];
30
31
  this.inheritedAttributes = {};
31
32
  this.hasSetDefaultValue = false;
32
- this.initialRender = false;
33
33
  this.initialOptionsEmpty = false;
34
+ this.handleRetry = (ev) => {
35
+ var _a;
36
+ if (ev.detail.keyPressed)
37
+ (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
38
+ this.blurredBecauseButtonPressed = true;
39
+ this.retryButtonClick = true;
40
+ this.hasSetDefaultValue = true;
41
+ this.icRetryLoad.emit({ value: this.hiddenInputValue });
42
+ };
34
43
  this.emitIcChange = (value) => {
35
- this.value = value;
44
+ if (!this.searchable) {
45
+ this.value = value;
46
+ }
36
47
  clearTimeout(this.debounceIcChange);
37
48
  this.debounceIcChange = window.setTimeout(() => {
38
49
  this.icChange.emit({ value: value });
@@ -75,11 +86,6 @@ const Select = class {
75
86
  this.getLabelFromValue = (value) => {
76
87
  return getLabelFromValue(value, this.options);
77
88
  };
78
- this.getValueFromLabel = (label) => {
79
- var _a;
80
- const value = (_a = this.options.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
81
- return value;
82
- };
83
89
  this.getFilteredChildMenuOptions = (option) => {
84
90
  let children = option.children;
85
91
  if (this.searchable) {
@@ -103,7 +109,13 @@ const Select = class {
103
109
  return;
104
110
  }
105
111
  if (this.searchable) {
106
- this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
112
+ this.value = event.detail.value;
113
+ // After editing the input, if selecting the same option as before, set the input value to label again
114
+ if (this.value === this.currValue) {
115
+ this.searchableSelectInputValue = this.getLabelFromValue(this.value);
116
+ }
117
+ this.inputValueToFilter = null;
118
+ this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
107
119
  }
108
120
  this.ariaActiveDescendant = event.detail.optionId;
109
121
  this.icOptionSelect.emit({ value: event.detail.value });
@@ -140,8 +152,10 @@ const Select = class {
140
152
  this.menu.options = this.filteredOptions;
141
153
  }
142
154
  else {
143
- this.noOptions = null;
144
- this.menu.options = this.options;
155
+ if (!this.hasTimedOut && !this.loading) {
156
+ this.noOptions = null;
157
+ this.menu.options = this.options;
158
+ }
145
159
  }
146
160
  if (event.detail !== 0 && this.isMenuEnabled()) {
147
161
  this.menu.handleClickOpen();
@@ -156,13 +170,15 @@ const Select = class {
156
170
  };
157
171
  this.handleClear = (event) => {
158
172
  event.stopPropagation();
173
+ this.hasTimedOut = false;
159
174
  this.noOptions = null;
160
175
  this.emitImmediateIcChange(null);
161
176
  this.icClear.emit();
162
177
  if (this.searchable) {
163
178
  this.searchableSelectElement.value = null;
164
179
  this.searchableSelectInputValue = null;
165
- this.menu.options = this.options;
180
+ this.filteredOptions = this.options;
181
+ this.hiddenInputValue = null;
166
182
  this.searchableSelectElement.focus();
167
183
  if (!this.isMenuEnabled()) {
168
184
  this.setMenuChange(false);
@@ -174,7 +190,11 @@ const Select = class {
174
190
  };
175
191
  this.handleCharacterKeyDown = (key) => {
176
192
  // 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) {
193
+ if (this.open &&
194
+ key === " " &&
195
+ this.pressedCharacters.length === 0 &&
196
+ !this.hasTimedOut &&
197
+ !this.loading) {
178
198
  this.setMenuChange(false);
179
199
  }
180
200
  if (key.length === 1 && !this.searchable) {
@@ -202,8 +222,10 @@ const Select = class {
202
222
  this.menu.options = this.filteredOptions;
203
223
  }
204
224
  else {
205
- this.noOptions = null;
206
- this.menu.options = this.options;
225
+ if (!this.hasTimedOut) {
226
+ this.noOptions = null;
227
+ this.menu.options = this.options;
228
+ }
207
229
  }
208
230
  }
209
231
  if (this.open && event.key === "Enter") {
@@ -212,6 +234,7 @@ const Select = class {
212
234
  else {
213
235
  if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
214
236
  if (!(event.key === " " && this.pressedCharacters.length > 0)) {
237
+ // Keyboard events get passed onto ic-menu
215
238
  this.menu.handleKeyboardOpen(event);
216
239
  }
217
240
  this.handleCharacterKeyDown(event.key);
@@ -221,7 +244,15 @@ const Select = class {
221
244
  this.handleClearButtonFocus = () => {
222
245
  this.clearButtonFocused = true;
223
246
  };
224
- this.handleClearButtonBlur = () => {
247
+ this.handleClearButtonBlur = (ev) => {
248
+ var _a;
249
+ const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
250
+ if (!(this.searchableSelectElement &&
251
+ ev.relatedTarget === this.searchableSelectElement) &&
252
+ !(retryButton && ev.relatedTarget === retryButton)) {
253
+ this.setMenuChange(false);
254
+ this.handleFocusIndicatorDisplay();
255
+ }
225
256
  this.clearButtonFocused = false;
226
257
  };
227
258
  this.handleFilter = () => {
@@ -234,7 +265,7 @@ const Select = class {
234
265
  });
235
266
  let menuOptionsFiltered;
236
267
  if (this.searchable) {
237
- menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
268
+ menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.inputValueToFilter, this.searchMatchPosition);
238
269
  }
239
270
  else {
240
271
  menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
@@ -276,15 +307,37 @@ const Select = class {
276
307
  this.filteredOptions = this.noOptions;
277
308
  }
278
309
  };
310
+ this.triggerLoading = () => {
311
+ this.hasTimedOut = false;
312
+ this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
313
+ if (this.filteredOptions !== this.noOptions && this.searchable)
314
+ this.filteredOptions = this.noOptions;
315
+ else if (!this.searchable && this.options !== this.noOptions)
316
+ this.options = this.noOptions;
317
+ if (this.timeout) {
318
+ this.timeoutTimer = window.setTimeout(() => {
319
+ this.loading = false;
320
+ this.hasTimedOut = true;
321
+ this.noOptions = [
322
+ { label: this.loadingErrorLabel, value: "", timedOut: true },
323
+ ];
324
+ this.filteredOptions = this.noOptions;
325
+ if (!this.searchable)
326
+ this.options = this.noOptions;
327
+ }, this.timeout);
328
+ }
329
+ };
330
+ this.getValueFromLabel = (label) => {
331
+ var _a;
332
+ const value = (_a = this.options.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
333
+ return value;
334
+ };
279
335
  this.handleSearchableSelectInput = (event) => {
280
336
  this.searchableSelectInputValue = event.target.value;
281
337
  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
- }
338
+ this.emitIcChange(this.searchableSelectInputValue);
339
+ this.hiddenInputValue = this.searchableSelectInputValue;
340
+ this.inputValueToFilter = this.searchableSelectInputValue;
288
341
  if (this.isMenuEnabled()) {
289
342
  this.setMenuChange(true);
290
343
  }
@@ -312,20 +365,43 @@ const Select = class {
312
365
  this.icFocus.emit();
313
366
  };
314
367
  this.onBlur = (event) => {
368
+ var _a;
369
+ const target = event.relatedTarget;
370
+ if (target !== null &&
371
+ target.tagName === "UL" &&
372
+ target.className.includes("menu")) {
373
+ return;
374
+ }
375
+ const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
315
376
  const isSearchableAndNoFocusedInternalElements = this.searchable &&
316
377
  event.relatedTarget !== this.menu &&
317
378
  !Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
318
- !(this.clearButton && event.relatedTarget === this.clearButton);
379
+ !(this.clearButton && event.relatedTarget === this.clearButton) &&
380
+ !(retryButton && event.relatedTarget === retryButton);
319
381
  if (isSearchableAndNoFocusedInternalElements) {
320
- this.setMenuChange(false);
382
+ if (!this.retryButtonClick) {
383
+ this.setMenuChange(false);
384
+ }
321
385
  this.handleFocusIndicatorDisplay();
322
386
  }
387
+ this.retryButtonClick = false;
323
388
  this.icBlur.emit();
324
389
  };
390
+ this.onTimeoutBlur = (ev) => {
391
+ if (ev.detail.ev.relatedTarget !==
392
+ this.searchableSelectElement &&
393
+ !this.blurredBecauseButtonPressed) {
394
+ this.setMenuChange(false);
395
+ this.handleFocusIndicatorDisplay();
396
+ this.icBlur.emit();
397
+ }
398
+ this.blurredBecauseButtonPressed = false;
399
+ };
325
400
  this.handleFormReset = () => {
326
401
  this.value = this.initialValue;
327
402
  if (this.searchable) {
328
403
  this.searchableSelectInputValue = this.getDefaultValue(this.value);
404
+ this.hiddenInputValue = this.value;
329
405
  }
330
406
  };
331
407
  this.label = undefined;
@@ -351,6 +427,10 @@ const Select = class {
351
427
  this.charactersUntilSuggestions = 0;
352
428
  this.emptyOptionListText = "No results found";
353
429
  this.disableFilter = false;
430
+ this.timeout = undefined;
431
+ this.loadingLabel = "Loading...";
432
+ this.loadingErrorLabel = "Loading Error";
433
+ this.loading = false;
354
434
  this.open = false;
355
435
  this.clearButtonFocused = false;
356
436
  this.searchableSelectInputValue = null;
@@ -362,32 +442,41 @@ const Select = class {
362
442
  this.currValue = this.value;
363
443
  this.debounceIcChange = undefined;
364
444
  this.pressedCharacters = "";
445
+ this.hiddenInputValue = undefined;
446
+ this.inputValueToFilter = this.value;
447
+ }
448
+ loadingHandler(newValue) {
449
+ newValue && this.triggerLoading();
365
450
  }
366
451
  watchOptionsHandler() {
367
- if (this.isExternalFiltering()) {
368
- if (this.options.length > 0) {
452
+ if (!this.hasTimedOut) {
453
+ this.loading = false;
454
+ clearTimeout(this.timeoutTimer);
455
+ if (this.isExternalFiltering()) {
456
+ if (this.options.length > 0) {
457
+ this.setOptionsValuesFromLabels();
458
+ this.noOptions = null;
459
+ this.filteredOptions = this.options;
460
+ }
461
+ else if (this.isMenuEnabled()) {
462
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
463
+ this.filteredOptions = this.noOptions;
464
+ }
465
+ this.updateSearchableSelectResultAriaLive();
466
+ this.setDefaultValue();
467
+ }
468
+ else {
369
469
  this.setOptionsValuesFromLabels();
370
- this.noOptions = null;
371
470
  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);
471
+ if (this.initialOptionsEmpty) {
472
+ this.setDefaultValue();
473
+ this.initialOptionsEmpty = false;
379
474
  }
380
475
  }
381
- this.updateSearchableSelectResultAriaLive();
382
- this.setDefaultValue();
383
476
  }
384
477
  else {
385
- this.setOptionsValuesFromLabels();
386
- this.filteredOptions = this.options;
387
- if (this.initialOptionsEmpty) {
388
- this.setDefaultValue();
389
- this.initialOptionsEmpty = false;
390
- }
478
+ if (!this.searchable)
479
+ this.options = this.noOptions;
391
480
  }
392
481
  }
393
482
  debounceChangedHandler(newValue) {
@@ -397,6 +486,10 @@ const Select = class {
397
486
  if (this.value !== this.currValue) {
398
487
  this.currValue = this.value;
399
488
  }
489
+ if (this.searchable && !!this.currValue) {
490
+ this.searchableSelectInputValue =
491
+ this.getLabelFromValue(this.currValue) || this.currValue;
492
+ }
400
493
  }
401
494
  /**
402
495
  * Sets focus on the input box.
@@ -438,11 +531,10 @@ const Select = class {
438
531
  ]);
439
532
  this.setOptionsValuesFromLabels();
440
533
  addFormResetListener(this.host, this.handleFormReset);
441
- this.initialRender = true;
442
534
  if (!this.options.length) {
443
535
  this.initialOptionsEmpty = true;
444
536
  }
445
- else if (!this.disableFilter) {
537
+ else {
446
538
  this.setDefaultValue();
447
539
  }
448
540
  }
@@ -451,18 +543,24 @@ const Select = class {
451
543
  this.setTextColor();
452
544
  }
453
545
  }
454
- componentWillUpdate() {
455
- this.initialRender = false;
456
- }
457
546
  componentDidLoad() {
458
547
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
548
+ if (this.loading)
549
+ this.triggerLoading();
550
+ this.hiddenInputValue = this.searchable && this.currValue;
459
551
  }
460
552
  disconnectedCallback() {
461
553
  removeFormResetListener(this.host, this.handleFormReset);
462
554
  }
463
555
  render() {
556
+ var _a, _b;
464
557
  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);
558
+ const isOrHasLoaded = ((_a = (searchable ? this.filteredOptions : options)[0]) === null || _a === void 0 ? void 0 : _a.label) ===
559
+ this.loadingLabel ||
560
+ ((_b = (searchable ? this.filteredOptions : options)[0]) === null || _b === void 0 ? void 0 : _b.label) ===
561
+ this.loadingErrorLabel;
562
+ const inputValue = this.searchable ? this.hiddenInputValue : currValue;
563
+ renderHiddenInput(true, this.host, name, inputValue, disabled);
466
564
  const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
467
565
  const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
468
566
  return (h(Host, { class: {
@@ -470,14 +568,14 @@ const Select = class {
470
568
  searchable: searchable,
471
569
  small: small,
472
570
  "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) => {
571
+ }, onBlur: this.onBlur }, 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) => {
474
572
  if (option.children) {
475
573
  return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
476
574
  }
477
575
  else {
478
576
  return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
479
577
  }
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 &&
578
+ }))) : searchable ? (h("div", { class: "searchable-select-container" }, h("input", { class: "select-input", role: "combobox", autocomplete: "off", "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 &&
481
579
  (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
482
580
  ? "Clear input"
483
581
  : "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
@@ -496,14 +594,15 @@ const Select = class {
496
594
  }, 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
497
595
  ? IcThemeForegroundEnum.Light
498
596
  : IcThemeForegroundEnum.Dark }))))), !isMobileOrTablet() && (h("ic-menu", { class: {
499
- "no-results": this.noOptions !== null && this.searchable,
597
+ "no-results": this.noOptions !== null || isOrHasLoaded,
500
598
  }, ref: (el) => (this.menu = el), inputEl: searchable
501
599
  ? this.searchableSelectElement
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 })))));
600
+ : 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, onRetryButtonClicked: this.handleRetry, parentEl: this.host, onTimeoutBlur: this.onTimeoutBlur, activationType: this.searchable ? "manual" : "automatic" })), hasValidationStatus(this.validationStatus, this.disabled) && (h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
503
601
  }
504
602
  static get delegatesFocus() { return true; }
505
603
  get host() { return getElement(this); }
506
604
  static get watchers() { return {
605
+ "loading": ["loadingHandler"],
507
606
  "options": ["watchOptionsHandler"],
508
607
  "debounce": ["debounceChangedHandler"],
509
608
  "value": ["valueChangedHandler"]