@ukic/canary-web-components 2.0.0-canary.21 → 2.0.0-canary.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (706) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-081d6031.js → helpers-093368be.js} +3 -1
  3. package/dist/cjs/helpers-093368be.js.map +1 -0
  4. package/dist/cjs/{helpers-261701cd.js → helpers-85c5ca15.js} +14 -1
  5. package/dist/cjs/helpers-85c5ca15.js.map +1 -0
  6. package/dist/cjs/ic-accordion-group.cjs.entry.js +8 -8
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +4 -4
  9. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-alert.cjs.entry.js +1 -3
  11. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js +12 -15
  13. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-badge.cjs.entry.js +15 -27
  15. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +4 -4
  17. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-button_3.cjs.entry.js +27 -22
  21. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
  23. package/dist/cjs/{ic-card.cjs.entry.js → ic-card-vertical.cjs.entry.js} +6 -6
  24. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
  25. package/dist/cjs/ic-checkbox-group.cjs.entry.js +6 -5
  26. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-checkbox.cjs.entry.js +6 -15
  28. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-chip.cjs.entry.js +9 -10
  30. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  32. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-list.cjs.entry.js +28 -0
  34. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ic-data-row.cjs.entry.js +9 -10
  36. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +2 -2
  38. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-data-table.cjs.entry.js +526 -71
  40. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-date-input.cjs.entry.js +4 -3
  42. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-date-picker.cjs.entry.js +7 -3
  44. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-dialog.cjs.entry.js +12 -97
  46. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-empty-state_2.cjs.entry.js +8 -8
  49. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-footer-link-group.cjs.entry.js +9 -9
  51. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-footer-link.cjs.entry.js +6 -7
  53. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-footer.cjs.entry.js +8 -8
  55. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-hero.cjs.entry.js +8 -9
  57. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
  59. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +21 -25
  61. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-link.cjs.entry.js +6 -7
  63. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-menu-item.cjs.entry.js +3 -3
  66. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +9 -11
  68. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-menu.cjs.entry.js +8 -10
  70. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-navigation-group.cjs.entry.js +9 -9
  73. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-navigation-item.cjs.entry.js +5 -5
  75. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -2
  77. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-page-header.cjs.entry.js +7 -8
  79. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-pagination_4.cjs.entry.js +95 -101
  81. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -3
  83. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-radio-group.cjs.entry.js +40 -25
  85. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -18
  87. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-search-bar.cjs.entry.js +18 -24
  89. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-select-with-multi.cjs.entry.js +13 -21
  91. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-side-navigation.cjs.entry.js +7 -7
  93. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-skeleton.cjs.entry.js +4 -5
  95. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -11
  97. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-step.cjs.entry.js +40 -43
  99. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-stepper.cjs.entry.js +16 -16
  101. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-switch.cjs.entry.js +5 -6
  103. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-tab-context.cjs.entry.js +0 -11
  105. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-tab-group.cjs.entry.js +4 -5
  107. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -8
  109. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-tab.cjs.entry.js +4 -4
  111. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  113. package/dist/cjs/ic-toast-region.cjs.entry.js +0 -7
  114. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-toast.cjs.entry.js +83 -35
  116. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +16 -16
  118. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  119. package/dist/cjs/ic-toggle-button.cjs.entry.js +13 -13
  120. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  121. package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
  122. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  123. package/dist/cjs/ic-tree-item.cjs.entry.js +241 -0
  124. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -0
  125. package/dist/cjs/ic-tree-view.cjs.entry.js +203 -0
  126. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -0
  127. package/dist/cjs/ic-typography.cjs.entry.js +51 -16
  128. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  129. package/dist/cjs/index-4cf27b16.js +16 -8
  130. package/dist/cjs/loader.cjs.js +1 -1
  131. package/dist/collection/assets/arrow-dropdown.svg +3 -0
  132. package/dist/collection/collection-manifest.json +5 -3
  133. package/dist/collection/components/ic-data-table/ic-data-table.css +55 -5
  134. package/dist/collection/components/ic-data-table/ic-data-table.js +570 -77
  135. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  136. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  137. package/dist/collection/components/ic-data-table/story-data.js +364 -21
  138. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  139. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +1 -1
  140. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  141. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +1 -1
  142. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  143. package/dist/collection/components/ic-date-input/ic-date-input.js +21 -2
  144. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  145. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +7 -0
  146. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +1 -1
  147. package/dist/collection/components/ic-date-picker/ic-date-picker.css +24 -24
  148. package/dist/collection/components/ic-date-picker/ic-date-picker.js +23 -1
  149. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  150. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +11 -11
  151. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +7 -30
  152. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  153. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +1 -1
  154. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  155. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +1 -1
  156. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  157. package/dist/collection/components/ic-select-with-multi/ic-select.css +14 -12
  158. package/dist/collection/components/ic-select-with-multi/ic-select.js +13 -142
  159. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  160. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +1 -1
  161. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -1
  162. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +6 -6
  163. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -1
  164. package/dist/collection/components/ic-tree-item/ic-tree-item.css +150 -0
  165. package/dist/collection/components/ic-tree-item/ic-tree-item.js +592 -0
  166. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -0
  167. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js +114 -0
  168. package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js.map +1 -0
  169. package/dist/collection/components/ic-tree-view/ic-tree-view.css +56 -0
  170. package/dist/collection/components/ic-tree-view/ic-tree-view.js +296 -0
  171. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -0
  172. package/dist/collection/components/ic-tree-view/test/basic/ic-tree-view.spec.js +85 -0
  173. package/dist/collection/components/ic-tree-view/test/basic/ic-tree-view.spec.js.map +1 -0
  174. package/dist/collection/utils/types.js.map +1 -1
  175. package/dist/components/helpers.js +2 -1
  176. package/dist/components/helpers.js.map +1 -1
  177. package/dist/components/helpers2.js +11 -1
  178. package/dist/components/helpers2.js.map +1 -1
  179. package/dist/components/ic-accordion-group.js +8 -8
  180. package/dist/components/ic-accordion-group.js.map +1 -1
  181. package/dist/components/ic-accordion.js +3 -3
  182. package/dist/components/ic-accordion.js.map +1 -1
  183. package/dist/components/ic-alert.js +127 -1
  184. package/dist/components/ic-alert.js.map +1 -1
  185. package/dist/components/ic-back-to-top.js +25 -16
  186. package/dist/components/ic-back-to-top.js.map +1 -1
  187. package/dist/components/ic-badge.js +17 -31
  188. package/dist/components/ic-badge.js.map +1 -1
  189. package/dist/components/ic-breadcrumb-group.js +4 -4
  190. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  191. package/dist/components/ic-breadcrumb2.js +3 -3
  192. package/dist/components/ic-breadcrumb2.js.map +1 -1
  193. package/dist/components/ic-button2.js +10 -10
  194. package/dist/components/ic-button2.js.map +1 -1
  195. package/dist/components/{ic-card.js → ic-card-vertical.js} +11 -11
  196. package/dist/components/ic-card-vertical.js.map +1 -0
  197. package/dist/components/ic-checkbox-group.js +6 -6
  198. package/dist/components/ic-checkbox-group.js.map +1 -1
  199. package/dist/components/ic-checkbox.js +6 -21
  200. package/dist/components/ic-checkbox.js.map +1 -1
  201. package/dist/components/ic-chip.js +9 -11
  202. package/dist/components/ic-chip.js.map +1 -1
  203. package/dist/components/ic-classification-banner.js +2 -2
  204. package/dist/components/ic-classification-banner.js.map +1 -1
  205. package/dist/components/ic-data-list.js +51 -0
  206. package/dist/components/ic-data-list.js.map +1 -0
  207. package/dist/components/ic-data-row.js +10 -12
  208. package/dist/components/ic-data-row.js.map +1 -1
  209. package/dist/components/ic-data-table-title-bar.js +1 -1
  210. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  211. package/dist/components/ic-data-table.js +531 -72
  212. package/dist/components/ic-data-table.js.map +1 -1
  213. package/dist/components/ic-date-input2.js +5 -3
  214. package/dist/components/ic-date-input2.js.map +1 -1
  215. package/dist/components/ic-date-picker.js +8 -3
  216. package/dist/components/ic-date-picker.js.map +1 -1
  217. package/dist/components/ic-dialog.js +14 -112
  218. package/dist/components/ic-dialog.js.map +1 -1
  219. package/dist/components/ic-divider2.js +1 -1
  220. package/dist/components/ic-empty-state2.js +7 -7
  221. package/dist/components/ic-empty-state2.js.map +1 -1
  222. package/dist/components/ic-footer-link-group.js +10 -10
  223. package/dist/components/ic-footer-link-group.js.map +1 -1
  224. package/dist/components/ic-footer-link.js +13 -8
  225. package/dist/components/ic-footer-link.js.map +1 -1
  226. package/dist/components/ic-footer.js +8 -8
  227. package/dist/components/ic-footer.js.map +1 -1
  228. package/dist/components/ic-hero.js +8 -10
  229. package/dist/components/ic-hero.js.map +1 -1
  230. package/dist/components/ic-horizontal-scroll2.js +5 -5
  231. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  232. package/dist/components/ic-input-component-container2.js +11 -16
  233. package/dist/components/ic-input-component-container2.js.map +1 -1
  234. package/dist/components/ic-input-label2.js +10 -12
  235. package/dist/components/ic-input-label2.js.map +1 -1
  236. package/dist/components/ic-input-validation2.js +4 -4
  237. package/dist/components/ic-input-validation2.js.map +1 -1
  238. package/dist/components/ic-link2.js +6 -8
  239. package/dist/components/ic-link2.js.map +1 -1
  240. package/dist/components/ic-loading-indicator2.js +9 -9
  241. package/dist/components/ic-loading-indicator2.js.map +1 -1
  242. package/dist/components/ic-menu-group.js +1 -1
  243. package/dist/components/ic-menu-item2.js +3 -3
  244. package/dist/components/ic-menu-item2.js.map +1 -1
  245. package/dist/components/ic-menu2.js +7 -10
  246. package/dist/components/ic-menu2.js.map +1 -1
  247. package/dist/components/ic-menu3.js +9 -12
  248. package/dist/components/ic-menu3.js.map +1 -1
  249. package/dist/components/ic-navigation-button.js +1 -1
  250. package/dist/components/ic-navigation-group.js +9 -9
  251. package/dist/components/ic-navigation-group.js.map +1 -1
  252. package/dist/components/ic-navigation-item.js +5 -5
  253. package/dist/components/ic-navigation-item.js.map +1 -1
  254. package/dist/components/ic-navigation-menu2.js +2 -2
  255. package/dist/components/ic-navigation-menu2.js.map +1 -1
  256. package/dist/components/ic-page-header.js +7 -9
  257. package/dist/components/ic-page-header.js.map +1 -1
  258. package/dist/components/ic-pagination-bar2.js +2 -2
  259. package/dist/components/ic-pagination-bar2.js.map +1 -1
  260. package/dist/components/ic-pagination-item2.js +1 -1
  261. package/dist/components/ic-pagination2.js +38 -36
  262. package/dist/components/ic-pagination2.js.map +1 -1
  263. package/dist/components/ic-popover-menu.js +3 -3
  264. package/dist/components/ic-popover-menu.js.map +1 -1
  265. package/dist/components/ic-radio-group.js +41 -26
  266. package/dist/components/ic-radio-group.js.map +1 -1
  267. package/dist/components/ic-radio-option.js +6 -25
  268. package/dist/components/ic-radio-option.js.map +1 -1
  269. package/dist/components/ic-search-bar.js +20 -27
  270. package/dist/components/ic-search-bar.js.map +1 -1
  271. package/dist/components/ic-select-with-multi.js +14 -29
  272. package/dist/components/ic-select-with-multi.js.map +1 -1
  273. package/dist/components/ic-select2.js +14 -29
  274. package/dist/components/ic-select2.js.map +1 -1
  275. package/dist/components/ic-side-navigation.js +7 -7
  276. package/dist/components/ic-side-navigation.js.map +1 -1
  277. package/dist/components/ic-skeleton.js +4 -6
  278. package/dist/components/ic-skeleton.js.map +1 -1
  279. package/dist/components/ic-status-tag.js +1 -12
  280. package/dist/components/ic-status-tag.js.map +1 -1
  281. package/dist/components/ic-step.js +46 -49
  282. package/dist/components/ic-step.js.map +1 -1
  283. package/dist/components/ic-stepper.js +16 -16
  284. package/dist/components/ic-stepper.js.map +1 -1
  285. package/dist/components/ic-switch.js +5 -7
  286. package/dist/components/ic-switch.js.map +1 -1
  287. package/dist/components/ic-tab-context.js +0 -11
  288. package/dist/components/ic-tab-context.js.map +1 -1
  289. package/dist/components/ic-tab-group.js +3 -5
  290. package/dist/components/ic-tab-group.js.map +1 -1
  291. package/dist/components/ic-tab-panel.js +1 -9
  292. package/dist/components/ic-tab-panel.js.map +1 -1
  293. package/dist/components/ic-tab.js +3 -3
  294. package/dist/components/ic-tab.js.map +1 -1
  295. package/dist/components/ic-text-field2.js +51 -53
  296. package/dist/components/ic-text-field2.js.map +1 -1
  297. package/dist/components/ic-theme.js +1 -1
  298. package/dist/components/ic-toast-region.js +1 -9
  299. package/dist/components/ic-toast-region.js.map +1 -1
  300. package/dist/components/ic-toast.js +86 -36
  301. package/dist/components/ic-toast.js.map +1 -1
  302. package/dist/components/ic-toggle-button-group.js +16 -16
  303. package/dist/components/ic-toggle-button-group.js.map +1 -1
  304. package/dist/components/ic-toggle-button.js +13 -13
  305. package/dist/components/ic-toggle-button.js.map +1 -1
  306. package/dist/components/ic-tooltip2.js +12 -5
  307. package/dist/components/ic-tooltip2.js.map +1 -1
  308. package/dist/components/ic-top-navigation.js +4 -4
  309. package/dist/components/ic-top-navigation.js.map +1 -1
  310. package/dist/components/ic-tree-item.d.ts +11 -0
  311. package/dist/components/ic-tree-item.js +286 -0
  312. package/dist/components/ic-tree-item.js.map +1 -0
  313. package/dist/components/ic-tree-view.d.ts +11 -0
  314. package/dist/components/ic-tree-view.js +237 -0
  315. package/dist/components/ic-tree-view.js.map +1 -0
  316. package/dist/components/ic-typography2.js +57 -19
  317. package/dist/components/ic-typography2.js.map +1 -1
  318. package/dist/core/core.css +1 -1
  319. package/dist/core/core.esm.js +1 -1
  320. package/dist/core/core.esm.js.map +1 -1
  321. package/dist/core/p-00b29b5c.entry.js +2 -0
  322. package/dist/core/p-00b29b5c.entry.js.map +1 -0
  323. package/dist/core/p-01937eb0.entry.js +2 -0
  324. package/dist/core/p-01937eb0.entry.js.map +1 -0
  325. package/dist/core/p-06db67a5.entry.js +2 -0
  326. package/dist/core/p-06db67a5.entry.js.map +1 -0
  327. package/dist/core/{p-e5b1dd58.entry.js → p-0896531a.entry.js} +2 -2
  328. package/dist/core/p-0896531a.entry.js.map +1 -0
  329. package/dist/core/{p-fdacc7f7.entry.js → p-125bc120.entry.js} +2 -2
  330. package/dist/core/p-155054f4.entry.js +2 -0
  331. package/dist/core/p-155054f4.entry.js.map +1 -0
  332. package/dist/core/p-19be677b.entry.js +2 -0
  333. package/dist/core/p-19be677b.entry.js.map +1 -0
  334. package/dist/core/p-20aae323.entry.js +2 -0
  335. package/dist/core/p-20aae323.entry.js.map +1 -0
  336. package/dist/core/{p-b3ed5423.entry.js → p-21ecca00.entry.js} +2 -2
  337. package/dist/core/p-21ecca00.entry.js.map +1 -0
  338. package/dist/core/{p-1d0cff8a.entry.js → p-22260ed4.entry.js} +2 -2
  339. package/dist/core/{p-fab8da25.entry.js → p-2533d147.entry.js} +2 -2
  340. package/dist/core/p-2533d147.entry.js.map +1 -0
  341. package/dist/core/p-2ec4ced3.entry.js +2 -0
  342. package/dist/core/p-2ec4ced3.entry.js.map +1 -0
  343. package/dist/core/{p-45ebcb74.js → p-2fb52051.js} +2 -2
  344. package/dist/{esm/helpers-d41662f3.js.map → core/p-2fb52051.js.map} +1 -1
  345. package/dist/core/{p-d5d36143.entry.js → p-30d385c6.entry.js} +2 -2
  346. package/dist/core/p-30d385c6.entry.js.map +1 -0
  347. package/dist/core/p-3bd8a4fa.entry.js +2 -0
  348. package/dist/core/p-3bd8a4fa.entry.js.map +1 -0
  349. package/dist/core/{p-9e7a5c72.entry.js → p-3f2ae26e.entry.js} +2 -2
  350. package/dist/core/p-3f2ae26e.entry.js.map +1 -0
  351. package/dist/core/p-401d0c66.entry.js +2 -0
  352. package/dist/core/p-401d0c66.entry.js.map +1 -0
  353. package/dist/core/{p-452985d9.entry.js → p-4188b38a.entry.js} +2 -2
  354. package/dist/core/p-4188b38a.entry.js.map +1 -0
  355. package/dist/core/{p-d44b7f21.entry.js → p-41a53070.entry.js} +2 -2
  356. package/dist/core/p-41a53070.entry.js.map +1 -0
  357. package/dist/core/p-4309460f.entry.js +2 -0
  358. package/dist/core/p-4309460f.entry.js.map +1 -0
  359. package/dist/core/p-436d179b.entry.js +2 -0
  360. package/dist/core/p-436d179b.entry.js.map +1 -0
  361. package/dist/core/p-439d1a97.entry.js +2 -0
  362. package/dist/core/p-439d1a97.entry.js.map +1 -0
  363. package/dist/core/p-4974da93.entry.js +2 -0
  364. package/dist/core/p-4974da93.entry.js.map +1 -0
  365. package/dist/core/p-4d316a43.entry.js +2 -0
  366. package/dist/core/p-4d316a43.entry.js.map +1 -0
  367. package/dist/core/{p-5fea8f1c.entry.js → p-54306250.entry.js} +2 -2
  368. package/dist/core/{p-5fea8f1c.entry.js.map → p-54306250.entry.js.map} +1 -1
  369. package/dist/core/p-57527684.entry.js +2 -0
  370. package/dist/core/p-57527684.entry.js.map +1 -0
  371. package/dist/core/p-5a95dd44.entry.js +2 -0
  372. package/dist/core/p-5a95dd44.entry.js.map +1 -0
  373. package/dist/core/p-5cecbd1f.entry.js +2 -0
  374. package/dist/core/p-5cecbd1f.entry.js.map +1 -0
  375. package/dist/core/p-5e41f96d.entry.js +2 -0
  376. package/dist/core/p-5e41f96d.entry.js.map +1 -0
  377. package/dist/core/p-64826d54.entry.js +2 -0
  378. package/dist/core/p-64826d54.entry.js.map +1 -0
  379. package/dist/core/{p-d91428b4.entry.js → p-64b1e4a8.entry.js} +2 -2
  380. package/dist/core/p-64b1e4a8.entry.js.map +1 -0
  381. package/dist/core/p-65cf6a11.entry.js +2 -0
  382. package/dist/core/p-65cf6a11.entry.js.map +1 -0
  383. package/dist/core/{p-a589ead8.entry.js → p-6a5ffe7d.entry.js} +2 -2
  384. package/dist/core/p-6a5ffe7d.entry.js.map +1 -0
  385. package/dist/core/p-6c6c71ba.entry.js +2 -0
  386. package/dist/core/p-6c6c71ba.entry.js.map +1 -0
  387. package/dist/core/p-6f0e9434.entry.js +2 -0
  388. package/dist/core/p-6f0e9434.entry.js.map +1 -0
  389. package/dist/core/p-84eaa486.entry.js +2 -0
  390. package/dist/core/p-84eaa486.entry.js.map +1 -0
  391. package/dist/core/p-85cb6bb7.entry.js +2 -0
  392. package/dist/core/p-85cb6bb7.entry.js.map +1 -0
  393. package/dist/core/{p-fb4219d6.entry.js → p-88ba5a88.entry.js} +2 -2
  394. package/dist/core/{p-6b74397a.entry.js → p-8c5b63c6.entry.js} +2 -2
  395. package/dist/core/p-8c5b63c6.entry.js.map +1 -0
  396. package/dist/core/p-8da08c05.entry.js +2 -0
  397. package/dist/core/p-8da08c05.entry.js.map +1 -0
  398. package/dist/core/{p-569a68c0.entry.js → p-91cf89c8.entry.js} +2 -2
  399. package/dist/core/p-91cf89c8.entry.js.map +1 -0
  400. package/dist/core/p-98981fa7.entry.js +2 -0
  401. package/dist/core/p-98981fa7.entry.js.map +1 -0
  402. package/dist/core/p-9d3e0e60.entry.js +2 -0
  403. package/dist/core/p-9d3e0e60.entry.js.map +1 -0
  404. package/dist/core/p-a2194364.entry.js +2 -0
  405. package/dist/core/p-a2194364.entry.js.map +1 -0
  406. package/dist/core/{p-59d9ea22.entry.js → p-a4d0f166.entry.js} +2 -2
  407. package/dist/core/p-a4d0f166.entry.js.map +1 -0
  408. package/dist/core/p-aaa6f849.entry.js +2 -0
  409. package/dist/core/p-aaa6f849.entry.js.map +1 -0
  410. package/dist/core/p-adbe0d89.js +2 -0
  411. package/dist/core/p-adbe0d89.js.map +1 -0
  412. package/dist/core/p-b4ab627a.entry.js +2 -0
  413. package/dist/core/p-b4ab627a.entry.js.map +1 -0
  414. package/dist/core/{p-9e69f517.entry.js → p-b6e208e3.entry.js} +2 -2
  415. package/dist/core/p-b7abaec8.entry.js +2 -0
  416. package/dist/core/p-b7abaec8.entry.js.map +1 -0
  417. package/dist/core/p-bc4aec3a.entry.js +2 -0
  418. package/dist/core/p-bc4aec3a.entry.js.map +1 -0
  419. package/dist/core/{p-0ea28e7a.entry.js → p-bcf04b18.entry.js} +2 -2
  420. package/dist/core/p-bcf04b18.entry.js.map +1 -0
  421. package/dist/core/{p-d39239be.entry.js → p-be70c278.entry.js} +2 -2
  422. package/dist/core/{p-d39239be.entry.js.map → p-be70c278.entry.js.map} +1 -1
  423. package/dist/core/p-bf009b9a.entry.js +2 -0
  424. package/dist/core/p-bf009b9a.entry.js.map +1 -0
  425. package/dist/core/{p-40fc7162.entry.js → p-cbd730aa.entry.js} +2 -2
  426. package/dist/core/p-cbd730aa.entry.js.map +1 -0
  427. package/dist/core/p-d76e24e4.entry.js +2 -0
  428. package/dist/core/p-d76e24e4.entry.js.map +1 -0
  429. package/dist/core/p-d7bf1057.entry.js +2 -0
  430. package/dist/core/p-d7bf1057.entry.js.map +1 -0
  431. package/dist/core/p-d9254b14.entry.js +2 -0
  432. package/dist/core/p-d9254b14.entry.js.map +1 -0
  433. package/dist/core/p-e20f8772.entry.js +2 -0
  434. package/dist/core/p-e20f8772.entry.js.map +1 -0
  435. package/dist/core/p-e26769b0.entry.js +2 -0
  436. package/dist/core/p-e26769b0.entry.js.map +1 -0
  437. package/dist/core/p-e2dba05a.entry.js +2 -0
  438. package/dist/core/p-e2dba05a.entry.js.map +1 -0
  439. package/dist/core/p-ec862c7e.entry.js +2 -0
  440. package/dist/core/p-ec862c7e.entry.js.map +1 -0
  441. package/dist/core/{p-145c8074.entry.js → p-ede631c5.entry.js} +2 -2
  442. package/dist/core/p-ef9175d8.entry.js +2 -0
  443. package/dist/core/p-ef9175d8.entry.js.map +1 -0
  444. package/dist/core/{p-787ffd96.entry.js → p-f1072c28.entry.js} +2 -2
  445. package/dist/core/{p-452985d9.entry.js.map → p-f1072c28.entry.js.map} +1 -1
  446. package/dist/core/p-f4db39eb.entry.js +2 -0
  447. package/dist/core/p-f4db39eb.entry.js.map +1 -0
  448. package/dist/esm/core.js +1 -1
  449. package/dist/esm/{helpers-d41662f3.js → helpers-0f5fe29b.js} +3 -2
  450. package/dist/esm/helpers-0f5fe29b.js.map +1 -0
  451. package/dist/esm/{helpers-e75fd113.js → helpers-f543bc77.js} +12 -2
  452. package/dist/esm/helpers-f543bc77.js.map +1 -0
  453. package/dist/esm/ic-accordion-group.entry.js +8 -8
  454. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  455. package/dist/esm/ic-accordion.entry.js +4 -4
  456. package/dist/esm/ic-accordion.entry.js.map +1 -1
  457. package/dist/esm/ic-alert.entry.js +1 -3
  458. package/dist/esm/ic-alert.entry.js.map +1 -1
  459. package/dist/esm/ic-back-to-top.entry.js +12 -15
  460. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  461. package/dist/esm/ic-badge.entry.js +15 -27
  462. package/dist/esm/ic-badge.entry.js.map +1 -1
  463. package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
  464. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  465. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  466. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  467. package/dist/esm/ic-button_3.entry.js +27 -22
  468. package/dist/esm/ic-button_3.entry.js.map +1 -1
  469. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  470. package/dist/esm/{ic-card.entry.js → ic-card-vertical.entry.js} +6 -6
  471. package/dist/esm/ic-card-vertical.entry.js.map +1 -0
  472. package/dist/esm/ic-checkbox-group.entry.js +6 -5
  473. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  474. package/dist/esm/ic-checkbox.entry.js +6 -15
  475. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  476. package/dist/esm/ic-chip.entry.js +9 -10
  477. package/dist/esm/ic-chip.entry.js.map +1 -1
  478. package/dist/esm/ic-classification-banner.entry.js +2 -2
  479. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  480. package/dist/esm/ic-data-list.entry.js +24 -0
  481. package/dist/esm/ic-data-list.entry.js.map +1 -0
  482. package/dist/esm/ic-data-row.entry.js +9 -10
  483. package/dist/esm/ic-data-row.entry.js.map +1 -1
  484. package/dist/esm/ic-data-table-title-bar.entry.js +2 -2
  485. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  486. package/dist/esm/ic-data-table.entry.js +526 -71
  487. package/dist/esm/ic-data-table.entry.js.map +1 -1
  488. package/dist/esm/ic-date-input.entry.js +4 -3
  489. package/dist/esm/ic-date-input.entry.js.map +1 -1
  490. package/dist/esm/ic-date-picker.entry.js +7 -3
  491. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  492. package/dist/esm/ic-dialog.entry.js +12 -97
  493. package/dist/esm/ic-dialog.entry.js.map +1 -1
  494. package/dist/esm/ic-divider.entry.js +1 -1
  495. package/dist/esm/ic-empty-state_2.entry.js +8 -8
  496. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  497. package/dist/esm/ic-footer-link-group.entry.js +9 -9
  498. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  499. package/dist/esm/ic-footer-link.entry.js +6 -7
  500. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  501. package/dist/esm/ic-footer.entry.js +8 -8
  502. package/dist/esm/ic-footer.entry.js.map +1 -1
  503. package/dist/esm/ic-hero.entry.js +8 -9
  504. package/dist/esm/ic-hero.entry.js.map +1 -1
  505. package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
  506. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  507. package/dist/esm/ic-input-component-container_4.entry.js +21 -25
  508. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  509. package/dist/esm/ic-link.entry.js +6 -7
  510. package/dist/esm/ic-link.entry.js.map +1 -1
  511. package/dist/esm/ic-menu-group.entry.js +1 -1
  512. package/dist/esm/ic-menu-item.entry.js +3 -3
  513. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  514. package/dist/esm/ic-menu-with-multi.entry.js +9 -11
  515. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  516. package/dist/esm/ic-menu.entry.js +8 -10
  517. package/dist/esm/ic-menu.entry.js.map +1 -1
  518. package/dist/esm/ic-navigation-button.entry.js +1 -1
  519. package/dist/esm/ic-navigation-group.entry.js +9 -9
  520. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  521. package/dist/esm/ic-navigation-item.entry.js +5 -5
  522. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  523. package/dist/esm/ic-navigation-menu.entry.js +2 -2
  524. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  525. package/dist/esm/ic-page-header.entry.js +7 -8
  526. package/dist/esm/ic-page-header.entry.js.map +1 -1
  527. package/dist/esm/ic-pagination_4.entry.js +95 -101
  528. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  529. package/dist/esm/ic-popover-menu.entry.js +3 -3
  530. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  531. package/dist/esm/ic-radio-group.entry.js +40 -25
  532. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  533. package/dist/esm/ic-radio-option.entry.js +5 -18
  534. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  535. package/dist/esm/ic-search-bar.entry.js +18 -24
  536. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  537. package/dist/esm/ic-select-with-multi.entry.js +13 -21
  538. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  539. package/dist/esm/ic-side-navigation.entry.js +7 -7
  540. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  541. package/dist/esm/ic-skeleton.entry.js +4 -5
  542. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  543. package/dist/esm/ic-status-tag.entry.js +2 -11
  544. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  545. package/dist/esm/ic-step.entry.js +40 -43
  546. package/dist/esm/ic-step.entry.js.map +1 -1
  547. package/dist/esm/ic-stepper.entry.js +16 -16
  548. package/dist/esm/ic-stepper.entry.js.map +1 -1
  549. package/dist/esm/ic-switch.entry.js +5 -6
  550. package/dist/esm/ic-switch.entry.js.map +1 -1
  551. package/dist/esm/ic-tab-context.entry.js +0 -11
  552. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  553. package/dist/esm/ic-tab-group.entry.js +4 -5
  554. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  555. package/dist/esm/ic-tab-panel.entry.js +1 -8
  556. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  557. package/dist/esm/ic-tab.entry.js +4 -4
  558. package/dist/esm/ic-tab.entry.js.map +1 -1
  559. package/dist/esm/ic-theme.entry.js +1 -1
  560. package/dist/esm/ic-toast-region.entry.js +0 -7
  561. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  562. package/dist/esm/ic-toast.entry.js +83 -35
  563. package/dist/esm/ic-toast.entry.js.map +1 -1
  564. package/dist/esm/ic-toggle-button-group.entry.js +16 -16
  565. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  566. package/dist/esm/ic-toggle-button.entry.js +13 -13
  567. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  568. package/dist/esm/ic-top-navigation.entry.js +4 -4
  569. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  570. package/dist/esm/ic-tree-item.entry.js +237 -0
  571. package/dist/esm/ic-tree-item.entry.js.map +1 -0
  572. package/dist/esm/ic-tree-view.entry.js +199 -0
  573. package/dist/esm/ic-tree-view.entry.js.map +1 -0
  574. package/dist/esm/ic-typography.entry.js +52 -17
  575. package/dist/esm/ic-typography.entry.js.map +1 -1
  576. package/dist/esm/index-93509377.js +16 -8
  577. package/dist/esm/loader.js +1 -1
  578. package/dist/types/components/ic-data-table/ic-data-table.d.ts +68 -7
  579. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +9 -0
  580. package/dist/types/components/ic-data-table/story-data.d.ts +112 -0
  581. package/dist/types/components/ic-date-input/ic-date-input.d.ts +4 -0
  582. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
  583. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +0 -4
  584. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +1 -31
  585. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +95 -0
  586. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +40 -0
  587. package/dist/types/components.d.ts +175 -72
  588. package/dist/types/utils/types.d.ts +1 -1
  589. package/hydrate/index.js +1925 -1126
  590. package/package.json +3 -3
  591. package/dist/cjs/helpers-081d6031.js.map +0 -1
  592. package/dist/cjs/helpers-261701cd.js.map +0 -1
  593. package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
  594. package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
  595. package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
  596. package/dist/components/ic-alert2.js +0 -133
  597. package/dist/components/ic-alert2.js.map +0 -1
  598. package/dist/components/ic-card.js.map +0 -1
  599. package/dist/components/ic-data-entity.js +0 -53
  600. package/dist/components/ic-data-entity.js.map +0 -1
  601. package/dist/core/p-007da09d.entry.js +0 -2
  602. package/dist/core/p-007da09d.entry.js.map +0 -1
  603. package/dist/core/p-01008e8d.entry.js +0 -2
  604. package/dist/core/p-01008e8d.entry.js.map +0 -1
  605. package/dist/core/p-01297278.entry.js +0 -2
  606. package/dist/core/p-01297278.entry.js.map +0 -1
  607. package/dist/core/p-0551f0cf.entry.js +0 -2
  608. package/dist/core/p-0551f0cf.entry.js.map +0 -1
  609. package/dist/core/p-0944d33b.entry.js +0 -2
  610. package/dist/core/p-0944d33b.entry.js.map +0 -1
  611. package/dist/core/p-0ea28e7a.entry.js.map +0 -1
  612. package/dist/core/p-169bcf0f.entry.js +0 -2
  613. package/dist/core/p-169bcf0f.entry.js.map +0 -1
  614. package/dist/core/p-1733278a.entry.js +0 -2
  615. package/dist/core/p-1733278a.entry.js.map +0 -1
  616. package/dist/core/p-1ac733c1.entry.js +0 -2
  617. package/dist/core/p-1ac733c1.entry.js.map +0 -1
  618. package/dist/core/p-2647931d.entry.js +0 -2
  619. package/dist/core/p-2647931d.entry.js.map +0 -1
  620. package/dist/core/p-32a3b6c8.entry.js +0 -2
  621. package/dist/core/p-32a3b6c8.entry.js.map +0 -1
  622. package/dist/core/p-354e5dbe.entry.js +0 -2
  623. package/dist/core/p-354e5dbe.entry.js.map +0 -1
  624. package/dist/core/p-3ba4335c.entry.js +0 -2
  625. package/dist/core/p-3ba4335c.entry.js.map +0 -1
  626. package/dist/core/p-3be4aae0.entry.js +0 -2
  627. package/dist/core/p-3be4aae0.entry.js.map +0 -1
  628. package/dist/core/p-3d9eca50.entry.js +0 -2
  629. package/dist/core/p-3d9eca50.entry.js.map +0 -1
  630. package/dist/core/p-40fc7162.entry.js.map +0 -1
  631. package/dist/core/p-45ebcb74.js.map +0 -1
  632. package/dist/core/p-4e6f7cfe.entry.js +0 -2
  633. package/dist/core/p-4e6f7cfe.entry.js.map +0 -1
  634. package/dist/core/p-569a68c0.entry.js.map +0 -1
  635. package/dist/core/p-59d9ea22.entry.js.map +0 -1
  636. package/dist/core/p-6358925c.entry.js +0 -2
  637. package/dist/core/p-6358925c.entry.js.map +0 -1
  638. package/dist/core/p-66595f5f.entry.js +0 -2
  639. package/dist/core/p-66595f5f.entry.js.map +0 -1
  640. package/dist/core/p-693a77bb.entry.js +0 -2
  641. package/dist/core/p-693a77bb.entry.js.map +0 -1
  642. package/dist/core/p-6b74397a.entry.js.map +0 -1
  643. package/dist/core/p-6e697a16.entry.js +0 -2
  644. package/dist/core/p-6e697a16.entry.js.map +0 -1
  645. package/dist/core/p-6f8fd43e.entry.js +0 -2
  646. package/dist/core/p-6f8fd43e.entry.js.map +0 -1
  647. package/dist/core/p-787ffd96.entry.js.map +0 -1
  648. package/dist/core/p-7f690fa3.entry.js +0 -2
  649. package/dist/core/p-7f690fa3.entry.js.map +0 -1
  650. package/dist/core/p-96670e29.entry.js +0 -2
  651. package/dist/core/p-96670e29.entry.js.map +0 -1
  652. package/dist/core/p-9777ebb1.entry.js +0 -2
  653. package/dist/core/p-9777ebb1.entry.js.map +0 -1
  654. package/dist/core/p-9e7a5c72.entry.js.map +0 -1
  655. package/dist/core/p-9f8ef2bc.entry.js +0 -2
  656. package/dist/core/p-9f8ef2bc.entry.js.map +0 -1
  657. package/dist/core/p-a4585c7e.entry.js +0 -2
  658. package/dist/core/p-a4585c7e.entry.js.map +0 -1
  659. package/dist/core/p-a589ead8.entry.js.map +0 -1
  660. package/dist/core/p-a6d3743c.entry.js +0 -2
  661. package/dist/core/p-a6d3743c.entry.js.map +0 -1
  662. package/dist/core/p-a8c97918.entry.js +0 -2
  663. package/dist/core/p-a8c97918.entry.js.map +0 -1
  664. package/dist/core/p-a970d653.entry.js +0 -2
  665. package/dist/core/p-a970d653.entry.js.map +0 -1
  666. package/dist/core/p-ae7c2c39.entry.js +0 -2
  667. package/dist/core/p-ae7c2c39.entry.js.map +0 -1
  668. package/dist/core/p-b3ed5423.entry.js.map +0 -1
  669. package/dist/core/p-be4c0cc8.entry.js +0 -2
  670. package/dist/core/p-be4c0cc8.entry.js.map +0 -1
  671. package/dist/core/p-c04f1bfb.entry.js +0 -2
  672. package/dist/core/p-c04f1bfb.entry.js.map +0 -1
  673. package/dist/core/p-d06c0049.entry.js +0 -2
  674. package/dist/core/p-d06c0049.entry.js.map +0 -1
  675. package/dist/core/p-d3ea79e1.entry.js +0 -2
  676. package/dist/core/p-d3ea79e1.entry.js.map +0 -1
  677. package/dist/core/p-d448bdbd.entry.js +0 -2
  678. package/dist/core/p-d448bdbd.entry.js.map +0 -1
  679. package/dist/core/p-d44b7f21.entry.js.map +0 -1
  680. package/dist/core/p-d5d36143.entry.js.map +0 -1
  681. package/dist/core/p-d68e0c94.entry.js +0 -2
  682. package/dist/core/p-d68e0c94.entry.js.map +0 -1
  683. package/dist/core/p-d91428b4.entry.js.map +0 -1
  684. package/dist/core/p-e191290c.entry.js +0 -2
  685. package/dist/core/p-e191290c.entry.js.map +0 -1
  686. package/dist/core/p-e2421111.entry.js +0 -2
  687. package/dist/core/p-e2421111.entry.js.map +0 -1
  688. package/dist/core/p-e393e53c.entry.js +0 -2
  689. package/dist/core/p-e393e53c.entry.js.map +0 -1
  690. package/dist/core/p-e5b1dd58.entry.js.map +0 -1
  691. package/dist/core/p-f6735e4a.js +0 -2
  692. package/dist/core/p-f6735e4a.js.map +0 -1
  693. package/dist/core/p-fab8da25.entry.js.map +0 -1
  694. package/dist/core/p-fc0eac8b.entry.js +0 -2
  695. package/dist/core/p-fc0eac8b.entry.js.map +0 -1
  696. package/dist/core/p-ffeca3c7.entry.js +0 -2
  697. package/dist/core/p-ffeca3c7.entry.js.map +0 -1
  698. package/dist/esm/helpers-e75fd113.js.map +0 -1
  699. package/dist/esm/ic-card.entry.js.map +0 -1
  700. package/dist/esm/ic-data-entity.entry.js +0 -25
  701. package/dist/esm/ic-data-entity.entry.js.map +0 -1
  702. /package/dist/core/{p-fdacc7f7.entry.js.map → p-125bc120.entry.js.map} +0 -0
  703. /package/dist/core/{p-1d0cff8a.entry.js.map → p-22260ed4.entry.js.map} +0 -0
  704. /package/dist/core/{p-fb4219d6.entry.js.map → p-88ba5a88.entry.js.map} +0 -0
  705. /package/dist/core/{p-9e69f517.entry.js.map → p-b6e208e3.entry.js.map} +0 -0
  706. /package/dist/core/{p-145c8074.entry.js.map → p-ede631c5.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"ic-tab.js","mappings":"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","names":[],"sources":["../web-components/dist/collection/components/ic-tab/ic-tab.css?tag=ic-tab&encapsulation=shadow","../web-components/dist/collection/components/ic-tab/ic-tab.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n --indicator-initial-color: rgba(23 89 188 / 0%);\n --indicator-color: var(--ic-action-default);\n --focus-indicator: var(--ic-border-focus);\n --label-color: var(--ic-color-primary-text);\n --background-color-hover: var(--ic-action-default-bg-hover);\n --background-color-active: var(--ic-action-default-bg-active);\n\n display: flex;\n align-items: center;\n border-radius: 0;\n color: var(--label-color);\n height: 2.5rem;\n padding: 0 var(--ic-space-md);\n cursor: pointer;\n position: relative;\n border-bottom: var(--ic-space-xxs) solid var(--indicator-initial-color);\n gap: var(--ic-space-xs);\n transition: all var(--ic-easing-transition-fast);\n}\n\n:host(:focus) {\n box-shadow: var(--focus-indicator);\n border-radius: var(--ic-border-radius);\n}\n\n:host(:focus-visible) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(:hover) {\n background-color: var(--background-color-hover);\n}\n\n:host(:active) {\n background-color: var(--background-color-active);\n}\n\n:host(.ic-tab-light) {\n --indicator-initial-color: rgb(255 255 255 / 0%);\n --indicator-color: rgb(255 255 255 / 100%);\n --focus-indicator: var(--ic-border-focus);\n --label-color: white;\n --background-color-hover: var(--ic-action-dark-bg-hover);\n --background-color-active: var(--ic-action-dark-bg-active);\n}\n\n:host(.selected) {\n border-bottom: var(--ic-space-xxs) solid var(--indicator-color);\n}\n\n:host(.disabled) {\n pointer-events: none;\n color: var(--ic-architectural-300);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host(.selected.with-transition) {\n transition: all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow);\n }\n}\n\n.ic-tab-label {\n pointer-events: none;\n text-wrap: nowrap;\n}\n\n::slotted(svg) {\n fill: currentcolor;\n}\n\n@media (forced-colors: active) {\n :host {\n border-bottom: var(--ic-space-xxs) solid canvas;\n }\n\n :host(.disabled) {\n color: GrayText;\n }\n}\n\n/* Add back in after storybook has the `color-scheme: light dark` code */\n\n/* @media (prefers-color-scheme: dark) and (not (forced-colors: active)) {\n :host(ic-tab) .ic-tab-label {\n color: var(--ic-architectural-white);\n }\n :host(ic-tab.disabled) .ic-tab-label {\n color: inherit;\n }\n} */\n","import { Host, h, } from \"@stencil/core\";\nimport { IcThemeForegroundEnum, } from \"../../utils/types\";\nimport { isSlotUsed, removeDisabledFalse } from \"../../utils/helpers\";\n/**\n * @slot icon - Content will be rendered next to the tab label.\n * @slot badge - Badge component displayed inline with the tab.\n */\nexport class Tab {\n constructor() {\n this.focusFromClick = false;\n this.isInitialRender = true;\n this.handleClick = () => {\n this.tabClick.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n if (this.focusFromClick) {\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n this.focusFromClick = false;\n }\n };\n this.handleFocus = () => {\n if (!this.focusFromClick) {\n this.focusTabId = this.tabId;\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n }\n };\n this.handleMouseDown = () => {\n //set flag so that focus gets handled after click\n //there is a timing issue where a long click only causes focus to happen & not the click\n //the focus does need to be a separate event though to handle focus from keyboard\n this.focusFromClick = true;\n };\n this.appearance = \"dark\";\n this.contextId = \"default\";\n this.disabled = false;\n this.selected = false;\n this.tabId = undefined;\n this.tabPosition = undefined;\n }\n disabledWatchHandler() {\n this.tabEnabled.emit();\n }\n connectedCallback() {\n this.tabCreated.emit(this.el);\n }\n disconnectedCallback() {\n const tabContext = document.querySelector(`ic-tab-context[context-id=${this.contextId}]`);\n if (tabContext) {\n tabContext.tabRemovedHandler(!!this.focusTabId);\n }\n }\n componentWillLoad() {\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidUpdate() {\n this.isInitialRender = false;\n }\n /**\n * Sets focus on the tab.\n */\n async setFocus() {\n if (this.el) {\n this.el.focus();\n }\n }\n render() {\n const { disabled, selected, appearance } = this;\n return (h(Host, { class: {\n [\"with-transition\"]: !this.isInitialRender,\n [\"ic-tab-light\"]: appearance === IcThemeForegroundEnum.Light,\n [\"selected\"]: selected,\n [\"disabled\"]: disabled,\n }, role: \"tab\", \"aria-selected\": selected ? \"true\" : \"false\", onClick: this.handleClick, onFocus: this.handleFocus, onMouseDown: this.handleMouseDown, \"aria-disabled\": disabled ? \"true\" : \"false\", tabindex: this.selected ? 0 : -1 }, this.el.querySelector('[slot=\"icon\"]') && h(\"slot\", { name: \"icon\" }), h(\"ic-typography\", { class: \"ic-tab-label\", variant: \"label\" }, h(\"span\", null, h(\"slot\", null))), isSlotUsed(this.el, \"badge\") && h(\"slot\", { name: \"badge\" })));\n }\n static get is() { return \"ic-tab\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-tab.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-tab.css\"]\n };\n }\n static get properties() {\n return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeForegroundNoDefault\",\n \"resolved\": \"\\\"dark\\\" | \\\"light\\\"\",\n \"references\": {\n \"IcThemeForegroundNoDefault\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeForegroundNoDefault\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Determines whether the light or dark variant of the tabs should be displayed.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"dark\\\"\"\n },\n \"contextId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"context-id\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, the tab will display with a selected indicator and tabIndex will be set.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"tabId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The shared ID between panel and tab.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"tab-id\",\n \"reflect\": true\n },\n \"tabPosition\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The position of the tab inside the tabs array in context.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"tab-position\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"tabClick\",\n \"name\": \"tabClick\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is selected.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"IcTabClickEventDetail\",\n \"resolved\": \"IcTabClickEventDetail\",\n \"references\": {\n \"IcTabClickEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./ic-tab.types\",\n \"id\": \"src/components/ic-tab/ic-tab.types.ts::IcTabClickEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"tabCreated\",\n \"name\": \"tabCreated\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is dynamically created.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"HTMLIcTabElement\",\n \"resolved\": \"HTMLIcTabElement\",\n \"references\": {\n \"HTMLIcTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcTabElement\"\n }\n }\n }\n }, {\n \"method\": \"tabEnabled\",\n \"name\": \"tabEnabled\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab's disabled prop changes\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"tabFocus\",\n \"name\": \"tabFocus\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is focussed.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"IcTabClickEventDetail\",\n \"resolved\": \"IcTabClickEventDetail\",\n \"references\": {\n \"IcTabClickEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./ic-tab.types\",\n \"id\": \"src/components/ic-tab/ic-tab.types.ts::IcTabClickEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"tabRemoved\",\n \"name\": \"tabRemoved\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is unmounted.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the tab.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"disabledWatchHandler\"\n }];\n }\n}\n//# sourceMappingURL=ic-tab.js.map\n"],"version":3}
1
+ {"file":"ic-tab.js","mappings":"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","names":[],"sources":["../web-components/dist/collection/components/ic-tab/ic-tab.css?tag=ic-tab&encapsulation=shadow","../web-components/dist/collection/components/ic-tab/ic-tab.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n --indicator-initial-color: rgba(23 89 188 / 0%);\n --indicator-color: var(--ic-action-default);\n --focus-indicator: var(--ic-border-focus);\n --label-color: var(--ic-color-primary-text);\n --background-color-hover: var(--ic-action-default-bg-hover);\n --background-color-active: var(--ic-action-default-bg-active);\n\n display: flex;\n align-items: center;\n border-radius: 0;\n color: var(--label-color);\n height: 2.5rem;\n padding: 0 var(--ic-space-md);\n cursor: pointer;\n position: relative;\n border-bottom: var(--ic-space-xxs) solid var(--indicator-initial-color);\n gap: var(--ic-space-xs);\n transition: all var(--ic-easing-transition-fast);\n}\n\n:host(:focus) {\n box-shadow: var(--focus-indicator);\n border-radius: var(--ic-border-radius);\n}\n\n:host(:focus-visible) {\n outline: var(--ic-hc-focus-outline);\n}\n\n:host(:hover) {\n background-color: var(--background-color-hover);\n}\n\n:host(:active) {\n background-color: var(--background-color-active);\n}\n\n:host(.ic-tab-light) {\n --indicator-initial-color: rgb(255 255 255 / 0%);\n --indicator-color: rgb(255 255 255 / 100%);\n --focus-indicator: var(--ic-border-focus);\n --label-color: white;\n --background-color-hover: var(--ic-action-dark-bg-hover);\n --background-color-active: var(--ic-action-dark-bg-active);\n}\n\n:host(.ic-tab-selected) {\n border-bottom: var(--ic-space-xxs) solid var(--indicator-color);\n}\n\n:host(.ic-tab-disabled) {\n pointer-events: none;\n color: var(--ic-architectural-300);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host(.ic-tab-selected.with-transition) {\n transition: all var(--ic-easing-transition-slow),\n border-color var(--ic-transition-duration-slow);\n }\n}\n\n.ic-tab-label {\n pointer-events: none;\n text-wrap: nowrap;\n}\n\n::slotted(svg) {\n fill: currentcolor;\n}\n\n@media (forced-colors: active) {\n :host {\n border-bottom: var(--ic-space-xxs) solid canvas;\n }\n\n :host(.ic-tab-disabled) {\n color: GrayText;\n }\n}\n\n/* Add back in after storybook has the `color-scheme: light dark` code */\n\n/* @media (prefers-color-scheme: dark) and (not (forced-colors: active)) {\n :host(ic-tab) .ic-tab-label {\n color: var(--ic-architectural-white);\n }\n :host(ic-tab.ic-tab-disabled) .ic-tab-label {\n color: inherit;\n }\n} */\n","import { Host, h, } from \"@stencil/core\";\nimport { IcThemeForegroundEnum, } from \"../../utils/types\";\nimport { isSlotUsed, removeDisabledFalse } from \"../../utils/helpers\";\n/**\n * @slot icon - Content will be rendered next to the tab label.\n * @slot badge - Badge component displayed inline with the tab.\n */\nexport class Tab {\n constructor() {\n this.focusFromClick = false;\n this.isInitialRender = true;\n this.handleClick = () => {\n this.tabClick.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n if (this.focusFromClick) {\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n this.focusFromClick = false;\n }\n };\n this.handleFocus = () => {\n if (!this.focusFromClick) {\n this.focusTabId = this.tabId;\n this.tabFocus.emit({\n tabId: this.tabId,\n contextId: this.contextId,\n position: this.tabPosition,\n });\n }\n };\n this.handleMouseDown = () => {\n //set flag so that focus gets handled after click\n //there is a timing issue where a long click only causes focus to happen & not the click\n //the focus does need to be a separate event though to handle focus from keyboard\n this.focusFromClick = true;\n };\n this.appearance = \"dark\";\n this.contextId = \"default\";\n this.disabled = false;\n this.selected = false;\n this.tabId = undefined;\n this.tabPosition = undefined;\n }\n disabledWatchHandler() {\n this.tabEnabled.emit();\n }\n connectedCallback() {\n this.tabCreated.emit(this.el);\n }\n disconnectedCallback() {\n const tabContext = document.querySelector(`ic-tab-context[context-id=${this.contextId}]`);\n if (tabContext) {\n tabContext.tabRemovedHandler(!!this.focusTabId);\n }\n }\n componentWillLoad() {\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidUpdate() {\n this.isInitialRender = false;\n }\n /**\n * Sets focus on the tab.\n */\n async setFocus() {\n if (this.el) {\n this.el.focus();\n }\n }\n render() {\n const { disabled, selected, appearance } = this;\n return (h(Host, { class: {\n [\"with-transition\"]: !this.isInitialRender,\n [\"ic-tab-light\"]: appearance === IcThemeForegroundEnum.Light,\n [\"ic-tab-selected\"]: selected,\n [\"ic-tab-disabled\"]: disabled,\n }, role: \"tab\", \"aria-selected\": selected ? \"true\" : \"false\", onClick: this.handleClick, onFocus: this.handleFocus, onMouseDown: this.handleMouseDown, \"aria-disabled\": disabled ? \"true\" : \"false\", tabindex: this.selected ? 0 : -1 }, this.el.querySelector('[slot=\"icon\"]') && h(\"slot\", { name: \"icon\" }), h(\"ic-typography\", { class: \"ic-tab-label\", variant: \"label\" }, h(\"span\", null, h(\"slot\", null))), isSlotUsed(this.el, \"badge\") && h(\"slot\", { name: \"badge\" })));\n }\n static get is() { return \"ic-tab\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-tab.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-tab.css\"]\n };\n }\n static get properties() {\n return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeForegroundNoDefault\",\n \"resolved\": \"\\\"dark\\\" | \\\"light\\\"\",\n \"references\": {\n \"IcThemeForegroundNoDefault\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeForegroundNoDefault\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Determines whether the light or dark variant of the tabs should be displayed.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"dark\\\"\"\n },\n \"contextId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"context-id\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, the tab will display with a selected indicator and tabIndex will be set.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"tabId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The shared ID between panel and tab.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"tab-id\",\n \"reflect\": true\n },\n \"tabPosition\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"The position of the tab inside the tabs array in context.\"\n }],\n \"text\": \"\"\n },\n \"attribute\": \"tab-position\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"tabClick\",\n \"name\": \"tabClick\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is selected.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"IcTabClickEventDetail\",\n \"resolved\": \"IcTabClickEventDetail\",\n \"references\": {\n \"IcTabClickEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./ic-tab.types\",\n \"id\": \"src/components/ic-tab/ic-tab.types.ts::IcTabClickEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"tabCreated\",\n \"name\": \"tabCreated\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is dynamically created.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"HTMLIcTabElement\",\n \"resolved\": \"HTMLIcTabElement\",\n \"references\": {\n \"HTMLIcTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIcTabElement\"\n }\n }\n }\n }, {\n \"method\": \"tabEnabled\",\n \"name\": \"tabEnabled\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab's disabled prop changes\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"tabFocus\",\n \"name\": \"tabFocus\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is focussed.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"IcTabClickEventDetail\",\n \"resolved\": \"IcTabClickEventDetail\",\n \"references\": {\n \"IcTabClickEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./ic-tab.types\",\n \"id\": \"src/components/ic-tab/ic-tab.types.ts::IcTabClickEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"tabRemoved\",\n \"name\": \"tabRemoved\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Emitted when a tab is unmounted.\"\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the tab.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"disabledWatchHandler\"\n }];\n }\n}\n//# sourceMappingURL=ic-tab.js.map\n"],"version":3}
@@ -1,13 +1,13 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as IcInformationStatus } from './types.js';
3
- import { e as checkSlotInChildMutations, H as debounceEvent, q as removeFormResetListener, a as inheritAttributes, p as addFormResetListener, r as removeDisabledFalse, o as onComponentRequiredPropUndefined, u as getInputDescribedByText, s as renderHiddenInput, i as isSlotUsed, J as isEmptyString, I as IC_INHERITED_ARIA } from './helpers.js';
3
+ import { f as checkSlotInChildMutations, J as debounceEvent, s as removeFormResetListener, b as inheritAttributes, q as addFormResetListener, r as removeDisabledFalse, o as onComponentRequiredPropUndefined, v as getInputDescribedByText, t as renderHiddenInput, i as isSlotUsed, K as isEmptyString, I as IC_INHERITED_ARIA } from './helpers.js';
4
4
  import { d as defineCustomElement$5 } from './ic-input-component-container2.js';
5
5
  import { d as defineCustomElement$4 } from './ic-input-container2.js';
6
6
  import { d as defineCustomElement$3 } from './ic-input-label2.js';
7
7
  import { d as defineCustomElement$2 } from './ic-input-validation2.js';
8
8
  import { d as defineCustomElement$1 } from './ic-typography2.js';
9
9
 
10
- const icTextFieldCss = "/*! 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}:host(.fullwidth){width:100%}::-moz-placeholder{color:var(--ic-color-tertiary-text);opacity:1}::placeholder{color:var(--ic-color-tertiary-text);opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs)}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(--ic-architectural-200)}input.readonly,textarea.readonly{color:var(--ic-color-primary-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.maxlengthtext{color:var(--ic-color-secondary-text);padding-right:var(--ic-space-xxxs)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.charcount{margin-right:calc(-1 * var(--ic-space-xxxs))}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
10
+ const icTextFieldCss = "/*! 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}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(--ic-color-tertiary-text);opacity:1}::placeholder{color:var(--ic-color-tertiary-text);opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs)}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(--ic-architectural-200)}input.readonly,textarea.readonly{color:var(--ic-color-primary-text)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{color:var(--ic-color-secondary-text);padding-right:var(--ic-space-xxxs)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
11
11
 
12
12
  let inputIds = 0;
13
13
  const MUTABLE_ATTRIBUTES = [...IC_INHERITED_ARIA, "title"];
@@ -24,22 +24,18 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
24
24
  this.icKeydown = createEvent(this, "icKeydown", 7);
25
25
  this.inheritedAttributes = {};
26
26
  this.hostMutationObserver = null;
27
- this.getMaxLengthExceeded = (value) => {
28
- this.numChars = value.length;
27
+ this.getMaxValueExceeded = (value) => {
29
28
  if (this.type === "number") {
30
29
  this.minValueUnattained = value && Number(value) < Number(this.min);
31
30
  this.maxValueExceeded = Number(value) > Number(this.max);
32
31
  }
33
- if (this.maxLength > 0) {
34
- this.maxLengthExceeded = this.numChars > this.maxLength;
35
- }
36
32
  };
37
33
  this.getMaxCharactersReached = (value) => {
38
34
  this.numChars = value.length;
39
35
  this.maxCharactersReached =
40
36
  this.maxCharacters > 0 ? this.numChars >= this.maxCharacters : false;
41
- if (this.maxCharactersError && !this.maxCharactersReached) {
42
- this.maxCharactersError = false;
37
+ if (this.maxCharactersWarning && !this.maxCharactersReached) {
38
+ this.maxCharactersWarning = false;
43
39
  }
44
40
  };
45
41
  this.onInput = (ev) => {
@@ -79,9 +75,8 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
79
75
  };
80
76
  this.numChars = 0;
81
77
  this.maxCharactersReached = false;
82
- this.maxCharactersError = false;
78
+ this.maxCharactersWarning = false;
83
79
  this.minCharactersUnattained = false;
84
- this.maxLengthExceeded = false;
85
80
  this.maxValueExceeded = false;
86
81
  this.minValueUnattained = false;
87
82
  this.ariaActiveDescendant = undefined;
@@ -95,6 +90,7 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
95
90
  this.disabled = false;
96
91
  this.fullWidth = false;
97
92
  this.helperText = "";
93
+ this.hideCharCount = false;
98
94
  this.hideLabel = false;
99
95
  this.hiddenInput = true;
100
96
  this.inputId = `ic-text-field-input-${inputIds++}`;
@@ -102,7 +98,6 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
102
98
  this.label = undefined;
103
99
  this.max = undefined;
104
100
  this.maxCharacters = 0;
105
- this.maxLength = 0;
106
101
  this.min = undefined;
107
102
  this.minCharacters = 0;
108
103
  this.name = this.inputId;
@@ -113,7 +108,6 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
113
108
  this.role = undefined;
114
109
  this.rows = 1;
115
110
  this.size = "default";
116
- this.small = false;
117
111
  this.spellcheck = false;
118
112
  this.truncateValue = undefined;
119
113
  this.type = "text";
@@ -129,12 +123,20 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
129
123
  this.icChange = debounceEvent(this.icChange, this.debounce);
130
124
  }
131
125
  watchValueHandler(newValue) {
132
- if (this.inputEl && this.inputEl.value !== newValue) {
133
- this.inputEl.value = newValue;
126
+ let value;
127
+ if (this.maxCharacters > 0) {
128
+ value = newValue.substring(0, this.maxCharacters);
129
+ this.value = value;
130
+ }
131
+ else {
132
+ value = newValue;
134
133
  }
135
- this.getMaxLengthExceeded(newValue);
136
- this.getMaxCharactersReached(newValue);
137
- this.icChange.emit({ value: newValue });
134
+ if (this.inputEl && this.inputEl.value !== value) {
135
+ this.inputEl.value = value;
136
+ }
137
+ this.getMaxValueExceeded(value);
138
+ this.getMaxCharactersReached(value);
139
+ this.icChange.emit({ value });
138
140
  }
139
141
  connectedCallback() {
140
142
  this.debounceChanged();
@@ -148,11 +150,13 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
148
150
  if (this.value !== this.initialValue) {
149
151
  this.watchValueHandler(this.value);
150
152
  }
151
- this.getMaxLengthExceeded(this.value);
153
+ else if (this.maxCharacters > 0) {
154
+ this.value = this.value.substring(0, this.maxCharacters);
155
+ }
156
+ this.getMaxValueExceeded(this.value);
152
157
  this.getMaxCharactersReached(this.value);
153
158
  this.inheritedAttributes = inheritAttributes(this.el, MUTABLE_ATTRIBUTES);
154
159
  if (this.readonly) {
155
- this.maxLengthExceeded = false;
156
160
  this.maxValueExceeded = false;
157
161
  this.minValueUnattained = false;
158
162
  }
@@ -172,7 +176,7 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
172
176
  }
173
177
  handleKeyDown(ev) {
174
178
  this.icKeydown.emit({ event: ev });
175
- this.maxCharactersError = this.maxCharactersReached;
179
+ this.maxCharactersWarning = this.maxCharactersReached;
176
180
  }
177
181
  /**
178
182
  * Sets focus on the native `input`.
@@ -182,41 +186,39 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
182
186
  (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
183
187
  }
184
188
  render() {
185
- 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;
189
+ const { inputId, name, label, required, size, placeholder, helperText, hideCharCount, rows, resize, disabled, value, min, max, numChars, readonly, maxCharacters, maxCharactersWarning, maxCharactersReached, minCharacters, minCharactersUnattained, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
186
190
  const disabledMode = readonly ? true : disabled;
187
- const currentStatus = maxLengthExceeded ||
188
- maxValueExceeded ||
191
+ const currentStatus = maxValueExceeded ||
189
192
  minValueUnattained ||
190
193
  minCharactersUnattained ||
191
- maxCharactersError
192
- ? maxCharactersError
194
+ maxCharactersWarning
195
+ ? maxCharactersWarning
193
196
  ? IcInformationStatus.Warning
194
197
  : IcInformationStatus.Error
195
198
  : validationStatus;
196
- const currentValidationText = maxLengthExceeded
197
- ? "Maximum length exceeded"
198
- : maxCharactersError
199
- ? `Maximum input is ${maxCharacters} characters`
200
- : maxValueExceeded
201
- ? `Maximum value of ${max} exceeded`
202
- : minValueUnattained
203
- ? `Minimum value of ${min} not met`
204
- : minCharactersUnattained
205
- ? `Minimum input is ${minCharacters} characters`
206
- : validationText;
207
- const maxNumChars = readonly ? 0 : maxLength;
208
- const messageAriaLive = maxLengthExceeded ||
209
- maxCharactersError ||
199
+ const currentValidationText = maxCharactersWarning
200
+ ? `Maximum input is ${maxCharacters} characters`
201
+ : maxValueExceeded
202
+ ? `Maximum value of ${max} exceeded`
203
+ : minValueUnattained
204
+ ? `Minimum value of ${min} not met`
205
+ : minCharactersUnattained
206
+ ? `Minimum input is ${minCharacters} characters`
207
+ : validationText;
208
+ const maxNumChars = readonly ? 0 : maxCharacters;
209
+ const messageAriaLive = maxCharactersWarning ||
210
210
  maxValueExceeded ||
211
211
  minValueUnattained ||
212
- (maxLength === 0 && currentStatus === IcInformationStatus.Error)
212
+ currentStatus === IcInformationStatus.Error
213
213
  ? "assertive"
214
214
  : "polite";
215
215
  const showStatusText = this.hasStatus(currentStatus) &&
216
216
  !(currentStatus == IcInformationStatus.Success && validationInline) &&
217
217
  !validationInlineInternal;
218
218
  const multiline = rows > 1;
219
- const hiddenCharCountDescId = maxLength > 0 ? `${inputId}-charcount-desc` : "";
219
+ const charsRemaining = maxNumChars - numChars;
220
+ const hiddenRemainingCharCountDesc = `${charsRemaining} character${charsRemaining === 1 ? "" : "s"} remaining.`;
221
+ const hiddenCharCountDescId = maxCharacters > 0 ? `${inputId}-char-count-desc` : "";
220
222
  const describedBy = `${hiddenCharCountDescId} ${getInputDescribedByText(inputId, helperText !== "", showStatusText)}`.trim();
221
223
  const disabledText = disabledMode && !readonly;
222
224
  const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
@@ -224,7 +226,7 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
224
226
  if (hiddenInput) {
225
227
  renderHiddenInput(true, this.el, name, value, disabledMode);
226
228
  }
227
- return (h(Host, { class: { ["fullwidth"]: fullWidth } }, h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), h("ic-input-component-container", { size: small ? "small" : size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { class: {
229
+ return (h(Host, { class: { ["ic-text-field-full-width"]: fullWidth } }, h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), h("ic-input-component-container", { size: size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, showLeftIcon && (h("span", { class: {
228
230
  ["readonly"]: readonly,
229
231
  ["has-value"]: value.length > 0,
230
232
  }, slot: "left-icon" }, h("slot", { name: "icon" }))), !multiline ? (h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
@@ -239,7 +241,7 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
239
241
  !isEmptyString(validationText) ||
240
242
  maxNumChars > 0 ||
241
243
  maxValueExceeded ||
242
- maxCharactersError ||
244
+ maxCharactersWarning ||
243
245
  minCharactersUnattained ||
244
246
  minValueUnattained) &&
245
247
  !validationInlineInternal && (h("ic-input-validation", { status: this.hasStatus(currentStatus) === false ||
@@ -247,11 +249,9 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
247
249
  validationInline) ||
248
250
  validationInlineInternal
249
251
  ? ""
250
- : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { slot: "validation-message-adornment" }, h("ic-typography", { variant: "caption", class: {
251
- ["maxlengthtext"]: true,
252
- ["error"]: maxLengthExceeded,
253
- ["disabled"]: disabledText,
254
- } }, h("span", { "aria-live": "polite", id: `${inputId}-charcount`, class: "charcount" }, numChars, "/", maxNumChars), h("span", { hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))))));
252
+ : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (h("div", { slot: "validation-message-adornment" }, !hideCharCount && (h("ic-typography", { variant: "caption", class: {
253
+ ["char-count-text"]: true,
254
+ } }, h("span", { class: "char-count" }, numChars, "/", maxNumChars))), h("span", { class: "remaining-char-count-desc", "aria-live": "polite" }, hiddenRemainingCharCountDesc), h("span", { hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters."))))))));
255
255
  }
256
256
  get el() { return this; }
257
257
  static get watchers() { return {
@@ -271,6 +271,7 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
271
271
  "disabled": [4],
272
272
  "fullWidth": [4, "full-width"],
273
273
  "helperText": [1, "helper-text"],
274
+ "hideCharCount": [4, "hide-char-count"],
274
275
  "hideLabel": [4, "hide-label"],
275
276
  "hiddenInput": [4, "hidden-input"],
276
277
  "inputId": [1, "input-id"],
@@ -278,7 +279,6 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
278
279
  "label": [1],
279
280
  "max": [8],
280
281
  "maxCharacters": [2, "max-characters"],
281
- "maxLength": [2, "max-length"],
282
282
  "min": [8],
283
283
  "minCharacters": [2, "min-characters"],
284
284
  "name": [1],
@@ -289,7 +289,6 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
289
289
  "role": [1],
290
290
  "rows": [2],
291
291
  "size": [1],
292
- "small": [4],
293
292
  "spellcheck": [4],
294
293
  "truncateValue": [4, "truncate-value"],
295
294
  "type": [1],
@@ -301,9 +300,8 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends HTMLE
301
300
  "value": [1537],
302
301
  "numChars": [32],
303
302
  "maxCharactersReached": [32],
304
- "maxCharactersError": [32],
303
+ "maxCharactersWarning": [32],
305
304
  "minCharactersUnattained": [32],
306
- "maxLengthExceeded": [32],
307
305
  "maxValueExceeded": [32],
308
306
  "minValueUnattained": [32],
309
307
  "initialValue": [32],