@ukic/canary-web-components 2.0.0-canary.18 → 2.0.0-canary.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-4f5f087e.js → helpers-73d277d1.js} +6 -3
  3. package/dist/cjs/helpers-73d277d1.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +13 -1
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +18 -6
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-date-picker.cjs.entry.js +6 -3
  21. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  23. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-empty-state_2.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +12 -1
  31. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-menu.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-pagination_4.cjs.entry.js +43 -56
  42. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  60. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/collection/components/ic-date-picker/ic-date-picker.js +6 -3
  63. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  64. package/dist/components/helpers.js +5 -3
  65. package/dist/components/helpers.js.map +1 -1
  66. package/dist/components/ic-accordion-group.js +16 -1
  67. package/dist/components/ic-accordion-group.js.map +1 -1
  68. package/dist/components/ic-accordion.js +1 -1
  69. package/dist/components/ic-accordion.js.map +1 -1
  70. package/dist/components/ic-breadcrumb-group.js +20 -5
  71. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  72. package/dist/components/ic-date-picker.js +6 -3
  73. package/dist/components/ic-date-picker.js.map +1 -1
  74. package/dist/components/ic-footer.js +1 -1
  75. package/dist/components/ic-horizontal-scroll2.js +1 -1
  76. package/dist/components/ic-input-component-container2.js +13 -2
  77. package/dist/components/ic-input-component-container2.js.map +1 -1
  78. package/dist/components/ic-navigation-group.js +1 -1
  79. package/dist/components/ic-navigation-item.js +1 -1
  80. package/dist/components/ic-navigation-menu2.js +1 -1
  81. package/dist/components/ic-pagination-item2.js +1 -1
  82. package/dist/components/ic-popover-menu.js +1 -1
  83. package/dist/components/ic-search-bar.js +1 -1
  84. package/dist/components/ic-select2.js +15 -4
  85. package/dist/components/ic-select2.js.map +1 -1
  86. package/dist/components/ic-side-navigation.js +1 -1
  87. package/dist/components/ic-stepper.js +1 -1
  88. package/dist/components/ic-text-field2.js +29 -53
  89. package/dist/components/ic-text-field2.js.map +1 -1
  90. package/dist/components/ic-theme.js +1 -1
  91. package/dist/components/ic-toast.js +1 -1
  92. package/dist/components/ic-top-navigation.js +1 -1
  93. package/dist/components/ic-typography2.js +1 -1
  94. package/dist/components/ic-typography2.js.map +1 -1
  95. package/dist/core/core.esm.js +1 -1
  96. package/dist/core/core.esm.js.map +1 -1
  97. package/dist/core/{p-87075008.entry.js → p-0629691b.entry.js} +2 -2
  98. package/dist/core/{p-4c92a3dd.entry.js → p-0970c8a1.entry.js} +2 -2
  99. package/dist/core/{p-c292fd86.entry.js → p-0a99994a.entry.js} +2 -2
  100. package/dist/core/{p-c5147498.entry.js → p-0ecde7a8.entry.js} +2 -2
  101. package/dist/core/{p-86e679ab.entry.js → p-12120521.entry.js} +2 -2
  102. package/dist/core/{p-1b4f852c.js → p-1440cdd1.js} +2 -2
  103. package/dist/core/p-1440cdd1.js.map +1 -0
  104. package/dist/core/{p-8a67e960.entry.js → p-1ba9cd3d.entry.js} +2 -2
  105. package/dist/core/{p-7c569c2d.entry.js → p-24f9f6d4.entry.js} +2 -2
  106. package/dist/core/{p-b7c644d1.entry.js → p-3245554e.entry.js} +2 -2
  107. package/dist/core/{p-4aac2373.entry.js → p-34cc7b3d.entry.js} +2 -2
  108. package/dist/core/{p-d4fed5f6.entry.js → p-34e72f79.entry.js} +2 -2
  109. package/dist/core/{p-e4e89a4d.entry.js → p-352b9c17.entry.js} +2 -2
  110. package/dist/core/{p-5fa17f98.entry.js → p-3eb33ef4.entry.js} +2 -2
  111. package/dist/core/{p-9c22b14f.entry.js → p-4670ebd3.entry.js} +2 -2
  112. package/dist/core/{p-1fb48c84.entry.js → p-47c91e08.entry.js} +2 -2
  113. package/dist/core/p-4ec1ce96.entry.js +2 -0
  114. package/dist/core/p-4ec1ce96.entry.js.map +1 -0
  115. package/dist/core/p-57c5ff2c.entry.js +2 -0
  116. package/dist/core/p-57c5ff2c.entry.js.map +1 -0
  117. package/dist/core/{p-d3a13342.entry.js → p-5c819adb.entry.js} +2 -2
  118. package/dist/core/{p-201ec29e.entry.js → p-5ed65e8f.entry.js} +2 -2
  119. package/dist/core/{p-8ccb23bd.entry.js → p-64ae50d3.entry.js} +2 -2
  120. package/dist/core/{p-a821c21f.entry.js → p-66bfe89d.entry.js} +2 -2
  121. package/dist/core/{p-90992051.entry.js → p-66c26240.entry.js} +2 -2
  122. package/dist/core/p-6c5c6aaf.entry.js +2 -0
  123. package/dist/core/p-6c5c6aaf.entry.js.map +1 -0
  124. package/dist/core/{p-8237cd57.entry.js → p-6eafa62e.entry.js} +2 -2
  125. package/dist/core/{p-52d5a3a5.entry.js → p-768fe0a9.entry.js} +2 -2
  126. package/dist/core/{p-d2d40668.entry.js → p-7e850bad.entry.js} +2 -2
  127. package/dist/core/{p-0e51d58e.entry.js → p-8100f45c.entry.js} +2 -2
  128. package/dist/core/{p-5447f2fd.entry.js → p-87868dd2.entry.js} +2 -2
  129. package/dist/core/{p-b3b834b3.entry.js → p-88e076fd.entry.js} +2 -2
  130. package/dist/core/{p-b3b834b3.entry.js.map → p-88e076fd.entry.js.map} +1 -1
  131. package/dist/core/{p-303dc008.entry.js → p-92a858f7.entry.js} +2 -2
  132. package/dist/core/{p-71ddb6d9.entry.js → p-94ce6f29.entry.js} +2 -2
  133. package/dist/core/{p-d08f4fa7.entry.js → p-9769c195.entry.js} +2 -2
  134. package/dist/core/{p-79fa2f57.entry.js → p-992b6161.entry.js} +2 -2
  135. package/dist/core/{p-11b243c9.entry.js → p-a5bb7bb0.entry.js} +2 -2
  136. package/dist/core/{p-f704629e.entry.js → p-af21360a.entry.js} +2 -2
  137. package/dist/core/{p-5201cd2b.entry.js → p-b7161816.entry.js} +2 -2
  138. package/dist/core/p-b8d3f121.entry.js +2 -0
  139. package/dist/core/p-b8d3f121.entry.js.map +1 -0
  140. package/dist/core/{p-5dfd9074.entry.js → p-cb7793b0.entry.js} +2 -2
  141. package/dist/core/{p-ba1c1804.entry.js → p-cd3c10f1.entry.js} +2 -2
  142. package/dist/core/p-cd3c10f1.entry.js.map +1 -0
  143. package/dist/core/{p-70d734d4.entry.js → p-d3e186a3.entry.js} +2 -2
  144. package/dist/core/{p-48c39d2a.entry.js → p-d67a5c90.entry.js} +2 -2
  145. package/dist/core/{p-1fff20ce.entry.js → p-d6b27926.entry.js} +2 -2
  146. package/dist/core/{p-7f6de032.entry.js → p-e1e04f34.entry.js} +2 -2
  147. package/dist/core/{p-fae5b518.entry.js → p-e2387530.entry.js} +2 -2
  148. package/dist/core/{p-3484b15b.entry.js → p-e32cce28.entry.js} +2 -2
  149. package/dist/core/{p-dd787b5b.entry.js → p-ebe9172b.entry.js} +2 -2
  150. package/dist/core/{p-dd787b5b.entry.js.map → p-ebe9172b.entry.js.map} +1 -1
  151. package/dist/core/{p-6996b750.entry.js → p-edf3411a.entry.js} +2 -2
  152. package/dist/core/{p-7fe37432.entry.js → p-eeae7272.entry.js} +2 -2
  153. package/dist/core/{p-185e91f0.entry.js → p-ef996e40.entry.js} +2 -2
  154. package/dist/core/{p-1a45f961.entry.js → p-f04af6fd.entry.js} +2 -2
  155. package/dist/core/{p-dbbce628.entry.js → p-f847a970.entry.js} +2 -2
  156. package/dist/esm/core.js +1 -1
  157. package/dist/esm/{helpers-84d21612.js → helpers-4e2e4787.js} +6 -4
  158. package/dist/esm/helpers-4e2e4787.js.map +1 -0
  159. package/dist/esm/ic-accordion-group.entry.js +13 -1
  160. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  161. package/dist/esm/ic-accordion.entry.js +2 -2
  162. package/dist/esm/ic-accordion.entry.js.map +1 -1
  163. package/dist/esm/ic-alert.entry.js +1 -1
  164. package/dist/esm/ic-back-to-top.entry.js +1 -1
  165. package/dist/esm/ic-badge.entry.js +1 -1
  166. package/dist/esm/ic-breadcrumb-group.entry.js +18 -6
  167. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  168. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  169. package/dist/esm/ic-button_3.entry.js +1 -1
  170. package/dist/esm/ic-card.entry.js +1 -1
  171. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  172. package/dist/esm/ic-checkbox.entry.js +1 -1
  173. package/dist/esm/ic-chip.entry.js +1 -1
  174. package/dist/esm/ic-data-row.entry.js +1 -1
  175. package/dist/esm/ic-date-picker.entry.js +6 -3
  176. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  177. package/dist/esm/ic-dialog.entry.js +1 -1
  178. package/dist/esm/ic-divider.entry.js +1 -1
  179. package/dist/esm/ic-empty-state_2.entry.js +1 -1
  180. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  181. package/dist/esm/ic-footer-link.entry.js +1 -1
  182. package/dist/esm/ic-footer.entry.js +1 -1
  183. package/dist/esm/ic-hero.entry.js +1 -1
  184. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  185. package/dist/esm/ic-input-component-container_4.entry.js +13 -2
  186. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  187. package/dist/esm/ic-link.entry.js +1 -1
  188. package/dist/esm/ic-menu-group.entry.js +1 -1
  189. package/dist/esm/ic-menu-item.entry.js +1 -1
  190. package/dist/esm/ic-menu.entry.js +1 -1
  191. package/dist/esm/ic-navigation-button.entry.js +1 -1
  192. package/dist/esm/ic-navigation-group.entry.js +1 -1
  193. package/dist/esm/ic-navigation-item.entry.js +1 -1
  194. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  195. package/dist/esm/ic-page-header.entry.js +1 -1
  196. package/dist/esm/ic-pagination_4.entry.js +43 -56
  197. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  198. package/dist/esm/ic-popover-menu.entry.js +1 -1
  199. package/dist/esm/ic-radio-group.entry.js +1 -1
  200. package/dist/esm/ic-radio-option.entry.js +1 -1
  201. package/dist/esm/ic-search-bar.entry.js +1 -1
  202. package/dist/esm/ic-side-navigation.entry.js +1 -1
  203. package/dist/esm/ic-status-tag.entry.js +1 -1
  204. package/dist/esm/ic-step.entry.js +1 -1
  205. package/dist/esm/ic-stepper.entry.js +1 -1
  206. package/dist/esm/ic-switch.entry.js +1 -1
  207. package/dist/esm/ic-tab-group.entry.js +1 -1
  208. package/dist/esm/ic-tab-panel.entry.js +1 -1
  209. package/dist/esm/ic-tab.entry.js +1 -1
  210. package/dist/esm/ic-theme.entry.js +1 -1
  211. package/dist/esm/ic-toast.entry.js +1 -1
  212. package/dist/esm/ic-toggle-button.entry.js +1 -1
  213. package/dist/esm/ic-top-navigation.entry.js +1 -1
  214. package/dist/esm/ic-typography.entry.js +2 -2
  215. package/dist/esm/ic-typography.entry.js.map +1 -1
  216. package/dist/esm/loader.js +1 -1
  217. package/hydrate/index.js +95 -67
  218. package/package.json +3 -3
  219. package/dist/cjs/helpers-4f5f087e.js.map +0 -1
  220. package/dist/core/p-1b4f852c.js.map +0 -1
  221. package/dist/core/p-60494f69.entry.js +0 -2
  222. package/dist/core/p-60494f69.entry.js.map +0 -1
  223. package/dist/core/p-7114ae3b.entry.js +0 -2
  224. package/dist/core/p-7114ae3b.entry.js.map +0 -1
  225. package/dist/core/p-a1df23b4.entry.js +0 -2
  226. package/dist/core/p-a1df23b4.entry.js.map +0 -1
  227. package/dist/core/p-ba1c1804.entry.js.map +0 -1
  228. package/dist/core/p-e42b66d5.entry.js +0 -2
  229. package/dist/core/p-e42b66d5.entry.js.map +0 -1
  230. package/dist/esm/helpers-84d21612.js.map +0 -1
  231. /package/dist/core/{p-87075008.entry.js.map → p-0629691b.entry.js.map} +0 -0
  232. /package/dist/core/{p-4c92a3dd.entry.js.map → p-0970c8a1.entry.js.map} +0 -0
  233. /package/dist/core/{p-c292fd86.entry.js.map → p-0a99994a.entry.js.map} +0 -0
  234. /package/dist/core/{p-c5147498.entry.js.map → p-0ecde7a8.entry.js.map} +0 -0
  235. /package/dist/core/{p-86e679ab.entry.js.map → p-12120521.entry.js.map} +0 -0
  236. /package/dist/core/{p-8a67e960.entry.js.map → p-1ba9cd3d.entry.js.map} +0 -0
  237. /package/dist/core/{p-7c569c2d.entry.js.map → p-24f9f6d4.entry.js.map} +0 -0
  238. /package/dist/core/{p-b7c644d1.entry.js.map → p-3245554e.entry.js.map} +0 -0
  239. /package/dist/core/{p-4aac2373.entry.js.map → p-34cc7b3d.entry.js.map} +0 -0
  240. /package/dist/core/{p-d4fed5f6.entry.js.map → p-34e72f79.entry.js.map} +0 -0
  241. /package/dist/core/{p-e4e89a4d.entry.js.map → p-352b9c17.entry.js.map} +0 -0
  242. /package/dist/core/{p-5fa17f98.entry.js.map → p-3eb33ef4.entry.js.map} +0 -0
  243. /package/dist/core/{p-9c22b14f.entry.js.map → p-4670ebd3.entry.js.map} +0 -0
  244. /package/dist/core/{p-1fb48c84.entry.js.map → p-47c91e08.entry.js.map} +0 -0
  245. /package/dist/core/{p-d3a13342.entry.js.map → p-5c819adb.entry.js.map} +0 -0
  246. /package/dist/core/{p-201ec29e.entry.js.map → p-5ed65e8f.entry.js.map} +0 -0
  247. /package/dist/core/{p-8ccb23bd.entry.js.map → p-64ae50d3.entry.js.map} +0 -0
  248. /package/dist/core/{p-a821c21f.entry.js.map → p-66bfe89d.entry.js.map} +0 -0
  249. /package/dist/core/{p-90992051.entry.js.map → p-66c26240.entry.js.map} +0 -0
  250. /package/dist/core/{p-8237cd57.entry.js.map → p-6eafa62e.entry.js.map} +0 -0
  251. /package/dist/core/{p-52d5a3a5.entry.js.map → p-768fe0a9.entry.js.map} +0 -0
  252. /package/dist/core/{p-d2d40668.entry.js.map → p-7e850bad.entry.js.map} +0 -0
  253. /package/dist/core/{p-0e51d58e.entry.js.map → p-8100f45c.entry.js.map} +0 -0
  254. /package/dist/core/{p-5447f2fd.entry.js.map → p-87868dd2.entry.js.map} +0 -0
  255. /package/dist/core/{p-303dc008.entry.js.map → p-92a858f7.entry.js.map} +0 -0
  256. /package/dist/core/{p-71ddb6d9.entry.js.map → p-94ce6f29.entry.js.map} +0 -0
  257. /package/dist/core/{p-d08f4fa7.entry.js.map → p-9769c195.entry.js.map} +0 -0
  258. /package/dist/core/{p-79fa2f57.entry.js.map → p-992b6161.entry.js.map} +0 -0
  259. /package/dist/core/{p-11b243c9.entry.js.map → p-a5bb7bb0.entry.js.map} +0 -0
  260. /package/dist/core/{p-f704629e.entry.js.map → p-af21360a.entry.js.map} +0 -0
  261. /package/dist/core/{p-5201cd2b.entry.js.map → p-b7161816.entry.js.map} +0 -0
  262. /package/dist/core/{p-5dfd9074.entry.js.map → p-cb7793b0.entry.js.map} +0 -0
  263. /package/dist/core/{p-70d734d4.entry.js.map → p-d3e186a3.entry.js.map} +0 -0
  264. /package/dist/core/{p-48c39d2a.entry.js.map → p-d67a5c90.entry.js.map} +0 -0
  265. /package/dist/core/{p-1fff20ce.entry.js.map → p-d6b27926.entry.js.map} +0 -0
  266. /package/dist/core/{p-7f6de032.entry.js.map → p-e1e04f34.entry.js.map} +0 -0
  267. /package/dist/core/{p-fae5b518.entry.js.map → p-e2387530.entry.js.map} +0 -0
  268. /package/dist/core/{p-3484b15b.entry.js.map → p-e32cce28.entry.js.map} +0 -0
  269. /package/dist/core/{p-6996b750.entry.js.map → p-edf3411a.entry.js.map} +0 -0
  270. /package/dist/core/{p-7fe37432.entry.js.map → p-eeae7272.entry.js.map} +0 -0
  271. /package/dist/core/{p-185e91f0.entry.js.map → p-ef996e40.entry.js.map} +0 -0
  272. /package/dist/core/{p-1a45f961.entry.js.map → p-f04af6fd.entry.js.map} +0 -0
  273. /package/dist/core/{p-dbbce628.entry.js.map → p-f847a970.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, f as forceUpdate } from './index-93509377.js';
2
- import { j as removeDisabledFalse, a as onComponentRequiredPropUndefined, K as capitalize, B as getLabelFromValue, z as getFilteredMenuOptions, m as removeFormResetListener, v as inheritAttributes, l as addFormResetListener, n as renderHiddenInput, q as getInputDescribedByText, s as hasValidationStatus, L as isMobileOrTablet, w as IC_INHERITED_ARIA, M as debounceEvent, i as isSlotUsed, C as isEmptyString } from './helpers-84d21612.js';
2
+ import { j as removeDisabledFalse, a as onComponentRequiredPropUndefined, K as capitalize, L as checkSlotInChildMutations, B as getLabelFromValue, z as getFilteredMenuOptions, m as removeFormResetListener, v as inheritAttributes, l as addFormResetListener, n as renderHiddenInput, q as getInputDescribedByText, s as hasValidationStatus, M as isMobileOrTablet, w as IC_INHERITED_ARIA, N as debounceEvent, i as isSlotUsed, C as isEmptyString } from './helpers-4e2e4787.js';
3
3
  import { I as IcThemeForegroundEnum, a as IcInformationStatus } from './types-f605c21c.js';
4
4
 
5
5
  const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -295,7 +295,7 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
295
295
  </svg>
296
296
  `;
297
297
 
298
- 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)}";
298
+ 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)}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
299
299
 
300
300
  let inputIds$1 = 0;
301
301
  const MUTABLE_ATTRIBUTES$1 = [...IC_INHERITED_ARIA, "tabindex", "title"];
@@ -322,12 +322,15 @@ const Select = class {
322
322
  // triggered when attributes of host element change
323
323
  this.hostMutationCallback = (mutationList) => {
324
324
  let forceComponentUpdate = false;
325
- mutationList.forEach(({ attributeName }) => {
325
+ mutationList.forEach(({ attributeName, type, addedNodes, removedNodes }) => {
326
326
  if (MUTABLE_ATTRIBUTES$1.includes(attributeName)) {
327
327
  this.inheritedAttributes[attributeName] =
328
328
  this.el.getAttribute(attributeName);
329
329
  forceComponentUpdate = true;
330
330
  }
331
+ else if (type === "childList") {
332
+ forceComponentUpdate = checkSlotInChildMutations(addedNodes, removedNodes, "icon");
333
+ }
331
334
  });
332
335
  if (forceComponentUpdate) {
333
336
  forceUpdate(this);
@@ -893,6 +896,7 @@ const Select = class {
893
896
  this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
894
897
  this.hostMutationObserver.observe(this.el, {
895
898
  attributes: true,
899
+ childList: true,
896
900
  });
897
901
  }
898
902
  componentDidRender() {
@@ -937,13 +941,20 @@ const Select = class {
937
941
  renderHiddenInput(true, this.el, name, this.searchable ? this.hiddenInputValue : currValue, disabled);
938
942
  const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
939
943
  const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
944
+ let showLeftIcon = !!this.el.querySelector(`[slot="icon"]`);
945
+ if (showLeftIcon && (disabled || (readonly && !this.value))) {
946
+ showLeftIcon = false;
947
+ }
940
948
  return (h(Host, { class: {
941
949
  disabled: disabled,
942
950
  searchable: searchable,
943
951
  small: small,
944
952
  [size]: size !== "default",
945
953
  "full-width": fullWidth,
946
- }, onBlur: this.onBlur }, h("ic-input-container", { readonly: readonly }, !hideLabel && (h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (h("ic-typography", null, h("p", null, this.getLabelFromValue(currValue)))) : isMobileOrTablet() ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: this.form }, this.inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
954
+ }, onBlur: this.onBlur }, h("ic-input-container", { readonly: readonly }, !hideLabel && (h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, showLeftIcon && (h("span", { slot: "left-icon", class: {
955
+ ["readonly"]: readonly,
956
+ ["has-value"]: !!this.value,
957
+ } }, h("slot", { name: "icon" }))), readonly ? (h("ic-typography", null, h("p", null, this.getLabelFromValue(currValue)))) : isMobileOrTablet() ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: this.form }, this.inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
947
958
  if (option.children) {
948
959
  return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
949
960
  }
@@ -1008,27 +1019,19 @@ const TextField = class {
1008
1019
  this.getMaxLengthExceeded = (value) => {
1009
1020
  this.numChars = value.length;
1010
1021
  if (this.type === "number") {
1011
- this.minValueUnattained =
1012
- value && Number(value) < Number(this.min) ? true : false;
1013
- this.maxValueExceeded = Number(value) > Number(this.max) ? true : false;
1022
+ this.minValueUnattained = value && Number(value) < Number(this.min);
1023
+ this.maxValueExceeded = Number(value) > Number(this.max);
1014
1024
  }
1015
1025
  if (this.maxLength > 0) {
1016
- this.maxLengthExceeded = value.length > this.maxLength ? true : false;
1026
+ this.maxLengthExceeded = this.numChars > this.maxLength;
1017
1027
  }
1018
1028
  };
1019
1029
  this.getMaxCharactersReached = (value) => {
1020
1030
  this.numChars = value.length;
1021
- if (this.maxCharacters > 0) {
1022
- this.maxCharactersReached = this.numChars >= this.maxCharacters;
1023
- if (this.maxCharactersError && !this.maxCharactersReached) {
1024
- this.maxCharactersError = false;
1025
- }
1026
- }
1027
- };
1028
- this.getMinCharactersUnattained = (value) => {
1029
- this.numChars = value.length;
1030
- if (this.minCharacters > 0) {
1031
- this.minCharactersUnattained = this.numChars < this.minCharacters;
1031
+ this.maxCharactersReached =
1032
+ this.maxCharacters > 0 ? this.numChars >= this.maxCharacters : false;
1033
+ if (this.maxCharactersError && !this.maxCharactersReached) {
1034
+ this.maxCharactersError = false;
1032
1035
  }
1033
1036
  };
1034
1037
  this.onInput = (ev) => {
@@ -1037,39 +1040,30 @@ const TextField = class {
1037
1040
  };
1038
1041
  this.onBlur = (ev) => {
1039
1042
  const value = ev.target.value;
1040
- this.getMinCharactersUnattained(value);
1043
+ this.numChars = value.length;
1044
+ this.minCharactersUnattained =
1045
+ this.minCharacters > 0 ? this.numChars < this.minCharacters : false;
1041
1046
  this.icBlur.emit({ value: value });
1042
1047
  };
1043
1048
  this.onFocus = (ev) => {
1044
- const value = ev.target.value;
1045
- this.icFocus.emit({ value: value });
1046
- };
1047
- this.isTextArea = () => {
1048
- return this.rows > 1;
1049
- };
1050
- this.getInlineValidationText = () => {
1051
- this.getValidationText.emit({ value: this.validationText });
1052
- };
1053
- this.hasStatus = (status) => {
1054
- return status !== "" && !this.disabled;
1055
- };
1056
- this.showStatusText = (status) => {
1057
- return (this.hasStatus(status) &&
1058
- !(status == IcInformationStatus.Success && this.validationInline) &&
1059
- !this.validationInlineInternal);
1049
+ this.icFocus.emit({ value: ev.target.value });
1060
1050
  };
1051
+ this.hasStatus = (status) => status !== "" && !this.disabled;
1061
1052
  this.handleFormReset = () => {
1062
1053
  this.value = this.initialValue;
1063
1054
  };
1064
1055
  // triggered when attributes of host element change
1065
1056
  this.hostMutationCallback = (mutationList) => {
1066
1057
  let forceComponentUpdate = false;
1067
- mutationList.forEach(({ attributeName }) => {
1058
+ mutationList.forEach(({ attributeName, type, addedNodes, removedNodes }) => {
1068
1059
  if (MUTABLE_ATTRIBUTES.includes(attributeName)) {
1069
1060
  this.inheritedAttributes[attributeName] =
1070
1061
  this.el.getAttribute(attributeName);
1071
1062
  forceComponentUpdate = true;
1072
1063
  }
1064
+ else if (type === "childList") {
1065
+ forceComponentUpdate = checkSlotInChildMutations(addedNodes, removedNodes, "icon");
1066
+ }
1073
1067
  });
1074
1068
  if (forceComponentUpdate) {
1075
1069
  forceUpdate(this);
@@ -1160,11 +1154,12 @@ const TextField = class {
1160
1154
  componentDidLoad() {
1161
1155
  onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
1162
1156
  if (this.validationInlineInternal) {
1163
- this.getInlineValidationText();
1157
+ this.getValidationText.emit({ value: this.validationText });
1164
1158
  }
1165
1159
  this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
1166
1160
  this.hostMutationObserver.observe(this.el, {
1167
1161
  attributes: true,
1162
+ childList: true,
1168
1163
  });
1169
1164
  }
1170
1165
  handleKeyDown(ev) {
@@ -1175,13 +1170,8 @@ const TextField = class {
1175
1170
  * Sets focus on the native `input`.
1176
1171
  */
1177
1172
  async setFocus() {
1178
- if (this.inputEl) {
1179
- this.inputEl.focus();
1180
- }
1181
- }
1182
- hasLeftIconSlot() {
1183
- const iconEl = this.el.querySelector(`[slot="icon"]`);
1184
- return iconEl !== null;
1173
+ var _a;
1174
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
1185
1175
  }
1186
1176
  render() {
1187
1177
  const { inputId, name, label, required, size, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, maxCharacters, maxCharactersError, maxCharactersReached, minCharacters, minCharactersUnattained, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
@@ -1215,18 +1205,15 @@ const TextField = class {
1215
1205
  (maxLength === 0 && currentStatus === IcInformationStatus.Error)
1216
1206
  ? "assertive"
1217
1207
  : "polite";
1218
- const showStatusText = this.showStatusText(currentStatus);
1219
- const multiline = this.isTextArea();
1220
- const hiddenCharCountDescId = maxLength > 0 ? inputId + "-charcount-desc" : "";
1221
- const describedBy = (hiddenCharCountDescId +
1222
- " " +
1223
- getInputDescribedByText(inputId, helperText !== "", showStatusText)).trim();
1224
- let showLeftIcon = this.hasLeftIconSlot();
1225
- if (showLeftIcon && !readonly && disabledMode) {
1226
- showLeftIcon = false;
1227
- }
1228
- const invalid = currentStatus === IcInformationStatus.Error ? "true" : "false";
1208
+ const showStatusText = this.hasStatus(currentStatus) &&
1209
+ !(currentStatus == IcInformationStatus.Success && validationInline) &&
1210
+ !validationInlineInternal;
1211
+ const multiline = rows > 1;
1212
+ const hiddenCharCountDescId = maxLength > 0 ? `${inputId}-charcount-desc` : "";
1213
+ const describedBy = `${hiddenCharCountDescId} ${getInputDescribedByText(inputId, helperText !== "", showStatusText)}`.trim();
1229
1214
  const disabledText = disabledMode && !readonly;
1215
+ const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
1216
+ const invalid = `${currentStatus === IcInformationStatus.Error}`;
1230
1217
  if (hiddenInput) {
1231
1218
  renderHiddenInput(true, this.el, name, value, disabledMode);
1232
1219
  }