@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
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-990b968b.js');
6
- const helpers = require('./helpers-d166f875.js');
7
- const types = require('./types-7d67439f.js');
5
+ const index = require('./index-4cf27b16.js');
6
+ const helpers = require('./helpers-bbe55215.js');
7
+ const types = require('./types-17dba796.js');
8
8
 
9
9
  const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
10
10
  <path d="M2.08748 0L0.912476 1.175L4.72914 5L0.912476 8.825L2.08748 10L7.08748 5L2.08748 0Z" fill="currentColor"/>
@@ -18,252 +18,253 @@ const paginationFirstLast = `<svg width="12" height="10" viewBox="0 0 12 10" fil
18
18
  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}";
19
19
 
20
20
  const Pagination = class {
21
- constructor(hostRef) {
22
- index.registerInstance(this, hostRef);
23
- this.icPageChange = index.createEvent(this, "icPageChange", 7);
24
- this.handleClickFirst = () => {
25
- this.currentPage = 1;
26
- this.icPageChange.emit({ value: this.currentPage });
27
- };
28
- this.handleClickPrevious = () => {
29
- this.currentPage--;
30
- this.icPageChange.emit({ value: this.currentPage });
31
- };
32
- this.handleClickNext = () => {
33
- this.currentPage++;
34
- this.icPageChange.emit({ value: this.currentPage });
35
- };
36
- this.handleClickLast = () => {
37
- this.currentPage = this.pages;
38
- this.icPageChange.emit({ value: this.currentPage });
39
- };
40
- // button rendering abstracted from component render methods for clarity
41
- this.firstButton = () => {
42
- return (index.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 }));
43
- };
44
- this.previousButton = () => {
45
- return (index.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 }));
46
- };
47
- this.nextButton = () => {
48
- return (index.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 }));
49
- };
50
- this.lastButton = () => {
51
- return (index.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 }));
52
- };
53
- this.renderStartEllipsis = () => {
54
- return (index.h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "start-ellipsis", disabled: this.disabled }));
55
- };
56
- this.renderEndEllipsis = () => {
57
- return (index.h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "end-ellipsis", disabled: this.disabled }));
58
- };
59
- this.renderStartItems = () => {
60
- return this.startItems.map((page) => {
61
- return (index.h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
62
- });
63
- };
64
- this.renderEndItems = () => {
65
- return this.endItems.map((page) => {
66
- return (index.h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
67
- });
68
- };
69
- this.renderMiddleItems = () => {
70
- return this.midItems.map((page) => {
71
- return (index.h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
72
- });
73
- };
74
- this.endEllipsis = false;
75
- this.endItems = [];
76
- this.midItems = [];
77
- this.startEllipsis = false;
78
- this.startItems = [];
79
- this.adjacentCount = 1;
80
- this.appearance = "default";
81
- this.boundaryCount = 1;
82
- this.defaultPage = 1;
83
- this.disabled = false;
84
- this.hideCurrentPage = false;
85
- this.hideFirstAndLastPageButton = false;
86
- this.label = "Page";
87
- this.pages = undefined;
88
- this.type = "simple";
89
- this.currentPage = this.defaultPage;
90
- }
91
- watchNumberPagesHandler() {
92
- this.watchPageChangeHandler();
93
- }
94
- watchPageChangeHandler() {
95
- if (this.type === "simple") {
96
- return;
21
+ constructor(hostRef) {
22
+ index.registerInstance(this, hostRef);
23
+ this.icPageChange = index.createEvent(this, "icPageChange", 7);
24
+ this.handleClickFirst = () => {
25
+ this.currentPage = 1;
26
+ this.icPageChange.emit({ value: this.currentPage });
27
+ };
28
+ this.handleClickPrevious = () => {
29
+ this.currentPage--;
30
+ this.icPageChange.emit({ value: this.currentPage });
31
+ };
32
+ this.handleClickNext = () => {
33
+ this.currentPage++;
34
+ this.icPageChange.emit({ value: this.currentPage });
35
+ };
36
+ this.handleClickLast = () => {
37
+ this.currentPage = this.pages;
38
+ this.icPageChange.emit({ value: this.currentPage });
39
+ };
40
+ // button rendering abstracted from component render methods for clarity
41
+ this.firstButton = () => {
42
+ return (index.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 }));
43
+ };
44
+ this.previousButton = () => {
45
+ return (index.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 }));
46
+ };
47
+ this.nextButton = () => {
48
+ return (index.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 }));
49
+ };
50
+ this.lastButton = () => {
51
+ return (index.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 }));
52
+ };
53
+ this.renderStartEllipsis = () => {
54
+ return (index.h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "start-ellipsis", disabled: this.disabled }));
55
+ };
56
+ this.renderEndEllipsis = () => {
57
+ return (index.h("ic-pagination-item", { appearance: this.appearance, type: "ellipsis", id: "end-ellipsis", disabled: this.disabled }));
58
+ };
59
+ this.renderStartItems = () => {
60
+ return this.startItems.map((page) => {
61
+ return (index.h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
62
+ });
63
+ };
64
+ this.renderEndItems = () => {
65
+ return this.endItems.map((page) => {
66
+ return (index.h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
67
+ });
68
+ };
69
+ this.renderMiddleItems = () => {
70
+ return this.midItems.map((page) => {
71
+ return (index.h("ic-pagination-item", { appearance: this.appearance, selected: page === this.currentPage, id: `pagination-item-${page}`, type: "page", page: page, disabled: this.disabled }));
72
+ });
73
+ };
74
+ this.endEllipsis = false;
75
+ this.endItems = [];
76
+ this.midItems = [];
77
+ this.startEllipsis = false;
78
+ this.startItems = [];
79
+ this.adjacentCount = 1;
80
+ this.appearance = "default";
81
+ this.boundaryCount = 1;
82
+ this.defaultPage = 1;
83
+ this.disabled = false;
84
+ this.hideCurrentPage = false;
85
+ this.hideFirstAndLastPageButton = false;
86
+ this.label = "Page";
87
+ this.pages = undefined;
88
+ this.type = "simple";
89
+ this.currentPage = this.defaultPage;
97
90
  }
98
- this.startEllipsis = false;
99
- this.endEllipsis = false;
100
- this.startItems = [];
101
- this.endItems = [];
102
- this.midItems = [];
103
- const startItems = [];
104
- let startItemCount = 0;
105
- const endItems = [];
106
- let endStart = this.pages;
107
- const midItems = [];
108
- let midStart;
109
- let midEnd;
110
- let startEllipsis = false;
111
- let endEllipsis = false;
112
- if (this.pages <= this.boundaryCount * 2 + this.adjacentCount * 2 + 3) {
113
- this.startEllipsis = false;
114
- this.endEllipsis = false;
115
- for (let i = 1; i <= this.pages; i++) {
116
- startItems.push(i);
117
- }
118
- this.startItems = startItems;
119
- return;
91
+ watchNumberPagesHandler() {
92
+ this.watchPageChangeHandler();
120
93
  }
121
- startItemCount = this.boundaryCount === 0 ? 1 : this.boundaryCount;
122
- endStart =
123
- this.boundaryCount === 0
124
- ? this.pages
125
- : this.pages - this.boundaryCount + 1;
126
- if (this.currentPage <= this.adjacentCount + this.boundaryCount + 2) {
127
- startEllipsis = false;
128
- endEllipsis = true;
129
- let numItems = 2 * this.adjacentCount + 1;
130
- if (this.boundaryCount === 0) {
131
- numItems--;
132
- }
133
- midStart = startItemCount + 1;
134
- midEnd = midStart + numItems;
135
- }
136
- else {
137
- startEllipsis = true;
138
- if (this.currentPage >
139
- this.pages - (this.adjacentCount + this.boundaryCount + 2)) {
140
- let numItems = 2 * this.adjacentCount + 1;
141
- if (this.boundaryCount === 0) {
142
- numItems--;
94
+ watchPageChangeHandler() {
95
+ if (this.type === "simple") {
96
+ return;
143
97
  }
144
- midEnd =
145
- this.boundaryCount === 0
146
- ? this.pages - 1
147
- : this.pages - this.boundaryCount;
148
- midStart = midEnd - numItems;
149
- }
150
- else {
151
- endEllipsis = true;
152
- midStart = this.currentPage - this.adjacentCount;
153
- midEnd = this.currentPage + this.adjacentCount;
154
- }
155
- }
156
- //create array of start items
157
- if (this.boundaryCount > 0 ||
158
- (this.boundaryCount === 0 && startEllipsis === false)) {
159
- for (let i = 1; i <= startItemCount; i++) {
160
- startItems.push(i);
161
- }
162
- }
163
- //create array of end items
164
- if (this.boundaryCount > 0 ||
165
- (this.boundaryCount === 0 && endEllipsis === false)) {
166
- for (let i = endStart; i <= this.pages; i++) {
167
- endItems.push(i);
168
- }
98
+ this.startEllipsis = false;
99
+ this.endEllipsis = false;
100
+ this.startItems = [];
101
+ this.endItems = [];
102
+ this.midItems = [];
103
+ const startItems = [];
104
+ let startItemCount = 0;
105
+ const endItems = [];
106
+ let endStart = this.pages;
107
+ const midItems = [];
108
+ let midStart;
109
+ let midEnd;
110
+ let startEllipsis = false;
111
+ let endEllipsis = false;
112
+ if (this.pages <= this.boundaryCount * 2 + this.adjacentCount * 2 + 3) {
113
+ this.startEllipsis = false;
114
+ this.endEllipsis = false;
115
+ for (let i = 1; i <= this.pages; i++) {
116
+ startItems.push(i);
117
+ }
118
+ this.startItems = startItems;
119
+ return;
120
+ }
121
+ startItemCount = this.boundaryCount === 0 ? 1 : this.boundaryCount;
122
+ endStart =
123
+ this.boundaryCount === 0
124
+ ? this.pages
125
+ : this.pages - this.boundaryCount + 1;
126
+ if (this.currentPage <= this.adjacentCount + this.boundaryCount + 2) {
127
+ startEllipsis = false;
128
+ endEllipsis = true;
129
+ let numItems = 2 * this.adjacentCount + 1;
130
+ if (this.boundaryCount === 0) {
131
+ numItems--;
132
+ }
133
+ midStart = startItemCount + 1;
134
+ midEnd = midStart + numItems;
135
+ }
136
+ else {
137
+ startEllipsis = true;
138
+ if (this.currentPage >
139
+ this.pages - (this.adjacentCount + this.boundaryCount + 2)) {
140
+ let numItems = 2 * this.adjacentCount + 1;
141
+ if (this.boundaryCount === 0) {
142
+ numItems--;
143
+ }
144
+ midEnd =
145
+ this.boundaryCount === 0
146
+ ? this.pages - 1
147
+ : this.pages - this.boundaryCount;
148
+ midStart = midEnd - numItems;
149
+ }
150
+ else {
151
+ endEllipsis = true;
152
+ midStart = this.currentPage - this.adjacentCount;
153
+ midEnd = this.currentPage + this.adjacentCount;
154
+ }
155
+ }
156
+ //create array of start items
157
+ if (this.boundaryCount > 0 ||
158
+ (this.boundaryCount === 0 && startEllipsis === false)) {
159
+ for (let i = 1; i <= startItemCount; i++) {
160
+ startItems.push(i);
161
+ }
162
+ }
163
+ //create array of end items
164
+ if (this.boundaryCount > 0 ||
165
+ (this.boundaryCount === 0 && endEllipsis === false)) {
166
+ for (let i = endStart; i <= this.pages; i++) {
167
+ endItems.push(i);
168
+ }
169
+ }
170
+ //create array of mid items
171
+ for (let i = midStart; i <= midEnd; i++) {
172
+ midItems.push(i);
173
+ }
174
+ this.startEllipsis = startEllipsis;
175
+ this.endEllipsis = endEllipsis;
176
+ this.startItems = startItems;
177
+ this.endItems = endItems;
178
+ this.midItems = midItems;
169
179
  }
170
- //create array of mid items
171
- for (let i = midStart; i <= midEnd; i++) {
172
- midItems.push(i);
180
+ componentWillLoad() {
181
+ this.watchPageChangeHandler();
182
+ if (this.boundaryCount > 2) {
183
+ this.boundaryCount = 2;
184
+ }
185
+ if (this.adjacentCount > 2) {
186
+ this.adjacentCount = 2;
187
+ }
188
+ helpers.removeDisabledFalse(this.disabled, this.el);
173
189
  }
174
- this.startEllipsis = startEllipsis;
175
- this.endEllipsis = endEllipsis;
176
- this.startItems = startItems;
177
- this.endItems = endItems;
178
- this.midItems = midItems;
179
- }
180
- componentWillLoad() {
181
- this.watchPageChangeHandler();
182
- if (this.boundaryCount > 2) {
183
- this.boundaryCount = 2;
190
+ componentDidLoad() {
191
+ helpers.onComponentRequiredPropUndefined([{ prop: this.pages, propName: "pages" }], "Pagination");
184
192
  }
185
- if (this.adjacentCount > 2) {
186
- this.adjacentCount = 2;
193
+ paginationItemClickHandler(ev) {
194
+ const page = ev.detail.page;
195
+ this.currentPage = page;
196
+ this.icPageChange.emit({ value: this.currentPage });
187
197
  }
188
- helpers.removeDisabledFalse(this.disabled, this.el);
189
- }
190
- componentDidLoad() {
191
- helpers.onComponentRequiredPropUndefined([{ prop: this.pages, propName: "pages" }], "Pagination");
192
- }
193
- paginationItemClickHandler(ev) {
194
- const page = ev.detail.page;
195
- this.currentPage = page;
196
- this.icPageChange.emit({ value: this.currentPage });
197
- }
198
- /**
199
- * Sets the currently displayed page.
200
- */
201
- async setCurrentPage(page) {
202
- if (typeof page === "number" && page > 0 && page <= this.pages) {
203
- this.currentPage = page;
198
+ /**
199
+ * Sets the currently displayed page.
200
+ * @param {number} page The page number to set as the current page
201
+ */
202
+ async setCurrentPage(page) {
203
+ if (typeof page === "number" && page > 0 && page <= this.pages) {
204
+ this.currentPage = page;
205
+ }
206
+ else {
207
+ console.error("Current page must be a number greater than zero but less than or equal to the total number of pages");
208
+ }
204
209
  }
205
- else {
206
- console.error("Current page must be a number greater than zero but less than or equal to the total number of pages");
210
+ render() {
211
+ const { type, pages, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, } = this;
212
+ return (index.h(index.Host, null, type === "simple" && (index.h("nav", { class: {
213
+ ["disabled"]: disabled,
214
+ }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), index.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" && (index.h("nav", { class: {
215
+ ["disabled"]: disabled,
216
+ }, 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()))));
207
217
  }
208
- }
209
- render() {
210
- const { type, pages, currentPage, hideCurrentPage, disabled, hideFirstAndLastPageButton, label, } = this;
211
- return (index.h(index.Host, null, type === "simple" && (index.h("nav", { class: {
212
- ["disabled"]: disabled,
213
- }, role: "navigation", "aria-label": "Pagination Navigation" }, hideFirstAndLastPageButton ? null : this.firstButton(), this.previousButton(), index.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" && (index.h("nav", { class: {
214
- ["disabled"]: disabled,
215
- }, 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()))));
216
- }
217
- get el() { return index.getElement(this); }
218
- static get watchers() { return {
219
- "pages": ["watchNumberPagesHandler"],
220
- "currentPage": ["watchPageChangeHandler"]
221
- }; }
218
+ get el() { return index.getElement(this); }
219
+ static get watchers() { return {
220
+ "pages": ["watchNumberPagesHandler"],
221
+ "currentPage": ["watchPageChangeHandler"]
222
+ }; }
222
223
  };
223
224
  Pagination.style = icPaginationCss;
224
225
 
225
226
  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}}";
226
227
 
227
228
  const PaginationItem = class {
228
- constructor(hostRef) {
229
- index.registerInstance(this, hostRef);
230
- this.paginationItemClick = index.createEvent(this, "paginationItemClick", 7);
231
- this.handleClick = () => {
232
- this.paginationItemClick.emit({ page: this.page });
233
- };
234
- this.appearance = undefined;
235
- this.ariaOverride = false;
236
- this.disabled = false;
237
- this.label = "Page ";
238
- this.page = undefined;
239
- this.pages = undefined;
240
- this.selected = false;
241
- this.type = undefined;
242
- }
243
- componentWillLoad() {
244
- helpers.removeDisabledFalse(this.disabled, this.el);
245
- }
246
- render() {
247
- const { page, selected, type, disabled, appearance, label, ariaOverride, pages, } = this;
248
- return (index.h("a", null, type === "ellipsis" ? (index.h("div", { class: {
249
- ["item-container"]: true,
250
- ["ellipsis"]: true,
251
- ["disabled"]: disabled,
252
- } }, index.h("ic-typography", { class: {
253
- [`${appearance}`]: true,
254
- }, variant: "label" }, "..."))) : type === "page" ? (index.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: {
255
- ["selected"]: !disabled && selected,
256
- ["disabled"]: disabled,
257
- ["item-container"]: true,
258
- [`${appearance}`]: true,
259
- ["page"]: type === "page",
260
- } }, index.h("ic-typography", { variant: "label", class: {
261
- ["page-selected"]: selected,
262
- ["disabled"]: disabled,
263
- [`${appearance}`]: true,
264
- } }, page))) : (index.h("ic-typography", { "aria-live": "polite", "aria-label": ariaOverride ? `Page ${page} of ${pages}` : `${label} ${page}`, class: `simple-current ${appearance}`, variant: "label" }, label, " ", page))));
265
- }
266
- get el() { return index.getElement(this); }
229
+ constructor(hostRef) {
230
+ index.registerInstance(this, hostRef);
231
+ this.paginationItemClick = index.createEvent(this, "paginationItemClick", 7);
232
+ this.handleClick = () => {
233
+ this.paginationItemClick.emit({ page: this.page });
234
+ };
235
+ this.appearance = undefined;
236
+ this.ariaOverride = false;
237
+ this.disabled = false;
238
+ this.label = "Page ";
239
+ this.page = undefined;
240
+ this.pages = undefined;
241
+ this.selected = false;
242
+ this.type = undefined;
243
+ }
244
+ componentWillLoad() {
245
+ helpers.removeDisabledFalse(this.disabled, this.el);
246
+ }
247
+ render() {
248
+ const { page, selected, type, disabled, appearance, label, ariaOverride, pages, } = this;
249
+ return (index.h("a", null, type === "ellipsis" ? (index.h("div", { class: {
250
+ ["item-container"]: true,
251
+ ["ellipsis"]: true,
252
+ ["disabled"]: disabled,
253
+ } }, index.h("ic-typography", { class: {
254
+ [`${appearance}`]: true,
255
+ }, variant: "label" }, "..."))) : type === "page" ? (index.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: {
256
+ ["selected"]: !disabled && selected,
257
+ ["disabled"]: disabled,
258
+ ["item-container"]: true,
259
+ [`${appearance}`]: true,
260
+ ["page"]: type === "page",
261
+ } }, index.h("ic-typography", { variant: "label", class: {
262
+ ["page-selected"]: selected,
263
+ ["disabled"]: disabled,
264
+ [`${appearance}`]: true,
265
+ } }, page))) : (index.h("ic-typography", { "aria-live": "polite", "aria-label": ariaOverride ? `Page ${page} of ${pages}` : `${label} ${page}`, class: `simple-current ${appearance}`, variant: "label" }, label, " ", page))));
266
+ }
267
+ get el() { return index.getElement(this); }
267
268
  };
268
269
  PaginationItem.style = icPaginationItemCss;
269
270
 
@@ -277,657 +278,668 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
277
278
  </svg>
278
279
  `;
279
280
 
280
- 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)}";
281
+ 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)}";
281
282
 
282
283
  let inputIds$1 = 0;
283
284
  const Select = class {
284
- constructor(hostRef) {
285
- index.registerInstance(this, hostRef);
286
- this.icBlur = index.createEvent(this, "icBlur", 7);
287
- this.icChange = index.createEvent(this, "icChange", 7);
288
- this.icClear = index.createEvent(this, "icClear", 7);
289
- this.icFocus = index.createEvent(this, "icFocus", 7);
290
- this.icInput = index.createEvent(this, "icInput", 7);
291
- this.icOptionSelect = index.createEvent(this, "icOptionSelect", 7);
292
- this.icRetryLoad = index.createEvent(this, "icRetryLoad", 7);
293
- this.hasSetDefaultValue = false;
294
- this.inheritedAttributes = {};
295
- this.initialOptionsEmpty = false;
296
- this.inputId = `ic-select-input-${inputIds$1++}`;
297
- this.menuId = `${this.inputId}-menu`;
298
- this.searchableMenuItemSelected = false;
299
- this.ungroupedOptions = [];
300
- this.handleRetry = (ev) => {
301
- var _a;
302
- if (ev.detail.keyPressed)
303
- (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
304
- this.blurredBecauseButtonPressed = true;
305
- this.retryButtonClick = true;
306
- this.hasSetDefaultValue = true;
307
- this.icRetryLoad.emit({ value: this.hiddenInputValue });
308
- };
309
- this.emitIcChange = (value) => {
310
- if (!this.searchable) {
311
- this.value = value;
312
- }
313
- clearTimeout(this.debounceIcChange);
314
- this.debounceIcChange = window.setTimeout(() => {
315
- this.icChange.emit({ value: value });
316
- }, this.currDebounce);
317
- };
318
- this.emitImmediateIcChange = (value) => {
319
- this.value = value;
320
- clearTimeout(this.debounceIcChange);
321
- this.icChange.emit({ value: value });
322
- };
323
- /**
324
- * Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
325
- * @param options array of IcMenuOptions
326
- * @returns a new options object, with all entries possessing a duplicate 'value' field removed
327
- */
328
- this.deduplicateOptions = (options) => {
329
- const uniqueValues = [];
330
- const dedupedOptions = [];
331
- let dedupedChildren;
332
- options.forEach((option) => {
333
- if (option.children) {
334
- //If an option has children, we will loop through them
335
- dedupedChildren = [];
336
- option.children.forEach((child) => {
337
- if (uniqueValues.includes(child.value)) {
338
- console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
285
+ constructor(hostRef) {
286
+ index.registerInstance(this, hostRef);
287
+ this.icBlur = index.createEvent(this, "icBlur", 7);
288
+ this.icChange = index.createEvent(this, "icChange", 7);
289
+ this.icClear = index.createEvent(this, "icClear", 7);
290
+ this.icFocus = index.createEvent(this, "icFocus", 7);
291
+ this.icInput = index.createEvent(this, "icInput", 7);
292
+ this.icOptionSelect = index.createEvent(this, "icOptionSelect", 7);
293
+ this.icRetryLoad = index.createEvent(this, "icRetryLoad", 7);
294
+ this.hasSetDefaultValue = false;
295
+ this.inheritedAttributes = {};
296
+ this.initialOptionsEmpty = false;
297
+ this.inputId = `ic-select-input-${inputIds$1++}`;
298
+ this.menuId = `${this.inputId}-menu`;
299
+ this.searchableMenuItemSelected = false;
300
+ this.ungroupedOptions = [];
301
+ this.handleRetry = (ev) => {
302
+ var _a;
303
+ if (ev.detail.keyPressed)
304
+ (_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
305
+ this.blurredBecauseButtonPressed = true;
306
+ this.retryButtonClick = true;
307
+ this.hasSetDefaultValue = true;
308
+ this.icRetryLoad.emit({ value: this.hiddenInputValue });
309
+ };
310
+ this.emitIcChange = (value) => {
311
+ if (!this.searchable) {
312
+ this.value = value;
313
+ }
314
+ clearTimeout(this.debounceIcChange);
315
+ this.debounceIcChange = window.setTimeout(() => {
316
+ this.icChange.emit({ value: value });
317
+ }, this.currDebounce);
318
+ };
319
+ this.emitImmediateIcChange = (value) => {
320
+ this.value = value;
321
+ clearTimeout(this.debounceIcChange);
322
+ this.icChange.emit({ value: value });
323
+ };
324
+ /**
325
+ * Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
326
+ * @param options array of IcMenuOptions
327
+ * @returns a new options object, with all entries possessing a duplicate 'value' field removed
328
+ */
329
+ this.deduplicateOptions = (options) => {
330
+ const uniqueValues = [];
331
+ const dedupedOptions = [];
332
+ let dedupedChildren;
333
+ options.forEach((option) => {
334
+ if (option.children) {
335
+ //If an option has children, we will loop through them
336
+ dedupedChildren = [];
337
+ option.children.forEach((child) => {
338
+ if (uniqueValues.includes(child.value)) {
339
+ console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
340
+ }
341
+ else {
342
+ uniqueValues.push(child.value);
343
+ dedupedChildren.push(child);
344
+ }
345
+ });
346
+ // construct a modified option, inserting the deduplicated children alongside the original information
347
+ const modifiedParent = Object.assign(Object.assign({}, option), { children: dedupedChildren });
348
+ dedupedOptions.push(modifiedParent);
349
+ }
350
+ else {
351
+ // If an option does not have children, assess to see if it's value has been included already
352
+ if (uniqueValues.includes(option.value)) {
353
+ console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
354
+ }
355
+ else {
356
+ uniqueValues.push(option.value);
357
+ dedupedOptions.push(option);
358
+ }
359
+ }
360
+ });
361
+ return dedupedOptions;
362
+ };
363
+ /**
364
+ * Loop through options array and for all options with no value, infer it from the label
365
+ */
366
+ this.setOptionsValuesFromLabels = () => {
367
+ if (this.options.length > 0 && this.options.map) {
368
+ this.options.map((option) => {
369
+ if (!option.value) {
370
+ option.value = option.label;
371
+ }
372
+ });
373
+ }
374
+ };
375
+ this.setUngroupedOptions = (event) => {
376
+ this.ungroupedOptions = event.detail.options;
377
+ };
378
+ this.setTextColor = () => {
379
+ if (this.nativeSelectElement.selectedIndex === 0) {
380
+ this.nativeSelectElement.className = "placeholder";
339
381
  }
340
382
  else {
341
- uniqueValues.push(child.value);
342
- dedupedChildren.push(child);
383
+ this.nativeSelectElement.className = "select-option-selected";
343
384
  }
344
- });
345
- // construct a modified option, inserting the deduplicated children alongside the original information
346
- const modifiedParent = Object.assign(Object.assign({}, option), { children: dedupedChildren });
347
- dedupedOptions.push(modifiedParent);
348
- }
349
- else {
350
- // If an option does not have children, assess to see if it's value has been included already
351
- if (uniqueValues.includes(option.value)) {
352
- console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
353
- }
354
- else {
355
- uniqueValues.push(option.value);
356
- dedupedOptions.push(option);
357
- }
358
- }
359
- });
360
- return dedupedOptions;
361
- };
362
- /**
363
- * Loop through options array and for all options with no value, infer it from the label
364
- */
365
- this.setOptionsValuesFromLabels = () => {
366
- if (this.options.length > 0 && this.options.map) {
367
- this.options.map((option) => {
368
- if (!option.value) {
369
- option.value = option.label;
370
- }
371
- });
372
- }
373
- };
374
- this.setUngroupedOptions = (event) => {
375
- this.ungroupedOptions = event.detail.options;
376
- };
377
- this.setTextColor = () => {
378
- if (this.nativeSelectElement.selectedIndex === 0) {
379
- this.nativeSelectElement.className = "placeholder";
380
- }
381
- else {
382
- this.nativeSelectElement.className = "select-option-selected";
383
- }
384
- };
385
- this.setMenuChange = (open) => {
386
- if (this.open !== open) {
387
- this.open = open;
388
- }
389
- };
390
- this.getLabelFromValue = (value) => {
391
- return helpers.getLabelFromValue(value, this.uniqueOptions);
392
- };
393
- this.getFilteredChildMenuOptions = (option) => {
394
- let children = option.children;
395
- if (this.searchable) {
396
- children = helpers.getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
397
- }
398
- else {
399
- children = helpers.getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
400
- }
401
- const newOption = Object.assign({}, option);
402
- newOption.children = children;
403
- return newOption;
404
- };
405
- this.handleNativeSelectChange = () => {
406
- this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
407
- this.emitImmediateIcChange(this.nativeSelectElement.value);
408
- this.setTextColor();
409
- };
410
- this.handleCustomSelectChange = (event) => {
411
- if (this.searchable && event.detail.label === this.emptyOptionListText) {
412
- this.searchableSelectElement.focus();
413
- return;
414
- }
415
- if (this.searchable) {
416
- this.value = event.detail.value;
417
- this.searchableMenuItemSelected = true;
418
- // After editing the input, if selecting the same option as before, set the input value to label again
419
- if (this.value === this.currValue) {
420
- this.searchableSelectInputValue = this.getLabelFromValue(this.value);
421
- }
422
- this.inputValueToFilter = null;
423
- this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
424
- }
425
- this.ariaActiveDescendant = event.detail.optionId;
426
- this.icOptionSelect.emit({ value: event.detail.value });
427
- this.emitIcChange(event.detail.value);
428
- };
429
- this.handleMenuChange = (event) => {
430
- this.open = event.detail.open;
431
- this.pressedCharacters = "";
432
- this.searchable && this.handleFocusIndicatorDisplay();
433
- };
434
- // clears the debounce delay when navigating the menu with arrow keys etc
435
- // to prevent delay in change event, which should only occur when typing in input
436
- this.handleMenuKeyPress = (ev) => {
437
- ev.cancelBubble = true;
438
- this.handleCharacterKeyDown(ev.detail.key);
439
- };
440
- this.handleMenuValueChange = (ev) => {
441
- this.value = ev.detail.value;
442
- };
443
- this.handleFocusIndicatorDisplay = () => {
444
- const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
445
- if (this.open) {
446
- focusIndicator.classList.add("focus-indicator-enabled");
447
- }
448
- else {
449
- focusIndicator.classList.remove("focus-indicator-enabled");
450
- }
451
- };
452
- this.handleMouseDown = (event) => {
453
- if (!this.open) {
454
- event.preventDefault();
455
- }
456
- };
457
- this.isExternalFiltering = () => this.searchable && this.disableFilter;
458
- this.handleClick = (event) => {
459
- if (!this.open) {
460
- if (this.isExternalFiltering()) {
461
- this.menu.options = this.filteredOptions;
462
- }
463
- else if (!this.hasTimedOut &&
464
- !this.loading &&
465
- (!this.searchable || this.searchableMenuItemSelected)) {
466
- this.noOptions = null;
467
- this.menu.options = this.uniqueOptions;
468
- }
469
- }
470
- if (event.detail !== 0) {
471
- this.menu.handleClickOpen();
472
- }
473
- };
474
- this.handleExpandIconMouseDown = (event) => {
475
- if (!this.disabled) {
476
- event.preventDefault();
477
- this.searchableSelectElement.focus();
478
- this.handleClick(event);
479
- }
480
- };
481
- this.handleClear = (event) => {
482
- event.stopPropagation();
483
- this.hasTimedOut = false;
484
- clearTimeout(this.timeoutTimer);
485
- this.noOptions = null;
486
- this.emitImmediateIcChange(null);
487
- this.icClear.emit();
488
- if (this.searchable) {
489
- this.searchableSelectElement.value = null;
490
- this.searchableSelectInputValue = null;
491
- this.filteredOptions = this.uniqueOptions;
492
- this.hiddenInputValue = null;
493
- this.searchableSelectElement.focus();
494
- }
495
- else {
496
- this.customSelectElement.focus();
497
- }
498
- };
499
- this.handleCharacterKeyDown = (key) => {
500
- // Only close menu when space is pressed if not being used alongside character keys to quickly select options
501
- if (this.open &&
502
- key === " " &&
503
- this.pressedCharacters.length === 0 &&
504
- !this.hasTimedOut &&
505
- !this.loading) {
506
- this.setMenuChange(false);
507
- }
508
- if (key.length === 1 && !this.searchable) {
509
- window.clearTimeout(this.characterKeyPressTimer);
510
- this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
511
- this.pressedCharacters += key;
512
- this.handleFilter();
513
- if (!this.noOptions) {
514
- this.emitImmediateIcChange(this.filteredOptions[0].value);
515
- }
516
- }
517
- else {
518
- this.pressedCharacters = "";
519
- }
520
- };
521
- this.handleNativeSelectKeyDown = (event) => {
522
- if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
523
- event.cancelBubble = true;
524
- }
525
- this.handleCharacterKeyDown(event.key);
526
- };
527
- this.handleKeyDown = (event) => {
528
- if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
529
- event.cancelBubble = true;
530
- }
531
- const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
532
- if (!this.open) {
533
- if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
534
- this.menu.options = this.filteredOptions;
535
- }
536
- else {
537
- if (!this.hasTimedOut) {
385
+ };
386
+ this.setMenuChange = (open) => {
387
+ if (this.open !== open) {
388
+ this.open = open;
389
+ }
390
+ };
391
+ this.getLabelFromValue = (value) => {
392
+ return helpers.getLabelFromValue(value, this.uniqueOptions);
393
+ };
394
+ this.getFilteredChildMenuOptions = (option) => {
395
+ let children = option.children;
396
+ if (this.searchable) {
397
+ children = helpers.getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
398
+ }
399
+ else {
400
+ children = helpers.getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
401
+ }
402
+ const newOption = Object.assign({}, option);
403
+ newOption.children = children;
404
+ return newOption;
405
+ };
406
+ this.handleNativeSelectChange = () => {
407
+ this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
408
+ this.emitImmediateIcChange(this.nativeSelectElement.value);
409
+ this.setTextColor();
410
+ };
411
+ this.handleCustomSelectChange = (event) => {
412
+ if (this.searchable && event.detail.label === this.emptyOptionListText) {
413
+ this.searchableSelectElement.focus();
414
+ return;
415
+ }
416
+ if (this.searchable) {
417
+ this.value = event.detail.value;
418
+ this.searchableMenuItemSelected = true;
419
+ // After editing the input, if selecting the same option as before, set the input value to label again
420
+ if (this.value === this.currValue) {
421
+ this.searchableSelectInputValue = this.getLabelFromValue(this.value);
422
+ }
423
+ this.inputValueToFilter = null;
424
+ this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
425
+ }
426
+ this.ariaActiveDescendant = event.detail.optionId;
427
+ this.icOptionSelect.emit({ value: event.detail.value });
428
+ this.emitIcChange(event.detail.value);
429
+ };
430
+ this.handleMenuChange = (event) => {
431
+ this.open = event.detail.open;
432
+ this.pressedCharacters = "";
433
+ this.searchable && this.handleFocusIndicatorDisplay();
434
+ };
435
+ // clears the debounce delay when navigating the menu with arrow keys etc
436
+ // to prevent delay in change event, which should only occur when typing in input
437
+ this.handleMenuKeyPress = (ev) => {
438
+ ev.cancelBubble = true;
439
+ this.handleCharacterKeyDown(ev.detail.key);
440
+ };
441
+ this.handleMenuValueChange = (ev) => {
442
+ this.value = ev.detail.value;
443
+ };
444
+ this.handleFocusIndicatorDisplay = () => {
445
+ const focusIndicator = this.el.shadowRoot.querySelector(".focus-indicator");
446
+ if (this.open) {
447
+ focusIndicator.classList.add("focus-indicator-enabled");
448
+ }
449
+ else {
450
+ focusIndicator.classList.remove("focus-indicator-enabled");
451
+ }
452
+ };
453
+ this.handleMouseDown = (event) => {
454
+ if (!this.open) {
455
+ event.preventDefault();
456
+ }
457
+ };
458
+ this.isExternalFiltering = () => this.searchable && this.disableFilter;
459
+ this.handleClick = (event) => {
460
+ var _a;
461
+ if (!this.open) {
462
+ if (this.isExternalFiltering()) {
463
+ this.menu.options = this.filteredOptions;
464
+ }
465
+ else if (!this.hasTimedOut &&
466
+ !this.loading &&
467
+ !((_a = this.noOptions) === null || _a === void 0 ? void 0 : _a.length) &&
468
+ (!this.searchable || this.searchableMenuItemSelected)) {
469
+ this.noOptions = null;
470
+ this.menu.options = this.uniqueOptions;
471
+ }
472
+ }
473
+ if (event.detail !== 0) {
474
+ this.menu.handleClickOpen();
475
+ }
476
+ };
477
+ this.handleExpandIconMouseDown = (event) => {
478
+ if (!this.disabled) {
479
+ event.preventDefault();
480
+ this.searchableSelectElement.focus();
481
+ this.handleClick(event);
482
+ }
483
+ };
484
+ this.handleClear = (event) => {
485
+ event.stopPropagation();
486
+ this.hasTimedOut = false;
487
+ clearTimeout(this.timeoutTimer);
538
488
  this.noOptions = null;
539
- this.menu.options = this.uniqueOptions;
540
- }
541
- }
542
- }
543
- if (this.open && event.key === "Enter") {
544
- this.setMenuChange(false);
545
- }
546
- else {
547
- if (!(isArrowKey && this.noOptions !== null)) {
548
- if (!(event.key === " " && this.pressedCharacters.length > 0)) {
549
- // Keyboard events get passed onto ic-menu
550
- this.menu.handleKeyboardOpen(event);
551
- }
552
- this.handleCharacterKeyDown(event.key);
553
- }
554
- }
555
- };
556
- this.handleClearButtonFocus = () => {
557
- this.clearButtonFocused = true;
558
- };
559
- this.handleClearButtonBlur = (ev) => {
560
- var _a;
561
- const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
562
- if (!(this.searchableSelectElement &&
563
- ev.relatedTarget === this.searchableSelectElement) &&
564
- !(retryButton && ev.relatedTarget === retryButton)) {
565
- this.setMenuChange(false);
566
- this.handleFocusIndicatorDisplay();
567
- }
568
- this.clearButtonFocused = false;
569
- };
570
- this.handleFilter = () => {
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 = helpers.getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.inputValueToFilter, this.searchMatchPosition);
581
- this.searchableMenuItemSelected = false;
582
- }
583
- else {
584
- menuOptionsFiltered = helpers.getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
585
- }
586
- if (!isGrouped) {
587
- newFilteredOptions = menuOptionsFiltered;
588
- }
589
- else {
590
- options.map((option) => {
591
- if (this.includeGroupTitlesInSearch) {
592
- if (menuOptionsFiltered.indexOf(option) !== -1) {
593
- newFilteredOptions.push(option);
489
+ this.emitImmediateIcChange(null);
490
+ this.icClear.emit();
491
+ if (this.searchable) {
492
+ this.searchableSelectElement.value = null;
493
+ this.searchableSelectInputValue = null;
494
+ this.filteredOptions = this.uniqueOptions;
495
+ this.hiddenInputValue = null;
496
+ this.searchableSelectElement.focus();
497
+ }
498
+ else {
499
+ this.customSelectElement.focus();
500
+ }
501
+ };
502
+ this.handleCharacterKeyDown = (key) => {
503
+ // Only close menu when space is pressed if not being used alongside character keys to quickly select options
504
+ if (this.open &&
505
+ key === " " &&
506
+ this.pressedCharacters.length === 0 &&
507
+ !this.hasTimedOut &&
508
+ !this.loading) {
509
+ this.setMenuChange(false);
510
+ }
511
+ if (key.length === 1 && !this.searchable) {
512
+ window.clearTimeout(this.characterKeyPressTimer);
513
+ this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
514
+ this.pressedCharacters += key;
515
+ this.handleFilter();
516
+ if (!this.noOptions) {
517
+ this.emitImmediateIcChange(this.filteredOptions[0].value);
518
+ }
519
+ }
520
+ else {
521
+ this.pressedCharacters = "";
522
+ }
523
+ };
524
+ this.handleNativeSelectKeyDown = (event) => {
525
+ if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
526
+ event.cancelBubble = true;
527
+ }
528
+ this.handleCharacterKeyDown(event.key);
529
+ };
530
+ this.handleKeyDown = (event) => {
531
+ if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
532
+ event.cancelBubble = true;
533
+ }
534
+ const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
535
+ if (!this.open) {
536
+ if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
537
+ this.menu.options = this.filteredOptions;
538
+ }
539
+ else {
540
+ if (!this.hasTimedOut) {
541
+ this.noOptions = null;
542
+ this.menu.options = this.uniqueOptions;
543
+ }
544
+ }
545
+ }
546
+ if (this.open && event.key === "Enter") {
547
+ this.setMenuChange(false);
548
+ }
549
+ else {
550
+ if (!(isArrowKey && this.noOptions !== null)) {
551
+ if (!(event.key === " " && this.pressedCharacters.length > 0)) {
552
+ // Keyboard events get passed onto ic-menu
553
+ this.menu.handleKeyboardOpen(event);
554
+ }
555
+ this.handleCharacterKeyDown(event.key);
556
+ }
557
+ }
558
+ };
559
+ this.handleClearButtonFocus = () => {
560
+ this.clearButtonFocused = true;
561
+ };
562
+ this.handleClearButtonBlur = (ev) => {
563
+ var _a;
564
+ const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
565
+ if (!(this.searchableSelectElement &&
566
+ ev.relatedTarget === this.searchableSelectElement) &&
567
+ !(retryButton && ev.relatedTarget === retryButton)) {
568
+ this.setMenuChange(false);
569
+ this.handleFocusIndicatorDisplay();
570
+ }
571
+ this.clearButtonFocused = false;
572
+ };
573
+ this.handleFilter = () => {
574
+ var _a;
575
+ const options = this.deduplicateOptions(this.searchable ? [...this.uniqueOptions] : this.ungroupedOptions);
576
+ let isGrouped = false;
577
+ let newFilteredOptions = [];
578
+ options.map((option) => {
579
+ if (option.children)
580
+ isGrouped = true;
581
+ });
582
+ let menuOptionsFiltered;
583
+ if (this.searchable) {
584
+ menuOptionsFiltered = helpers.getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.inputValueToFilter, this.searchMatchPosition);
585
+ this.searchableMenuItemSelected = false;
586
+ }
587
+ else {
588
+ menuOptionsFiltered = helpers.getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
589
+ }
590
+ if (!isGrouped &&
591
+ ((_a = menuOptionsFiltered[0]) === null || _a === void 0 ? void 0 : _a.label) !== this.emptyOptionListText) {
592
+ newFilteredOptions = menuOptionsFiltered;
593
+ }
594
+ else if (isGrouped) {
595
+ options.map((option) => {
596
+ if (this.includeGroupTitlesInSearch) {
597
+ if (menuOptionsFiltered.indexOf(option) !== -1) {
598
+ newFilteredOptions.push(option);
599
+ }
600
+ else {
601
+ newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
602
+ }
603
+ }
604
+ else {
605
+ newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
606
+ }
607
+ });
608
+ }
609
+ let noChildOptionsWhenFiltered = false;
610
+ if (isGrouped) {
611
+ noChildOptionsWhenFiltered = true;
612
+ newFilteredOptions.map((option) => {
613
+ if (option.children.length > 0) {
614
+ noChildOptionsWhenFiltered = false;
615
+ }
616
+ });
617
+ }
618
+ if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
619
+ this.noOptions = null;
620
+ this.filteredOptions = newFilteredOptions;
594
621
  }
595
622
  else {
596
- newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
623
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
624
+ this.filteredOptions = this.noOptions;
625
+ }
626
+ };
627
+ /**
628
+ * Put the select component into loading state.
629
+ * Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
630
+ */
631
+ this.triggerLoading = () => {
632
+ this.hasTimedOut = false;
633
+ this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
634
+ if (this.filteredOptions !== this.noOptions && this.searchable) {
635
+ this.filteredOptions = this.noOptions;
636
+ }
637
+ else if (this.uniqueOptions !== this.noOptions && !this.searchable) {
638
+ this.uniqueOptions = this.noOptions;
597
639
  }
598
- }
599
- else {
600
- newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
601
- }
602
- });
603
- }
604
- let noChildOptionsWhenFiltered = false;
605
- if (isGrouped) {
606
- noChildOptionsWhenFiltered = true;
607
- newFilteredOptions.map((option) => {
608
- if (option.children.length > 0) {
609
- noChildOptionsWhenFiltered = false;
610
- }
611
- });
612
- }
613
- const noOptions = [{ label: this.emptyOptionListText, value: "" }];
614
- if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
640
+ if (this.timeout) {
641
+ this.timeoutTimer = window.setTimeout(() => {
642
+ this.loading = false;
643
+ this.hasTimedOut = true;
644
+ this.noOptions = [
645
+ { label: this.loadingErrorLabel, value: "", timedOut: true },
646
+ ];
647
+ this.filteredOptions = this.noOptions;
648
+ if (!this.searchable)
649
+ this.uniqueOptions = this.noOptions;
650
+ }, this.timeout);
651
+ }
652
+ };
653
+ this.getValueFromLabel = (label) => {
654
+ var _a;
655
+ return (_a = this.uniqueOptions.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
656
+ };
657
+ this.handleSearchableSelectInput = (event) => {
658
+ this.searchableSelectInputValue = event.target.value;
659
+ this.icInput.emit({ value: this.searchableSelectInputValue });
660
+ this.emitIcChange(this.searchableSelectInputValue);
661
+ this.hiddenInputValue = this.searchableSelectInputValue;
662
+ this.inputValueToFilter = this.searchableSelectInputValue;
663
+ this.setMenuChange(true);
664
+ if (!this.disableFilter) {
665
+ this.handleFilter();
666
+ this.debounceAriaLiveUpdate();
667
+ }
668
+ };
669
+ this.updateSearchableSelectResultAriaLive = () => {
670
+ const searchableSelectResultsStatusEl = this.el.shadowRoot.querySelector(".searchable-select-results-status");
671
+ if (searchableSelectResultsStatusEl) {
672
+ if (this.noOptions !== null) {
673
+ searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
674
+ }
675
+ else {
676
+ searchableSelectResultsStatusEl.innerText = "";
677
+ }
678
+ }
679
+ };
680
+ this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
681
+ this.onFocus = () => {
682
+ this.icFocus.emit();
683
+ };
684
+ this.onBlur = (event) => {
685
+ var _a;
686
+ const target = event.relatedTarget;
687
+ if (target !== null &&
688
+ target.tagName === "UL" &&
689
+ target.className.includes("menu")) {
690
+ return;
691
+ }
692
+ const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
693
+ const isSearchableAndNoFocusedInternalElements = this.searchable &&
694
+ event.relatedTarget !== this.menu &&
695
+ !Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
696
+ !(this.clearButton && event.relatedTarget === this.clearButton) &&
697
+ !(retryButton && event.relatedTarget === retryButton);
698
+ if (isSearchableAndNoFocusedInternalElements) {
699
+ if (!this.retryButtonClick) {
700
+ this.setMenuChange(false);
701
+ }
702
+ this.handleFocusIndicatorDisplay();
703
+ }
704
+ this.retryButtonClick = false;
705
+ this.icBlur.emit();
706
+ };
707
+ this.onTimeoutBlur = (ev) => {
708
+ if (ev.detail.ev.relatedTarget !==
709
+ this.searchableSelectElement &&
710
+ !this.blurredBecauseButtonPressed) {
711
+ this.setMenuChange(false);
712
+ this.handleFocusIndicatorDisplay();
713
+ this.icBlur.emit();
714
+ }
715
+ this.blurredBecauseButtonPressed = false;
716
+ };
717
+ this.handleFormReset = () => {
718
+ this.value = this.initialValue;
719
+ if (this.searchable) {
720
+ this.searchableSelectInputValue = this.getDefaultValue(this.value);
721
+ this.hiddenInputValue = this.value;
722
+ }
723
+ };
724
+ this.ariaActiveDescendant = undefined;
725
+ this.clearButtonFocused = false;
726
+ this.debounceIcChange = undefined;
727
+ this.hiddenInputValue = undefined;
615
728
  this.noOptions = null;
616
- this.filteredOptions = newFilteredOptions;
617
- }
618
- else {
619
- this.noOptions = noOptions;
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;
635
- }
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.host.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;
724
- this.noOptions = null;
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.fullWidth = false;
733
- this.helperText = "";
734
- this.hideLabel = false;
735
- this.includeDescriptionsInSearch = false;
736
- this.includeGroupTitlesInSearch = false;
737
- this.label = undefined;
738
- this.loadingErrorLabel = "Loading Error";
739
- this.loadingLabel = "Loading...";
740
- this.name = this.inputId;
741
- this.placeholder = "Select an option";
742
- this.readonly = false;
743
- this.required = false;
744
- this.searchable = false;
745
- this.searchMatchPosition = "anywhere";
746
- this.showClearButton = false;
747
- this.small = false;
748
- this.timeout = undefined;
749
- this.validationStatus = "";
750
- this.validationText = "";
751
- this.loading = false;
752
- this.options = [];
753
- this.filteredOptions = this.options;
754
- this.uniqueOptions = this.options;
755
- this.debounce = 0;
756
- this.currDebounce = this.debounce;
757
- this.value = undefined;
758
- this.initialValue = this.value;
759
- this.inputValueToFilter = this.value;
760
- this.currValue = this.value;
761
- }
762
- loadingHandler(newValue) {
763
- newValue && this.triggerLoading();
764
- }
765
- watchOptionsHandler() {
766
- if (!this.hasTimedOut) {
767
- this.loading = false;
768
- clearTimeout(this.timeoutTimer);
769
- if (this.isExternalFiltering()) {
770
- if (this.options.length > 0) {
771
- this.setOptionsValuesFromLabels();
772
- this.noOptions = null;
773
- this.uniqueOptions = this.deduplicateOptions(this.options);
774
- this.filteredOptions = this.uniqueOptions;
729
+ this.open = false;
730
+ this.pressedCharacters = "";
731
+ this.searchableSelectInputValue = null;
732
+ this.charactersUntilSuggestions = 0;
733
+ this.disabled = false;
734
+ this.disableFilter = false;
735
+ this.emptyOptionListText = "No results found";
736
+ this.form = undefined;
737
+ this.formaction = undefined;
738
+ this.formenctype = undefined;
739
+ this.formmethod = undefined;
740
+ this.formnovalidate = undefined;
741
+ this.formtarget = undefined;
742
+ this.fullWidth = false;
743
+ this.helperText = "";
744
+ this.hideLabel = false;
745
+ this.includeDescriptionsInSearch = false;
746
+ this.includeGroupTitlesInSearch = false;
747
+ this.label = undefined;
748
+ this.loadingErrorLabel = "Loading Error";
749
+ this.loadingLabel = "Loading...";
750
+ this.name = this.inputId;
751
+ this.placeholder = "Select an option";
752
+ this.readonly = false;
753
+ this.required = false;
754
+ this.searchable = false;
755
+ this.searchMatchPosition = "anywhere";
756
+ this.selectOnEnter = false;
757
+ this.showClearButton = false;
758
+ this.size = "default";
759
+ this.small = false;
760
+ this.timeout = undefined;
761
+ this.validationStatus = "";
762
+ this.validationText = "";
763
+ this.loading = false;
764
+ this.options = [];
765
+ this.filteredOptions = this.options;
766
+ this.uniqueOptions = this.options;
767
+ this.debounce = 0;
768
+ this.currDebounce = this.debounce;
769
+ this.value = undefined;
770
+ this.initialValue = this.value;
771
+ this.inputValueToFilter = this.value;
772
+ this.currValue = this.value;
773
+ }
774
+ loadingHandler(newValue) {
775
+ newValue && this.triggerLoading();
776
+ }
777
+ watchOptionsHandler() {
778
+ if (!this.hasTimedOut) {
779
+ this.loading = false;
780
+ clearTimeout(this.timeoutTimer);
781
+ if (this.isExternalFiltering()) {
782
+ if (this.options.length > 0) {
783
+ this.setOptionsValuesFromLabels();
784
+ this.noOptions = null;
785
+ this.uniqueOptions = this.deduplicateOptions(this.options);
786
+ this.filteredOptions = this.uniqueOptions;
787
+ }
788
+ else {
789
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
790
+ this.uniqueOptions = this.noOptions;
791
+ this.filteredOptions = this.noOptions;
792
+ }
793
+ this.updateSearchableSelectResultAriaLive();
794
+ this.setDefaultValue();
795
+ }
796
+ else {
797
+ this.setOptionsValuesFromLabels();
798
+ this.uniqueOptions = this.deduplicateOptions(this.options);
799
+ this.filteredOptions = this.uniqueOptions;
800
+ if (this.initialOptionsEmpty) {
801
+ this.setDefaultValue();
802
+ this.initialOptionsEmpty = false;
803
+ }
804
+ }
775
805
  }
776
806
  else {
777
- this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
778
- this.uniqueOptions = this.noOptions;
779
- this.filteredOptions = this.noOptions;
780
- }
781
- this.updateSearchableSelectResultAriaLive();
782
- this.setDefaultValue();
783
- }
784
- else {
785
- this.setOptionsValuesFromLabels();
786
- this.uniqueOptions = this.deduplicateOptions(this.options);
787
- this.filteredOptions = this.uniqueOptions;
788
- if (this.initialOptionsEmpty) {
789
- this.setDefaultValue();
790
- this.initialOptionsEmpty = false;
807
+ if (!this.searchable)
808
+ this.options = this.noOptions;
791
809
  }
792
- }
793
810
  }
794
- else {
795
- if (!this.searchable)
796
- this.options = this.noOptions;
811
+ debounceChangedHandler(newValue) {
812
+ this.updateOnChangeDebounce(newValue);
797
813
  }
798
- }
799
- debounceChangedHandler(newValue) {
800
- this.updateOnChangeDebounce(newValue);
801
- }
802
- valueChangedHandler() {
803
- if (this.value !== this.currValue) {
804
- this.currValue = this.value;
805
- }
806
- if (this.searchable) {
807
- this.searchableSelectInputValue =
808
- this.getLabelFromValue(this.currValue) || this.currValue;
814
+ valueChangedHandler() {
815
+ if (this.value !== this.currValue) {
816
+ this.currValue = this.value;
817
+ }
818
+ if (this.searchable) {
819
+ this.searchableSelectInputValue =
820
+ this.getLabelFromValue(this.currValue) || this.currValue;
821
+ }
809
822
  }
810
- }
811
- disconnectedCallback() {
812
- helpers.removeFormResetListener(this.host, this.handleFormReset);
813
- }
814
- componentWillLoad() {
815
- this.inheritedAttributes = helpers.inheritAttributes(this.host, [
816
- ...helpers.IC_INHERITED_ARIA,
817
- "tabindex",
818
- "title",
819
- ]);
820
- helpers.removeDisabledFalse(this.disabled, this.host);
821
- this.setOptionsValuesFromLabels();
822
- helpers.addFormResetListener(this.host, this.handleFormReset);
823
- if (!this.options.length) {
824
- this.initialOptionsEmpty = true;
823
+ disconnectedCallback() {
824
+ helpers.removeFormResetListener(this.el, this.handleFormReset);
825
825
  }
826
- else {
827
- this.setDefaultValue();
828
- this.uniqueOptions = this.deduplicateOptions(this.options);
826
+ componentWillLoad() {
827
+ this.inheritedAttributes = helpers.inheritAttributes(this.el, [
828
+ ...helpers.IC_INHERITED_ARIA,
829
+ "tabindex",
830
+ "title",
831
+ ]);
832
+ helpers.removeDisabledFalse(this.disabled, this.el);
833
+ this.setOptionsValuesFromLabels();
834
+ helpers.addFormResetListener(this.el, this.handleFormReset);
835
+ if (!this.options.length) {
836
+ this.initialOptionsEmpty = true;
837
+ this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
838
+ this.uniqueOptions = this.noOptions;
839
+ this.filteredOptions = this.noOptions;
840
+ }
841
+ else {
842
+ this.setDefaultValue();
843
+ this.uniqueOptions = this.deduplicateOptions(this.options);
844
+ }
829
845
  }
830
- }
831
- componentDidLoad() {
832
- helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
833
- if (this.loading) {
834
- this.triggerLoading();
846
+ componentDidLoad() {
847
+ helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
848
+ if (this.loading) {
849
+ this.triggerLoading();
850
+ }
851
+ this.hiddenInputValue = this.searchable && this.currValue;
835
852
  }
836
- this.hiddenInputValue = this.searchable && this.currValue;
837
- }
838
- componentDidRender() {
839
- if (this.nativeSelectElement && !this.disabled) {
840
- this.setTextColor();
853
+ componentDidRender() {
854
+ if (this.nativeSelectElement && !this.disabled) {
855
+ this.setTextColor();
856
+ }
841
857
  }
842
- }
843
- /**
844
- * Sets focus on the input box.
845
- */
846
- async setFocus() {
847
- if (this.nativeSelectElement) {
848
- this.nativeSelectElement.focus();
858
+ /**
859
+ * Sets focus on the input box.
860
+ */
861
+ async setFocus() {
862
+ if (this.nativeSelectElement) {
863
+ this.nativeSelectElement.focus();
864
+ }
865
+ else if (this.customSelectElement) {
866
+ this.customSelectElement.focus();
867
+ }
868
+ else if (this.searchableSelectElement) {
869
+ this.searchableSelectElement.focus();
870
+ }
849
871
  }
850
- else if (this.customSelectElement) {
851
- this.customSelectElement.focus();
872
+ updateOnChangeDebounce(newValue) {
873
+ if (this.currDebounce !== newValue) {
874
+ this.currDebounce = newValue;
875
+ }
852
876
  }
853
- else if (this.searchableSelectElement) {
854
- this.searchableSelectElement.focus();
877
+ debounceAriaLiveUpdate() {
878
+ clearTimeout(this.debounceAria);
879
+ window.setTimeout(() => {
880
+ this.updateSearchableSelectResultAriaLive();
881
+ }, 800);
855
882
  }
856
- }
857
- updateOnChangeDebounce(newValue) {
858
- if (this.currDebounce !== newValue) {
859
- this.currDebounce = newValue;
883
+ setDefaultValue() {
884
+ if (!this.hasSetDefaultValue && this.currValue) {
885
+ this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
886
+ this.initialValue = this.currValue;
887
+ this.hasSetDefaultValue = true;
888
+ }
860
889
  }
861
- }
862
- debounceAriaLiveUpdate() {
863
- clearTimeout(this.debounceAria);
864
- window.setTimeout(() => {
865
- this.updateSearchableSelectResultAriaLive();
866
- }, 800);
867
- }
868
- setDefaultValue() {
869
- if (!this.hasSetDefaultValue && this.currValue) {
870
- this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
871
- this.initialValue = this.currValue;
872
- this.hasSetDefaultValue = true;
890
+ render() {
891
+ const { small, size, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
892
+ helpers.renderHiddenInput(true, this.el, name, this.searchable ? this.hiddenInputValue : currValue, disabled);
893
+ const invalid = validationStatus === types.IcInformationStatus.Error ? "true" : "false";
894
+ const describedBy = helpers.getInputDescribedByText(this.inputId, helperText !== "", helpers.hasValidationStatus(this.validationStatus, this.disabled)).trim();
895
+ return (index.h(index.Host, { class: {
896
+ disabled: disabled,
897
+ searchable: searchable,
898
+ small: small || size === "small",
899
+ "full-width": fullWidth,
900
+ }, onBlur: this.onBlur }, index.h("ic-input-container", { readonly: readonly }, !hideLabel && (index.h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), index.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 ? (index.h("ic-typography", null, index.h("p", null, this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() ? (index.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), index.h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
901
+ if (option.children) {
902
+ return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
903
+ }
904
+ else {
905
+ return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
906
+ }
907
+ }))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.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 &&
908
+ (showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
909
+ ? "Clear input"
910
+ : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
911
+ ? types.IcThemeForegroundEnum.Light
912
+ : types.IcThemeForegroundEnum.Dark }), index.h("div", { class: "divider" }))), index.h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
913
+ "expand-icon": true,
914
+ "expand-icon-open": this.open,
915
+ "expand-icon-filled": !(currValue == null || currValue === ""),
916
+ }, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.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 }, index.h("ic-typography", { variant: "body", class: {
917
+ "value-text": true,
918
+ placeholder: this.getLabelFromValue(currValue) === undefined,
919
+ } }, index.h("p", null, this.getLabelFromValue(currValue) || placeholder)), index.h("div", { class: "select-input-end" }, currValue && showClearButton && (index.h("div", { class: "divider" })), index.h("span", { class: {
920
+ "expand-icon": true,
921
+ "expand-icon-open": this.open,
922
+ "expand-icon-filled": !(currValue == null || currValue === ""),
923
+ }, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (index.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
924
+ ? types.IcThemeForegroundEnum.Light
925
+ : types.IcThemeForegroundEnum.Dark }))))), !helpers.isMobileOrTablet() && (index.h("ic-menu", { class: {
926
+ "no-results": this.loading ||
927
+ this.hasTimedOut ||
928
+ (this.noOptions !== null &&
929
+ this.noOptions[0] &&
930
+ this.noOptions[0].label === this.emptyOptionListText),
931
+ }, ref: (el) => (this.menu = el), inputEl: searchable
932
+ ? this.searchableSelectElement
933
+ : 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" })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
873
934
  }
874
- }
875
- render() {
876
- const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
877
- const noOptionSelect = searchable &&
878
- (this.loading ||
879
- this.hasTimedOut ||
880
- (this.noOptions !== null &&
881
- this.noOptions[0] &&
882
- this.noOptions[0].label === this.emptyOptionListText));
883
- const inputValue = this.searchable ? this.hiddenInputValue : currValue;
884
- helpers.renderHiddenInput(true, this.host, name, inputValue, disabled);
885
- const invalid = validationStatus === types.IcInformationStatus.Error ? "true" : "false";
886
- const describedBy = helpers.getInputDescribedByText(this.inputId, helperText !== "", helpers.hasValidationStatus(this.validationStatus, this.disabled)).trim();
887
- return (index.h(index.Host, { class: {
888
- disabled: disabled,
889
- searchable: searchable,
890
- small: small,
891
- "full-width": fullWidth,
892
- }, onBlur: this.onBlur }, index.h("ic-input-container", { readonly: readonly }, !hideLabel && (index.h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), index.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 ? (index.h("ic-typography", null, index.h("p", null, this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() ? (index.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), index.h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
893
- if (option.children) {
894
- return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
895
- }
896
- else {
897
- return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
898
- }
899
- }))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.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 &&
900
- (showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
901
- ? "Clear input"
902
- : "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
903
- ? types.IcThemeForegroundEnum.Light
904
- : types.IcThemeForegroundEnum.Dark }), index.h("div", { class: "divider" }))), index.h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
905
- "expand-icon": true,
906
- "expand-icon-open": this.open,
907
- "expand-icon-filled": !(currValue == null || currValue === ""),
908
- }, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.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 }, index.h("ic-typography", { variant: "body", class: {
909
- "value-text": true,
910
- placeholder: this.getLabelFromValue(currValue) === undefined,
911
- } }, index.h("p", null, this.getLabelFromValue(currValue) || placeholder)), index.h("div", { class: "select-input-end" }, currValue && showClearButton && (index.h("div", { class: "divider" })), index.h("span", { class: {
912
- "expand-icon": true,
913
- "expand-icon-open": this.open,
914
- "expand-icon-filled": !(currValue == null || currValue === ""),
915
- }, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (index.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
916
- ? types.IcThemeForegroundEnum.Light
917
- : types.IcThemeForegroundEnum.Dark }))))), !helpers.isMobileOrTablet() && (index.h("ic-menu", { class: {
918
- "no-results": noOptionSelect,
919
- }, ref: (el) => (this.menu = el), inputEl: searchable
920
- ? this.searchableSelectElement
921
- : 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" })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
922
- }
923
- static get delegatesFocus() { return true; }
924
- get host() { return index.getElement(this); }
925
- static get watchers() { return {
926
- "loading": ["loadingHandler"],
927
- "options": ["watchOptionsHandler"],
928
- "debounce": ["debounceChangedHandler"],
929
- "value": ["valueChangedHandler"]
930
- }; }
935
+ static get delegatesFocus() { return true; }
936
+ get el() { return index.getElement(this); }
937
+ static get watchers() { return {
938
+ "loading": ["loadingHandler"],
939
+ "options": ["watchOptionsHandler"],
940
+ "debounce": ["debounceChangedHandler"],
941
+ "value": ["valueChangedHandler"]
942
+ }; }
931
943
  };
932
944
  Select.style = icSelectCss;
933
945
 
@@ -935,229 +947,220 @@ const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/neco
935
947
 
936
948
  let inputIds = 0;
937
949
  const TextField = class {
938
- constructor(hostRef) {
939
- index.registerInstance(this, hostRef);
940
- this.getValidationText = index.createEvent(this, "getValidationText", 7);
941
- this.icBlur = index.createEvent(this, "icBlur", 7);
942
- this.icChange = index.createEvent(this, "icChange", 7);
943
- this.icFocus = index.createEvent(this, "icFocus", 7);
944
- this.icInput = index.createEvent(this, "icInput", 7);
945
- this.icKeydown = index.createEvent(this, "icKeydown", 7);
946
- this.inheritedAttributes = {};
947
- this.showLeftIcon = this.hasLeftIconSlot();
948
- this.onInput = (ev) => {
949
- this.value = ev.target.value;
950
- this.icInput.emit({ value: this.value });
951
- };
952
- this.onBlur = (ev) => {
953
- const value = ev.target.value;
954
- this.icBlur.emit({ value: value });
955
- };
956
- this.onFocus = (ev) => {
957
- const value = ev.target.value;
958
- this.icFocus.emit({ value: value });
959
- };
960
- this.isTextArea = () => {
961
- return this.rows > 1;
962
- };
963
- this.getInlineValidationText = () => {
964
- this.getValidationText.emit({ value: this.validationText });
965
- };
966
- this.hasStatus = (status) => {
967
- return status !== "" && !this.disabled;
968
- };
969
- this.showStatusText = (status) => {
970
- return (this.hasStatus(status) &&
971
- !(status == types.IcInformationStatus.Success && this.validationInline) &&
972
- !this.validationInlineInternal);
973
- };
974
- this.handleFormReset = () => {
975
- this.value = this.initialValue;
976
- };
977
- this.numChars = 0;
978
- this.maxLengthExceeded = false;
979
- this.maxValueExceeded = false;
980
- this.minValueUnattained = false;
981
- this.ariaActiveDescendant = undefined;
982
- this.ariaAutocomplete = undefined;
983
- this.ariaExpanded = undefined;
984
- this.ariaOwns = undefined;
985
- this.autocapitalize = "off";
986
- this.autocomplete = "off";
987
- this.autocorrect = "off";
988
- this.autoFocus = false;
989
- this.disabled = false;
990
- this.fullWidth = false;
991
- this.helperText = "";
992
- this.hideLabel = false;
993
- this.hiddenInput = true;
994
- this.inputId = `ic-text-field-input-${inputIds++}`;
995
- this.inputmode = "text";
996
- this.label = undefined;
997
- this.max = undefined;
998
- this.maxLength = 0;
999
- this.min = undefined;
1000
- this.name = this.inputId;
1001
- this.placeholder = "";
1002
- this.readonly = false;
1003
- this.required = false;
1004
- this.resize = false;
1005
- this.role = undefined;
1006
- this.rows = 1;
1007
- this.small = false;
1008
- this.spellcheck = false;
1009
- this.truncateValue = undefined;
1010
- this.type = "text";
1011
- this.validationInline = false;
1012
- this.validationInlineInternal = false;
1013
- this.validationStatus = "";
1014
- this.validationText = "";
1015
- this.debounce = 0;
1016
- this.value = "";
1017
- this.initialValue = this.value;
1018
- }
1019
- debounceChanged() {
1020
- this.icChange = helpers.debounceEvent(this.icChange, this.debounce);
1021
- }
1022
- watchValueHandler(newValue) {
1023
- if (this.inputEl && this.inputEl.value !== newValue) {
1024
- this.inputEl.value = newValue;
1025
- }
1026
- this.numChars = newValue.length;
1027
- if (this.type === "number") {
1028
- if (newValue && Number(newValue) < Number(this.min)) {
1029
- this.minValueUnattained = true;
1030
- }
1031
- else {
1032
- this.minValueUnattained = false;
1033
- }
1034
- if (Number(newValue) > Number(this.max)) {
1035
- this.maxValueExceeded = true;
1036
- }
1037
- else {
950
+ constructor(hostRef) {
951
+ index.registerInstance(this, hostRef);
952
+ this.getValidationText = index.createEvent(this, "getValidationText", 7);
953
+ this.icBlur = index.createEvent(this, "icBlur", 7);
954
+ this.icChange = index.createEvent(this, "icChange", 7);
955
+ this.icFocus = index.createEvent(this, "icFocus", 7);
956
+ this.icInput = index.createEvent(this, "icInput", 7);
957
+ this.icKeydown = index.createEvent(this, "icKeydown", 7);
958
+ this.inheritedAttributes = {};
959
+ this.showLeftIcon = this.hasLeftIconSlot();
960
+ this.getMaxLengthExceeded = (value) => {
961
+ this.numChars = value.length;
962
+ if (this.type === "number") {
963
+ this.minValueUnattained =
964
+ value && Number(value) < Number(this.min) ? true : false;
965
+ this.maxValueExceeded = Number(value) > Number(this.max) ? true : false;
966
+ }
967
+ if (this.maxLength > 0) {
968
+ this.maxLengthExceeded = value.length > this.maxLength ? true : false;
969
+ }
970
+ };
971
+ this.onInput = (ev) => {
972
+ this.value = ev.target.value;
973
+ this.icInput.emit({ value: this.value });
974
+ };
975
+ this.onBlur = (ev) => {
976
+ const value = ev.target.value;
977
+ this.icBlur.emit({ value: value });
978
+ };
979
+ this.onFocus = (ev) => {
980
+ const value = ev.target.value;
981
+ this.icFocus.emit({ value: value });
982
+ };
983
+ this.isTextArea = () => {
984
+ return this.rows > 1;
985
+ };
986
+ this.getInlineValidationText = () => {
987
+ this.getValidationText.emit({ value: this.validationText });
988
+ };
989
+ this.hasStatus = (status) => {
990
+ return status !== "" && !this.disabled;
991
+ };
992
+ this.showStatusText = (status) => {
993
+ return (this.hasStatus(status) &&
994
+ !(status == types.IcInformationStatus.Success && this.validationInline) &&
995
+ !this.validationInlineInternal);
996
+ };
997
+ this.handleFormReset = () => {
998
+ this.value = this.initialValue;
999
+ };
1000
+ this.numChars = 0;
1001
+ this.maxLengthExceeded = false;
1038
1002
  this.maxValueExceeded = false;
1039
- }
1003
+ this.minValueUnattained = false;
1004
+ this.ariaActiveDescendant = undefined;
1005
+ this.ariaAutocomplete = undefined;
1006
+ this.ariaExpanded = undefined;
1007
+ this.ariaOwns = undefined;
1008
+ this.autocapitalize = "off";
1009
+ this.autocomplete = "off";
1010
+ this.autocorrect = "off";
1011
+ this.autoFocus = false;
1012
+ this.disabled = false;
1013
+ this.fullWidth = false;
1014
+ this.helperText = "";
1015
+ this.hideLabel = false;
1016
+ this.hiddenInput = true;
1017
+ this.inputId = `ic-text-field-input-${inputIds++}`;
1018
+ this.inputmode = "text";
1019
+ this.label = undefined;
1020
+ this.max = undefined;
1021
+ this.maxLength = 0;
1022
+ this.min = undefined;
1023
+ this.name = this.inputId;
1024
+ this.placeholder = "";
1025
+ this.readonly = false;
1026
+ this.required = false;
1027
+ this.resize = false;
1028
+ this.role = undefined;
1029
+ this.rows = 1;
1030
+ this.size = "default";
1031
+ this.small = false;
1032
+ this.spellcheck = false;
1033
+ this.truncateValue = undefined;
1034
+ this.type = "text";
1035
+ this.validationInline = false;
1036
+ this.validationInlineInternal = false;
1037
+ this.validationStatus = "";
1038
+ this.validationText = "";
1039
+ this.debounce = 0;
1040
+ this.value = "";
1041
+ this.initialValue = this.value;
1040
1042
  }
1041
- if (this.maxLength > 0) {
1042
- if (newValue.length > this.maxLength) {
1043
- this.maxLengthExceeded = true;
1044
- }
1045
- else {
1046
- this.maxLengthExceeded = false;
1047
- }
1043
+ debounceChanged() {
1044
+ this.icChange = helpers.debounceEvent(this.icChange, this.debounce);
1045
+ }
1046
+ watchValueHandler(newValue) {
1047
+ if (this.inputEl && this.inputEl.value !== newValue) {
1048
+ this.inputEl.value = newValue;
1049
+ }
1050
+ this.getMaxLengthExceeded(newValue);
1051
+ this.icChange.emit({ value: newValue });
1052
+ }
1053
+ connectedCallback() {
1054
+ this.debounceChanged();
1055
+ }
1056
+ disconnectedCallback() {
1057
+ helpers.removeFormResetListener(this.el, this.handleFormReset);
1048
1058
  }
1049
- this.icChange.emit({ value: newValue });
1050
- }
1051
- connectedCallback() {
1052
- this.debounceChanged();
1053
- }
1054
- disconnectedCallback() {
1055
- helpers.removeFormResetListener(this.el, this.handleFormReset);
1056
- }
1057
- componentWillLoad() {
1058
- this.watchValueHandler(this.value);
1059
- this.inheritedAttributes = helpers.inheritAttributes(this.el, [
1060
- ...helpers.IC_INHERITED_ARIA,
1061
- "title",
1062
- "aria-autocomplete",
1063
- "aria-haspopup",
1064
- ]);
1065
- if (this.readonly) {
1066
- this.maxLengthExceeded = false;
1067
- this.maxValueExceeded = false;
1068
- this.minValueUnattained = false;
1059
+ componentWillLoad() {
1060
+ if (this.value !== this.initialValue) {
1061
+ this.watchValueHandler(this.value);
1062
+ }
1063
+ this.getMaxLengthExceeded(this.value);
1064
+ this.inheritedAttributes = helpers.inheritAttributes(this.el, [
1065
+ ...helpers.IC_INHERITED_ARIA,
1066
+ "title",
1067
+ ]);
1068
+ if (this.readonly) {
1069
+ this.maxLengthExceeded = false;
1070
+ this.maxValueExceeded = false;
1071
+ this.minValueUnattained = false;
1072
+ }
1073
+ helpers.addFormResetListener(this.el, this.handleFormReset);
1074
+ helpers.removeDisabledFalse(this.disabled, this.el);
1069
1075
  }
1070
- helpers.addFormResetListener(this.el, this.handleFormReset);
1071
- helpers.removeDisabledFalse(this.disabled, this.el);
1072
- }
1073
- componentDidLoad() {
1074
- helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
1075
- if (this.validationInlineInternal) {
1076
- this.getInlineValidationText();
1076
+ componentDidLoad() {
1077
+ helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
1078
+ if (this.validationInlineInternal) {
1079
+ this.getInlineValidationText();
1080
+ }
1077
1081
  }
1078
- }
1079
- handleKeyDown(ev) {
1080
- this.icKeydown.emit({ event: ev });
1081
- }
1082
- /**
1083
- * Sets focus on the native `input`.
1084
- */
1085
- async setFocus() {
1086
- if (this.inputEl) {
1087
- this.inputEl.focus();
1082
+ handleKeyDown(ev) {
1083
+ this.icKeydown.emit({ event: ev });
1088
1084
  }
1089
- }
1090
- hasLeftIconSlot() {
1091
- const iconEl = this.el.querySelector(`[slot="icon"]`);
1092
- return iconEl !== null;
1093
- }
1094
- render() {
1095
- 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;
1096
- const disabledMode = readonly ? true : disabled;
1097
- const placeholderText = disabled ? "" : placeholder;
1098
- const currentStatus = maxLengthExceeded || maxValueExceeded || minValueUnattained
1099
- ? types.IcInformationStatus.Error
1100
- : validationStatus;
1101
- const currentValidationText = maxLengthExceeded
1102
- ? "Maximum length exceeded"
1103
- : maxValueExceeded
1104
- ? `Maximum value of ${max} exceeded`
1105
- : minValueUnattained
1106
- ? `Minimum value of ${min} not met`
1107
- : validationText;
1108
- const maxNumChars = readonly ? 0 : maxLength;
1109
- const messageAriaLive = maxLengthExceeded ||
1110
- maxValueExceeded ||
1111
- minValueUnattained ||
1112
- (maxLength === 0 && currentStatus === types.IcInformationStatus.Error)
1113
- ? "assertive"
1114
- : "polite";
1115
- const showStatusText = this.showStatusText(currentStatus);
1116
- const multiline = this.isTextArea();
1117
- const hiddenCharCountDescId = maxLength > 0 ? inputId + "-charcount-desc" : "";
1118
- const describedBy = (hiddenCharCountDescId +
1119
- " " +
1120
- helpers.getInputDescribedByText(inputId, helperText !== "", showStatusText)).trim();
1121
- if (this.showLeftIcon && !readonly && disabledMode) {
1122
- this.showLeftIcon = false;
1085
+ /**
1086
+ * Sets focus on the native `input`.
1087
+ */
1088
+ async setFocus() {
1089
+ if (this.inputEl) {
1090
+ this.inputEl.focus();
1091
+ }
1092
+ }
1093
+ hasLeftIconSlot() {
1094
+ const iconEl = this.el.querySelector(`[slot="icon"]`);
1095
+ return iconEl !== null;
1123
1096
  }
1124
- const invalid = currentStatus === types.IcInformationStatus.Error ? "true" : "false";
1125
- const disabledText = disabledMode && !readonly;
1126
- if (hiddenInput) {
1127
- helpers.renderHiddenInput(true, this.el, name, value, disabledMode);
1097
+ render() {
1098
+ 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;
1099
+ const disabledMode = readonly ? true : disabled;
1100
+ const placeholderText = disabled ? "" : placeholder;
1101
+ const currentStatus = maxLengthExceeded || maxValueExceeded || minValueUnattained
1102
+ ? types.IcInformationStatus.Error
1103
+ : validationStatus;
1104
+ const currentValidationText = maxLengthExceeded
1105
+ ? "Maximum length exceeded"
1106
+ : maxValueExceeded
1107
+ ? `Maximum value of ${max} exceeded`
1108
+ : minValueUnattained
1109
+ ? `Minimum value of ${min} not met`
1110
+ : validationText;
1111
+ const maxNumChars = readonly ? 0 : maxLength;
1112
+ const messageAriaLive = maxLengthExceeded ||
1113
+ maxValueExceeded ||
1114
+ minValueUnattained ||
1115
+ (maxLength === 0 && currentStatus === types.IcInformationStatus.Error)
1116
+ ? "assertive"
1117
+ : "polite";
1118
+ const showStatusText = this.showStatusText(currentStatus);
1119
+ const multiline = this.isTextArea();
1120
+ const hiddenCharCountDescId = maxLength > 0 ? inputId + "-charcount-desc" : "";
1121
+ const describedBy = (hiddenCharCountDescId +
1122
+ " " +
1123
+ helpers.getInputDescribedByText(inputId, helperText !== "", showStatusText)).trim();
1124
+ if (this.showLeftIcon && !readonly && disabledMode) {
1125
+ this.showLeftIcon = false;
1126
+ }
1127
+ const invalid = currentStatus === types.IcInformationStatus.Error ? "true" : "false";
1128
+ const disabledText = disabledMode && !readonly;
1129
+ if (hiddenInput) {
1130
+ helpers.renderHiddenInput(true, this.el, name, value, disabledMode);
1131
+ }
1132
+ return (index.h(index.Host, { class: { ["fullwidth"]: fullWidth } }, index.h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (index.h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), index.h("ic-input-component-container", { size: small ? "small" : size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, this.showLeftIcon && (index.h("span", { class: {
1133
+ ["readonly"]: readonly,
1134
+ ["has-value"]: value.length > 0,
1135
+ }, slot: "left-icon" }, index.h("slot", { name: "icon" }))), !multiline && (index.h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
1136
+ ["no-left-pad"]: !this.showLeftIcon && readonly,
1137
+ ["readonly"]: readonly,
1138
+ ["truncate-value"]: truncateValue,
1139
+ }, 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 && (index.h("textarea", Object.assign({ id: inputId, class: {
1140
+ ["no-resize"]: resize === false || readonly,
1141
+ ["no-left-pad"]: !this.showLeftIcon && readonly,
1142
+ ["readonly"]: readonly,
1143
+ }, 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))), helpers.isSlotUsed(this.el, "clear-button") && (index.h("slot", { name: "clear-button" })), helpers.isSlotUsed(this.el, "search-submit-button") && (index.h("slot", { name: "search-submit-button" }))), helpers.isSlotUsed(this.el, "menu") && index.h("slot", { name: "menu" }), (!helpers.isEmptyString(validationStatus) ||
1144
+ !helpers.isEmptyString(validationText) ||
1145
+ maxNumChars > 0 ||
1146
+ maxValueExceeded ||
1147
+ minValueUnattained) &&
1148
+ !validationInlineInternal && (index.h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
1149
+ (currentStatus === types.IcInformationStatus.Success &&
1150
+ validationInline) ||
1151
+ validationInlineInternal
1152
+ ? ""
1153
+ : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (index.h("div", { slot: "validation-message-adornment" }, index.h("ic-typography", { variant: "caption", class: {
1154
+ ["maxlengthtext"]: true,
1155
+ ["error"]: maxLengthExceeded,
1156
+ ["disabled"]: disabledText,
1157
+ } }, index.h("span", { "aria-live": "polite", id: `${inputId}-charcount`, class: "charcount" }, numChars, "/", maxNumChars), index.h("span", { hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))))));
1128
1158
  }
1129
- return (index.h(index.Host, { class: { ["fullwidth"]: fullWidth } }, index.h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (index.h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), index.h("ic-input-component-container", { small: small, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, this.showLeftIcon && (index.h("span", { class: {
1130
- ["readonly"]: readonly,
1131
- ["has-value"]: value.length > 0,
1132
- }, slot: "left-icon" }, index.h("slot", { name: "icon" }))), !multiline && (index.h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
1133
- ["no-left-pad"]: !this.showLeftIcon && readonly,
1134
- ["readonly"]: readonly,
1135
- ["truncate-value"]: truncateValue,
1136
- }, 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 && (index.h("textarea", Object.assign({ id: inputId, class: {
1137
- ["no-resize"]: resize === false || readonly,
1138
- ["no-left-pad"]: !this.showLeftIcon && readonly,
1139
- ["readonly"]: readonly,
1140
- }, 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))), helpers.isSlotUsed(this.el, "clear-button") && (index.h("slot", { name: "clear-button" })), helpers.isSlotUsed(this.el, "search-submit-button") && (index.h("slot", { name: "search-submit-button" }))), helpers.isSlotUsed(this.el, "menu") && index.h("slot", { name: "menu" }), (!helpers.isEmptyString(validationStatus) ||
1141
- !helpers.isEmptyString(validationText) ||
1142
- maxNumChars > 0 ||
1143
- maxValueExceeded ||
1144
- minValueUnattained) &&
1145
- !validationInlineInternal && (index.h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
1146
- (currentStatus === types.IcInformationStatus.Success &&
1147
- validationInline) ||
1148
- validationInlineInternal
1149
- ? ""
1150
- : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (index.h("div", { slot: "validation-message-adornment" }, index.h("ic-typography", { variant: "caption", class: {
1151
- ["maxlengthtext"]: true,
1152
- ["error"]: maxLengthExceeded,
1153
- ["disabled"]: disabledText,
1154
- } }, index.h("span", { "aria-live": "polite", id: `${inputId}-charcount`, class: "charcount" }, numChars, "/", maxNumChars), index.h("span", { hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))))));
1155
- }
1156
- get el() { return index.getElement(this); }
1157
- static get watchers() { return {
1158
- "debounce": ["debounceChanged"],
1159
- "value": ["watchValueHandler"]
1160
- }; }
1159
+ get el() { return index.getElement(this); }
1160
+ static get watchers() { return {
1161
+ "debounce": ["debounceChanged"],
1162
+ "value": ["watchValueHandler"]
1163
+ }; }
1161
1164
  };
1162
1165
  TextField.style = icTextFieldCss;
1163
1166