@ukic/canary-web-components 2.0.0-canary.3 → 2.0.0-canary.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1346) hide show
  1. package/README.md +6 -0
  2. package/dist/cjs/{OpenInNew-d5d30e77.js → OpenInNew-7bac24f7.js} +1 -1
  3. package/dist/cjs/OpenInNew-7bac24f7.js.map +1 -0
  4. package/dist/cjs/{check-icon-7225d79b.js → check-icon-dd563898.js} +1 -1
  5. package/dist/cjs/check-icon-dd563898.js.map +1 -0
  6. package/dist/cjs/{chevron-icon-3bf07531.js → chevron-icon-3dedd973.js} +1 -1
  7. package/dist/cjs/chevron-icon-3dedd973.js.map +1 -0
  8. package/dist/cjs/{close-icon-7f6ef8e4.js → close-icon-d62b369d.js} +1 -1
  9. package/dist/cjs/close-icon-d62b369d.js.map +1 -0
  10. package/dist/cjs/core.cjs.js +3 -3
  11. package/dist/cjs/core.cjs.js.map +1 -1
  12. package/dist/cjs/helpers-bbe55215.js +554 -0
  13. package/dist/cjs/helpers-bbe55215.js.map +1 -0
  14. package/dist/cjs/ic-accordion-group.cjs.entry.js +94 -0
  15. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -0
  16. package/dist/cjs/ic-accordion.cjs.entry.js +119 -0
  17. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -0
  18. package/dist/cjs/ic-alert.cjs.entry.js +59 -59
  19. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-back-to-top.cjs.entry.js +121 -121
  21. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-badge.cjs.entry.js +160 -0
  23. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +172 -164
  25. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-breadcrumb.cjs.entry.js +56 -54
  27. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-button_3.cjs.entry.js +634 -715
  29. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-card.cjs.entry.js +107 -107
  31. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-checkbox-group.cjs.entry.js +61 -54
  33. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-checkbox.cjs.entry.js +95 -98
  35. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-chip.cjs.entry.js +68 -61
  37. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-classification-banner.cjs.entry.js +23 -23
  39. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-data-entity.cjs.entry.js +18 -17
  41. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-data-row.cjs.entry.js +75 -74
  43. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-data-table.cjs.entry.js +240 -240
  45. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-dialog.cjs.entry.js +347 -267
  47. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-divider.cjs.entry.js +16 -16
  49. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-empty-state.cjs.entry.js +24 -23
  51. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-footer-link-group.cjs.entry.js +55 -55
  53. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-footer-link.cjs.entry.js +51 -51
  55. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-footer.cjs.entry.js +78 -78
  57. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-hero.cjs.entry.js +62 -59
  59. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +152 -151
  61. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +677 -657
  63. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-input-label_2.cjs.entry.js +63 -62
  65. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-link.cjs.entry.js +56 -59
  67. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-menu-group.cjs.entry.js +12 -10
  69. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-menu-item.cjs.entry.js +102 -106
  71. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-navigation-button.cjs.entry.js +79 -76
  73. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-navigation-group.cjs.entry.js +285 -261
  75. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-navigation-item.cjs.entry.js +155 -134
  77. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-navigation-menu.cjs.entry.js +106 -103
  79. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-page-header.cjs.entry.js +96 -89
  81. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-pagination-bar.cjs.entry.js +266 -251
  83. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-pagination_4.cjs.entry.js +1077 -1074
  85. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-popover-menu.cjs.entry.js +232 -261
  87. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-radio-group.cjs.entry.js +160 -113
  89. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-radio-option.cjs.entry.js +128 -122
  91. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-search-bar.cjs.entry.js +475 -470
  93. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-section-container.cjs.entry.js +15 -15
  95. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-side-navigation.cjs.entry.js +428 -406
  97. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-skeleton.cjs.entry.js +43 -42
  99. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-status-tag.cjs.entry.js +31 -23
  101. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-step.cjs.entry.js +122 -120
  103. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-stepper.cjs.entry.js +200 -197
  105. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-switch.cjs.entry.js +78 -71
  107. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tab-context.cjs.entry.js +252 -252
  109. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-tab-group.cjs.entry.js +24 -25
  111. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-tab-panel.cjs.entry.js +31 -30
  113. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-tab.cjs.entry.js +86 -86
  115. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-theme.cjs.entry.js +51 -51
  117. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-toast-region.cjs.entry.js +47 -34
  119. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ic-toast.cjs.entry.js +146 -145
  121. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-top-navigation.cjs.entry.js +198 -195
  123. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ic-typography.cjs.entry.js +119 -111
  125. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  126. package/dist/{esm/index-5e4f5b3b.js → cjs/index-4cf27b16.js} +642 -360
  127. package/dist/cjs/index-4cf27b16.js.map +1 -0
  128. package/dist/cjs/loader.cjs.js +2 -2
  129. package/dist/cjs/{popper-31badbf8.js → popper-16968c2e.js} +1 -1
  130. package/dist/cjs/popper-16968c2e.js.map +1 -0
  131. package/dist/cjs/types-17dba796.js +16 -0
  132. package/dist/cjs/types-17dba796.js.map +1 -0
  133. package/dist/collection/collection-manifest.json +72 -63
  134. package/dist/collection/components/ic-data-table/ic-data-table.js +523 -523
  135. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  136. package/dist/collection/components/ic-data-table/story-data.js +511 -511
  137. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  138. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +6 -5
  139. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -1
  140. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +412 -412
  141. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  142. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +532 -532
  143. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  144. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +6 -5
  145. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -1
  146. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +378 -378
  147. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
  148. package/dist/collection/testspec.setup.js +35 -34
  149. package/dist/collection/testspec.setup.js.map +1 -1
  150. package/dist/collection/utils/helpers.js +12 -445
  151. package/dist/collection/utils/helpers.js.map +1 -1
  152. package/dist/collection/utils/testa11y.helpers.js +2 -2
  153. package/dist/collection/utils/testa11y.helpers.js.map +1 -1
  154. package/dist/components/helpers.js +307 -370
  155. package/dist/components/helpers.js.map +1 -1
  156. package/dist/components/ic-accordion-group.js +140 -0
  157. package/dist/components/ic-accordion-group.js.map +1 -0
  158. package/dist/components/ic-accordion.js +148 -0
  159. package/dist/components/ic-accordion.js.map +1 -0
  160. package/dist/components/ic-alert2.js +98 -98
  161. package/dist/components/ic-alert2.js.map +1 -1
  162. package/dist/components/ic-back-to-top.js +145 -145
  163. package/dist/components/ic-back-to-top.js.map +1 -1
  164. package/dist/components/ic-badge.js +192 -0
  165. package/dist/components/ic-badge.js.map +1 -0
  166. package/dist/components/ic-breadcrumb-group.js +200 -191
  167. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  168. package/dist/components/ic-breadcrumb2.js +79 -76
  169. package/dist/components/ic-breadcrumb2.js.map +1 -1
  170. package/dist/components/ic-button2.js +336 -288
  171. package/dist/components/ic-button2.js.map +1 -1
  172. package/dist/components/ic-card.js +156 -156
  173. package/dist/components/ic-card.js.map +1 -1
  174. package/dist/components/ic-checkbox-group.js +99 -92
  175. package/dist/components/ic-checkbox-group.js.map +1 -1
  176. package/dist/components/ic-checkbox.js +132 -129
  177. package/dist/components/ic-checkbox.js.map +1 -1
  178. package/dist/components/ic-chip.js +100 -91
  179. package/dist/components/ic-chip.js.map +1 -1
  180. package/dist/components/ic-classification-banner.js +47 -47
  181. package/dist/components/ic-classification-banner.js.map +1 -1
  182. package/dist/components/ic-data-entity.js +40 -38
  183. package/dist/components/ic-data-entity.js.map +1 -1
  184. package/dist/components/ic-data-row.js +99 -97
  185. package/dist/components/ic-data-row.js.map +1 -1
  186. package/dist/components/ic-data-table.d.ts +2 -2
  187. package/dist/components/ic-data-table.js +350 -350
  188. package/dist/components/ic-data-table.js.map +1 -1
  189. package/dist/components/ic-dialog.js +407 -323
  190. package/dist/components/ic-dialog.js.map +1 -1
  191. package/dist/components/ic-divider2.js +29 -29
  192. package/dist/components/ic-divider2.js.map +1 -1
  193. package/dist/components/ic-empty-state.js +48 -47
  194. package/dist/components/ic-empty-state.js.map +1 -1
  195. package/dist/components/ic-footer-link-group.js +83 -83
  196. package/dist/components/ic-footer-link-group.js.map +1 -1
  197. package/dist/components/ic-footer-link.js +72 -72
  198. package/dist/components/ic-footer-link.js.map +1 -1
  199. package/dist/components/ic-footer.js +109 -109
  200. package/dist/components/ic-footer.js.map +1 -1
  201. package/dist/components/ic-hero.js +99 -95
  202. package/dist/components/ic-hero.js.map +1 -1
  203. package/dist/components/ic-horizontal-scroll2.js +191 -189
  204. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  205. package/dist/components/ic-input-component-container2.js +63 -59
  206. package/dist/components/ic-input-component-container2.js.map +1 -1
  207. package/dist/components/ic-input-container2.js +28 -28
  208. package/dist/components/ic-input-container2.js.map +1 -1
  209. package/dist/components/ic-input-label2.js +63 -61
  210. package/dist/components/ic-input-label2.js.map +1 -1
  211. package/dist/components/ic-input-validation2.js +51 -51
  212. package/dist/components/ic-input-validation2.js.map +1 -1
  213. package/dist/components/ic-link2.js +76 -79
  214. package/dist/components/ic-link2.js.map +1 -1
  215. package/dist/components/ic-loading-indicator2.js +212 -210
  216. package/dist/components/ic-loading-indicator2.js.map +1 -1
  217. package/dist/components/ic-menu-group.js +31 -30
  218. package/dist/components/ic-menu-group.js.map +1 -1
  219. package/dist/components/ic-menu-item2.js +145 -149
  220. package/dist/components/ic-menu-item2.js.map +1 -1
  221. package/dist/components/ic-menu2.js +686 -664
  222. package/dist/components/ic-menu2.js.map +1 -1
  223. package/dist/components/ic-navigation-button.js +122 -119
  224. package/dist/components/ic-navigation-button.js.map +1 -1
  225. package/dist/components/ic-navigation-group.js +312 -288
  226. package/dist/components/ic-navigation-group.js.map +1 -1
  227. package/dist/components/ic-navigation-item.js +196 -175
  228. package/dist/components/ic-navigation-item.js.map +1 -1
  229. package/dist/components/ic-navigation-menu2.js +141 -138
  230. package/dist/components/ic-navigation-menu2.js.map +1 -1
  231. package/dist/components/ic-page-header.js +151 -143
  232. package/dist/components/ic-page-header.js.map +1 -1
  233. package/dist/components/ic-pagination-bar.d.ts +2 -2
  234. package/dist/components/ic-pagination-bar2.js +364 -348
  235. package/dist/components/ic-pagination-bar2.js.map +1 -1
  236. package/dist/components/ic-pagination-item2.js +67 -67
  237. package/dist/components/ic-pagination-item2.js.map +1 -1
  238. package/dist/components/ic-pagination2.js +253 -252
  239. package/dist/components/ic-pagination2.js.map +1 -1
  240. package/dist/components/ic-popover-menu.js +282 -311
  241. package/dist/components/ic-popover-menu.js.map +1 -1
  242. package/dist/components/ic-radio-group.js +205 -153
  243. package/dist/components/ic-radio-group.js.map +1 -1
  244. package/dist/components/ic-radio-option.js +164 -152
  245. package/dist/components/ic-radio-option.js.map +1 -1
  246. package/dist/components/ic-search-bar.js +582 -576
  247. package/dist/components/ic-search-bar.js.map +1 -1
  248. package/dist/components/ic-section-container2.js +31 -31
  249. package/dist/components/ic-section-container2.js.map +1 -1
  250. package/dist/components/ic-select2.js +753 -734
  251. package/dist/components/ic-select2.js.map +1 -1
  252. package/dist/components/ic-side-navigation.js +482 -459
  253. package/dist/components/ic-side-navigation.js.map +1 -1
  254. package/dist/components/ic-skeleton.js +64 -62
  255. package/dist/components/ic-skeleton.js.map +1 -1
  256. package/dist/components/ic-status-tag.js +55 -45
  257. package/dist/components/ic-status-tag.js.map +1 -1
  258. package/dist/components/ic-step.js +158 -157
  259. package/dist/components/ic-step.js.map +1 -1
  260. package/dist/components/ic-stepper.js +224 -221
  261. package/dist/components/ic-stepper.js.map +1 -1
  262. package/dist/components/ic-switch.js +116 -106
  263. package/dist/components/ic-switch.js.map +1 -1
  264. package/dist/components/ic-tab-context.js +271 -271
  265. package/dist/components/ic-tab-context.js.map +1 -1
  266. package/dist/components/ic-tab-group.js +65 -66
  267. package/dist/components/ic-tab-group.js.map +1 -1
  268. package/dist/components/ic-tab-panel.js +49 -48
  269. package/dist/components/ic-tab-panel.js.map +1 -1
  270. package/dist/components/ic-tab.js +113 -113
  271. package/dist/components/ic-tab.js.map +1 -1
  272. package/dist/components/ic-text-field2.js +293 -301
  273. package/dist/components/ic-text-field2.js.map +1 -1
  274. package/dist/components/ic-theme.js +66 -66
  275. package/dist/components/ic-theme.js.map +1 -1
  276. package/dist/components/ic-toast-region.js +63 -47
  277. package/dist/components/ic-toast-region.js.map +1 -1
  278. package/dist/components/ic-toast.js +188 -187
  279. package/dist/components/ic-toast.js.map +1 -1
  280. package/dist/components/ic-tooltip2.js +212 -336
  281. package/dist/components/ic-tooltip2.js.map +1 -1
  282. package/dist/components/ic-top-navigation.js +264 -261
  283. package/dist/components/ic-top-navigation.js.map +1 -1
  284. package/dist/components/ic-typography2.js +143 -135
  285. package/dist/components/ic-typography2.js.map +1 -1
  286. package/dist/components/types.js +6 -6
  287. package/dist/components/types.js.map +1 -1
  288. package/dist/core/core.esm.js +1 -1
  289. package/dist/core/core.esm.js.map +1 -1
  290. package/dist/core/p-0083465b.entry.js +2 -0
  291. package/dist/core/p-0083465b.entry.js.map +1 -0
  292. package/dist/core/{p-ba3f9d1b.entry.js → p-03487f12.entry.js} +2 -2
  293. package/dist/core/p-03487f12.entry.js.map +1 -0
  294. package/dist/core/p-03f8fa1a.entry.js +2 -0
  295. package/dist/core/p-03f8fa1a.entry.js.map +1 -0
  296. package/dist/core/{p-c2e091d7.js → p-0aa9ce8b.js} +1 -1
  297. package/dist/core/{p-90608dc5.entry.js → p-0c18b6a0.entry.js} +2 -2
  298. package/dist/core/p-0c18b6a0.entry.js.map +1 -0
  299. package/dist/core/{p-3b185c32.js → p-170ddfc2.js} +1 -1
  300. package/dist/core/p-1bc034aa.entry.js +2 -0
  301. package/dist/core/p-1bc034aa.entry.js.map +1 -0
  302. package/dist/core/{p-fd8780e2.entry.js → p-20a76d1d.entry.js} +2 -2
  303. package/dist/core/p-20a76d1d.entry.js.map +1 -0
  304. package/dist/core/{p-4259972b.entry.js → p-24945ee5.entry.js} +2 -2
  305. package/dist/core/p-24945ee5.entry.js.map +1 -0
  306. package/dist/core/p-2dc35696.entry.js +2 -0
  307. package/dist/core/p-2dc35696.entry.js.map +1 -0
  308. package/dist/core/p-2e9e8e7c.entry.js +2 -0
  309. package/dist/core/p-2e9e8e7c.entry.js.map +1 -0
  310. package/dist/core/{p-6622567a.entry.js → p-356b8a4c.entry.js} +2 -2
  311. package/dist/core/p-356b8a4c.entry.js.map +1 -0
  312. package/dist/core/{p-e565964f.entry.js → p-39e20b87.entry.js} +2 -2
  313. package/dist/core/p-39e20b87.entry.js.map +1 -0
  314. package/dist/core/{p-cda2ecbb.entry.js → p-3d618bc2.entry.js} +2 -2
  315. package/dist/core/p-3d618bc2.entry.js.map +1 -0
  316. package/dist/core/{p-2d1ba7d5.entry.js → p-3ee25a6d.entry.js} +2 -2
  317. package/dist/core/p-3ee25a6d.entry.js.map +1 -0
  318. package/dist/core/p-41aa0ed3.entry.js +2 -0
  319. package/dist/core/p-41aa0ed3.entry.js.map +1 -0
  320. package/dist/core/p-4314aa0e.entry.js +2 -0
  321. package/dist/core/p-4314aa0e.entry.js.map +1 -0
  322. package/dist/core/{p-8d8ba4d7.entry.js → p-4409f656.entry.js} +2 -2
  323. package/dist/core/p-4409f656.entry.js.map +1 -0
  324. package/dist/core/p-47abbd06.entry.js +2 -0
  325. package/dist/core/p-47abbd06.entry.js.map +1 -0
  326. package/dist/core/{p-9c792bb9.entry.js → p-485823b6.entry.js} +2 -2
  327. package/dist/core/p-485823b6.entry.js.map +1 -0
  328. package/dist/core/p-4ee59448.entry.js +2 -0
  329. package/dist/core/p-4ee59448.entry.js.map +1 -0
  330. package/dist/core/p-5157cfab.entry.js +2 -0
  331. package/dist/core/p-5157cfab.entry.js.map +1 -0
  332. package/dist/core/p-53083575.entry.js +2 -0
  333. package/dist/core/p-53083575.entry.js.map +1 -0
  334. package/dist/core/p-55d5541f.entry.js +2 -0
  335. package/dist/core/p-55d5541f.entry.js.map +1 -0
  336. package/dist/core/p-5bb32ee6.entry.js +2 -0
  337. package/dist/core/p-5bb32ee6.entry.js.map +1 -0
  338. package/dist/core/{p-932a1a61.entry.js → p-67eea079.entry.js} +2 -2
  339. package/dist/core/p-67eea079.entry.js.map +1 -0
  340. package/dist/core/p-6bd0e984.entry.js +2 -0
  341. package/dist/core/p-6bd0e984.entry.js.map +1 -0
  342. package/dist/core/p-75bf6162.entry.js +2 -0
  343. package/dist/core/p-75bf6162.entry.js.map +1 -0
  344. package/dist/core/p-76959313.entry.js +2 -0
  345. package/dist/core/p-76959313.entry.js.map +1 -0
  346. package/dist/core/p-7de813a3.entry.js +2 -0
  347. package/dist/core/p-7de813a3.entry.js.map +1 -0
  348. package/dist/core/p-7eae5f70.entry.js +2 -0
  349. package/dist/core/p-7eae5f70.entry.js.map +1 -0
  350. package/dist/core/p-8455d1bb.js +3 -0
  351. package/dist/core/p-8455d1bb.js.map +1 -0
  352. package/dist/core/{p-dcfc7f79.entry.js → p-85508347.entry.js} +2 -2
  353. package/dist/core/p-85508347.entry.js.map +1 -0
  354. package/dist/core/p-8da152c4.entry.js +2 -0
  355. package/dist/core/p-8da152c4.entry.js.map +1 -0
  356. package/dist/core/p-8fd4ca0a.js +2 -0
  357. package/dist/core/p-8fd4ca0a.js.map +1 -0
  358. package/dist/core/{p-ed35b2d0.entry.js → p-939baa93.entry.js} +2 -2
  359. package/dist/core/p-939baa93.entry.js.map +1 -0
  360. package/dist/core/p-9777ebb1.entry.js +2 -0
  361. package/dist/core/p-9777ebb1.entry.js.map +1 -0
  362. package/dist/core/p-9c27b73e.entry.js +2 -0
  363. package/dist/core/p-9c27b73e.entry.js.map +1 -0
  364. package/dist/core/p-9fa6844f.entry.js +2 -0
  365. package/dist/core/p-9fa6844f.entry.js.map +1 -0
  366. package/dist/core/{p-151cef1f.entry.js → p-9fdd7d73.entry.js} +2 -2
  367. package/dist/core/p-9fdd7d73.entry.js.map +1 -0
  368. package/dist/core/p-a3ab9f4c.entry.js +2 -0
  369. package/dist/core/p-a3ab9f4c.entry.js.map +1 -0
  370. package/dist/core/p-a51e5c7c.entry.js +2 -0
  371. package/dist/core/p-a51e5c7c.entry.js.map +1 -0
  372. package/dist/core/p-a7481232.entry.js +2 -0
  373. package/dist/core/p-a7481232.entry.js.map +1 -0
  374. package/dist/core/{p-68a5aaff.js → p-aae38bee.js} +1 -1
  375. package/dist/core/p-aae38bee.js.map +1 -0
  376. package/dist/core/p-ab9f8a3f.entry.js +2 -0
  377. package/dist/core/p-ab9f8a3f.entry.js.map +1 -0
  378. package/dist/core/p-b2aa3d7c.entry.js +2 -0
  379. package/dist/core/p-b2aa3d7c.entry.js.map +1 -0
  380. package/dist/core/p-b5cf6d65.entry.js +2 -0
  381. package/dist/core/p-b5cf6d65.entry.js.map +1 -0
  382. package/dist/core/p-b97dc365.entry.js +2 -0
  383. package/dist/core/p-b97dc365.entry.js.map +1 -0
  384. package/dist/core/{p-517968cb.entry.js → p-baf81f30.entry.js} +2 -2
  385. package/dist/core/p-baf81f30.entry.js.map +1 -0
  386. package/dist/core/p-bc187bb5.entry.js +2 -0
  387. package/dist/core/p-bc187bb5.entry.js.map +1 -0
  388. package/dist/core/p-bd9cecce.entry.js +2 -0
  389. package/dist/core/p-bd9cecce.entry.js.map +1 -0
  390. package/dist/core/{p-7799016a.entry.js → p-be980606.entry.js} +2 -2
  391. package/dist/core/p-be980606.entry.js.map +1 -0
  392. package/dist/core/p-c1256810.entry.js +2 -0
  393. package/dist/core/p-c1256810.entry.js.map +1 -0
  394. package/dist/core/{p-5536d26c.entry.js → p-c2b5e7b1.entry.js} +2 -2
  395. package/dist/core/p-c2b5e7b1.entry.js.map +1 -0
  396. package/dist/core/{p-3c545222.entry.js → p-d76cfa5a.entry.js} +2 -2
  397. package/dist/core/p-d76cfa5a.entry.js.map +1 -0
  398. package/dist/core/p-d77960f6.entry.js +2 -0
  399. package/dist/core/p-d77960f6.entry.js.map +1 -0
  400. package/dist/core/{p-f074ef5b.js → p-e081702e.js} +1 -1
  401. package/dist/core/{p-b4d2d905.entry.js → p-e189f1d0.entry.js} +2 -2
  402. package/dist/core/p-e189f1d0.entry.js.map +1 -0
  403. package/dist/core/p-e9e145aa.entry.js +2 -0
  404. package/dist/core/p-e9e145aa.entry.js.map +1 -0
  405. package/dist/core/{p-426ec638.js → p-ea1ea1b9.js} +1 -1
  406. package/dist/core/p-f0e9a83f.entry.js +2 -0
  407. package/dist/core/p-f0e9a83f.entry.js.map +1 -0
  408. package/dist/core/p-f23d2102.entry.js +2 -0
  409. package/dist/core/p-f23d2102.entry.js.map +1 -0
  410. package/dist/core/p-f87e8411.entry.js +2 -0
  411. package/dist/core/p-f87e8411.entry.js.map +1 -0
  412. package/dist/core/{p-613aa265.js → p-fd186591.js} +1 -1
  413. package/dist/core/p-fd186591.js.map +1 -0
  414. package/dist/esm/{OpenInNew-cdeed5ce.js → OpenInNew-52210a9d.js} +1 -1
  415. package/dist/esm/OpenInNew-52210a9d.js.map +1 -0
  416. package/dist/esm/{check-icon-4a9f8371.js → check-icon-f2346e76.js} +1 -1
  417. package/dist/esm/check-icon-f2346e76.js.map +1 -0
  418. package/dist/esm/{chevron-icon-589e3b46.js → chevron-icon-875b7af2.js} +1 -1
  419. package/dist/esm/chevron-icon-875b7af2.js.map +1 -0
  420. package/dist/esm/{close-icon-539ec8d1.js → close-icon-c9e09475.js} +1 -1
  421. package/dist/esm/close-icon-c9e09475.js.map +1 -0
  422. package/dist/esm/core.js +4 -4
  423. package/dist/esm/core.js.map +1 -1
  424. package/dist/esm/helpers-268c2b7f.js +506 -0
  425. package/dist/esm/helpers-268c2b7f.js.map +1 -0
  426. package/dist/esm/ic-accordion-group.entry.js +90 -0
  427. package/dist/esm/ic-accordion-group.entry.js.map +1 -0
  428. package/dist/esm/ic-accordion.entry.js +115 -0
  429. package/dist/esm/ic-accordion.entry.js.map +1 -0
  430. package/dist/esm/ic-alert.entry.js +59 -59
  431. package/dist/esm/ic-alert.entry.js.map +1 -1
  432. package/dist/esm/ic-back-to-top.entry.js +121 -121
  433. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  434. package/dist/esm/ic-badge.entry.js +156 -0
  435. package/dist/esm/ic-badge.entry.js.map +1 -0
  436. package/dist/esm/ic-breadcrumb-group.entry.js +172 -164
  437. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  438. package/dist/esm/ic-breadcrumb.entry.js +56 -54
  439. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  440. package/dist/esm/ic-button_3.entry.js +634 -715
  441. package/dist/esm/ic-button_3.entry.js.map +1 -1
  442. package/dist/esm/ic-card.entry.js +107 -107
  443. package/dist/esm/ic-card.entry.js.map +1 -1
  444. package/dist/esm/ic-checkbox-group.entry.js +61 -54
  445. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  446. package/dist/esm/ic-checkbox.entry.js +95 -98
  447. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  448. package/dist/esm/ic-chip.entry.js +68 -61
  449. package/dist/esm/ic-chip.entry.js.map +1 -1
  450. package/dist/esm/ic-classification-banner.entry.js +23 -23
  451. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  452. package/dist/esm/ic-data-entity.entry.js +18 -17
  453. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  454. package/dist/esm/ic-data-row.entry.js +75 -74
  455. package/dist/esm/ic-data-row.entry.js.map +1 -1
  456. package/dist/esm/ic-data-table.entry.js +240 -240
  457. package/dist/esm/ic-data-table.entry.js.map +1 -1
  458. package/dist/esm/ic-dialog.entry.js +347 -267
  459. package/dist/esm/ic-dialog.entry.js.map +1 -1
  460. package/dist/esm/ic-divider.entry.js +16 -16
  461. package/dist/esm/ic-divider.entry.js.map +1 -1
  462. package/dist/esm/ic-empty-state.entry.js +24 -23
  463. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  464. package/dist/esm/ic-footer-link-group.entry.js +55 -55
  465. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  466. package/dist/esm/ic-footer-link.entry.js +51 -51
  467. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  468. package/dist/esm/ic-footer.entry.js +78 -78
  469. package/dist/esm/ic-footer.entry.js.map +1 -1
  470. package/dist/esm/ic-hero.entry.js +62 -59
  471. package/dist/esm/ic-hero.entry.js.map +1 -1
  472. package/dist/esm/ic-horizontal-scroll.entry.js +152 -151
  473. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  474. package/dist/esm/ic-input-component-container_3.entry.js +677 -657
  475. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  476. package/dist/esm/ic-input-label_2.entry.js +63 -62
  477. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  478. package/dist/esm/ic-link.entry.js +56 -59
  479. package/dist/esm/ic-link.entry.js.map +1 -1
  480. package/dist/esm/ic-menu-group.entry.js +12 -10
  481. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  482. package/dist/esm/ic-menu-item.entry.js +102 -106
  483. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  484. package/dist/esm/ic-navigation-button.entry.js +79 -76
  485. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  486. package/dist/esm/ic-navigation-group.entry.js +285 -261
  487. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  488. package/dist/esm/ic-navigation-item.entry.js +155 -134
  489. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  490. package/dist/esm/ic-navigation-menu.entry.js +106 -103
  491. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  492. package/dist/esm/ic-page-header.entry.js +96 -89
  493. package/dist/esm/ic-page-header.entry.js.map +1 -1
  494. package/dist/esm/ic-pagination-bar.entry.js +266 -251
  495. package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
  496. package/dist/esm/ic-pagination_4.entry.js +1077 -1074
  497. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  498. package/dist/esm/ic-popover-menu.entry.js +232 -261
  499. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  500. package/dist/esm/ic-radio-group.entry.js +160 -113
  501. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  502. package/dist/esm/ic-radio-option.entry.js +128 -122
  503. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  504. package/dist/esm/ic-search-bar.entry.js +475 -470
  505. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  506. package/dist/esm/ic-section-container.entry.js +15 -15
  507. package/dist/esm/ic-section-container.entry.js.map +1 -1
  508. package/dist/esm/ic-side-navigation.entry.js +428 -406
  509. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  510. package/dist/esm/ic-skeleton.entry.js +43 -42
  511. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  512. package/dist/esm/ic-status-tag.entry.js +31 -23
  513. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  514. package/dist/esm/ic-step.entry.js +122 -120
  515. package/dist/esm/ic-step.entry.js.map +1 -1
  516. package/dist/esm/ic-stepper.entry.js +200 -197
  517. package/dist/esm/ic-stepper.entry.js.map +1 -1
  518. package/dist/esm/ic-switch.entry.js +78 -71
  519. package/dist/esm/ic-switch.entry.js.map +1 -1
  520. package/dist/esm/ic-tab-context.entry.js +252 -252
  521. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  522. package/dist/esm/ic-tab-group.entry.js +24 -25
  523. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  524. package/dist/esm/ic-tab-panel.entry.js +31 -30
  525. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  526. package/dist/esm/ic-tab.entry.js +86 -86
  527. package/dist/esm/ic-tab.entry.js.map +1 -1
  528. package/dist/esm/ic-theme.entry.js +51 -51
  529. package/dist/esm/ic-theme.entry.js.map +1 -1
  530. package/dist/esm/ic-toast-region.entry.js +47 -34
  531. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  532. package/dist/esm/ic-toast.entry.js +146 -145
  533. package/dist/esm/ic-toast.entry.js.map +1 -1
  534. package/dist/esm/ic-top-navigation.entry.js +198 -195
  535. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  536. package/dist/esm/ic-typography.entry.js +119 -111
  537. package/dist/esm/ic-typography.entry.js.map +1 -1
  538. package/dist/{cjs/index-990b968b.js → esm/index-93509377.js} +611 -390
  539. package/dist/esm/index-93509377.js.map +1 -0
  540. package/dist/esm/loader.js +3 -3
  541. package/dist/esm/{popper-0fbeff6d.js → popper-b8cc3f16.js} +1 -1
  542. package/dist/esm/popper-b8cc3f16.js.map +1 -0
  543. package/dist/esm/types-f605c21c.js +16 -0
  544. package/dist/esm/types-f605c21c.js.map +1 -0
  545. package/dist/node.d.ts +12 -0
  546. package/dist/types/components/ic-data-table/ic-data-table.d.ts +92 -92
  547. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +10 -10
  548. package/dist/types/components/ic-data-table/story-data.d.ts +69 -69
  549. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
  550. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +99 -99
  551. package/dist/types/components.d.ts +128 -4642
  552. package/dist/types/interface.d.ts +0 -13
  553. package/dist/types/stencil-public-runtime.d.ts +29 -0
  554. package/dist/types/testspec.setup.d.ts +7 -7
  555. package/dist/types/utils/helpers.d.ts +8 -120
  556. package/hydrate/index.d.ts +2 -2
  557. package/hydrate/index.js +16587 -14213
  558. package/package.json +10 -8
  559. package/dist/cjs/OpenInNew-d5d30e77.js.map +0 -1
  560. package/dist/cjs/check-icon-7225d79b.js.map +0 -1
  561. package/dist/cjs/chevron-icon-3bf07531.js.map +0 -1
  562. package/dist/cjs/close-icon-7f6ef8e4.js.map +0 -1
  563. package/dist/cjs/helpers-d166f875.js +0 -616
  564. package/dist/cjs/helpers-d166f875.js.map +0 -1
  565. package/dist/cjs/index-990b968b.js.map +0 -1
  566. package/dist/cjs/popper-31badbf8.js.map +0 -1
  567. package/dist/cjs/types-7d67439f.js +0 -16
  568. package/dist/cjs/types-7d67439f.js.map +0 -1
  569. package/dist/collection/components/ic-alert/ic-alert.css +0 -616
  570. package/dist/collection/components/ic-alert/ic-alert.js +0 -244
  571. package/dist/collection/components/ic-alert/ic-alert.js.map +0 -1
  572. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +0 -11
  573. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +0 -1
  574. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +0 -16
  575. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +0 -1
  576. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -182
  577. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
  578. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +0 -3
  579. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +0 -542
  580. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +0 -171
  581. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +0 -1
  582. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +0 -28
  583. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +0 -1
  584. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +0 -68
  585. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +0 -1
  586. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -123
  587. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
  588. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +0 -100
  589. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +0 -170
  590. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +0 -1
  591. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +0 -2
  592. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +0 -1
  593. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -118
  594. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
  595. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +0 -36
  596. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +0 -234
  597. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +0 -1
  598. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +0 -21
  599. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +0 -1
  600. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +0 -35
  601. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +0 -1
  602. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +0 -41
  603. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +0 -1
  604. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -181
  605. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
  606. package/dist/collection/components/ic-button/ic-button.css +0 -879
  607. package/dist/collection/components/ic-button/ic-button.js +0 -769
  608. package/dist/collection/components/ic-button/ic-button.js.map +0 -1
  609. package/dist/collection/components/ic-button/ic-button.types.js +0 -2
  610. package/dist/collection/components/ic-button/ic-button.types.js.map +0 -1
  611. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +0 -11
  612. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +0 -1
  613. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +0 -198
  614. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +0 -1
  615. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -271
  616. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
  617. package/dist/collection/components/ic-card/ic-card.css +0 -620
  618. package/dist/collection/components/ic-card/ic-card.js +0 -402
  619. package/dist/collection/components/ic-card/ic-card.js.map +0 -1
  620. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +0 -21
  621. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +0 -1
  622. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +0 -23
  623. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +0 -1
  624. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +0 -152
  625. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
  626. package/dist/collection/components/ic-checkbox/ic-checkbox.css +0 -675
  627. package/dist/collection/components/ic-checkbox/ic-checkbox.js +0 -390
  628. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +0 -1
  629. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +0 -482
  630. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +0 -298
  631. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +0 -1
  632. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +0 -2
  633. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +0 -1
  634. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +0 -16
  635. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +0 -1
  636. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +0 -201
  637. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +0 -1
  638. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -203
  639. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
  640. package/dist/collection/components/ic-chip/ic-chip.css +0 -597
  641. package/dist/collection/components/ic-chip/ic-chip.js +0 -253
  642. package/dist/collection/components/ic-chip/ic-chip.js.map +0 -1
  643. package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
  644. package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
  645. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +0 -11
  646. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +0 -1
  647. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -110
  648. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
  649. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +0 -504
  650. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +0 -142
  651. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +0 -1
  652. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +0 -2
  653. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +0 -1
  654. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +0 -11
  655. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +0 -1
  656. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -140
  657. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
  658. package/dist/collection/components/ic-data-entity/ic-data-entity.css +0 -474
  659. package/dist/collection/components/ic-data-entity/ic-data-entity.js +0 -70
  660. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
  661. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +0 -11
  662. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +0 -1
  663. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +0 -161
  664. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
  665. package/dist/collection/components/ic-data-row/ic-data-row.css +0 -525
  666. package/dist/collection/components/ic-data-row/ic-data-row.js +0 -157
  667. package/dist/collection/components/ic-data-row/ic-data-row.js.map +0 -1
  668. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +0 -18
  669. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +0 -1
  670. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
  671. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
  672. package/dist/collection/components/ic-dialog/ic-dialog.css +0 -592
  673. package/dist/collection/components/ic-dialog/ic-dialog.js +0 -649
  674. package/dist/collection/components/ic-dialog/ic-dialog.js.map +0 -1
  675. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +0 -28
  676. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +0 -1
  677. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +0 -207
  678. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +0 -1
  679. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -520
  680. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
  681. package/dist/collection/components/ic-divider/ic-divider.css +0 -11
  682. package/dist/collection/components/ic-divider/ic-divider.js +0 -44
  683. package/dist/collection/components/ic-divider/ic-divider.js.map +0 -1
  684. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -24
  685. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
  686. package/dist/collection/components/ic-empty-state/ic-empty-state.css +0 -49
  687. package/dist/collection/components/ic-empty-state/ic-empty-state.js +0 -160
  688. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +0 -1
  689. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +0 -2
  690. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +0 -1
  691. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +0 -38
  692. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +0 -1
  693. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +0 -86
  694. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +0 -1
  695. package/dist/collection/components/ic-footer/ic-footer.css +0 -543
  696. package/dist/collection/components/ic-footer/ic-footer.js +0 -257
  697. package/dist/collection/components/ic-footer/ic-footer.js.map +0 -1
  698. package/dist/collection/components/ic-footer/ic-footer.types.js +0 -2
  699. package/dist/collection/components/ic-footer/ic-footer.types.js.map +0 -1
  700. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +0 -21
  701. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +0 -1
  702. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +0 -50
  703. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +0 -1
  704. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -140
  705. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
  706. package/dist/collection/components/ic-footer-link/ic-footer-link.css +0 -612
  707. package/dist/collection/components/ic-footer-link/ic-footer-link.js +0 -201
  708. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +0 -1
  709. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +0 -21
  710. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +0 -1
  711. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -62
  712. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
  713. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +0 -522
  714. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +0 -114
  715. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +0 -1
  716. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +0 -21
  717. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +0 -1
  718. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -98
  719. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
  720. package/dist/collection/components/ic-hero/ic-hero.css +0 -726
  721. package/dist/collection/components/ic-hero/ic-hero.js +0 -277
  722. package/dist/collection/components/ic-hero/ic-hero.js.map +0 -1
  723. package/dist/collection/components/ic-hero/ic-hero.types.js +0 -2
  724. package/dist/collection/components/ic-hero/ic-hero.types.js.map +0 -1
  725. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +0 -11
  726. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +0 -1
  727. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -76
  728. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
  729. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +0 -3
  730. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +0 -3
  731. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +0 -535
  732. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +0 -234
  733. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +0 -1
  734. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +0 -34
  735. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +0 -1
  736. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -180
  737. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
  738. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +0 -166
  739. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +0 -209
  740. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +0 -1
  741. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -117
  742. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
  743. package/dist/collection/components/ic-input-container/ic-input-container.css +0 -4
  744. package/dist/collection/components/ic-input-container/ic-input-container.js +0 -66
  745. package/dist/collection/components/ic-input-container/ic-input-container.js.map +0 -1
  746. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
  747. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
  748. package/dist/collection/components/ic-input-label/ic-input-label.css +0 -35
  749. package/dist/collection/components/ic-input-label/ic-input-label.js +0 -194
  750. package/dist/collection/components/ic-input-label/ic-input-label.js.map +0 -1
  751. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -98
  752. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
  753. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -34
  754. package/dist/collection/components/ic-input-validation/ic-input-validation.js +0 -154
  755. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +0 -1
  756. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +0 -2
  757. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +0 -1
  758. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
  759. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
  760. package/dist/collection/components/ic-link/ic-link.css +0 -558
  761. package/dist/collection/components/ic-link/ic-link.js +0 -267
  762. package/dist/collection/components/ic-link/ic-link.js.map +0 -1
  763. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +0 -11
  764. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +0 -1
  765. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -203
  766. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
  767. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +0 -663
  768. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +0 -426
  769. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +0 -1
  770. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +0 -2
  771. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +0 -1
  772. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
  773. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
  774. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
  775. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
  776. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -141
  777. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
  778. package/dist/collection/components/ic-menu/ic-menu.css +0 -646
  779. package/dist/collection/components/ic-menu/ic-menu.js +0 -1209
  780. package/dist/collection/components/ic-menu/ic-menu.js.map +0 -1
  781. package/dist/collection/components/ic-menu/ic-menu.types.js +0 -2
  782. package/dist/collection/components/ic-menu/ic-menu.types.js.map +0 -1
  783. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -668
  784. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
  785. package/dist/collection/components/ic-menu-group/ic-menu-group.css +0 -465
  786. package/dist/collection/components/ic-menu-group/ic-menu-group.js +0 -45
  787. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +0 -1
  788. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
  789. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
  790. package/dist/collection/components/ic-menu-item/ic-menu-item.css +0 -628
  791. package/dist/collection/components/ic-menu-item/ic-menu-item.js +0 -396
  792. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +0 -1
  793. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +0 -2
  794. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +0 -1
  795. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -108
  796. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
  797. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +0 -457
  798. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +0 -273
  799. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +0 -1
  800. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +0 -2
  801. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +0 -1
  802. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -84
  803. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
  804. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -647
  805. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +0 -380
  806. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +0 -1
  807. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +0 -18
  808. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +0 -1
  809. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
  810. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
  811. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +0 -1028
  812. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +0 -446
  813. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +0 -1
  814. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +0 -18
  815. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +0 -1
  816. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -118
  817. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
  818. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +0 -92
  819. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +0 -202
  820. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +0 -1
  821. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +0 -29
  822. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +0 -1
  823. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
  824. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
  825. package/dist/collection/components/ic-page-header/ic-page-header.css +0 -582
  826. package/dist/collection/components/ic-page-header/ic-page-header.js +0 -273
  827. package/dist/collection/components/ic-page-header/ic-page-header.js.map +0 -1
  828. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +0 -13
  829. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +0 -1
  830. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +0 -177
  831. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +0 -1
  832. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -284
  833. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
  834. package/dist/collection/components/ic-pagination/ic-pagination.css +0 -486
  835. package/dist/collection/components/ic-pagination/ic-pagination.js +0 -502
  836. package/dist/collection/components/ic-pagination/ic-pagination.js.map +0 -1
  837. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +0 -11
  838. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +0 -1
  839. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +0 -128
  840. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +0 -1
  841. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -335
  842. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
  843. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +0 -581
  844. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +0 -231
  845. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +0 -1
  846. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +0 -2
  847. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +0 -1
  848. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +0 -548
  849. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +0 -488
  850. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +0 -1
  851. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +0 -13
  852. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +0 -1
  853. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +0 -30
  854. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +0 -1
  855. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -395
  856. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
  857. package/dist/collection/components/ic-radio-group/ic-radio-group.css +0 -486
  858. package/dist/collection/components/ic-radio-group/ic-radio-group.js +0 -366
  859. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +0 -1
  860. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +0 -2
  861. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +0 -1
  862. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +0 -16
  863. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +0 -1
  864. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +0 -343
  865. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +0 -1
  866. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -303
  867. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
  868. package/dist/collection/components/ic-radio-option/ic-radio-option.css +0 -654
  869. package/dist/collection/components/ic-radio-option/ic-radio-option.js +0 -388
  870. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +0 -1
  871. package/dist/collection/components/ic-search-bar/ic-search-bar.css +0 -560
  872. package/dist/collection/components/ic-search-bar/ic-search-bar.js +0 -1386
  873. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +0 -1
  874. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +0 -2
  875. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +0 -1
  876. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +0 -11
  877. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +0 -1
  878. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +0 -1118
  879. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +0 -1
  880. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -584
  881. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
  882. package/dist/collection/components/ic-section-container/ic-section-container.css +0 -514
  883. package/dist/collection/components/ic-section-container/ic-section-container.js +0 -75
  884. package/dist/collection/components/ic-section-container/ic-section-container.js.map +0 -1
  885. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
  886. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
  887. package/dist/collection/components/ic-select/assets/Check.svg +0 -3
  888. package/dist/collection/components/ic-select/assets/Clear.svg +0 -3
  889. package/dist/collection/components/ic-select/assets/Expand.svg +0 -3
  890. package/dist/collection/components/ic-select/ic-select.css +0 -670
  891. package/dist/collection/components/ic-select/ic-select.js +0 -1348
  892. package/dist/collection/components/ic-select/ic-select.js.map +0 -1
  893. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +0 -28
  894. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +0 -1
  895. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +0 -1798
  896. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +0 -1
  897. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1344
  898. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
  899. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -635
  900. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +0 -638
  901. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +0 -1
  902. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +0 -2
  903. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +0 -1
  904. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +0 -14
  905. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +0 -1
  906. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +0 -411
  907. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +0 -1
  908. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +0 -432
  909. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +0 -1
  910. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -470
  911. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
  912. package/dist/collection/components/ic-skeleton/ic-skeleton.css +0 -503
  913. package/dist/collection/components/ic-skeleton/ic-skeleton.js +0 -113
  914. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +0 -1
  915. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +0 -2
  916. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +0 -1
  917. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +0 -11
  918. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +0 -1
  919. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
  920. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
  921. package/dist/collection/components/ic-status-tag/ic-status-tag.css +0 -504
  922. package/dist/collection/components/ic-status-tag/ic-status-tag.js +0 -140
  923. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +0 -1
  924. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +0 -2
  925. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +0 -1
  926. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +0 -11
  927. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +0 -1
  928. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -43
  929. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
  930. package/dist/collection/components/ic-step/ic-step.css +0 -278
  931. package/dist/collection/components/ic-step/ic-step.js +0 -398
  932. package/dist/collection/components/ic-step/ic-step.js.map +0 -1
  933. package/dist/collection/components/ic-step/ic-step.types.js +0 -2
  934. package/dist/collection/components/ic-step/ic-step.types.js.map +0 -1
  935. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
  936. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
  937. package/dist/collection/components/ic-stepper/ic-stepper.css +0 -28
  938. package/dist/collection/components/ic-stepper/ic-stepper.js +0 -319
  939. package/dist/collection/components/ic-stepper/ic-stepper.js.map +0 -1
  940. package/dist/collection/components/ic-stepper/ic-stepper.types.js +0 -2
  941. package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +0 -1
  942. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +0 -36
  943. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +0 -1
  944. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +0 -74
  945. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +0 -1
  946. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +0 -49
  947. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +0 -1
  948. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -706
  949. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
  950. package/dist/collection/components/ic-switch/ic-switch.css +0 -656
  951. package/dist/collection/components/ic-switch/ic-switch.js +0 -331
  952. package/dist/collection/components/ic-switch/ic-switch.js.map +0 -1
  953. package/dist/collection/components/ic-switch/ic-switch.types.js +0 -2
  954. package/dist/collection/components/ic-switch/ic-switch.types.js.map +0 -1
  955. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +0 -11
  956. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +0 -1
  957. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -104
  958. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
  959. package/dist/collection/components/ic-tab/ic-tab.css +0 -521
  960. package/dist/collection/components/ic-tab/ic-tab.js +0 -366
  961. package/dist/collection/components/ic-tab/ic-tab.js.map +0 -1
  962. package/dist/collection/components/ic-tab/ic-tab.types.js +0 -2
  963. package/dist/collection/components/ic-tab/ic-tab.types.js.map +0 -1
  964. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +0 -32
  965. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +0 -1
  966. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -159
  967. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
  968. package/dist/collection/components/ic-tab-context/ic-tab-context.js +0 -456
  969. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +0 -1
  970. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +0 -19
  971. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +0 -1
  972. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +0 -317
  973. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +0 -1
  974. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
  975. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
  976. package/dist/collection/components/ic-tab-group/ic-tab-group.css +0 -25
  977. package/dist/collection/components/ic-tab-group/ic-tab-group.js +0 -125
  978. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +0 -1
  979. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -7
  980. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +0 -198
  981. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +0 -1
  982. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -65
  983. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
  984. package/dist/collection/components/ic-text-field/ic-text-field.css +0 -558
  985. package/dist/collection/components/ic-text-field/ic-text-field.js +0 -1120
  986. package/dist/collection/components/ic-text-field/ic-text-field.js.map +0 -1
  987. package/dist/collection/components/ic-text-field/ic-text-field.types.js +0 -2
  988. package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +0 -1
  989. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +0 -33
  990. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +0 -1
  991. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +0 -98
  992. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +0 -1
  993. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -236
  994. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
  995. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -310
  996. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
  997. package/dist/collection/components/ic-theme/ic-theme.js +0 -107
  998. package/dist/collection/components/ic-theme/ic-theme.js.map +0 -1
  999. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
  1000. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
  1001. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -77
  1002. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
  1003. package/dist/collection/components/ic-toast/ic-toast.css +0 -602
  1004. package/dist/collection/components/ic-toast/ic-toast.js +0 -390
  1005. package/dist/collection/components/ic-toast/ic-toast.js.map +0 -1
  1006. package/dist/collection/components/ic-toast/ic-toast.types.js +0 -2
  1007. package/dist/collection/components/ic-toast/ic-toast.types.js.map +0 -1
  1008. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +0 -16
  1009. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +0 -1
  1010. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +0 -82
  1011. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +0 -1
  1012. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -278
  1013. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
  1014. package/dist/collection/components/ic-toast-region/ic-toast-region.js +0 -83
  1015. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +0 -1
  1016. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -62
  1017. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
  1018. package/dist/collection/components/ic-tooltip/ic-tooltip.css +0 -572
  1019. package/dist/collection/components/ic-tooltip/ic-tooltip.js +0 -472
  1020. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +0 -1
  1021. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +0 -2
  1022. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +0 -1
  1023. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +0 -15
  1024. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +0 -1
  1025. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +0 -117
  1026. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +0 -1
  1027. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -287
  1028. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
  1029. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +0 -737
  1030. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +0 -440
  1031. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +0 -1
  1032. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +0 -30
  1033. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +0 -1
  1034. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +0 -61
  1035. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +0 -1
  1036. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +0 -242
  1037. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +0 -1
  1038. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -299
  1039. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
  1040. package/dist/collection/components/ic-typography/ic-typography.css +0 -627
  1041. package/dist/collection/components/ic-typography/ic-typography.js +0 -272
  1042. package/dist/collection/components/ic-typography/ic-typography.js.map +0 -1
  1043. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +0 -11
  1044. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +0 -1
  1045. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +0 -39
  1046. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +0 -1
  1047. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -324
  1048. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
  1049. package/dist/collection/utils/constants.js +0 -81
  1050. package/dist/collection/utils/constants.js.map +0 -1
  1051. package/dist/collection/utils/types.js +0 -13
  1052. package/dist/collection/utils/types.js.map +0 -1
  1053. package/dist/components/ic-alert.d.ts +0 -11
  1054. package/dist/components/ic-back-to-top.d.ts +0 -11
  1055. package/dist/components/ic-breadcrumb-group.d.ts +0 -11
  1056. package/dist/components/ic-breadcrumb.d.ts +0 -11
  1057. package/dist/components/ic-button.d.ts +0 -11
  1058. package/dist/components/ic-card.d.ts +0 -11
  1059. package/dist/components/ic-checkbox-group.d.ts +0 -11
  1060. package/dist/components/ic-checkbox.d.ts +0 -11
  1061. package/dist/components/ic-chip.d.ts +0 -11
  1062. package/dist/components/ic-classification-banner.d.ts +0 -11
  1063. package/dist/components/ic-data-entity.d.ts +0 -11
  1064. package/dist/components/ic-data-row.d.ts +0 -11
  1065. package/dist/components/ic-dialog.d.ts +0 -11
  1066. package/dist/components/ic-divider.d.ts +0 -11
  1067. package/dist/components/ic-empty-state.d.ts +0 -11
  1068. package/dist/components/ic-footer-link-group.d.ts +0 -11
  1069. package/dist/components/ic-footer-link.d.ts +0 -11
  1070. package/dist/components/ic-footer.d.ts +0 -11
  1071. package/dist/components/ic-hero.d.ts +0 -11
  1072. package/dist/components/ic-horizontal-scroll.d.ts +0 -11
  1073. package/dist/components/ic-input-component-container.d.ts +0 -11
  1074. package/dist/components/ic-input-container.d.ts +0 -11
  1075. package/dist/components/ic-input-label.d.ts +0 -11
  1076. package/dist/components/ic-input-validation.d.ts +0 -11
  1077. package/dist/components/ic-link.d.ts +0 -11
  1078. package/dist/components/ic-loading-indicator.d.ts +0 -11
  1079. package/dist/components/ic-menu-group.d.ts +0 -11
  1080. package/dist/components/ic-menu-item.d.ts +0 -11
  1081. package/dist/components/ic-menu.d.ts +0 -11
  1082. package/dist/components/ic-navigation-button.d.ts +0 -11
  1083. package/dist/components/ic-navigation-group.d.ts +0 -11
  1084. package/dist/components/ic-navigation-item.d.ts +0 -11
  1085. package/dist/components/ic-navigation-menu.d.ts +0 -11
  1086. package/dist/components/ic-page-header.d.ts +0 -11
  1087. package/dist/components/ic-pagination-item.d.ts +0 -11
  1088. package/dist/components/ic-pagination.d.ts +0 -11
  1089. package/dist/components/ic-popover-menu.d.ts +0 -11
  1090. package/dist/components/ic-radio-group.d.ts +0 -11
  1091. package/dist/components/ic-radio-option.d.ts +0 -11
  1092. package/dist/components/ic-search-bar.d.ts +0 -11
  1093. package/dist/components/ic-section-container.d.ts +0 -11
  1094. package/dist/components/ic-select.d.ts +0 -11
  1095. package/dist/components/ic-side-navigation.d.ts +0 -11
  1096. package/dist/components/ic-skeleton.d.ts +0 -11
  1097. package/dist/components/ic-status-tag.d.ts +0 -11
  1098. package/dist/components/ic-step.d.ts +0 -11
  1099. package/dist/components/ic-stepper.d.ts +0 -11
  1100. package/dist/components/ic-switch.d.ts +0 -11
  1101. package/dist/components/ic-tab-context.d.ts +0 -11
  1102. package/dist/components/ic-tab-group.d.ts +0 -11
  1103. package/dist/components/ic-tab-panel.d.ts +0 -11
  1104. package/dist/components/ic-tab.d.ts +0 -11
  1105. package/dist/components/ic-text-field.d.ts +0 -11
  1106. package/dist/components/ic-theme.d.ts +0 -11
  1107. package/dist/components/ic-toast-region.d.ts +0 -11
  1108. package/dist/components/ic-toast.d.ts +0 -11
  1109. package/dist/components/ic-tooltip.d.ts +0 -11
  1110. package/dist/components/ic-top-navigation.d.ts +0 -11
  1111. package/dist/components/ic-typography.d.ts +0 -11
  1112. package/dist/core/p-00f7f8e8.entry.js +0 -2
  1113. package/dist/core/p-00f7f8e8.entry.js.map +0 -1
  1114. package/dist/core/p-03935e89.js +0 -3
  1115. package/dist/core/p-03935e89.js.map +0 -1
  1116. package/dist/core/p-061283d4.entry.js +0 -2
  1117. package/dist/core/p-061283d4.entry.js.map +0 -1
  1118. package/dist/core/p-0729b492.entry.js +0 -2
  1119. package/dist/core/p-0729b492.entry.js.map +0 -1
  1120. package/dist/core/p-0929b7c4.entry.js +0 -2
  1121. package/dist/core/p-0929b7c4.entry.js.map +0 -1
  1122. package/dist/core/p-0eba1ec4.entry.js +0 -2
  1123. package/dist/core/p-0eba1ec4.entry.js.map +0 -1
  1124. package/dist/core/p-12d99423.entry.js +0 -2
  1125. package/dist/core/p-12d99423.entry.js.map +0 -1
  1126. package/dist/core/p-151cef1f.entry.js.map +0 -1
  1127. package/dist/core/p-241baaac.entry.js +0 -2
  1128. package/dist/core/p-241baaac.entry.js.map +0 -1
  1129. package/dist/core/p-2d1ba7d5.entry.js.map +0 -1
  1130. package/dist/core/p-2f737489.entry.js +0 -2
  1131. package/dist/core/p-2f737489.entry.js.map +0 -1
  1132. package/dist/core/p-385ae861.entry.js +0 -2
  1133. package/dist/core/p-385ae861.entry.js.map +0 -1
  1134. package/dist/core/p-3c50e682.entry.js +0 -2
  1135. package/dist/core/p-3c50e682.entry.js.map +0 -1
  1136. package/dist/core/p-3c545222.entry.js.map +0 -1
  1137. package/dist/core/p-3e3afba6.entry.js +0 -2
  1138. package/dist/core/p-3e3afba6.entry.js.map +0 -1
  1139. package/dist/core/p-4259972b.entry.js.map +0 -1
  1140. package/dist/core/p-4ec6d80b.entry.js +0 -2
  1141. package/dist/core/p-4ec6d80b.entry.js.map +0 -1
  1142. package/dist/core/p-517968cb.entry.js.map +0 -1
  1143. package/dist/core/p-55127131.entry.js +0 -2
  1144. package/dist/core/p-55127131.entry.js.map +0 -1
  1145. package/dist/core/p-5536d26c.entry.js.map +0 -1
  1146. package/dist/core/p-5b39831f.entry.js +0 -2
  1147. package/dist/core/p-5b39831f.entry.js.map +0 -1
  1148. package/dist/core/p-613aa265.js.map +0 -1
  1149. package/dist/core/p-649442b9.entry.js +0 -2
  1150. package/dist/core/p-649442b9.entry.js.map +0 -1
  1151. package/dist/core/p-65a1ff78.entry.js +0 -2
  1152. package/dist/core/p-65a1ff78.entry.js.map +0 -1
  1153. package/dist/core/p-6622567a.entry.js.map +0 -1
  1154. package/dist/core/p-689a5bb3.entry.js +0 -2
  1155. package/dist/core/p-689a5bb3.entry.js.map +0 -1
  1156. package/dist/core/p-68a5aaff.js.map +0 -1
  1157. package/dist/core/p-6da62e08.entry.js +0 -2
  1158. package/dist/core/p-6da62e08.entry.js.map +0 -1
  1159. package/dist/core/p-72815d65.entry.js +0 -2
  1160. package/dist/core/p-72815d65.entry.js.map +0 -1
  1161. package/dist/core/p-7799016a.entry.js.map +0 -1
  1162. package/dist/core/p-786020b0.entry.js +0 -2
  1163. package/dist/core/p-786020b0.entry.js.map +0 -1
  1164. package/dist/core/p-892ddab1.entry.js +0 -2
  1165. package/dist/core/p-892ddab1.entry.js.map +0 -1
  1166. package/dist/core/p-8a4c5eb8.entry.js +0 -2
  1167. package/dist/core/p-8a4c5eb8.entry.js.map +0 -1
  1168. package/dist/core/p-8d8ba4d7.entry.js.map +0 -1
  1169. package/dist/core/p-90608dc5.entry.js.map +0 -1
  1170. package/dist/core/p-932a1a61.entry.js.map +0 -1
  1171. package/dist/core/p-94f255ff.entry.js +0 -2
  1172. package/dist/core/p-94f255ff.entry.js.map +0 -1
  1173. package/dist/core/p-9c792bb9.entry.js.map +0 -1
  1174. package/dist/core/p-a10968a4.entry.js +0 -2
  1175. package/dist/core/p-a10968a4.entry.js.map +0 -1
  1176. package/dist/core/p-a471cf70.entry.js +0 -2
  1177. package/dist/core/p-a471cf70.entry.js.map +0 -1
  1178. package/dist/core/p-a7c7d85a.entry.js +0 -2
  1179. package/dist/core/p-a7c7d85a.entry.js.map +0 -1
  1180. package/dist/core/p-b1568cf3.entry.js +0 -2
  1181. package/dist/core/p-b1568cf3.entry.js.map +0 -1
  1182. package/dist/core/p-b4d2d905.entry.js.map +0 -1
  1183. package/dist/core/p-ba27b1e2.js +0 -2
  1184. package/dist/core/p-ba27b1e2.js.map +0 -1
  1185. package/dist/core/p-ba3f9d1b.entry.js.map +0 -1
  1186. package/dist/core/p-c2281c7d.entry.js +0 -2
  1187. package/dist/core/p-c2281c7d.entry.js.map +0 -1
  1188. package/dist/core/p-c95e4edb.entry.js +0 -2
  1189. package/dist/core/p-c95e4edb.entry.js.map +0 -1
  1190. package/dist/core/p-cda2ecbb.entry.js.map +0 -1
  1191. package/dist/core/p-ced76d36.entry.js +0 -2
  1192. package/dist/core/p-ced76d36.entry.js.map +0 -1
  1193. package/dist/core/p-dcfc7f79.entry.js.map +0 -1
  1194. package/dist/core/p-de37ac0e.entry.js +0 -2
  1195. package/dist/core/p-de37ac0e.entry.js.map +0 -1
  1196. package/dist/core/p-e565964f.entry.js.map +0 -1
  1197. package/dist/core/p-e6028d7a.entry.js +0 -2
  1198. package/dist/core/p-e6028d7a.entry.js.map +0 -1
  1199. package/dist/core/p-ebd83ea6.entry.js +0 -2
  1200. package/dist/core/p-ebd83ea6.entry.js.map +0 -1
  1201. package/dist/core/p-ed35b2d0.entry.js.map +0 -1
  1202. package/dist/core/p-f8d7bda8.entry.js +0 -2
  1203. package/dist/core/p-f8d7bda8.entry.js.map +0 -1
  1204. package/dist/core/p-fd8780e2.entry.js.map +0 -1
  1205. package/dist/esm/OpenInNew-cdeed5ce.js.map +0 -1
  1206. package/dist/esm/check-icon-4a9f8371.js.map +0 -1
  1207. package/dist/esm/chevron-icon-589e3b46.js.map +0 -1
  1208. package/dist/esm/close-icon-539ec8d1.js.map +0 -1
  1209. package/dist/esm/helpers-10f9f399.js +0 -569
  1210. package/dist/esm/helpers-10f9f399.js.map +0 -1
  1211. package/dist/esm/index-5e4f5b3b.js.map +0 -1
  1212. package/dist/esm/popper-0fbeff6d.js.map +0 -1
  1213. package/dist/esm/types-b2398b37.js +0 -16
  1214. package/dist/esm/types-b2398b37.js.map +0 -1
  1215. package/dist/types/components/ic-alert/ic-alert.d.ts +0 -48
  1216. package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +0 -1
  1217. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -25
  1218. package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +0 -1
  1219. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +0 -30
  1220. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +0 -1
  1221. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +0 -40
  1222. package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +0 -1
  1223. package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +0 -2
  1224. package/dist/types/components/ic-button/ic-button.d.ts +0 -140
  1225. package/dist/types/components/ic-button/ic-button.types.d.ts +0 -3
  1226. package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +0 -1
  1227. package/dist/types/components/ic-card/ic-card.d.ts +0 -83
  1228. package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +0 -1
  1229. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -72
  1230. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -54
  1231. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +0 -8
  1232. package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +0 -1
  1233. package/dist/types/components/ic-chip/ic-chip.d.ts +0 -50
  1234. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  1235. package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +0 -1
  1236. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +0 -24
  1237. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +0 -1
  1238. package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +0 -1
  1239. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -12
  1240. package/dist/types/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.d.ts +0 -1
  1241. package/dist/types/components/ic-data-row/ic-data-row.d.ts +0 -37
  1242. package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +0 -1
  1243. package/dist/types/components/ic-dialog/ic-dialog.d.ts +0 -123
  1244. package/dist/types/components/ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts +0 -1
  1245. package/dist/types/components/ic-divider/ic-divider.d.ts +0 -6
  1246. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +0 -35
  1247. package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +0 -1
  1248. package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +0 -1
  1249. package/dist/types/components/ic-footer/ic-footer.d.ts +0 -52
  1250. package/dist/types/components/ic-footer/ic-footer.types.d.ts +0 -1
  1251. package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +0 -1
  1252. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +0 -41
  1253. package/dist/types/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts +0 -1
  1254. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +0 -19
  1255. package/dist/types/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts +0 -1
  1256. package/dist/types/components/ic-hero/ic-hero.d.ts +0 -57
  1257. package/dist/types/components/ic-hero/ic-hero.types.d.ts +0 -1
  1258. package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +0 -1
  1259. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +0 -40
  1260. package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts +0 -1
  1261. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -40
  1262. package/dist/types/components/ic-input-container/ic-input-container.d.ts +0 -11
  1263. package/dist/types/components/ic-input-label/ic-input-label.d.ts +0 -36
  1264. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +0 -30
  1265. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +0 -1
  1266. package/dist/types/components/ic-link/ic-link.d.ts +0 -50
  1267. package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +0 -1
  1268. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +0 -80
  1269. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +0 -7
  1270. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
  1271. package/dist/types/components/ic-menu/ic-menu.d.ts +0 -175
  1272. package/dist/types/components/ic-menu/ic-menu.types.d.ts +0 -12
  1273. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +0 -8
  1274. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +0 -74
  1275. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +0 -1
  1276. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +0 -54
  1277. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +0 -1
  1278. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +0 -63
  1279. package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +0 -1
  1280. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +0 -85
  1281. package/dist/types/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts +0 -1
  1282. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +0 -36
  1283. package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -57
  1284. package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +0 -1
  1285. package/dist/types/components/ic-pagination/ic-pagination.d.ts +0 -82
  1286. package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +0 -1
  1287. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +0 -47
  1288. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +0 -1
  1289. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +0 -62
  1290. package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +0 -1
  1291. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +0 -60
  1292. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +0 -7
  1293. package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +0 -1
  1294. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -70
  1295. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +0 -251
  1296. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +0 -5
  1297. package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +0 -1
  1298. package/dist/types/components/ic-section-container/ic-section-container.d.ts +0 -12
  1299. package/dist/types/components/ic-select/ic-select.d.ts +0 -240
  1300. package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +0 -1
  1301. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +0 -101
  1302. package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +0 -9
  1303. package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +0 -1
  1304. package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +0 -6
  1305. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +0 -18
  1306. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +0 -1
  1307. package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +0 -1
  1308. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +0 -25
  1309. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -2
  1310. package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +0 -1
  1311. package/dist/types/components/ic-step/ic-step.d.ts +0 -54
  1312. package/dist/types/components/ic-step/ic-step.types.d.ts +0 -3
  1313. package/dist/types/components/ic-stepper/ic-stepper.d.ts +0 -43
  1314. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +0 -1
  1315. package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +0 -1
  1316. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +0 -4
  1317. package/dist/types/components/ic-switch/ic-switch.d.ts +0 -75
  1318. package/dist/types/components/ic-switch/ic-switch.types.d.ts +0 -4
  1319. package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +0 -1
  1320. package/dist/types/components/ic-tab/ic-tab.d.ts +0 -59
  1321. package/dist/types/components/ic-tab/ic-tab.types.d.ts +0 -8
  1322. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +0 -64
  1323. package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +0 -1
  1324. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +0 -23
  1325. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +0 -37
  1326. package/dist/types/components/ic-text-field/ic-text-field.d.ts +0 -217
  1327. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +0 -3
  1328. package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +0 -1
  1329. package/dist/types/components/ic-theme/ic-theme.d.ts +0 -18
  1330. package/dist/types/components/ic-toast/ic-toast.d.ts +0 -66
  1331. package/dist/types/components/ic-toast/ic-toast.types.d.ts +0 -1
  1332. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +0 -1
  1333. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -12
  1334. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +0 -60
  1335. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +0 -1
  1336. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +0 -1
  1337. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +0 -84
  1338. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +0 -1
  1339. package/dist/types/components/ic-typography/ic-typography.d.ts +0 -57
  1340. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +0 -1
  1341. package/dist/types/utils/constants.d.ts +0 -38
  1342. package/dist/types/utils/types.d.ts +0 -74
  1343. /package/dist/core/{p-3b185c32.js.map → p-0aa9ce8b.js.map} +0 -0
  1344. /package/dist/core/{p-426ec638.js.map → p-170ddfc2.js.map} +0 -0
  1345. /package/dist/core/{p-c2e091d7.js.map → p-e081702e.js.map} +0 -0
  1346. /package/dist/core/{p-f074ef5b.js.map → p-ea1ea1b9.js.map} +0 -0
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5e4f5b3b.js';
2
- import { r as removeDisabledFalse, a as onComponentRequiredPropUndefined, y as getLabelFromValue, w as getFilteredMenuOptions, e as removeFormResetListener, n as inheritAttributes, d as addFormResetListener, f as renderHiddenInput, j as getInputDescribedByText, k as hasValidationStatus, K as isMobileOrTablet, p as IC_INHERITED_ARIA, L as debounceEvent, i as isSlotUsed, A as isEmptyString } from './helpers-10f9f399.js';
3
- import { I as IcThemeForegroundEnum, a as IcInformationStatus } from './types-b2398b37.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-93509377.js';
2
+ import { j as removeDisabledFalse, a as onComponentRequiredPropUndefined, E as getLabelFromValue, B as getFilteredMenuOptions, m as removeFormResetListener, w as inheritAttributes, l as addFormResetListener, n as renderHiddenInput, q as getInputDescribedByText, s as hasValidationStatus, L as isMobileOrTablet, x as IC_INHERITED_ARIA, M as debounceEvent, i as isSlotUsed, F as isEmptyString } from './helpers-268c2b7f.js';
3
+ import { I as IcThemeForegroundEnum, a as IcInformationStatus } from './types-f605c21c.js';
4
4
 
5
5
  const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
6
6
  <path d="M2.08748 0L0.912476 1.175L4.72914 5L0.912476 8.825L2.08748 10L7.08748 5L2.08748 0Z" fill="currentColor"/>
@@ -14,252 +14,253 @@ const paginationFirstLast = `<svg width="12" height="10" viewBox="0 0 12 10" fil
14
14
  const icPaginationCss = "/*! 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{box-sizing:border-box;width:100%;display:flex;justify-content:center}nav{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}ic-button{cursor:pointer}ic-button.next-previous{--icon-width:var(--ic-space-xs);--icon-height:calc(var(--ic-space-xs) + var(--ic-space-xxxs));padding:0 var(--ic-space-xxs) 0 var(--ic-space-xxxs)}ic-button.first-last{--icon-width:calc(var(--ic-space-sm) + var(--ic-space-xxxs));--icon-height:calc(var(--ic-space-xs) + var(--ic-space-xxxs))}.disabled{color:var(--ic-architectural-200);pointer-events:none;cursor:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.hide-current-page{display:none}";
15
15
 
16
16
  const Pagination = class {
17
- constructor(hostRef) {
18
- registerInstance(this, hostRef);
19
- this.icPageChange = createEvent(this, "icPageChange", 7);
20
- this.handleClickFirst = () => {
21
- this.currentPage = 1;
22
- this.icPageChange.emit({ value: this.currentPage });
23
- };
24
- this.handleClickPrevious = () => {
25
- this.currentPage--;
26
- this.icPageChange.emit({ value: this.currentPage });
27
- };
28
- this.handleClickNext = () => {
29
- this.currentPage++;
30
- this.icPageChange.emit({ value: this.currentPage });
31
- };
32
- this.handleClickLast = () => {
33
- this.currentPage = this.pages;
34
- this.icPageChange.emit({ value: this.currentPage });
35
- };
36
- // button rendering abstracted from component render methods for clarity
37
- this.firstButton = () => {
38
- return (h("ic-button", { id: "first-page-button", "aria-label": "Go to first page", disableTooltip: true, appearance: this.appearance, onClick: this.handleClickFirst, class: "page-button first-last", disabled: this.currentPage === 1 || this.disabled, variant: "icon", innerHTML: paginationFirstLast }));
39
- };
40
- this.previousButton = () => {
41
- return (h("ic-button", { id: "previous-page-button", "aria-label": "Go to previous page", disableTooltip: true, appearance: this.appearance, onClick: this.handleClickPrevious, class: "page-button next-previous flip", disabled: this.currentPage === 1 || this.disabled, variant: "icon", innerHTML: paginationNextPrevious }));
42
- };
43
- this.nextButton = () => {
44
- return (h("ic-button", { id: "next-page-button", "aria-label": "Go to next page", disableTooltip: true, appearance: this.appearance, onClick: this.handleClickNext, class: "page-button next-previous", disabled: this.currentPage === this.pages || this.disabled, variant: "icon", innerHTML: paginationNextPrevious }));
45
- };
46
- this.lastButton = () => {
47
- return (h("ic-button", { id: "last-page-button", "aria-label": "Go to last page", disableTooltip: true, appearance: this.appearance, onClick: this.handleClickLast, class: "page-button first-last flip", disabled: this.currentPage === this.pages || this.disabled, variant: "icon", innerHTML: paginationFirstLast }));
48
- };
49
- this.renderStartEllipsis = () => {
50
- return (h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "start-ellipsis", disabled: this.disabled }));
51
- };
52
- this.renderEndEllipsis = () => {
53
- return (h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "end-ellipsis", disabled: this.disabled }));
54
- };
55
- this.renderStartItems = () => {
56
- return this.startItems.map((page) => {
57
- return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
58
- });
59
- };
60
- this.renderEndItems = () => {
61
- return this.endItems.map((page) => {
62
- return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
63
- });
64
- };
65
- this.renderMiddleItems = () => {
66
- return this.midItems.map((page) => {
67
- return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
68
- });
69
- };
70
- this.endEllipsis = false;
71
- this.endItems = [];
72
- this.midItems = [];
73
- this.startEllipsis = false;
74
- this.startItems = [];
75
- this.adjacentCount = 1;
76
- this.appearance = "default";
77
- this.boundaryCount = 1;
78
- this.defaultPage = 1;
79
- this.disabled = false;
80
- this.hideCurrentPage = false;
81
- this.hideFirstAndLastPageButton = false;
82
- this.label = "Page";
83
- this.pages = undefined;
84
- this.type = "simple";
85
- this.currentPage = this.defaultPage;
86
- }
87
- watchNumberPagesHandler() {
88
- this.watchPageChangeHandler();
89
- }
90
- watchPageChangeHandler() {
91
- if (this.type === "simple") {
92
- return;
17
+ constructor(hostRef) {
18
+ registerInstance(this, hostRef);
19
+ this.icPageChange = createEvent(this, "icPageChange", 7);
20
+ this.handleClickFirst = () => {
21
+ this.currentPage = 1;
22
+ this.icPageChange.emit({ value: this.currentPage });
23
+ };
24
+ this.handleClickPrevious = () => {
25
+ this.currentPage--;
26
+ this.icPageChange.emit({ value: this.currentPage });
27
+ };
28
+ this.handleClickNext = () => {
29
+ this.currentPage++;
30
+ this.icPageChange.emit({ value: this.currentPage });
31
+ };
32
+ this.handleClickLast = () => {
33
+ this.currentPage = this.pages;
34
+ this.icPageChange.emit({ value: this.currentPage });
35
+ };
36
+ // button rendering abstracted from component render methods for clarity
37
+ this.firstButton = () => {
38
+ return (h("ic-button", { id: "first-page-button", "aria-label": "Go to first page", appearance: this.appearance, onClick: this.handleClickFirst, class: "page-button first-last", disabled: this.currentPage === 1 || this.disabled, variant: "icon", innerHTML: paginationFirstLast }));
39
+ };
40
+ this.previousButton = () => {
41
+ return (h("ic-button", { id: "previous-page-button", "aria-label": "Go to previous page", appearance: this.appearance, onClick: this.handleClickPrevious, class: "page-button next-previous flip", disabled: this.currentPage === 1 || this.disabled, variant: "icon", innerHTML: paginationNextPrevious }));
42
+ };
43
+ this.nextButton = () => {
44
+ return (h("ic-button", { id: "next-page-button", "aria-label": "Go to next page", appearance: this.appearance, onClick: this.handleClickNext, class: "page-button next-previous", disabled: this.currentPage === this.pages || this.disabled, variant: "icon", innerHTML: paginationNextPrevious }));
45
+ };
46
+ this.lastButton = () => {
47
+ return (h("ic-button", { id: "last-page-button", "aria-label": "Go to last page", appearance: this.appearance, onClick: this.handleClickLast, class: "page-button first-last flip", disabled: this.currentPage === this.pages || this.disabled, variant: "icon", innerHTML: paginationFirstLast }));
48
+ };
49
+ this.renderStartEllipsis = () => {
50
+ return (h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "start-ellipsis", disabled: this.disabled }));
51
+ };
52
+ this.renderEndEllipsis = () => {
53
+ return (h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "end-ellipsis", disabled: this.disabled }));
54
+ };
55
+ this.renderStartItems = () => {
56
+ return this.startItems.map((page) => {
57
+ return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
58
+ });
59
+ };
60
+ this.renderEndItems = () => {
61
+ return this.endItems.map((page) => {
62
+ return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
63
+ });
64
+ };
65
+ this.renderMiddleItems = () => {
66
+ return this.midItems.map((page) => {
67
+ return (h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
68
+ });
69
+ };
70
+ this.endEllipsis = false;
71
+ this.endItems = [];
72
+ this.midItems = [];
73
+ this.startEllipsis = false;
74
+ this.startItems = [];
75
+ this.adjacentCount = 1;
76
+ this.appearance = "default";
77
+ this.boundaryCount = 1;
78
+ this.defaultPage = 1;
79
+ this.disabled = false;
80
+ this.hideCurrentPage = false;
81
+ this.hideFirstAndLastPageButton = false;
82
+ this.label = "Page";
83
+ this.pages = undefined;
84
+ this.type = "simple";
85
+ this.currentPage = this.defaultPage;
93
86
  }
94
- this.startEllipsis = false;
95
- this.endEllipsis = false;
96
- this.startItems = [];
97
- this.endItems = [];
98
- this.midItems = [];
99
- const startItems = [];
100
- let startItemCount = 0;
101
- const endItems = [];
102
- let endStart = this.pages;
103
- const midItems = [];
104
- let midStart;
105
- let midEnd;
106
- let startEllipsis = false;
107
- let endEllipsis = false;
108
- if (this.pages <= this.boundaryCount * 2 + this.adjacentCount * 2 + 3) {
109
- this.startEllipsis = false;
110
- this.endEllipsis = false;
111
- for (let i = 1; i <= this.pages; i++) {
112
- startItems.push(i);
113
- }
114
- this.startItems = startItems;
115
- return;
87
+ watchNumberPagesHandler() {
88
+ this.watchPageChangeHandler();
116
89
  }
117
- startItemCount = this.boundaryCount === 0 ? 1 : this.boundaryCount;
118
- endStart =
119
- this.boundaryCount === 0
120
- ? this.pages
121
- : this.pages - this.boundaryCount + 1;
122
- if (this.currentPage <= this.adjacentCount + this.boundaryCount + 2) {
123
- startEllipsis = false;
124
- endEllipsis = true;
125
- let numItems = 2 * this.adjacentCount + 1;
126
- if (this.boundaryCount === 0) {
127
- numItems--;
128
- }
129
- midStart = startItemCount + 1;
130
- midEnd = midStart + numItems;
131
- }
132
- else {
133
- startEllipsis = true;
134
- if (this.currentPage >
135
- this.pages - (this.adjacentCount + this.boundaryCount + 2)) {
136
- let numItems = 2 * this.adjacentCount + 1;
137
- if (this.boundaryCount === 0) {
138
- numItems--;
90
+ watchPageChangeHandler() {
91
+ if (this.type === "simple") {
92
+ return;
139
93
  }
140
- midEnd =
141
- this.boundaryCount === 0
142
- ? this.pages - 1
143
- : this.pages - this.boundaryCount;
144
- midStart = midEnd - numItems;
145
- }
146
- else {
147
- endEllipsis = true;
148
- midStart = this.currentPage - this.adjacentCount;
149
- midEnd = this.currentPage + this.adjacentCount;
150
- }
151
- }
152
- //create array of start items
153
- if (this.boundaryCount > 0 ||
154
- (this.boundaryCount === 0 && startEllipsis === false)) {
155
- for (let i = 1; i <= startItemCount; i++) {
156
- startItems.push(i);
157
- }
158
- }
159
- //create array of end items
160
- if (this.boundaryCount > 0 ||
161
- (this.boundaryCount === 0 && endEllipsis === false)) {
162
- for (let i = endStart; i <= this.pages; i++) {
163
- endItems.push(i);
164
- }
94
+ this.startEllipsis = false;
95
+ this.endEllipsis = false;
96
+ this.startItems = [];
97
+ this.endItems = [];
98
+ this.midItems = [];
99
+ const startItems = [];
100
+ let startItemCount = 0;
101
+ const endItems = [];
102
+ let endStart = this.pages;
103
+ const midItems = [];
104
+ let midStart;
105
+ let midEnd;
106
+ let startEllipsis = false;
107
+ let endEllipsis = false;
108
+ if (this.pages <= this.boundaryCount * 2 + this.adjacentCount * 2 + 3) {
109
+ this.startEllipsis = false;
110
+ this.endEllipsis = false;
111
+ for (let i = 1; i <= this.pages; i++) {
112
+ startItems.push(i);
113
+ }
114
+ this.startItems = startItems;
115
+ return;
116
+ }
117
+ startItemCount = this.boundaryCount === 0 ? 1 : this.boundaryCount;
118
+ endStart =
119
+ this.boundaryCount === 0
120
+ ? this.pages
121
+ : this.pages - this.boundaryCount + 1;
122
+ if (this.currentPage <= this.adjacentCount + this.boundaryCount + 2) {
123
+ startEllipsis = false;
124
+ endEllipsis = true;
125
+ let numItems = 2 * this.adjacentCount + 1;
126
+ if (this.boundaryCount === 0) {
127
+ numItems--;
128
+ }
129
+ midStart = startItemCount + 1;
130
+ midEnd = midStart + numItems;
131
+ }
132
+ else {
133
+ startEllipsis = true;
134
+ if (this.currentPage >
135
+ this.pages - (this.adjacentCount + this.boundaryCount + 2)) {
136
+ let numItems = 2 * this.adjacentCount + 1;
137
+ if (this.boundaryCount === 0) {
138
+ numItems--;
139
+ }
140
+ midEnd =
141
+ this.boundaryCount === 0
142
+ ? this.pages - 1
143
+ : this.pages - this.boundaryCount;
144
+ midStart = midEnd - numItems;
145
+ }
146
+ else {
147
+ endEllipsis = true;
148
+ midStart = this.currentPage - this.adjacentCount;
149
+ midEnd = this.currentPage + this.adjacentCount;
150
+ }
151
+ }
152
+ //create array of start items
153
+ if (this.boundaryCount > 0 ||
154
+ (this.boundaryCount === 0 && startEllipsis === false)) {
155
+ for (let i = 1; i <= startItemCount; i++) {
156
+ startItems.push(i);
157
+ }
158
+ }
159
+ //create array of end items
160
+ if (this.boundaryCount > 0 ||
161
+ (this.boundaryCount === 0 && endEllipsis === false)) {
162
+ for (let i = endStart; i <= this.pages; i++) {
163
+ endItems.push(i);
164
+ }
165
+ }
166
+ //create array of mid items
167
+ for (let i = midStart; i <= midEnd; i++) {
168
+ midItems.push(i);
169
+ }
170
+ this.startEllipsis = startEllipsis;
171
+ this.endEllipsis = endEllipsis;
172
+ this.startItems = startItems;
173
+ this.endItems = endItems;
174
+ this.midItems = midItems;
165
175
  }
166
- //create array of mid items
167
- for (let i = midStart; i <= midEnd; i++) {
168
- midItems.push(i);
176
+ componentWillLoad() {
177
+ this.watchPageChangeHandler();
178
+ if (this.boundaryCount > 2) {
179
+ this.boundaryCount = 2;
180
+ }
181
+ if (this.adjacentCount > 2) {
182
+ this.adjacentCount = 2;
183
+ }
184
+ removeDisabledFalse(this.disabled, this.el);
169
185
  }
170
- this.startEllipsis = startEllipsis;
171
- this.endEllipsis = endEllipsis;
172
- this.startItems = startItems;
173
- this.endItems = endItems;
174
- this.midItems = midItems;
175
- }
176
- componentWillLoad() {
177
- this.watchPageChangeHandler();
178
- if (this.boundaryCount > 2) {
179
- this.boundaryCount = 2;
186
+ componentDidLoad() {
187
+ onComponentRequiredPropUndefined([{ prop: this.pages, propName: "pages" }], "Pagination");
180
188
  }
181
- if (this.adjacentCount > 2) {
182
- this.adjacentCount = 2;
189
+ paginationItemClickHandler(ev) {
190
+ const page = ev.detail.page;
191
+ this.currentPage = page;
192
+ this.icPageChange.emit({ value: this.currentPage });
183
193
  }
184
- removeDisabledFalse(this.disabled, this.el);
185
- }
186
- componentDidLoad() {
187
- onComponentRequiredPropUndefined([{ prop: this.pages, propName: "pages" }], "Pagination");
188
- }
189
- paginationItemClickHandler(ev) {
190
- const page = ev.detail.page;
191
- this.currentPage = page;
192
- this.icPageChange.emit({ value: this.currentPage });
193
- }
194
- /**
195
- * Sets the currently displayed page.
196
- */
197
- async setCurrentPage(page) {
198
- if (typeof page === "number" && page > 0 && page <= this.pages) {
199
- this.currentPage = page;
194
+ /**
195
+ * Sets the currently displayed page.
196
+ * @param {number} page The page number to set as the current page
197
+ */
198
+ async setCurrentPage(page) {
199
+ if (typeof page === "number" && page > 0 && page <= this.pages) {
200
+ this.currentPage = page;
201
+ }
202
+ else {
203
+ console.error("Current page must be a number greater than zero but less than or equal to the total number of pages");
204
+ }
200
205
  }
201
- else {
202
- console.error("Current page must be a number greater than zero but less than or equal to the total number of pages");
206
+ render() {
207
+ const { type, pages, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, } = this;
208
+ return (h(Host, null, type === "simple" && (h("nav", { class: {
209
+ ["disabled"]: disabled,
210
+ }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), h("ic-pagination-item", { pages: pages, appearance: this.appearance, type: "simple-current", page: currentPage, label: label, class: { ["hide-current-page"]: hideCurrentPage } }), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (h("nav", { class: {
211
+ ["disabled"]: disabled,
212
+ }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton()))));
203
213
  }
204
- }
205
- render() {
206
- const { type, pages, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, } = this;
207
- return (h(Host, null, type === "simple" && (h("nav", { class: {
208
- ["disabled"]: disabled,
209
- }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), h("ic-pagination-item", { pages: pages, appearance: this.appearance, type: "simple-current", page: currentPage, label: label, class: { ["hide-current-page"]: hideCurrentPage } }), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton())), type === "complex" && (h("nav", { class: {
210
- ["disabled"]: disabled,
211
- }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), this.renderStartItems(), this.startEllipsis && this.renderStartEllipsis(), this.renderMiddleItems(), this.endEllipsis && this.renderEndEllipsis(), this.renderEndItems(), this.nextButton(), hideFirstAndLastPageButton ? null : this.lastButton()))));
212
- }
213
- get el() { return getElement(this); }
214
- static get watchers() { return {
215
- "pages": ["watchNumberPagesHandler"],
216
- "currentPage": ["watchPageChangeHandler"]
217
- }; }
214
+ get el() { return getElement(this); }
215
+ static get watchers() { return {
216
+ "pages": ["watchNumberPagesHandler"],
217
+ "currentPage": ["watchPageChangeHandler"]
218
+ }; }
218
219
  };
219
220
  Pagination.style = icPaginationCss;
220
221
 
221
222
  const icPaginationItemCss = "/*! 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}a{text-align:center}.item-container{display:flex;justify-content:center;align-items:center;width:calc(var(--ic-space-xl) + var(--ic-space-sm));height:var(--ic-space-xl);margin:var(--ic-space-xxs) var(--ic-space-xxxs);cursor:pointer;text-decoration:none}button{background:none;border:none;outline:inherit;position:relative}.ellipsis{pointer-events:none;color:var(--ic-color-secondary-text)}.item-container:focus{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}.page{color:var(--ic-action-default)}.simple-current{width:calc(var(--ic-space-xxl) + var(--ic-space-md));height:var(--ic-space-lg);cursor:default}.item-container.page:hover:not(.selected):not(:focus){border-radius:var(--ic-border-radius);background-color:var(--ic-action-default-bg-hover)}.item-container.page:active:not(.selected):not(:focus){background-color:var(--ic-action-default-bg-active)}.selected{pointer-events:none;outline:none}.selected::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-default)}.page-selected{color:var(--ic-color-primary-text)}.item-container.page.light:hover:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-hover)}.item-container.page.light:active:not(.selected):not(:focus){background-color:var(--ic-action-light-bg-active)}ic-typography.light{color:var(--ic-color-white-text)}.selected.light::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-light)}.item-container.page.dark:hover:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-hover)}.item-container.page.dark:active:not(.selected):not(:focus){background-color:var(--ic-action-dark-bg-active)}ic-typography.dark{color:var(--ic-color-primary-text)}.selected.dark::after{content:\"\";height:var(--ic-space-xxs);width:100%;position:absolute;bottom:0;background-color:var(--ic-action-dark)}.disabled{color:var(--ic-architectural-200);pointer-events:none;cursor:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (forced-colors: active){.selected::after{background-color:Highlight}.selected.light::after{background-color:Highlight}.selected.dark::after{background-color:Highlight}}";
222
223
 
223
224
  const PaginationItem = class {
224
- constructor(hostRef) {
225
- registerInstance(this, hostRef);
226
- this.paginationItemClick = createEvent(this, "paginationItemClick", 7);
227
- this.handleClick = () => {
228
- this.paginationItemClick.emit({ page: this.page });
229
- };
230
- this.appearance = undefined;
231
- this.ariaOverride = false;
232
- this.disabled = false;
233
- this.label = "Page ";
234
- this.page = undefined;
235
- this.pages = undefined;
236
- this.selected = false;
237
- this.type = undefined;
238
- }
239
- componentWillLoad() {
240
- removeDisabledFalse(this.disabled, this.el);
241
- }
242
- render() {
243
- const { page, selected, type, disabled, appearance, label, ariaOverride, pages, } = this;
244
- return (h("a", null, type === "ellipsis" ? (h("div", { class: {
245
- ["item-container"]: true,
246
- ["ellipsis"]: true,
247
- ["disabled"]: disabled,
248
- } }, h("ic-typography", { class: {
249
- [`${appearance}`]: true,
250
- }, variant: "label" }, "..."))) : type === "page" ? (h("button", { disabled: disabled, onClick: this.handleClick, tabindex: selected ? "-1" : "0", role: "button", "aria-current": selected && "Current page", "aria-label": selected ? `${label}: ${page}` : `Go to page ${page}`, class: {
251
- ["selected"]: !disabled && selected,
252
- ["disabled"]: disabled,
253
- ["item-container"]: true,
254
- [`${appearance}`]: true,
255
- ["page"]: type === "page",
256
- } }, h("ic-typography", { variant: "label", class: {
257
- ["page-selected"]: selected,
258
- ["disabled"]: disabled,
259
- [`${appearance}`]: true,
260
- } }, page))) : (h("ic-typography", { "aria-live": "polite", "aria-label": ariaOverride ? `Page ${page} of ${pages}` : `${label} ${page}`, class: `simple-current ${appearance}`, variant: "label" }, label, " ", page))));
261
- }
262
- get el() { return getElement(this); }
225
+ constructor(hostRef) {
226
+ registerInstance(this, hostRef);
227
+ this.paginationItemClick = createEvent(this, "paginationItemClick", 7);
228
+ this.handleClick = () => {
229
+ this.paginationItemClick.emit({ page: this.page });
230
+ };
231
+ this.appearance = undefined;
232
+ this.ariaOverride = false;
233
+ this.disabled = false;
234
+ this.label = "Page ";
235
+ this.page = undefined;
236
+ this.pages = undefined;
237
+ this.selected = false;
238
+ this.type = undefined;
239
+ }
240
+ componentWillLoad() {
241
+ removeDisabledFalse(this.disabled, this.el);
242
+ }
243
+ render() {
244
+ const { page, selected, type, disabled, appearance, label, ariaOverride, pages, } = this;
245
+ return (h("a", null, type === "ellipsis" ? (h("div", { class: {
246
+ ["item-container"]: true,
247
+ ["ellipsis"]: true,
248
+ ["disabled"]: disabled,
249
+ } }, h("ic-typography", { class: {
250
+ [`${appearance}`]: true,
251
+ }, variant: "label" }, "..."))) : type === "page" ? (h("button", { disabled: disabled, onClick: this.handleClick, tabindex: selected ? "-1" : "0", role: "button", "aria-current": selected && "Current page", "aria-label": selected ? `${label}: ${page}` : `Go to page ${page}`, class: {
252
+ ["selected"]: !disabled && selected,
253
+ ["disabled"]: disabled,
254
+ ["item-container"]: true,
255
+ [`${appearance}`]: true,
256
+ ["page"]: type === "page",
257
+ } }, h("ic-typography", { variant: "label", class: {
258
+ ["page-selected"]: selected,
259
+ ["disabled"]: disabled,
260
+ [`${appearance}`]: true,
261
+ } }, page))) : (h("ic-typography", { "aria-live": "polite", "aria-label": ariaOverride ? `Page ${page} of ${pages}` : `${label} ${page}`, class: `simple-current ${appearance}`, variant: "label" }, label, " ", page))));
262
+ }
263
+ get el() { return getElement(this); }
263
264
  };
264
265
  PaginationItem.style = icPaginationItemCss;
265
266
 
@@ -273,657 +274,668 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
273
274
  </svg>
274
275
  `;
275
276
 
276
- 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)}";
277
+ 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{display:block;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;align-items:center}:host(.small) .clear-button-container{padding-left:1.875rem}.divider{width:var(--ic-border-width);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)}";
277
278
 
278
279
  let inputIds$1 = 0;
279
280
  const Select = class {
280
- constructor(hostRef) {
281
- registerInstance(this, hostRef);
282
- this.icBlur = createEvent(this, "icBlur", 7);
283
- this.icChange = createEvent(this, "icChange", 7);
284
- this.icClear = createEvent(this, "icClear", 7);
285
- this.icFocus = createEvent(this, "icFocus", 7);
286
- this.icInput = createEvent(this, "icInput", 7);
287
- this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
288
- this.icRetryLoad = createEvent(this, "icRetryLoad", 7);
289
- this.hasSetDefaultValue = false;
290
- this.inheritedAttributes = {};
291
- this.initialOptionsEmpty = false;
292
- this.inputId = `ic-select-input-${inputIds$1++}`;
293
- this.menuId = `${this.inputId}-menu`;
294
- this.searchableMenuItemSelected = false;
295
- this.ungroupedOptions = [];
296
- this.handleRetry = (ev) => {
297
- var _a;
298
- if (ev.detail.keyPressed)
299
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
300
- this.blurredBecauseButtonPressed = true;
301
- this.retryButtonClick = true;
302
- this.hasSetDefaultValue = true;
303
- this.icRetryLoad.emit({ value: this.hiddenInputValue });
304
- };
305
- this.emitIcChange = (value) => {
306
- if (!this.searchable) {
307
- this.value = value;
308
- }
309
- clearTimeout(this.debounceIcChange);
310
- this.debounceIcChange = window.setTimeout(() => {
311
- this.icChange.emit({ value: value });
312
- }, this.currDebounce);
313
- };
314
- this.emitImmediateIcChange = (value) => {
315
- this.value = value;
316
- clearTimeout(this.debounceIcChange);
317
- this.icChange.emit({ value: value });
318
- };
319
- /**
320
- * Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
321
- * @param options array of IcMenuOptions
322
- * @returns a new options object, with all entries possessing a duplicate 'value' field removed
323
- */
324
- this.deduplicateOptions = (options) => {
325
- const uniqueValues = [];
326
- const dedupedOptions = [];
327
- let dedupedChildren;
328
- options.forEach((option) => {
329
- if (option.children) {
330
- //If an option has children, we will loop through them
331
- dedupedChildren = [];
332
- option.children.forEach((child) => {
333
- if (uniqueValues.includes(child.value)) {
334
- console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
281
+ constructor(hostRef) {
282
+ registerInstance(this, hostRef);
283
+ this.icBlur = createEvent(this, "icBlur", 7);
284
+ this.icChange = createEvent(this, "icChange", 7);
285
+ this.icClear = createEvent(this, "icClear", 7);
286
+ this.icFocus = createEvent(this, "icFocus", 7);
287
+ this.icInput = createEvent(this, "icInput", 7);
288
+ this.icOptionSelect = createEvent(this, "icOptionSelect", 7);
289
+ this.icRetryLoad = createEvent(this, "icRetryLoad", 7);
290
+ this.hasSetDefaultValue = false;
291
+ this.inheritedAttributes = {};
292
+ this.initialOptionsEmpty = false;
293
+ this.inputId = `ic-select-input-${inputIds$1++}`;
294
+ this.menuId = `${this.inputId}-menu`;
295
+ this.searchableMenuItemSelected = false;
296
+ this.ungroupedOptions = [];
297
+ this.handleRetry = (ev) => {
298
+ var _a;
299
+ if (ev.detail.keyPressed)
300
+ (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
301
+ this.blurredBecauseButtonPressed = true;
302
+ this.retryButtonClick = true;
303
+ this.hasSetDefaultValue = true;
304
+ this.icRetryLoad.emit({ value: this.hiddenInputValue });
305
+ };
306
+ this.emitIcChange = (value) => {
307
+ if (!this.searchable) {
308
+ this.value = value;
309
+ }
310
+ clearTimeout(this.debounceIcChange);
311
+ this.debounceIcChange = window.setTimeout(() => {
312
+ this.icChange.emit({ value: value });
313
+ }, this.currDebounce);
314
+ };
315
+ this.emitImmediateIcChange = (value) => {
316
+ this.value = value;
317
+ clearTimeout(this.debounceIcChange);
318
+ this.icChange.emit({ value: value });
319
+ };
320
+ /**
321
+ * Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
322
+ * @param options array of IcMenuOptions
323
+ * @returns a new options object, with all entries possessing a duplicate 'value' field removed
324
+ */
325
+ this.deduplicateOptions = (options) => {
326
+ const uniqueValues = [];
327
+ const dedupedOptions = [];
328
+ let dedupedChildren;
329
+ options.forEach((option) => {
330
+ if (option.children) {
331
+ //If an option has children, we will loop through them
332
+ dedupedChildren = [];
333
+ option.children.forEach((child) => {
334
+ if (uniqueValues.includes(child.value)) {
335
+ console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
336
+ }
337
+ else {
338
+ uniqueValues.push(child.value);
339
+ dedupedChildren.push(child);
340
+ }
341
+ });
342
+ // construct a modified option, inserting the deduplicated children alongside the original information
343
+ const modifiedParent = Object.assign(Object.assign({}, option), { children: dedupedChildren });
344
+ dedupedOptions.push(modifiedParent);
345
+ }
346
+ else {
347
+ // If an option does not have children, assess to see if it's value has been included already
348
+ if (uniqueValues.includes(option.value)) {
349
+ console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
350
+ }
351
+ else {
352
+ uniqueValues.push(option.value);
353
+ dedupedOptions.push(option);
354
+ }
355
+ }
356
+ });
357
+ return dedupedOptions;
358
+ };
359
+ /**
360
+ * Loop through options array and for all options with no value, infer it from the label
361
+ */
362
+ this.setOptionsValuesFromLabels = () => {
363
+ if (this.options.length > 0 && this.options.map) {
364
+ this.options.map((option) => {
365
+ if (!option.value) {
366
+ option.value = option.label;
367
+ }
368
+ });
369
+ }
370
+ };
371
+ this.setUngroupedOptions = (event) => {
372
+ this.ungroupedOptions = event.detail.options;
373
+ };
374
+ this.setTextColor = () => {
375
+ if (this.nativeSelectElement.selectedIndex === 0) {
376
+ this.nativeSelectElement.className = "placeholder";
335
377
  }
336
378
  else {
337
- uniqueValues.push(child.value);
338
- dedupedChildren.push(child);
379
+ this.nativeSelectElement.className = "select-option-selected";
339
380
  }
340
- });
341
- // construct a modified option, inserting the deduplicated children alongside the original information
342
- const modifiedParent = Object.assign(Object.assign({}, option), { children: dedupedChildren });
343
- dedupedOptions.push(modifiedParent);
344
- }
345
- else {
346
- // If an option does not have children, assess to see if it's value has been included already
347
- if (uniqueValues.includes(option.value)) {
348
- console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
349
- }
350
- else {
351
- uniqueValues.push(option.value);
352
- dedupedOptions.push(option);
353
- }
354
- }
355
- });
356
- return dedupedOptions;
357
- };
358
- /**
359
- * Loop through options array and for all options with no value, infer it from the label
360
- */
361
- this.setOptionsValuesFromLabels = () => {
362
- if (this.options.length > 0 && this.options.map) {
363
- this.options.map((option) => {
364
- if (!option.value) {
365
- option.value = option.label;
366
- }
367
- });
368
- }
369
- };
370
- this.setUngroupedOptions = (event) => {
371
- this.ungroupedOptions = event.detail.options;
372
- };
373
- this.setTextColor = () => {
374
- if (this.nativeSelectElement.selectedIndex === 0) {
375
- this.nativeSelectElement.className = "placeholder";
376
- }
377
- else {
378
- this.nativeSelectElement.className = "select-option-selected";
379
- }
380
- };
381
- this.setMenuChange = (open) => {
382
- if (this.open !== open) {
383
- this.open = open;
384
- }
385
- };
386
- this.getLabelFromValue = (value) => {
387
- return getLabelFromValue(value, this.uniqueOptions);
388
- };
389
- this.getFilteredChildMenuOptions = (option) => {
390
- let children = option.children;
391
- if (this.searchable) {
392
- children = getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
393
- }
394
- else {
395
- children = getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
396
- }
397
- const newOption = Object.assign({}, option);
398
- newOption.children = children;
399
- return newOption;
400
- };
401
- this.handleNativeSelectChange = () => {
402
- this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
403
- this.emitImmediateIcChange(this.nativeSelectElement.value);
404
- this.setTextColor();
405
- };
406
- this.handleCustomSelectChange = (event) => {
407
- if (this.searchable && event.detail.label === this.emptyOptionListText) {
408
- this.searchableSelectElement.focus();
409
- return;
410
- }
411
- if (this.searchable) {
412
- this.value = event.detail.value;
413
- this.searchableMenuItemSelected = true;
414
- // After editing the input, if selecting the same option as before, set the input value to label again
415
- if (this.value === this.currValue) {
416
- this.searchableSelectInputValue = this.getLabelFromValue(this.value);
417
- }
418
- this.inputValueToFilter = null;
419
- this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
420
- }
421
- this.ariaActiveDescendant = event.detail.optionId;
422
- this.icOptionSelect.emit({ value: event.detail.value });
423
- this.emitIcChange(event.detail.value);
424
- };
425
- this.handleMenuChange = (event) => {
426
- this.open = event.detail.open;
427
- this.pressedCharacters = "";
428
- this.searchable && this.handleFocusIndicatorDisplay();
429
- };
430
- // clears the debounce delay when navigating the menu with arrow keys etc
431
- // to prevent delay in change event, which should only occur when typing in input
432
- this.handleMenuKeyPress = (ev) => {
433
- ev.cancelBubble = true;
434
- this.handleCharacterKeyDown(ev.detail.key);
435
- };
436
- this.handleMenuValueChange = (ev) => {
437
- this.value = ev.detail.value;
438
- };
439
- this.handleFocusIndicatorDisplay = () => {
440
- const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
441
- if (this.open) {
442
- focusIndicator.classList.add("focus-indicator-enabled");
443
- }
444
- else {
445
- focusIndicator.classList.remove("focus-indicator-enabled");
446
- }
447
- };
448
- this.handleMouseDown = (event) => {
449
- if (!this.open) {
450
- event.preventDefault();
451
- }
452
- };
453
- this.isExternalFiltering = () => this.searchable && this.disableFilter;
454
- this.handleClick = (event) => {
455
- if (!this.open) {
456
- if (this.isExternalFiltering()) {
457
- this.menu.options = this.filteredOptions;
458
- }
459
- else if (!this.hasTimedOut &&
460
- !this.loading &&
461
- (!this.searchable || this.searchableMenuItemSelected)) {
462
- this.noOptions = null;
463
- this.menu.options = this.uniqueOptions;
464
- }
465
- }
466
- if (event.detail !== 0) {
467
- this.menu.handleClickOpen();
468
- }
469
- };
470
- this.handleExpandIconMouseDown = (event) => {
471
- if (!this.disabled) {
472
- event.preventDefault();
473
- this.searchableSelectElement.focus();
474
- this.handleClick(event);
475
- }
476
- };
477
- this.handleClear = (event) => {
478
- event.stopPropagation();
479
- this.hasTimedOut = false;
480
- clearTimeout(this.timeoutTimer);
481
- this.noOptions = null;
482
- this.emitImmediateIcChange(null);
483
- this.icClear.emit();
484
- if (this.searchable) {
485
- this.searchableSelectElement.value = null;
486
- this.searchableSelectInputValue = null;
487
- this.filteredOptions = this.uniqueOptions;
488
- this.hiddenInputValue = null;
489
- this.searchableSelectElement.focus();
490
- }
491
- else {
492
- this.customSelectElement.focus();
493
- }
494
- };
495
- this.handleCharacterKeyDown = (key) => {
496
- // Only close menu when space is pressed if not being used alongside character keys to quickly select options
497
- if (this.open &&
498
- key === " " &&
499
- this.pressedCharacters.length === 0 &&
500
- !this.hasTimedOut &&
501
- !this.loading) {
502
- this.setMenuChange(false);
503
- }
504
- if (key.length === 1 && !this.searchable) {
505
- window.clearTimeout(this.characterKeyPressTimer);
506
- this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
507
- this.pressedCharacters += key;
508
- this.handleFilter();
509
- if (!this.noOptions) {
510
- this.emitImmediateIcChange(this.filteredOptions[0].value);
511
- }
512
- }
513
- else {
514
- this.pressedCharacters = "";
515
- }
516
- };
517
- this.handleNativeSelectKeyDown = (event) => {
518
- if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
519
- event.cancelBubble = true;
520
- }
521
- this.handleCharacterKeyDown(event.key);
522
- };
523
- this.handleKeyDown = (event) => {
524
- if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
525
- event.cancelBubble = true;
526
- }
527
- const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
528
- if (!this.open) {
529
- if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
530
- this.menu.options = this.filteredOptions;
531
- }
532
- else {
533
- if (!this.hasTimedOut) {
381
+ };
382
+ this.setMenuChange = (open) => {
383
+ if (this.open !== open) {
384
+ this.open = open;
385
+ }
386
+ };
387
+ this.getLabelFromValue = (value) => {
388
+ return getLabelFromValue(value, this.uniqueOptions);
389
+ };
390
+ this.getFilteredChildMenuOptions = (option) => {
391
+ let children = option.children;
392
+ if (this.searchable) {
393
+ children = getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
394
+ }
395
+ else {
396
+ children = getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
397
+ }
398
+ const newOption = Object.assign({}, option);
399
+ newOption.children = children;
400
+ return newOption;
401
+ };
402
+ this.handleNativeSelectChange = () => {
403
+ this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
404
+ this.emitImmediateIcChange(this.nativeSelectElement.value);
405
+ this.setTextColor();
406
+ };
407
+ this.handleCustomSelectChange = (event) => {
408
+ if (this.searchable && event.detail.label === this.emptyOptionListText) {
409
+ this.searchableSelectElement.focus();
410
+ return;
411
+ }
412
+ if (this.searchable) {
413
+ this.value = event.detail.value;
414
+ this.searchableMenuItemSelected = true;
415
+ // After editing the input, if selecting the same option as before, set the input value to label again
416
+ if (this.value === this.currValue) {
417
+ this.searchableSelectInputValue = this.getLabelFromValue(this.value);
418
+ }
419
+ this.inputValueToFilter = null;
420
+ this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
421
+ }
422
+ this.ariaActiveDescendant = event.detail.optionId;
423
+ this.icOptionSelect.emit({ value: event.detail.value });
424
+ this.emitIcChange(event.detail.value);
425
+ };
426
+ this.handleMenuChange = (event) => {
427
+ this.open = event.detail.open;
428
+ this.pressedCharacters = "";
429
+ this.searchable && this.handleFocusIndicatorDisplay();
430
+ };
431
+ // clears the debounce delay when navigating the menu with arrow keys etc
432
+ // to prevent delay in change event, which should only occur when typing in input
433
+ this.handleMenuKeyPress = (ev) => {
434
+ ev.cancelBubble = true;
435
+ this.handleCharacterKeyDown(ev.detail.key);
436
+ };
437
+ this.handleMenuValueChange = (ev) => {
438
+ this.value = ev.detail.value;
439
+ };
440
+ this.handleFocusIndicatorDisplay = () => {
441
+ const focusIndicator = this.el.shadowRoot.querySelector(".focus-indicator");
442
+ if (this.open) {
443
+ focusIndicator.classList.add("focus-indicator-enabled");
444
+ }
445
+ else {
446
+ focusIndicator.classList.remove("focus-indicator-enabled");
447
+ }
448
+ };
449
+ this.handleMouseDown = (event) => {
450
+ if (!this.open) {
451
+ event.preventDefault();
452
+ }
453
+ };
454
+ this.isExternalFiltering = () => this.searchable && this.disableFilter;
455
+ this.handleClick = (event) => {
456
+ var _a;
457
+ if (!this.open) {
458
+ if (this.isExternalFiltering()) {
459
+ this.menu.options = this.filteredOptions;
460
+ }
461
+ else if (!this.hasTimedOut &&
462
+ !this.loading &&
463
+ !((_a = this.noOptions) === null || _a === void 0 ? void 0 : _a.length) &&
464
+ (!this.searchable || this.searchableMenuItemSelected)) {
465
+ this.noOptions = null;
466
+ this.menu.options = this.uniqueOptions;
467
+ }
468
+ }
469
+ if (event.detail !== 0) {
470
+ this.menu.handleClickOpen();
471
+ }
472
+ };
473
+ this.handleExpandIconMouseDown = (event) => {
474
+ if (!this.disabled) {
475
+ event.preventDefault();
476
+ this.searchableSelectElement.focus();
477
+ this.handleClick(event);
478
+ }
479
+ };
480
+ this.handleClear = (event) => {
481
+ event.stopPropagation();
482
+ this.hasTimedOut = false;
483
+ clearTimeout(this.timeoutTimer);
534
484
  this.noOptions = null;
535
- this.menu.options = this.uniqueOptions;
536
- }
537
- }
538
- }
539
- if (this.open && event.key === "Enter") {
540
- this.setMenuChange(false);
541
- }
542
- else {
543
- if (!(isArrowKey && this.noOptions !== null)) {
544
- if (!(event.key === " " && this.pressedCharacters.length > 0)) {
545
- // Keyboard events get passed onto ic-menu
546
- this.menu.handleKeyboardOpen(event);
547
- }
548
- this.handleCharacterKeyDown(event.key);
549
- }
550
- }
551
- };
552
- this.handleClearButtonFocus = () => {
553
- this.clearButtonFocused = true;
554
- };
555
- this.handleClearButtonBlur = (ev) => {
556
- var _a;
557
- const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
558
- if (!(this.searchableSelectElement &&
559
- ev.relatedTarget === this.searchableSelectElement) &&
560
- !(retryButton && ev.relatedTarget === retryButton)) {
561
- this.setMenuChange(false);
562
- this.handleFocusIndicatorDisplay();
563
- }
564
- this.clearButtonFocused = false;
565
- };
566
- this.handleFilter = () => {
567
- const options = this.deduplicateOptions(this.searchable ? [...this.uniqueOptions] : this.ungroupedOptions);
568
- let isGrouped = false;
569
- let newFilteredOptions = [];
570
- options.map((option) => {
571
- if (option.children)
572
- isGrouped = true;
573
- });
574
- let menuOptionsFiltered;
575
- if (this.searchable) {
576
- menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.inputValueToFilter, this.searchMatchPosition);
577
- this.searchableMenuItemSelected = false;
578
- }
579
- else {
580
- menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
581
- }
582
- if (!isGrouped) {
583
- newFilteredOptions = menuOptionsFiltered;
584
- }
585
- else {
586
- options.map((option) => {
587
- if (this.includeGroupTitlesInSearch) {
588
- if (menuOptionsFiltered.indexOf(option) !== -1) {
589
- newFilteredOptions.push(option);
485
+ this.emitImmediateIcChange(null);
486
+ this.icClear.emit();
487
+ if (this.searchable) {
488
+ this.searchableSelectElement.value = null;
489
+ this.searchableSelectInputValue = null;
490
+ this.filteredOptions = this.uniqueOptions;
491
+ this.hiddenInputValue = null;
492
+ this.searchableSelectElement.focus();
493
+ }
494
+ else {
495
+ this.customSelectElement.focus();
496
+ }
497
+ };
498
+ this.handleCharacterKeyDown = (key) => {
499
+ // Only close menu when space is pressed if not being used alongside character keys to quickly select options
500
+ if (this.open &&
501
+ key === " " &&
502
+ this.pressedCharacters.length === 0 &&
503
+ !this.hasTimedOut &&
504
+ !this.loading) {
505
+ this.setMenuChange(false);
506
+ }
507
+ if (key.length === 1 && !this.searchable) {
508
+ window.clearTimeout(this.characterKeyPressTimer);
509
+ this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
510
+ this.pressedCharacters += key;
511
+ this.handleFilter();
512
+ if (!this.noOptions) {
513
+ this.emitImmediateIcChange(this.filteredOptions[0].value);
514
+ }
515
+ }
516
+ else {
517
+ this.pressedCharacters = "";
518
+ }
519
+ };
520
+ this.handleNativeSelectKeyDown = (event) => {
521
+ if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
522
+ event.cancelBubble = true;
523
+ }
524
+ this.handleCharacterKeyDown(event.key);
525
+ };
526
+ this.handleKeyDown = (event) => {
527
+ if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
528
+ event.cancelBubble = true;
529
+ }
530
+ const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
531
+ if (!this.open) {
532
+ if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
533
+ this.menu.options = this.filteredOptions;
534
+ }
535
+ else {
536
+ if (!this.hasTimedOut) {
537
+ this.noOptions = null;
538
+ this.menu.options = this.uniqueOptions;
539
+ }
540
+ }
541
+ }
542
+ if (this.open && event.key === "Enter") {
543
+ this.setMenuChange(false);
544
+ }
545
+ else {
546
+ if (!(isArrowKey && this.noOptions !== null)) {
547
+ if (!(event.key === " " && this.pressedCharacters.length > 0)) {
548
+ // Keyboard events get passed onto ic-menu
549
+ this.menu.handleKeyboardOpen(event);
550
+ }
551
+ this.handleCharacterKeyDown(event.key);
552
+ }
553
+ }
554
+ };
555
+ this.handleClearButtonFocus = () => {
556
+ this.clearButtonFocused = true;
557
+ };
558
+ this.handleClearButtonBlur = (ev) => {
559
+ var _a;
560
+ const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
561
+ if (!(this.searchableSelectElement &&
562
+ ev.relatedTarget === this.searchableSelectElement) &&
563
+ !(retryButton && ev.relatedTarget === retryButton)) {
564
+ this.setMenuChange(false);
565
+ this.handleFocusIndicatorDisplay();
566
+ }
567
+ this.clearButtonFocused = false;
568
+ };
569
+ this.handleFilter = () => {
570
+ var _a;
571
+ const options = this.deduplicateOptions(this.searchable ? [...this.uniqueOptions] : this.ungroupedOptions);
572
+ let isGrouped = false;
573
+ let newFilteredOptions = [];
574
+ options.map((option) => {
575
+ if (option.children)
576
+ isGrouped = true;
577
+ });
578
+ let menuOptionsFiltered;
579
+ if (this.searchable) {
580
+ menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.inputValueToFilter, this.searchMatchPosition);
581
+ this.searchableMenuItemSelected = false;
582
+ }
583
+ else {
584
+ menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
585
+ }
586
+ if (!isGrouped &&
587
+ ((_a = menuOptionsFiltered[0]) === null || _a === void 0 ? void 0 : _a.label) !== this.emptyOptionListText) {
588
+ newFilteredOptions = menuOptionsFiltered;
589
+ }
590
+ else if (isGrouped) {
591
+ options.map((option) => {
592
+ if (this.includeGroupTitlesInSearch) {
593
+ if (menuOptionsFiltered.indexOf(option) !== -1) {
594
+ newFilteredOptions.push(option);
595
+ }
596
+ else {
597
+ newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
598
+ }
599
+ }
600
+ else {
601
+ newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
602
+ }
603
+ });
604
+ }
605
+ let noChildOptionsWhenFiltered = false;
606
+ if (isGrouped) {
607
+ noChildOptionsWhenFiltered = true;
608
+ newFilteredOptions.map((option) => {
609
+ if (option.children.length > 0) {
610
+ noChildOptionsWhenFiltered = false;
611
+ }
612
+ });
613
+ }
614
+ if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
615
+ this.noOptions = null;
616
+ this.filteredOptions = newFilteredOptions;
590
617
  }
591
618
  else {
592
- newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
619
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
620
+ this.filteredOptions = this.noOptions;
621
+ }
622
+ };
623
+ /**
624
+ * Put the select component into loading state.
625
+ * Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
626
+ */
627
+ this.triggerLoading = () => {
628
+ this.hasTimedOut = false;
629
+ this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
630
+ if (this.filteredOptions !== this.noOptions && this.searchable) {
631
+ this.filteredOptions = this.noOptions;
632
+ }
633
+ else if (this.uniqueOptions !== this.noOptions && !this.searchable) {
634
+ this.uniqueOptions = this.noOptions;
593
635
  }
594
- }
595
- else {
596
- newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
597
- }
598
- });
599
- }
600
- let noChildOptionsWhenFiltered = false;
601
- if (isGrouped) {
602
- noChildOptionsWhenFiltered = true;
603
- newFilteredOptions.map((option) => {
604
- if (option.children.length > 0) {
605
- noChildOptionsWhenFiltered = false;
606
- }
607
- });
608
- }
609
- const noOptions = [{ label: this.emptyOptionListText, value: "" }];
610
- if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
636
+ if (this.timeout) {
637
+ this.timeoutTimer = window.setTimeout(() => {
638
+ this.loading = false;
639
+ this.hasTimedOut = true;
640
+ this.noOptions = [
641
+ { label: this.loadingErrorLabel, value: "", timedOut: true },
642
+ ];
643
+ this.filteredOptions = this.noOptions;
644
+ if (!this.searchable)
645
+ this.uniqueOptions = this.noOptions;
646
+ }, this.timeout);
647
+ }
648
+ };
649
+ this.getValueFromLabel = (label) => {
650
+ var _a;
651
+ return (_a = this.uniqueOptions.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
652
+ };
653
+ this.handleSearchableSelectInput = (event) => {
654
+ this.searchableSelectInputValue = event.target.value;
655
+ this.icInput.emit({ value: this.searchableSelectInputValue });
656
+ this.emitIcChange(this.searchableSelectInputValue);
657
+ this.hiddenInputValue = this.searchableSelectInputValue;
658
+ this.inputValueToFilter = this.searchableSelectInputValue;
659
+ this.setMenuChange(true);
660
+ if (!this.disableFilter) {
661
+ this.handleFilter();
662
+ this.debounceAriaLiveUpdate();
663
+ }
664
+ };
665
+ this.updateSearchableSelectResultAriaLive = () => {
666
+ const searchableSelectResultsStatusEl = this.el.shadowRoot.querySelector(".searchable-select-results-status");
667
+ if (searchableSelectResultsStatusEl) {
668
+ if (this.noOptions !== null) {
669
+ searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
670
+ }
671
+ else {
672
+ searchableSelectResultsStatusEl.innerText = "";
673
+ }
674
+ }
675
+ };
676
+ this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
677
+ this.onFocus = () => {
678
+ this.icFocus.emit();
679
+ };
680
+ this.onBlur = (event) => {
681
+ var _a;
682
+ const target = event.relatedTarget;
683
+ if (target !== null &&
684
+ target.tagName === "UL" &&
685
+ target.className.includes("menu")) {
686
+ return;
687
+ }
688
+ const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
689
+ const isSearchableAndNoFocusedInternalElements = this.searchable &&
690
+ event.relatedTarget !== this.menu &&
691
+ !Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
692
+ !(this.clearButton && event.relatedTarget === this.clearButton) &&
693
+ !(retryButton && event.relatedTarget === retryButton);
694
+ if (isSearchableAndNoFocusedInternalElements) {
695
+ if (!this.retryButtonClick) {
696
+ this.setMenuChange(false);
697
+ }
698
+ this.handleFocusIndicatorDisplay();
699
+ }
700
+ this.retryButtonClick = false;
701
+ this.icBlur.emit();
702
+ };
703
+ this.onTimeoutBlur = (ev) => {
704
+ if (ev.detail.ev.relatedTarget !==
705
+ this.searchableSelectElement &&
706
+ !this.blurredBecauseButtonPressed) {
707
+ this.setMenuChange(false);
708
+ this.handleFocusIndicatorDisplay();
709
+ this.icBlur.emit();
710
+ }
711
+ this.blurredBecauseButtonPressed = false;
712
+ };
713
+ this.handleFormReset = () => {
714
+ this.value = this.initialValue;
715
+ if (this.searchable) {
716
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
717
+ this.hiddenInputValue = this.value;
718
+ }
719
+ };
720
+ this.ariaActiveDescendant = undefined;
721
+ this.clearButtonFocused = false;
722
+ this.debounceIcChange = undefined;
723
+ this.hiddenInputValue = undefined;
611
724
  this.noOptions = null;
612
- this.filteredOptions = newFilteredOptions;
613
- }
614
- else {
615
- this.noOptions = noOptions;
616
- this.filteredOptions = this.noOptions;
617
- }
618
- };
619
- /**
620
- * Put the select component into loading state.
621
- * Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
622
- */
623
- this.triggerLoading = () => {
624
- this.hasTimedOut = false;
625
- this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
626
- if (this.filteredOptions !== this.noOptions && this.searchable) {
627
- this.filteredOptions = this.noOptions;
628
- }
629
- else if (this.uniqueOptions !== this.noOptions && !this.searchable) {
630
- this.uniqueOptions = this.noOptions;
631
- }
632
- if (this.timeout) {
633
- this.timeoutTimer = window.setTimeout(() => {
634
- this.loading = false;
635
- this.hasTimedOut = true;
636
- this.noOptions = [
637
- { label: this.loadingErrorLabel, value: "", timedOut: true },
638
- ];
639
- this.filteredOptions = this.noOptions;
640
- if (!this.searchable)
641
- this.uniqueOptions = this.noOptions;
642
- }, this.timeout);
643
- }
644
- };
645
- this.getValueFromLabel = (label) => {
646
- var _a;
647
- return (_a = this.uniqueOptions.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
648
- };
649
- this.handleSearchableSelectInput = (event) => {
650
- this.searchableSelectInputValue = event.target.value;
651
- this.icInput.emit({ value: this.searchableSelectInputValue });
652
- this.emitIcChange(this.searchableSelectInputValue);
653
- this.hiddenInputValue = this.searchableSelectInputValue;
654
- this.inputValueToFilter = this.searchableSelectInputValue;
655
- this.setMenuChange(true);
656
- if (!this.disableFilter) {
657
- this.handleFilter();
658
- this.debounceAriaLiveUpdate();
659
- }
660
- };
661
- this.updateSearchableSelectResultAriaLive = () => {
662
- const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
663
- if (searchableSelectResultsStatusEl) {
664
- if (this.noOptions !== null) {
665
- searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
666
- }
667
- else {
668
- searchableSelectResultsStatusEl.innerText = "";
669
- }
670
- }
671
- };
672
- this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
673
- this.onFocus = () => {
674
- this.icFocus.emit();
675
- };
676
- this.onBlur = (event) => {
677
- var _a;
678
- const target = event.relatedTarget;
679
- if (target !== null &&
680
- target.tagName === "UL" &&
681
- target.className.includes("menu")) {
682
- return;
683
- }
684
- const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
685
- const isSearchableAndNoFocusedInternalElements = this.searchable &&
686
- event.relatedTarget !== this.menu &&
687
- !Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
688
- !(this.clearButton && event.relatedTarget === this.clearButton) &&
689
- !(retryButton && event.relatedTarget === retryButton);
690
- if (isSearchableAndNoFocusedInternalElements) {
691
- if (!this.retryButtonClick) {
692
- this.setMenuChange(false);
693
- }
694
- this.handleFocusIndicatorDisplay();
695
- }
696
- this.retryButtonClick = false;
697
- this.icBlur.emit();
698
- };
699
- this.onTimeoutBlur = (ev) => {
700
- if (ev.detail.ev.relatedTarget !==
701
- this.searchableSelectElement &&
702
- !this.blurredBecauseButtonPressed) {
703
- this.setMenuChange(false);
704
- this.handleFocusIndicatorDisplay();
705
- this.icBlur.emit();
706
- }
707
- this.blurredBecauseButtonPressed = false;
708
- };
709
- this.handleFormReset = () => {
710
- this.value = this.initialValue;
711
- if (this.searchable) {
712
- this.searchableSelectInputValue = this.getDefaultValue(this.value);
713
- this.hiddenInputValue = this.value;
714
- }
715
- };
716
- this.ariaActiveDescendant = undefined;
717
- this.clearButtonFocused = false;
718
- this.debounceIcChange = undefined;
719
- this.hiddenInputValue = undefined;
720
- this.noOptions = null;
721
- this.open = false;
722
- this.pressedCharacters = "";
723
- this.searchableSelectInputValue = null;
724
- this.charactersUntilSuggestions = 0;
725
- this.disabled = false;
726
- this.disableFilter = false;
727
- this.emptyOptionListText = "No results found";
728
- this.fullWidth = false;
729
- this.helperText = "";
730
- this.hideLabel = false;
731
- this.includeDescriptionsInSearch = false;
732
- this.includeGroupTitlesInSearch = false;
733
- this.label = undefined;
734
- this.loadingErrorLabel = "Loading Error";
735
- this.loadingLabel = "Loading...";
736
- this.name = this.inputId;
737
- this.placeholder = "Select an option";
738
- this.readonly = false;
739
- this.required = false;
740
- this.searchable = false;
741
- this.searchMatchPosition = "anywhere";
742
- this.showClearButton = false;
743
- this.small = false;
744
- this.timeout = undefined;
745
- this.validationStatus = "";
746
- this.validationText = "";
747
- this.loading = false;
748
- this.options = [];
749
- this.filteredOptions = this.options;
750
- this.uniqueOptions = this.options;
751
- this.debounce = 0;
752
- this.currDebounce = this.debounce;
753
- this.value = undefined;
754
- this.initialValue = this.value;
755
- this.inputValueToFilter = this.value;
756
- this.currValue = this.value;
757
- }
758
- loadingHandler(newValue) {
759
- newValue && this.triggerLoading();
760
- }
761
- watchOptionsHandler() {
762
- if (!this.hasTimedOut) {
763
- this.loading = false;
764
- clearTimeout(this.timeoutTimer);
765
- if (this.isExternalFiltering()) {
766
- if (this.options.length > 0) {
767
- this.setOptionsValuesFromLabels();
768
- this.noOptions = null;
769
- this.uniqueOptions = this.deduplicateOptions(this.options);
770
- this.filteredOptions = this.uniqueOptions;
725
+ this.open = false;
726
+ this.pressedCharacters = "";
727
+ this.searchableSelectInputValue = null;
728
+ this.charactersUntilSuggestions = 0;
729
+ this.disabled = false;
730
+ this.disableFilter = false;
731
+ this.emptyOptionListText = "No results found";
732
+ this.form = undefined;
733
+ this.formaction = undefined;
734
+ this.formenctype = undefined;
735
+ this.formmethod = undefined;
736
+ this.formnovalidate = undefined;
737
+ this.formtarget = undefined;
738
+ this.fullWidth = false;
739
+ this.helperText = "";
740
+ this.hideLabel = false;
741
+ this.includeDescriptionsInSearch = false;
742
+ this.includeGroupTitlesInSearch = false;
743
+ this.label = undefined;
744
+ this.loadingErrorLabel = "Loading Error";
745
+ this.loadingLabel = "Loading...";
746
+ this.name = this.inputId;
747
+ this.placeholder = "Select an option";
748
+ this.readonly = false;
749
+ this.required = false;
750
+ this.searchable = false;
751
+ this.searchMatchPosition = "anywhere";
752
+ this.selectOnEnter = false;
753
+ this.showClearButton = false;
754
+ this.size = "default";
755
+ this.small = false;
756
+ this.timeout = undefined;
757
+ this.validationStatus = "";
758
+ this.validationText = "";
759
+ this.loading = false;
760
+ this.options = [];
761
+ this.filteredOptions = this.options;
762
+ this.uniqueOptions = this.options;
763
+ this.debounce = 0;
764
+ this.currDebounce = this.debounce;
765
+ this.value = undefined;
766
+ this.initialValue = this.value;
767
+ this.inputValueToFilter = this.value;
768
+ this.currValue = this.value;
769
+ }
770
+ loadingHandler(newValue) {
771
+ newValue && this.triggerLoading();
772
+ }
773
+ watchOptionsHandler() {
774
+ if (!this.hasTimedOut) {
775
+ this.loading = false;
776
+ clearTimeout(this.timeoutTimer);
777
+ if (this.isExternalFiltering()) {
778
+ if (this.options.length > 0) {
779
+ this.setOptionsValuesFromLabels();
780
+ this.noOptions = null;
781
+ this.uniqueOptions = this.deduplicateOptions(this.options);
782
+ this.filteredOptions = this.uniqueOptions;
783
+ }
784
+ else {
785
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
786
+ this.uniqueOptions = this.noOptions;
787
+ this.filteredOptions = this.noOptions;
788
+ }
789
+ this.updateSearchableSelectResultAriaLive();
790
+ this.setDefaultValue();
791
+ }
792
+ else {
793
+ this.setOptionsValuesFromLabels();
794
+ this.uniqueOptions = this.deduplicateOptions(this.options);
795
+ this.filteredOptions = this.uniqueOptions;
796
+ if (this.initialOptionsEmpty) {
797
+ this.setDefaultValue();
798
+ this.initialOptionsEmpty = false;
799
+ }
800
+ }
771
801
  }
772
802
  else {
773
- this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
774
- this.uniqueOptions = this.noOptions;
775
- this.filteredOptions = this.noOptions;
776
- }
777
- this.updateSearchableSelectResultAriaLive();
778
- this.setDefaultValue();
779
- }
780
- else {
781
- this.setOptionsValuesFromLabels();
782
- this.uniqueOptions = this.deduplicateOptions(this.options);
783
- this.filteredOptions = this.uniqueOptions;
784
- if (this.initialOptionsEmpty) {
785
- this.setDefaultValue();
786
- this.initialOptionsEmpty = false;
803
+ if (!this.searchable)
804
+ this.options = this.noOptions;
787
805
  }
788
- }
789
806
  }
790
- else {
791
- if (!this.searchable)
792
- this.options = this.noOptions;
807
+ debounceChangedHandler(newValue) {
808
+ this.updateOnChangeDebounce(newValue);
793
809
  }
794
- }
795
- debounceChangedHandler(newValue) {
796
- this.updateOnChangeDebounce(newValue);
797
- }
798
- valueChangedHandler() {
799
- if (this.value !== this.currValue) {
800
- this.currValue = this.value;
801
- }
802
- if (this.searchable) {
803
- this.searchableSelectInputValue =
804
- this.getLabelFromValue(this.currValue) || this.currValue;
810
+ valueChangedHandler() {
811
+ if (this.value !== this.currValue) {
812
+ this.currValue = this.value;
813
+ }
814
+ if (this.searchable) {
815
+ this.searchableSelectInputValue =
816
+ this.getLabelFromValue(this.currValue) || this.currValue;
817
+ }
805
818
  }
806
- }
807
- disconnectedCallback() {
808
- removeFormResetListener(this.host, this.handleFormReset);
809
- }
810
- componentWillLoad() {
811
- this.inheritedAttributes = inheritAttributes(this.host, [
812
- ...IC_INHERITED_ARIA,
813
- "tabindex",
814
- "title",
815
- ]);
816
- removeDisabledFalse(this.disabled, this.host);
817
- this.setOptionsValuesFromLabels();
818
- addFormResetListener(this.host, this.handleFormReset);
819
- if (!this.options.length) {
820
- this.initialOptionsEmpty = true;
819
+ disconnectedCallback() {
820
+ removeFormResetListener(this.el, this.handleFormReset);
821
821
  }
822
- else {
823
- this.setDefaultValue();
824
- this.uniqueOptions = this.deduplicateOptions(this.options);
822
+ componentWillLoad() {
823
+ this.inheritedAttributes = inheritAttributes(this.el, [
824
+ ...IC_INHERITED_ARIA,
825
+ "tabindex",
826
+ "title",
827
+ ]);
828
+ removeDisabledFalse(this.disabled, this.el);
829
+ this.setOptionsValuesFromLabels();
830
+ addFormResetListener(this.el, this.handleFormReset);
831
+ if (!this.options.length) {
832
+ this.initialOptionsEmpty = true;
833
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
834
+ this.uniqueOptions = this.noOptions;
835
+ this.filteredOptions = this.noOptions;
836
+ }
837
+ else {
838
+ this.setDefaultValue();
839
+ this.uniqueOptions = this.deduplicateOptions(this.options);
840
+ }
825
841
  }
826
- }
827
- componentDidLoad() {
828
- onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
829
- if (this.loading) {
830
- this.triggerLoading();
842
+ componentDidLoad() {
843
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
844
+ if (this.loading) {
845
+ this.triggerLoading();
846
+ }
847
+ this.hiddenInputValue = this.searchable && this.currValue;
831
848
  }
832
- this.hiddenInputValue = this.searchable && this.currValue;
833
- }
834
- componentDidRender() {
835
- if (this.nativeSelectElement && !this.disabled) {
836
- this.setTextColor();
849
+ componentDidRender() {
850
+ if (this.nativeSelectElement && !this.disabled) {
851
+ this.setTextColor();
852
+ }
837
853
  }
838
- }
839
- /**
840
- * Sets focus on the input box.
841
- */
842
- async setFocus() {
843
- if (this.nativeSelectElement) {
844
- this.nativeSelectElement.focus();
854
+ /**
855
+ * Sets focus on the input box.
856
+ */
857
+ async setFocus() {
858
+ if (this.nativeSelectElement) {
859
+ this.nativeSelectElement.focus();
860
+ }
861
+ else if (this.customSelectElement) {
862
+ this.customSelectElement.focus();
863
+ }
864
+ else if (this.searchableSelectElement) {
865
+ this.searchableSelectElement.focus();
866
+ }
845
867
  }
846
- else if (this.customSelectElement) {
847
- this.customSelectElement.focus();
868
+ updateOnChangeDebounce(newValue) {
869
+ if (this.currDebounce !== newValue) {
870
+ this.currDebounce = newValue;
871
+ }
848
872
  }
849
- else if (this.searchableSelectElement) {
850
- this.searchableSelectElement.focus();
873
+ debounceAriaLiveUpdate() {
874
+ clearTimeout(this.debounceAria);
875
+ window.setTimeout(() => {
876
+ this.updateSearchableSelectResultAriaLive();
877
+ }, 800);
851
878
  }
852
- }
853
- updateOnChangeDebounce(newValue) {
854
- if (this.currDebounce !== newValue) {
855
- this.currDebounce = newValue;
879
+ setDefaultValue() {
880
+ if (!this.hasSetDefaultValue && this.currValue) {
881
+ this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
882
+ this.initialValue = this.currValue;
883
+ this.hasSetDefaultValue = true;
884
+ }
856
885
  }
857
- }
858
- debounceAriaLiveUpdate() {
859
- clearTimeout(this.debounceAria);
860
- window.setTimeout(() => {
861
- this.updateSearchableSelectResultAriaLive();
862
- }, 800);
863
- }
864
- setDefaultValue() {
865
- if (!this.hasSetDefaultValue && this.currValue) {
866
- this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
867
- this.initialValue = this.currValue;
868
- this.hasSetDefaultValue = true;
886
+ render() {
887
+ const { small, size, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
888
+ renderHiddenInput(true, this.el, name, this.searchable ? this.hiddenInputValue : currValue, disabled);
889
+ const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
890
+ const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
891
+ return (h(Host, { class: {
892
+ disabled: disabled,
893
+ searchable: searchable,
894
+ small: small || size === "small",
895
+ "full-width": fullWidth,
896
+ }, 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 || size === "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, form: this.form }, this.inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
897
+ if (option.children) {
898
+ return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
899
+ }
900
+ else {
901
+ return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
902
+ }
903
+ }))) : 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, form: this.form, formaction: this.formaction, formenctype: this.formenctype, formmethod: this.formmethod, formnovalidate: this.formnovalidate, formtarget: this.formtarget }), this.searchableSelectInputValue &&
904
+ (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
905
+ ? "Clear input"
906
+ : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
907
+ ? IcThemeForegroundEnum.Light
908
+ : IcThemeForegroundEnum.Dark }), h("div", { class: "divider" }))), h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
909
+ "expand-icon": true,
910
+ "expand-icon-open": this.open,
911
+ "expand-icon-filled": !(currValue == null || currValue === ""),
912
+ }, 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: {
913
+ "value-text": true,
914
+ placeholder: this.getLabelFromValue(currValue) === undefined,
915
+ } }, h("p", null, this.getLabelFromValue(currValue) || placeholder)), h("div", { class: "select-input-end" }, currValue && showClearButton && (h("div", { class: "divider" })), h("span", { class: {
916
+ "expand-icon": true,
917
+ "expand-icon-open": this.open,
918
+ "expand-icon-filled": !(currValue == null || currValue === ""),
919
+ }, 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: size, variant: "icon", appearance: this.clearButtonFocused
920
+ ? IcThemeForegroundEnum.Light
921
+ : IcThemeForegroundEnum.Dark }))))), !isMobileOrTablet() && (h("ic-menu", { class: {
922
+ "no-results": this.loading ||
923
+ this.hasTimedOut ||
924
+ (this.noOptions !== null &&
925
+ this.noOptions[0] &&
926
+ this.noOptions[0].label === this.emptyOptionListText),
927
+ }, ref: (el) => (this.menu = el), inputEl: searchable
928
+ ? this.searchableSelectElement
929
+ : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small || size === "small", menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: currValue, fullWidth: fullWidth, selectOnEnter: this.selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onMenuValueChange: this.handleMenuValueChange, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: this.searchable || this.selectOnEnter ? "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 })))));
869
930
  }
870
- }
871
- render() {
872
- const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
873
- const noOptionSelect = searchable &&
874
- (this.loading ||
875
- this.hasTimedOut ||
876
- (this.noOptions !== null &&
877
- this.noOptions[0] &&
878
- this.noOptions[0].label === this.emptyOptionListText));
879
- const inputValue = this.searchable ? this.hiddenInputValue : currValue;
880
- renderHiddenInput(true, this.host, name, inputValue, disabled);
881
- const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
882
- const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
883
- return (h(Host, { class: {
884
- disabled: disabled,
885
- searchable: searchable,
886
- small: small,
887
- "full-width": fullWidth,
888
- }, 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) => {
889
- if (option.children) {
890
- return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
891
- }
892
- else {
893
- return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
894
- }
895
- }))) : 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 &&
896
- (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
897
- ? "Clear input"
898
- : "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
899
- ? IcThemeForegroundEnum.Light
900
- : IcThemeForegroundEnum.Dark }), h("div", { class: "divider" }))), h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
901
- "expand-icon": true,
902
- "expand-icon-open": this.open,
903
- "expand-icon-filled": !(currValue == null || currValue === ""),
904
- }, 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: {
905
- "value-text": true,
906
- placeholder: this.getLabelFromValue(currValue) === undefined,
907
- } }, h("p", null, this.getLabelFromValue(currValue) || placeholder)), h("div", { class: "select-input-end" }, currValue && showClearButton && (h("div", { class: "divider" })), h("span", { class: {
908
- "expand-icon": true,
909
- "expand-icon-open": this.open,
910
- "expand-icon-filled": !(currValue == null || currValue === ""),
911
- }, 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
912
- ? IcThemeForegroundEnum.Light
913
- : IcThemeForegroundEnum.Dark }))))), !isMobileOrTablet() && (h("ic-menu", { class: {
914
- "no-results": noOptionSelect,
915
- }, ref: (el) => (this.menu = el), inputEl: searchable
916
- ? this.searchableSelectElement
917
- : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: currValue, fullWidth: fullWidth, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onMenuValueChange: this.handleMenuValueChange, 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 })))));
918
- }
919
- static get delegatesFocus() { return true; }
920
- get host() { return getElement(this); }
921
- static get watchers() { return {
922
- "loading": ["loadingHandler"],
923
- "options": ["watchOptionsHandler"],
924
- "debounce": ["debounceChangedHandler"],
925
- "value": ["valueChangedHandler"]
926
- }; }
931
+ static get delegatesFocus() { return true; }
932
+ get el() { return getElement(this); }
933
+ static get watchers() { return {
934
+ "loading": ["loadingHandler"],
935
+ "options": ["watchOptionsHandler"],
936
+ "debounce": ["debounceChangedHandler"],
937
+ "value": ["valueChangedHandler"]
938
+ }; }
927
939
  };
928
940
  Select.style = icSelectCss;
929
941
 
@@ -931,229 +943,220 @@ const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/neco
931
943
 
932
944
  let inputIds = 0;
933
945
  const TextField = class {
934
- constructor(hostRef) {
935
- registerInstance(this, hostRef);
936
- this.getValidationText = createEvent(this, "getValidationText", 7);
937
- this.icBlur = createEvent(this, "icBlur", 7);
938
- this.icChange = createEvent(this, "icChange", 7);
939
- this.icFocus = createEvent(this, "icFocus", 7);
940
- this.icInput = createEvent(this, "icInput", 7);
941
- this.icKeydown = createEvent(this, "icKeydown", 7);
942
- this.inheritedAttributes = {};
943
- this.showLeftIcon = this.hasLeftIconSlot();
944
- this.onInput = (ev) => {
945
- this.value = ev.target.value;
946
- this.icInput.emit({ value: this.value });
947
- };
948
- this.onBlur = (ev) => {
949
- const value = ev.target.value;
950
- this.icBlur.emit({ value: value });
951
- };
952
- this.onFocus = (ev) => {
953
- const value = ev.target.value;
954
- this.icFocus.emit({ value: value });
955
- };
956
- this.isTextArea = () => {
957
- return this.rows > 1;
958
- };
959
- this.getInlineValidationText = () => {
960
- this.getValidationText.emit({ value: this.validationText });
961
- };
962
- this.hasStatus = (status) => {
963
- return status !== "" && !this.disabled;
964
- };
965
- this.showStatusText = (status) => {
966
- return (this.hasStatus(status) &&
967
- !(status == IcInformationStatus.Success && this.validationInline) &&
968
- !this.validationInlineInternal);
969
- };
970
- this.handleFormReset = () => {
971
- this.value = this.initialValue;
972
- };
973
- this.numChars = 0;
974
- this.maxLengthExceeded = false;
975
- this.maxValueExceeded = false;
976
- this.minValueUnattained = false;
977
- this.ariaActiveDescendant = undefined;
978
- this.ariaAutocomplete = undefined;
979
- this.ariaExpanded = undefined;
980
- this.ariaOwns = undefined;
981
- this.autocapitalize = "off";
982
- this.autocomplete = "off";
983
- this.autocorrect = "off";
984
- this.autoFocus = false;
985
- this.disabled = false;
986
- this.fullWidth = false;
987
- this.helperText = "";
988
- this.hideLabel = false;
989
- this.hiddenInput = true;
990
- this.inputId = `ic-text-field-input-${inputIds++}`;
991
- this.inputmode = "text";
992
- this.label = undefined;
993
- this.max = undefined;
994
- this.maxLength = 0;
995
- this.min = undefined;
996
- this.name = this.inputId;
997
- this.placeholder = "";
998
- this.readonly = false;
999
- this.required = false;
1000
- this.resize = false;
1001
- this.role = undefined;
1002
- this.rows = 1;
1003
- this.small = false;
1004
- this.spellcheck = false;
1005
- this.truncateValue = undefined;
1006
- this.type = "text";
1007
- this.validationInline = false;
1008
- this.validationInlineInternal = false;
1009
- this.validationStatus = "";
1010
- this.validationText = "";
1011
- this.debounce = 0;
1012
- this.value = "";
1013
- this.initialValue = this.value;
1014
- }
1015
- debounceChanged() {
1016
- this.icChange = debounceEvent(this.icChange, this.debounce);
1017
- }
1018
- watchValueHandler(newValue) {
1019
- if (this.inputEl && this.inputEl.value !== newValue) {
1020
- this.inputEl.value = newValue;
1021
- }
1022
- this.numChars = newValue.length;
1023
- if (this.type === "number") {
1024
- if (newValue && Number(newValue) < Number(this.min)) {
1025
- this.minValueUnattained = true;
1026
- }
1027
- else {
1028
- this.minValueUnattained = false;
1029
- }
1030
- if (Number(newValue) > Number(this.max)) {
1031
- this.maxValueExceeded = true;
1032
- }
1033
- else {
946
+ constructor(hostRef) {
947
+ registerInstance(this, hostRef);
948
+ this.getValidationText = createEvent(this, "getValidationText", 7);
949
+ this.icBlur = createEvent(this, "icBlur", 7);
950
+ this.icChange = createEvent(this, "icChange", 7);
951
+ this.icFocus = createEvent(this, "icFocus", 7);
952
+ this.icInput = createEvent(this, "icInput", 7);
953
+ this.icKeydown = createEvent(this, "icKeydown", 7);
954
+ this.inheritedAttributes = {};
955
+ this.showLeftIcon = this.hasLeftIconSlot();
956
+ this.getMaxLengthExceeded = (value) => {
957
+ this.numChars = value.length;
958
+ if (this.type === "number") {
959
+ this.minValueUnattained =
960
+ value && Number(value) < Number(this.min) ? true : false;
961
+ this.maxValueExceeded = Number(value) > Number(this.max) ? true : false;
962
+ }
963
+ if (this.maxLength > 0) {
964
+ this.maxLengthExceeded = value.length > this.maxLength ? true : false;
965
+ }
966
+ };
967
+ this.onInput = (ev) => {
968
+ this.value = ev.target.value;
969
+ this.icInput.emit({ value: this.value });
970
+ };
971
+ this.onBlur = (ev) => {
972
+ const value = ev.target.value;
973
+ this.icBlur.emit({ value: value });
974
+ };
975
+ this.onFocus = (ev) => {
976
+ const value = ev.target.value;
977
+ this.icFocus.emit({ value: value });
978
+ };
979
+ this.isTextArea = () => {
980
+ return this.rows > 1;
981
+ };
982
+ this.getInlineValidationText = () => {
983
+ this.getValidationText.emit({ value: this.validationText });
984
+ };
985
+ this.hasStatus = (status) => {
986
+ return status !== "" && !this.disabled;
987
+ };
988
+ this.showStatusText = (status) => {
989
+ return (this.hasStatus(status) &&
990
+ !(status == IcInformationStatus.Success && this.validationInline) &&
991
+ !this.validationInlineInternal);
992
+ };
993
+ this.handleFormReset = () => {
994
+ this.value = this.initialValue;
995
+ };
996
+ this.numChars = 0;
997
+ this.maxLengthExceeded = false;
1034
998
  this.maxValueExceeded = false;
1035
- }
999
+ this.minValueUnattained = false;
1000
+ this.ariaActiveDescendant = undefined;
1001
+ this.ariaAutocomplete = undefined;
1002
+ this.ariaExpanded = undefined;
1003
+ this.ariaOwns = undefined;
1004
+ this.autocapitalize = "off";
1005
+ this.autocomplete = "off";
1006
+ this.autocorrect = "off";
1007
+ this.autoFocus = false;
1008
+ this.disabled = false;
1009
+ this.fullWidth = false;
1010
+ this.helperText = "";
1011
+ this.hideLabel = false;
1012
+ this.hiddenInput = true;
1013
+ this.inputId = `ic-text-field-input-${inputIds++}`;
1014
+ this.inputmode = "text";
1015
+ this.label = undefined;
1016
+ this.max = undefined;
1017
+ this.maxLength = 0;
1018
+ this.min = undefined;
1019
+ this.name = this.inputId;
1020
+ this.placeholder = "";
1021
+ this.readonly = false;
1022
+ this.required = false;
1023
+ this.resize = false;
1024
+ this.role = undefined;
1025
+ this.rows = 1;
1026
+ this.size = "default";
1027
+ this.small = false;
1028
+ this.spellcheck = false;
1029
+ this.truncateValue = undefined;
1030
+ this.type = "text";
1031
+ this.validationInline = false;
1032
+ this.validationInlineInternal = false;
1033
+ this.validationStatus = "";
1034
+ this.validationText = "";
1035
+ this.debounce = 0;
1036
+ this.value = "";
1037
+ this.initialValue = this.value;
1036
1038
  }
1037
- if (this.maxLength > 0) {
1038
- if (newValue.length > this.maxLength) {
1039
- this.maxLengthExceeded = true;
1040
- }
1041
- else {
1042
- this.maxLengthExceeded = false;
1043
- }
1039
+ debounceChanged() {
1040
+ this.icChange = debounceEvent(this.icChange, this.debounce);
1041
+ }
1042
+ watchValueHandler(newValue) {
1043
+ if (this.inputEl && this.inputEl.value !== newValue) {
1044
+ this.inputEl.value = newValue;
1045
+ }
1046
+ this.getMaxLengthExceeded(newValue);
1047
+ this.icChange.emit({ value: newValue });
1048
+ }
1049
+ connectedCallback() {
1050
+ this.debounceChanged();
1051
+ }
1052
+ disconnectedCallback() {
1053
+ removeFormResetListener(this.el, this.handleFormReset);
1044
1054
  }
1045
- this.icChange.emit({ value: newValue });
1046
- }
1047
- connectedCallback() {
1048
- this.debounceChanged();
1049
- }
1050
- disconnectedCallback() {
1051
- removeFormResetListener(this.el, this.handleFormReset);
1052
- }
1053
- componentWillLoad() {
1054
- this.watchValueHandler(this.value);
1055
- this.inheritedAttributes = inheritAttributes(this.el, [
1056
- ...IC_INHERITED_ARIA,
1057
- "title",
1058
- "aria-autocomplete",
1059
- "aria-haspopup",
1060
- ]);
1061
- if (this.readonly) {
1062
- this.maxLengthExceeded = false;
1063
- this.maxValueExceeded = false;
1064
- this.minValueUnattained = false;
1055
+ componentWillLoad() {
1056
+ if (this.value !== this.initialValue) {
1057
+ this.watchValueHandler(this.value);
1058
+ }
1059
+ this.getMaxLengthExceeded(this.value);
1060
+ this.inheritedAttributes = inheritAttributes(this.el, [
1061
+ ...IC_INHERITED_ARIA,
1062
+ "title",
1063
+ ]);
1064
+ if (this.readonly) {
1065
+ this.maxLengthExceeded = false;
1066
+ this.maxValueExceeded = false;
1067
+ this.minValueUnattained = false;
1068
+ }
1069
+ addFormResetListener(this.el, this.handleFormReset);
1070
+ removeDisabledFalse(this.disabled, this.el);
1065
1071
  }
1066
- addFormResetListener(this.el, this.handleFormReset);
1067
- removeDisabledFalse(this.disabled, this.el);
1068
- }
1069
- componentDidLoad() {
1070
- onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
1071
- if (this.validationInlineInternal) {
1072
- this.getInlineValidationText();
1072
+ componentDidLoad() {
1073
+ onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
1074
+ if (this.validationInlineInternal) {
1075
+ this.getInlineValidationText();
1076
+ }
1073
1077
  }
1074
- }
1075
- handleKeyDown(ev) {
1076
- this.icKeydown.emit({ event: ev });
1077
- }
1078
- /**
1079
- * Sets focus on the native `input`.
1080
- */
1081
- async setFocus() {
1082
- if (this.inputEl) {
1083
- this.inputEl.focus();
1078
+ handleKeyDown(ev) {
1079
+ this.icKeydown.emit({ event: ev });
1084
1080
  }
1085
- }
1086
- hasLeftIconSlot() {
1087
- const iconEl = this.el.querySelector(`[slot="icon"]`);
1088
- return iconEl !== null;
1089
- }
1090
- render() {
1091
- const { inputId, name, label, required, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
1092
- const disabledMode = readonly ? true : disabled;
1093
- const placeholderText = disabled ? "" : placeholder;
1094
- const currentStatus = maxLengthExceeded || maxValueExceeded || minValueUnattained
1095
- ? IcInformationStatus.Error
1096
- : validationStatus;
1097
- const currentValidationText = maxLengthExceeded
1098
- ? "Maximum length exceeded"
1099
- : maxValueExceeded
1100
- ? `Maximum value of ${max} exceeded`
1101
- : minValueUnattained
1102
- ? `Minimum value of ${min} not met`
1103
- : validationText;
1104
- const maxNumChars = readonly ? 0 : maxLength;
1105
- const messageAriaLive = maxLengthExceeded ||
1106
- maxValueExceeded ||
1107
- minValueUnattained ||
1108
- (maxLength === 0 && currentStatus === IcInformationStatus.Error)
1109
- ? "assertive"
1110
- : "polite";
1111
- const showStatusText = this.showStatusText(currentStatus);
1112
- const multiline = this.isTextArea();
1113
- const hiddenCharCountDescId = maxLength > 0 ? inputId + "-charcount-desc" : "";
1114
- const describedBy = (hiddenCharCountDescId +
1115
- " " +
1116
- getInputDescribedByText(inputId, helperText !== "", showStatusText)).trim();
1117
- if (this.showLeftIcon && !readonly && disabledMode) {
1118
- this.showLeftIcon = false;
1081
+ /**
1082
+ * Sets focus on the native `input`.
1083
+ */
1084
+ async setFocus() {
1085
+ if (this.inputEl) {
1086
+ this.inputEl.focus();
1087
+ }
1088
+ }
1089
+ hasLeftIconSlot() {
1090
+ const iconEl = this.el.querySelector(`[slot="icon"]`);
1091
+ return iconEl !== null;
1119
1092
  }
1120
- const invalid = currentStatus === IcInformationStatus.Error ? "true" : "false";
1121
- const disabledText = disabledMode && !readonly;
1122
- if (hiddenInput) {
1123
- renderHiddenInput(true, this.el, name, value, disabledMode);
1093
+ render() {
1094
+ const { inputId, name, label, required, size, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
1095
+ const disabledMode = readonly ? true : disabled;
1096
+ const placeholderText = disabled ? "" : placeholder;
1097
+ const currentStatus = maxLengthExceeded || maxValueExceeded || minValueUnattained
1098
+ ? IcInformationStatus.Error
1099
+ : validationStatus;
1100
+ const currentValidationText = maxLengthExceeded
1101
+ ? "Maximum length exceeded"
1102
+ : maxValueExceeded
1103
+ ? `Maximum value of ${max} exceeded`
1104
+ : minValueUnattained
1105
+ ? `Minimum value of ${min} not met`
1106
+ : validationText;
1107
+ const maxNumChars = readonly ? 0 : maxLength;
1108
+ const messageAriaLive = maxLengthExceeded ||
1109
+ maxValueExceeded ||
1110
+ minValueUnattained ||
1111
+ (maxLength === 0 && currentStatus === IcInformationStatus.Error)
1112
+ ? "assertive"
1113
+ : "polite";
1114
+ const showStatusText = this.showStatusText(currentStatus);
1115
+ const multiline = this.isTextArea();
1116
+ const hiddenCharCountDescId = maxLength > 0 ? inputId + "-charcount-desc" : "";
1117
+ const describedBy = (hiddenCharCountDescId +
1118
+ " " +
1119
+ getInputDescribedByText(inputId, helperText !== "", showStatusText)).trim();
1120
+ if (this.showLeftIcon && !readonly && disabledMode) {
1121
+ this.showLeftIcon = false;
1122
+ }
1123
+ const invalid = currentStatus === IcInformationStatus.Error ? "true" : "false";
1124
+ const disabledText = disabledMode && !readonly;
1125
+ if (hiddenInput) {
1126
+ renderHiddenInput(true, this.el, name, value, disabledMode);
1127
+ }
1128
+ return (h(Host, { class: { ["fullwidth"]: fullWidth } }, h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), h("ic-input-component-container", { size: small ? "small" : size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, this.showLeftIcon && (h("span", { class: {
1129
+ ["readonly"]: readonly,
1130
+ ["has-value"]: value.length > 0,
1131
+ }, slot: "left-icon" }, h("slot", { name: "icon" }))), !multiline && (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
1132
+ ["no-left-pad"]: !this.showLeftIcon && readonly,
1133
+ ["readonly"]: readonly,
1134
+ ["truncate-value"]: truncateValue,
1135
+ }, placeholder: placeholderText, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-activedescendant": this.ariaActiveDescendant, "aria-expanded": this.ariaExpanded, "aria-owns": this.ariaOwns, autocomplete: this.autocomplete, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, role: this.role }, this.inheritedAttributes))), multiline && (h("textarea", Object.assign({ id: inputId, class: {
1136
+ ["no-resize"]: resize === false || readonly,
1137
+ ["no-left-pad"]: !this.showLeftIcon && readonly,
1138
+ ["readonly"]: readonly,
1139
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholderText, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode }, this.inheritedAttributes))), isSlotUsed(this.el, "clear-button") && (h("slot", { name: "clear-button" })), isSlotUsed(this.el, "search-submit-button") && (h("slot", { name: "search-submit-button" }))), isSlotUsed(this.el, "menu") && h("slot", { name: "menu" }), (!isEmptyString(validationStatus) ||
1140
+ !isEmptyString(validationText) ||
1141
+ maxNumChars > 0 ||
1142
+ maxValueExceeded ||
1143
+ minValueUnattained) &&
1144
+ !validationInlineInternal && (h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
1145
+ (currentStatus === IcInformationStatus.Success &&
1146
+ validationInline) ||
1147
+ validationInlineInternal
1148
+ ? ""
1149
+ : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { slot: "validation-message-adornment" }, h("ic-typography", { variant: "caption", class: {
1150
+ ["maxlengthtext"]: true,
1151
+ ["error"]: maxLengthExceeded,
1152
+ ["disabled"]: disabledText,
1153
+ } }, h("span", { "aria-live": "polite", id: `${inputId}-charcount`, class: "charcount" }, numChars, "/", maxNumChars), h("span", { hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))))));
1124
1154
  }
1125
- return (h(Host, { class: { ["fullwidth"]: fullWidth } }, h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), h("ic-input-component-container", { small: small, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, this.showLeftIcon && (h("span", { class: {
1126
- ["readonly"]: readonly,
1127
- ["has-value"]: value.length > 0,
1128
- }, slot: "left-icon" }, h("slot", { name: "icon" }))), !multiline && (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
1129
- ["no-left-pad"]: !this.showLeftIcon && readonly,
1130
- ["readonly"]: readonly,
1131
- ["truncate-value"]: truncateValue,
1132
- }, placeholder: placeholderText, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-activedescendant": this.ariaActiveDescendant, "aria-expanded": this.ariaExpanded, "aria-owns": this.ariaOwns, autocomplete: this.autocomplete, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, role: this.role }, this.inheritedAttributes))), multiline && (h("textarea", Object.assign({ id: inputId, class: {
1133
- ["no-resize"]: resize === false || readonly,
1134
- ["no-left-pad"]: !this.showLeftIcon && readonly,
1135
- ["readonly"]: readonly,
1136
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholderText, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode }, this.inheritedAttributes))), isSlotUsed(this.el, "clear-button") && (h("slot", { name: "clear-button" })), isSlotUsed(this.el, "search-submit-button") && (h("slot", { name: "search-submit-button" }))), isSlotUsed(this.el, "menu") && h("slot", { name: "menu" }), (!isEmptyString(validationStatus) ||
1137
- !isEmptyString(validationText) ||
1138
- maxNumChars > 0 ||
1139
- maxValueExceeded ||
1140
- minValueUnattained) &&
1141
- !validationInlineInternal && (h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
1142
- (currentStatus === IcInformationStatus.Success &&
1143
- validationInline) ||
1144
- validationInlineInternal
1145
- ? ""
1146
- : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { slot: "validation-message-adornment" }, h("ic-typography", { variant: "caption", class: {
1147
- ["maxlengthtext"]: true,
1148
- ["error"]: maxLengthExceeded,
1149
- ["disabled"]: disabledText,
1150
- } }, h("span", { "aria-live": "polite", id: `${inputId}-charcount`, class: "charcount" }, numChars, "/", maxNumChars), h("span", { hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))))));
1151
- }
1152
- get el() { return getElement(this); }
1153
- static get watchers() { return {
1154
- "debounce": ["debounceChanged"],
1155
- "value": ["watchValueHandler"]
1156
- }; }
1155
+ get el() { return getElement(this); }
1156
+ static get watchers() { return {
1157
+ "debounce": ["debounceChanged"],
1158
+ "value": ["watchValueHandler"]
1159
+ }; }
1157
1160
  };
1158
1161
  TextField.style = icTextFieldCss;
1159
1162