@ukic/canary-web-components 2.0.0-canary.10 → 2.0.0-canary.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-7a069459.js → helpers-b525d45a.js} +2 -7
  3. package/dist/cjs/helpers-b525d45a.js.map +1 -0
  4. package/dist/cjs/{helpers-f75cf7cf.js → helpers-c4444a7e.js} +48 -94
  5. package/dist/cjs/helpers-c4444a7e.js.map +1 -0
  6. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-button_3.cjs.entry.js +2 -8
  13. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +57 -0
  20. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -0
  21. package/dist/cjs/ic-data-table.cjs.entry.js +308 -43
  22. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  25. package/dist/cjs/{ic-pagination-bar.cjs.entry.js → ic-empty-state_2.cjs.entry.js} +34 -4
  26. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -0
  27. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/{ic-menu.cjs.entry.js → ic-input-component-container_3.cjs.entry.js} +69 -5
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js +86 -0
  35. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  36. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-navigation-group.cjs.entry.js +13 -16
  43. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-navigation-item.cjs.entry.js +32 -28
  45. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-pagination_4.cjs.entry.js +5 -5
  49. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-select-with-multi.cjs.entry.js +19 -6
  55. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-top-navigation.cjs.entry.js +60 -46
  68. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-typography.cjs.entry.js +35 -11
  70. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  71. package/dist/cjs/index-4cf27b16.js +10 -18
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/collection/collection-manifest.json +1 -2
  74. package/dist/collection/components/ic-data-table/ic-data-table.css +82 -7
  75. package/dist/collection/components/ic-data-table/ic-data-table.js +535 -44
  76. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  77. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  78. package/dist/collection/components/ic-data-table/story-data.js +386 -11
  79. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  80. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.e2e.js +217 -0
  81. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.e2e.js.map +1 -0
  82. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +319 -0
  83. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  84. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +87 -0
  85. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +160 -0
  86. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -0
  87. package/dist/collection/components/{ic-date-picker/test/a11y/ic-date-picker.test.a11y.js → ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js} +3 -5
  88. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js.map +1 -0
  89. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js +70 -0
  90. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js.map +1 -0
  91. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +2 -2
  92. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  93. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +1 -1
  94. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  95. package/dist/collection/components/ic-select-with-multi/ic-select.js +2 -2
  96. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  97. package/dist/collection/utils/constants.js +0 -55
  98. package/dist/collection/utils/constants.js.map +1 -1
  99. package/dist/collection/utils/helpers.js +43 -259
  100. package/dist/collection/utils/helpers.js.map +1 -1
  101. package/dist/collection/utils/types.js +0 -45
  102. package/dist/collection/utils/types.js.map +1 -1
  103. package/dist/components/helpers.js +2 -7
  104. package/dist/components/helpers.js.map +1 -1
  105. package/dist/components/helpers2.js +45 -91
  106. package/dist/components/helpers2.js.map +1 -1
  107. package/dist/components/ic-button2.js +3 -11
  108. package/dist/components/ic-button2.js.map +1 -1
  109. package/dist/components/ic-card.js +1 -1
  110. package/dist/components/ic-checkbox-group.js +1 -1
  111. package/dist/components/ic-checkbox.js +1 -1
  112. package/dist/components/ic-chip.js +1 -1
  113. package/dist/components/{ic-date-input.d.ts → ic-data-table-title-bar.d.ts} +4 -4
  114. package/dist/components/ic-data-table-title-bar.js +136 -0
  115. package/dist/components/ic-data-table-title-bar.js.map +1 -0
  116. package/dist/components/ic-data-table.js +334 -49
  117. package/dist/components/ic-data-table.js.map +1 -1
  118. package/dist/components/ic-empty-state.js +1 -57
  119. package/dist/components/ic-empty-state.js.map +1 -1
  120. package/dist/{esm/ic-empty-state.entry.js → components/ic-empty-state2.js} +38 -11
  121. package/dist/components/ic-empty-state2.js.map +1 -0
  122. package/dist/components/ic-input-component-container2.js +1 -1
  123. package/dist/components/ic-input-component-container2.js.map +1 -1
  124. package/dist/components/ic-link2.js +1 -1
  125. package/dist/components/ic-menu-item2.js +1 -1
  126. package/dist/components/ic-menu2.js +2 -2
  127. package/dist/components/ic-menu2.js.map +1 -1
  128. package/dist/components/ic-menu3.js +1 -1
  129. package/dist/components/ic-menu3.js.map +1 -1
  130. package/dist/components/ic-navigation-button.js +1 -1
  131. package/dist/components/ic-navigation-group.js +12 -15
  132. package/dist/components/ic-navigation-group.js.map +1 -1
  133. package/dist/components/ic-navigation-item.js +32 -28
  134. package/dist/components/ic-navigation-item.js.map +1 -1
  135. package/dist/components/ic-pagination-bar2.js +1 -1
  136. package/dist/components/ic-pagination-bar2.js.map +1 -1
  137. package/dist/components/ic-pagination-item2.js +1 -1
  138. package/dist/components/ic-pagination2.js +5 -5
  139. package/dist/components/ic-pagination2.js.map +1 -1
  140. package/dist/components/ic-radio-group.js +1 -1
  141. package/dist/components/ic-radio-option.js +1 -1
  142. package/dist/components/ic-search-bar.js +1 -1
  143. package/dist/components/ic-select-with-multi.js +14 -1
  144. package/dist/components/ic-select-with-multi.js.map +1 -1
  145. package/dist/components/ic-select2.js +1 -1
  146. package/dist/components/ic-switch.js +1 -1
  147. package/dist/components/ic-tab.js +1 -1
  148. package/dist/components/ic-text-field2.js +1 -1
  149. package/dist/components/ic-toggle-button.js +1 -1
  150. package/dist/components/ic-top-navigation.js +61 -47
  151. package/dist/components/ic-top-navigation.js.map +1 -1
  152. package/dist/components/ic-typography2.js +38 -12
  153. package/dist/components/ic-typography2.js.map +1 -1
  154. package/dist/core/core.css +1 -1
  155. package/dist/core/core.esm.js +1 -1
  156. package/dist/core/core.esm.js.map +1 -1
  157. package/dist/core/{p-8ea47d42.entry.js → p-045359e1.entry.js} +2 -2
  158. package/dist/core/{p-3745da83.entry.js → p-10fb4c46.entry.js} +2 -2
  159. package/dist/core/p-169bfa51.entry.js +2 -0
  160. package/dist/core/p-169bfa51.entry.js.map +1 -0
  161. package/dist/core/{p-2e2e0099.entry.js → p-1ca332ca.entry.js} +2 -2
  162. package/dist/core/p-1e91f540.entry.js +2 -0
  163. package/dist/core/p-1e91f540.entry.js.map +1 -0
  164. package/dist/core/{p-d4fdd8c1.entry.js → p-204ace96.entry.js} +2 -2
  165. package/dist/core/{p-5fe96107.entry.js → p-2eac7dcc.entry.js} +2 -2
  166. package/dist/core/p-347e8dab.entry.js +2 -0
  167. package/dist/core/p-347e8dab.entry.js.map +1 -0
  168. package/dist/core/p-3803a5b5.entry.js +2 -0
  169. package/dist/core/p-3803a5b5.entry.js.map +1 -0
  170. package/dist/core/{p-36508aad.entry.js → p-4753bac8.entry.js} +2 -2
  171. package/dist/core/{p-4f1ffa39.entry.js → p-4baa0916.entry.js} +2 -2
  172. package/dist/core/{p-776671cf.entry.js → p-4f413fc0.entry.js} +2 -2
  173. package/dist/core/p-5171169f.entry.js +2 -0
  174. package/dist/core/p-5171169f.entry.js.map +1 -0
  175. package/dist/core/{p-9d540656.entry.js → p-595be57d.entry.js} +2 -2
  176. package/dist/core/{p-7cecf5d5.entry.js → p-5ae93c16.entry.js} +2 -2
  177. package/dist/core/{p-1ce75941.entry.js → p-5e0c830b.entry.js} +2 -2
  178. package/dist/core/p-5ee4319c.entry.js +2 -0
  179. package/dist/core/p-5ee4319c.entry.js.map +1 -0
  180. package/dist/core/p-5f4e96ec.entry.js +2 -0
  181. package/dist/core/p-5f4e96ec.entry.js.map +1 -0
  182. package/dist/core/{p-e74f1d09.entry.js → p-624d4f5f.entry.js} +2 -2
  183. package/dist/core/{p-9d01a7ad.entry.js → p-6933f8e9.entry.js} +2 -2
  184. package/dist/core/{p-5e2e6c3b.entry.js → p-6c3044b6.entry.js} +2 -2
  185. package/dist/core/p-7267fe19.entry.js +2 -0
  186. package/dist/core/p-7267fe19.entry.js.map +1 -0
  187. package/dist/core/{p-6690bc04.entry.js → p-75dac3d1.entry.js} +2 -2
  188. package/dist/core/{p-85609bdd.entry.js → p-7ef8d616.entry.js} +2 -2
  189. package/dist/core/{p-a0f9b259.entry.js → p-81ddc39d.entry.js} +2 -2
  190. package/dist/core/{p-a6447b13.entry.js → p-869954a2.entry.js} +2 -2
  191. package/dist/core/{p-47ac6838.entry.js → p-88d54b72.entry.js} +2 -2
  192. package/dist/core/{p-06ae5bec.entry.js → p-8b08d8fe.entry.js} +2 -2
  193. package/dist/core/{p-ca8cbd6a.entry.js → p-917c5721.entry.js} +2 -2
  194. package/dist/core/p-942282cd.entry.js +2 -0
  195. package/dist/core/p-942282cd.entry.js.map +1 -0
  196. package/dist/core/p-96b3e7e2.js +2 -0
  197. package/dist/core/p-96b3e7e2.js.map +1 -0
  198. package/dist/core/p-9caf19eb.js +2 -0
  199. package/dist/core/p-9caf19eb.js.map +1 -0
  200. package/dist/core/{p-76d26018.entry.js → p-a0f8efb2.entry.js} +2 -2
  201. package/dist/core/{p-a42c2f37.entry.js → p-a31031a5.entry.js} +2 -2
  202. package/dist/core/{p-b306cbc8.entry.js → p-a434c3d4.entry.js} +2 -2
  203. package/dist/core/{p-86012178.entry.js → p-a43c12cd.entry.js} +2 -2
  204. package/dist/core/{p-8c90110a.entry.js → p-a50c3b9e.entry.js} +2 -2
  205. package/dist/core/p-aac4185b.entry.js +2 -0
  206. package/dist/core/p-aac4185b.entry.js.map +1 -0
  207. package/dist/core/{p-1b7d426b.entry.js → p-ab09986c.entry.js} +2 -2
  208. package/dist/core/{p-9e3178e8.entry.js → p-b6639e4a.entry.js} +2 -2
  209. package/dist/core/{p-9e3178e8.entry.js.map → p-b6639e4a.entry.js.map} +1 -1
  210. package/dist/core/{p-62e22508.entry.js → p-b82dcc29.entry.js} +2 -2
  211. package/dist/core/{p-d5c99ec3.entry.js → p-ba86928c.entry.js} +2 -2
  212. package/dist/core/{p-d3856ed3.entry.js → p-c34848da.entry.js} +2 -2
  213. package/dist/core/{p-98448bdb.entry.js → p-d8469ac0.entry.js} +2 -2
  214. package/dist/core/{p-1832f4b5.entry.js → p-db9c03c0.entry.js} +2 -2
  215. package/dist/core/{p-ae422058.entry.js → p-e3997d60.entry.js} +2 -2
  216. package/dist/core/{p-982a6e88.entry.js → p-e834344e.entry.js} +2 -2
  217. package/dist/core/p-f14454b1.entry.js +2 -0
  218. package/dist/core/{p-f55ad6ae.entry.js.map → p-f14454b1.entry.js.map} +1 -1
  219. package/dist/core/{p-c7820c23.entry.js → p-f3c840cd.entry.js} +2 -2
  220. package/dist/core/p-f6888309.entry.js +2 -0
  221. package/dist/core/p-f6888309.entry.js.map +1 -0
  222. package/dist/core/p-f74a8752.entry.js +2 -0
  223. package/dist/core/p-f74a8752.entry.js.map +1 -0
  224. package/dist/core/{p-5759d771.entry.js → p-f7a14c01.entry.js} +2 -2
  225. package/dist/core/{p-0939ce92.entry.js → p-f843da01.entry.js} +2 -2
  226. package/dist/core/{p-e84b0310.entry.js → p-fc5611e2.entry.js} +2 -2
  227. package/dist/esm/core.js +1 -1
  228. package/dist/esm/{helpers-7aa21b0a.js → helpers-12b4266a.js} +2 -7
  229. package/dist/esm/helpers-12b4266a.js.map +1 -0
  230. package/dist/esm/{helpers-f328a7b6.js → helpers-1f07eb61.js} +46 -92
  231. package/dist/esm/helpers-1f07eb61.js.map +1 -0
  232. package/dist/esm/ic-accordion.entry.js +1 -1
  233. package/dist/esm/ic-alert.entry.js +1 -1
  234. package/dist/esm/ic-back-to-top.entry.js +1 -1
  235. package/dist/esm/ic-badge.entry.js +1 -1
  236. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  237. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  238. package/dist/esm/ic-button_3.entry.js +2 -8
  239. package/dist/esm/ic-button_3.entry.js.map +1 -1
  240. package/dist/esm/ic-card.entry.js +1 -1
  241. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  242. package/dist/esm/ic-checkbox.entry.js +1 -1
  243. package/dist/esm/ic-chip.entry.js +1 -1
  244. package/dist/esm/ic-data-row.entry.js +1 -1
  245. package/dist/esm/ic-data-table-title-bar.entry.js +53 -0
  246. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -0
  247. package/dist/esm/ic-data-table.entry.js +309 -44
  248. package/dist/esm/ic-data-table.entry.js.map +1 -1
  249. package/dist/esm/ic-dialog.entry.js +1 -1
  250. package/dist/esm/ic-divider.entry.js +1 -1
  251. package/dist/esm/{ic-pagination-bar.entry.js → ic-empty-state_2.entry.js} +34 -5
  252. package/dist/esm/ic-empty-state_2.entry.js.map +1 -0
  253. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  254. package/dist/esm/ic-footer-link.entry.js +1 -1
  255. package/dist/esm/ic-footer.entry.js +1 -1
  256. package/dist/esm/ic-hero.entry.js +1 -1
  257. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  258. package/dist/esm/{ic-menu.entry.js → ic-input-component-container_3.entry.js} +69 -7
  259. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  260. package/dist/esm/ic-input-label_2.entry.js +81 -0
  261. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  262. package/dist/esm/ic-link.entry.js +1 -1
  263. package/dist/esm/ic-menu-group.entry.js +1 -1
  264. package/dist/esm/ic-menu-item.entry.js +1 -1
  265. package/dist/esm/ic-menu-with-multi.entry.js +1 -1
  266. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  267. package/dist/esm/ic-navigation-button.entry.js +1 -1
  268. package/dist/esm/ic-navigation-group.entry.js +13 -16
  269. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  270. package/dist/esm/ic-navigation-item.entry.js +32 -28
  271. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  272. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  273. package/dist/esm/ic-page-header.entry.js +1 -1
  274. package/dist/esm/ic-pagination_4.entry.js +5 -5
  275. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  276. package/dist/esm/ic-popover-menu.entry.js +1 -1
  277. package/dist/esm/ic-radio-group.entry.js +1 -1
  278. package/dist/esm/ic-radio-option.entry.js +1 -1
  279. package/dist/esm/ic-search-bar.entry.js +1 -1
  280. package/dist/esm/ic-select-with-multi.entry.js +14 -1
  281. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  282. package/dist/esm/ic-side-navigation.entry.js +1 -1
  283. package/dist/esm/ic-status-tag.entry.js +1 -1
  284. package/dist/esm/ic-step.entry.js +1 -1
  285. package/dist/esm/ic-stepper.entry.js +1 -1
  286. package/dist/esm/ic-switch.entry.js +1 -1
  287. package/dist/esm/ic-tab-group.entry.js +1 -1
  288. package/dist/esm/ic-tab-panel.entry.js +1 -1
  289. package/dist/esm/ic-tab.entry.js +1 -1
  290. package/dist/esm/ic-theme.entry.js +1 -1
  291. package/dist/esm/ic-toast.entry.js +1 -1
  292. package/dist/esm/ic-toggle-button.entry.js +1 -1
  293. package/dist/esm/ic-top-navigation.entry.js +60 -46
  294. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  295. package/dist/esm/ic-typography.entry.js +36 -12
  296. package/dist/esm/ic-typography.entry.js.map +1 -1
  297. package/dist/esm/index-93509377.js +10 -18
  298. package/dist/esm/loader.js +1 -1
  299. package/dist/esm/polyfills/core-js.js +0 -0
  300. package/dist/esm/polyfills/dom.js +0 -0
  301. package/dist/esm/polyfills/es5-html-element.js +0 -0
  302. package/dist/esm/polyfills/index.js +0 -0
  303. package/dist/esm/polyfills/system.js +0 -0
  304. package/dist/types/components/ic-data-table/ic-data-table.d.ts +96 -1
  305. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +11 -0
  306. package/dist/types/components/ic-data-table/story-data.d.ts +99 -0
  307. package/dist/types/components/ic-data-table-title-bar/ic-data-table-title-bar.d.ts +36 -0
  308. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +2 -2
  309. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +2 -2
  310. package/dist/types/components.d.ts +141 -389
  311. package/dist/types/utils/constants.d.ts +0 -37
  312. package/dist/types/utils/helpers.d.ts +16 -83
  313. package/dist/types/utils/types.d.ts +1 -92
  314. package/hydrate/index.js +945 -2932
  315. package/package.json +3 -4
  316. package/dist/cjs/date-helpers-c9551119.js +0 -150
  317. package/dist/cjs/date-helpers-c9551119.js.map +0 -1
  318. package/dist/cjs/helpers-7a069459.js.map +0 -1
  319. package/dist/cjs/helpers-f75cf7cf.js.map +0 -1
  320. package/dist/cjs/ic-date-input.cjs.entry.js +0 -1073
  321. package/dist/cjs/ic-date-input.cjs.entry.js.map +0 -1
  322. package/dist/cjs/ic-date-picker.cjs.entry.js +0 -1050
  323. package/dist/cjs/ic-date-picker.cjs.entry.js.map +0 -1
  324. package/dist/cjs/ic-empty-state.cjs.entry.js +0 -38
  325. package/dist/cjs/ic-empty-state.cjs.entry.js.map +0 -1
  326. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +0 -150
  327. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +0 -1
  328. package/dist/cjs/ic-menu.cjs.entry.js.map +0 -1
  329. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +0 -1
  330. package/dist/collection/assets/calendar.svg +0 -3
  331. package/dist/collection/components/ic-date-input/ic-date-input.css +0 -560
  332. package/dist/collection/components/ic-date-input/ic-date-input.js +0 -1668
  333. package/dist/collection/components/ic-date-input/ic-date-input.js.map +0 -1
  334. package/dist/collection/components/ic-date-input/story-data.js +0 -28
  335. package/dist/collection/components/ic-date-input/story-data.js.map +0 -1
  336. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +0 -1156
  337. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +0 -1
  338. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js +0 -42
  339. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js.map +0 -1
  340. package/dist/collection/components/ic-date-picker/ic-date-picker.css +0 -878
  341. package/dist/collection/components/ic-date-picker/ic-date-picker.js +0 -1506
  342. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +0 -1
  343. package/dist/collection/components/ic-date-picker/ic-day-button.js +0 -36
  344. package/dist/collection/components/ic-date-picker/ic-day-button.js.map +0 -1
  345. package/dist/collection/components/ic-date-picker/ic-month-picker.js +0 -29
  346. package/dist/collection/components/ic-date-picker/ic-month-picker.js.map +0 -1
  347. package/dist/collection/components/ic-date-picker/ic-year-picker.js +0 -39
  348. package/dist/collection/components/ic-date-picker/ic-year-picker.js.map +0 -1
  349. package/dist/collection/components/ic-date-picker/story-data.js +0 -147
  350. package/dist/collection/components/ic-date-picker/story-data.js.map +0 -1
  351. package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js.map +0 -1
  352. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js +0 -207
  353. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js.map +0 -1
  354. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js +0 -962
  355. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js.map +0 -1
  356. package/dist/collection/utils/date-helpers.js +0 -133
  357. package/dist/collection/utils/date-helpers.js.map +0 -1
  358. package/dist/components/ic-date-input.js +0 -8
  359. package/dist/components/ic-date-input.js.map +0 -1
  360. package/dist/components/ic-date-input2.js +0 -1301
  361. package/dist/components/ic-date-input2.js.map +0 -1
  362. package/dist/components/ic-date-picker.d.ts +0 -11
  363. package/dist/components/ic-date-picker.js +0 -1171
  364. package/dist/components/ic-date-picker.js.map +0 -1
  365. package/dist/core/p-16f67397.entry.js +0 -2
  366. package/dist/core/p-16f67397.entry.js.map +0 -1
  367. package/dist/core/p-2c1fecb9.entry.js +0 -2
  368. package/dist/core/p-2c1fecb9.entry.js.map +0 -1
  369. package/dist/core/p-33679c06.entry.js +0 -2
  370. package/dist/core/p-33679c06.entry.js.map +0 -1
  371. package/dist/core/p-33dd24eb.js +0 -2
  372. package/dist/core/p-33dd24eb.js.map +0 -1
  373. package/dist/core/p-5392bca0.entry.js +0 -2
  374. package/dist/core/p-5392bca0.entry.js.map +0 -1
  375. package/dist/core/p-550a5674.entry.js +0 -2
  376. package/dist/core/p-550a5674.entry.js.map +0 -1
  377. package/dist/core/p-6c0e2ceb.entry.js +0 -2
  378. package/dist/core/p-6c0e2ceb.entry.js.map +0 -1
  379. package/dist/core/p-8ab12a15.entry.js +0 -2
  380. package/dist/core/p-8ab12a15.entry.js.map +0 -1
  381. package/dist/core/p-aabab75f.entry.js +0 -2
  382. package/dist/core/p-aabab75f.entry.js.map +0 -1
  383. package/dist/core/p-c7590421.entry.js +0 -2
  384. package/dist/core/p-c7590421.entry.js.map +0 -1
  385. package/dist/core/p-caf857de.entry.js +0 -2
  386. package/dist/core/p-caf857de.entry.js.map +0 -1
  387. package/dist/core/p-cd799087.js +0 -2
  388. package/dist/core/p-cd799087.js.map +0 -1
  389. package/dist/core/p-d32692e2.entry.js +0 -2
  390. package/dist/core/p-d32692e2.entry.js.map +0 -1
  391. package/dist/core/p-d35c7c18.js +0 -2
  392. package/dist/core/p-d35c7c18.js.map +0 -1
  393. package/dist/core/p-e189f1d0.entry.js +0 -2
  394. package/dist/core/p-e189f1d0.entry.js.map +0 -1
  395. package/dist/core/p-e5d76564.entry.js +0 -2
  396. package/dist/core/p-e5d76564.entry.js.map +0 -1
  397. package/dist/core/p-f55ad6ae.entry.js +0 -2
  398. package/dist/core/p-f91527a0.entry.js +0 -2
  399. package/dist/core/p-f91527a0.entry.js.map +0 -1
  400. package/dist/esm/date-helpers-0e5e32a7.js +0 -136
  401. package/dist/esm/date-helpers-0e5e32a7.js.map +0 -1
  402. package/dist/esm/helpers-7aa21b0a.js.map +0 -1
  403. package/dist/esm/helpers-f328a7b6.js.map +0 -1
  404. package/dist/esm/ic-date-input.entry.js +0 -1069
  405. package/dist/esm/ic-date-input.entry.js.map +0 -1
  406. package/dist/esm/ic-date-picker.entry.js +0 -1046
  407. package/dist/esm/ic-date-picker.entry.js.map +0 -1
  408. package/dist/esm/ic-empty-state.entry.js.map +0 -1
  409. package/dist/esm/ic-input-component-container_4.entry.js +0 -143
  410. package/dist/esm/ic-input-component-container_4.entry.js.map +0 -1
  411. package/dist/esm/ic-menu.entry.js.map +0 -1
  412. package/dist/esm/ic-pagination-bar.entry.js.map +0 -1
  413. package/dist/types/components/ic-date-input/ic-date-input.d.ts +0 -242
  414. package/dist/types/components/ic-date-input/story-data.d.ts +0 -1
  415. package/dist/types/components/ic-date-input/test/helpers/ic-date-input.d.ts +0 -23
  416. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +0 -251
  417. package/dist/types/components/ic-date-picker/ic-day-button.d.ts +0 -16
  418. package/dist/types/components/ic-date-picker/ic-month-picker.d.ts +0 -14
  419. package/dist/types/components/ic-date-picker/ic-year-picker.d.ts +0 -16
  420. package/dist/types/components/ic-date-picker/story-data.d.ts +0 -22
  421. package/dist/types/utils/date-helpers.d.ts +0 -22
  422. /package/dist/core/{p-8ea47d42.entry.js.map → p-045359e1.entry.js.map} +0 -0
  423. /package/dist/core/{p-3745da83.entry.js.map → p-10fb4c46.entry.js.map} +0 -0
  424. /package/dist/core/{p-2e2e0099.entry.js.map → p-1ca332ca.entry.js.map} +0 -0
  425. /package/dist/core/{p-d4fdd8c1.entry.js.map → p-204ace96.entry.js.map} +0 -0
  426. /package/dist/core/{p-5fe96107.entry.js.map → p-2eac7dcc.entry.js.map} +0 -0
  427. /package/dist/core/{p-36508aad.entry.js.map → p-4753bac8.entry.js.map} +0 -0
  428. /package/dist/core/{p-4f1ffa39.entry.js.map → p-4baa0916.entry.js.map} +0 -0
  429. /package/dist/core/{p-776671cf.entry.js.map → p-4f413fc0.entry.js.map} +0 -0
  430. /package/dist/core/{p-9d540656.entry.js.map → p-595be57d.entry.js.map} +0 -0
  431. /package/dist/core/{p-7cecf5d5.entry.js.map → p-5ae93c16.entry.js.map} +0 -0
  432. /package/dist/core/{p-1ce75941.entry.js.map → p-5e0c830b.entry.js.map} +0 -0
  433. /package/dist/core/{p-e74f1d09.entry.js.map → p-624d4f5f.entry.js.map} +0 -0
  434. /package/dist/core/{p-9d01a7ad.entry.js.map → p-6933f8e9.entry.js.map} +0 -0
  435. /package/dist/core/{p-5e2e6c3b.entry.js.map → p-6c3044b6.entry.js.map} +0 -0
  436. /package/dist/core/{p-6690bc04.entry.js.map → p-75dac3d1.entry.js.map} +0 -0
  437. /package/dist/core/{p-85609bdd.entry.js.map → p-7ef8d616.entry.js.map} +0 -0
  438. /package/dist/core/{p-a0f9b259.entry.js.map → p-81ddc39d.entry.js.map} +0 -0
  439. /package/dist/core/{p-a6447b13.entry.js.map → p-869954a2.entry.js.map} +0 -0
  440. /package/dist/core/{p-47ac6838.entry.js.map → p-88d54b72.entry.js.map} +0 -0
  441. /package/dist/core/{p-06ae5bec.entry.js.map → p-8b08d8fe.entry.js.map} +0 -0
  442. /package/dist/core/{p-ca8cbd6a.entry.js.map → p-917c5721.entry.js.map} +0 -0
  443. /package/dist/core/{p-76d26018.entry.js.map → p-a0f8efb2.entry.js.map} +0 -0
  444. /package/dist/core/{p-a42c2f37.entry.js.map → p-a31031a5.entry.js.map} +0 -0
  445. /package/dist/core/{p-b306cbc8.entry.js.map → p-a434c3d4.entry.js.map} +0 -0
  446. /package/dist/core/{p-86012178.entry.js.map → p-a43c12cd.entry.js.map} +0 -0
  447. /package/dist/core/{p-8c90110a.entry.js.map → p-a50c3b9e.entry.js.map} +0 -0
  448. /package/dist/core/{p-1b7d426b.entry.js.map → p-ab09986c.entry.js.map} +0 -0
  449. /package/dist/core/{p-62e22508.entry.js.map → p-b82dcc29.entry.js.map} +0 -0
  450. /package/dist/core/{p-d5c99ec3.entry.js.map → p-ba86928c.entry.js.map} +0 -0
  451. /package/dist/core/{p-d3856ed3.entry.js.map → p-c34848da.entry.js.map} +0 -0
  452. /package/dist/core/{p-98448bdb.entry.js.map → p-d8469ac0.entry.js.map} +0 -0
  453. /package/dist/core/{p-1832f4b5.entry.js.map → p-db9c03c0.entry.js.map} +0 -0
  454. /package/dist/core/{p-ae422058.entry.js.map → p-e3997d60.entry.js.map} +0 -0
  455. /package/dist/core/{p-982a6e88.entry.js.map → p-e834344e.entry.js.map} +0 -0
  456. /package/dist/core/{p-c7820c23.entry.js.map → p-f3c840cd.entry.js.map} +0 -0
  457. /package/dist/core/{p-5759d771.entry.js.map → p-f7a14c01.entry.js.map} +0 -0
  458. /package/dist/core/{p-0939ce92.entry.js.map → p-f843da01.entry.js.map} +0 -0
  459. /package/dist/core/{p-e84b0310.entry.js.map → p-fc5611e2.entry.js.map} +0 -0
  460. /package/dist/types/components/{ic-date-picker/test/a11y/ic-date-picker.test.a11y.d.ts → ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.d.ts} +0 -0
@@ -5,17 +5,17 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableSortOrderOptions } from "./components/ic-data-table/ic-data-table.types";
8
+ import { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail } from "./components/ic-data-table/ic-data-table.types";
9
+ import { IcActivationTypes, IcMenuOption, IcSizes, IcThemeForegroundNoDefault } from "@ukic/web-components/dist/types/utils/types";
9
10
  import { IcPaginationAlignmentOptions, IcPaginationControlTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
10
- import { IcDateFormat, IcInformationStatusOrEmpty, IcSearchMatchPositions, IcSizes, IcValueEventDetail, IcWeekDays } from "./utils/types";
11
- import { IcActivationTypes, IcMenuOption } from "@ukic/web-components/dist/types/utils/types";
12
11
  import { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
12
+ import { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "./utils/types";
13
13
  import { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
14
- export { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableSortOrderOptions } from "./components/ic-data-table/ic-data-table.types";
14
+ export { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail } from "./components/ic-data-table/ic-data-table.types";
15
+ export { IcActivationTypes, IcMenuOption, IcSizes, IcThemeForegroundNoDefault } from "@ukic/web-components/dist/types/utils/types";
15
16
  export { IcPaginationAlignmentOptions, IcPaginationControlTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
16
- export { IcDateFormat, IcInformationStatusOrEmpty, IcSearchMatchPositions, IcSizes, IcValueEventDetail, IcWeekDays } from "./utils/types";
17
- export { IcActivationTypes, IcMenuOption } from "@ukic/web-components/dist/types/utils/types";
18
17
  export { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
18
+ export { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "./utils/types";
19
19
  export { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
20
20
  export namespace Components {
21
21
  interface IcDataTable {
@@ -39,10 +39,35 @@ export namespace Components {
39
39
  * Applies a border to the table container.
40
40
  */
41
41
  "embedded"?: boolean;
42
+ /**
43
+ * Sets the row height on all rows in the table that aren't set using the variableRowHeight method.
44
+ */
45
+ "globalRowHeight"?: IcDataTableRowHeights;
42
46
  /**
43
47
  * If `true`, column headers will not be visible.
44
48
  */
45
49
  "hideColumnHeaders"?: boolean;
50
+ /**
51
+ * When set to `true`, the full table will show a loading state, featuring a radial indicator.
52
+ */
53
+ "loading"?: boolean;
54
+ /**
55
+ * Sets the props for the circular loading indicator used in the loading state.
56
+ */
57
+ "loadingOptions"?: {
58
+ appearance?: IcThemeForegroundNoDefault;
59
+ description?: string;
60
+ label?: string;
61
+ labelDuration?: number;
62
+ max?: number;
63
+ min?: number;
64
+ progress?: number;
65
+ showBackground?: boolean;
66
+ };
67
+ /**
68
+ * The minimum amount of time the `loading` state displays for before showing the data. Used to prevent flashing in the component.
69
+ */
70
+ "minimumLoadingDisplayDuration"?: number;
46
71
  /**
47
72
  * Sets the props for the pagination bar.
48
73
  */
@@ -54,6 +79,10 @@ export namespace Components {
54
79
  goToPageControl?: boolean;
55
80
  alignment?: IcPaginationAlignmentOptions;
56
81
  };
82
+ /**
83
+ * Resets the `globalRowHeight` prop to `40px` and sets the `variableRowHeight` prop to `null`.
84
+ */
85
+ "resetRowHeights": () => Promise<void>;
57
86
  /**
58
87
  * If `true`, adds a pagination bar to the bottom of the table.
59
88
  */
@@ -77,194 +106,49 @@ export namespace Components {
77
106
  * If `true`, row headers will remain to the left when scrolling horizontally.
78
107
  */
79
108
  "stickyRowHeaders"?: boolean;
80
- }
81
- interface IcDateInput {
82
- /**
83
- * The format in which the date will be displayed.
84
- */
85
- "dateFormat"?: IcDateFormat;
86
- /**
87
- * The days of the week to disable.
88
- */
89
- "disableDays"?: IcWeekDays[];
90
- /**
91
- * The text to display as the validation message when `disableDays` is set and a disabled date is entered.
92
- */
93
- "disableDaysMessage"?: string;
94
- /**
95
- * If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
96
- */
97
- "disableFuture"?: boolean;
98
- /**
99
- * The text to display as the validation message when `disableFuture` is true and a date in the future is entered.
100
- */
101
- "disableFutureMessage"?: string;
102
- /**
103
- * If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
104
- */
105
- "disablePast"?: boolean;
106
- /**
107
- * The text to display as the validation message when `disablePast` is true and a date in the past is entered.
108
- */
109
- "disablePastMessage"?: string;
110
- /**
111
- * If `true`, the disabled state will be set.
112
- */
113
- "disabled"?: boolean;
114
- /**
115
- * Returns the value as a Date object
116
- * @returns Date
117
- */
118
- "getDate": () => Promise<Date>;
119
- /**
120
- * The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
121
- */
122
- "helperText"?: string;
123
109
  /**
124
- * The ID for the input.
110
+ * For long text in cells that aren't set to textWrap, define how they should be truncated. `tooltip` adds a tooltip for the rest of the text, `showHide` adds the ic-typography "See More"/"See Less" buttons.
125
111
  */
126
- "inputId"?: string;
112
+ "truncationPattern"?: IcDataTableTruncationTypes;
127
113
  /**
128
- * The label for the date input.
114
+ * If `true`, the table displays a linear loading indicator below the header row to indicate an updating state.
129
115
  */
130
- "label": string;
116
+ "updating"?: boolean;
131
117
  /**
132
- * The latest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disableFuture` is set to `true`.
118
+ * Sets the props for the linear loading indicator used in the updating state.
133
119
  */
134
- "max"?: string | Date;
135
- /**
136
- * The earliest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disablePast` is set to `true`.
137
- */
138
- "min"?: string | Date;
139
- /**
140
- * The name of the control, which is submitted with the form data.
141
- */
142
- "name": string;
143
- /**
144
- * If `true`, the input will require a value.
145
- */
146
- "required"?: boolean;
147
- "setCalendarFocus": () => Promise<void>;
148
- "setDisableDays": (days: IcWeekDays[]) => Promise<void>;
149
- "showCalendarButton"?: boolean;
150
- /**
151
- * If `true`, a button which clears the date input when clicked will be displayed.
152
- */
153
- "showClearButton"?: boolean;
154
- /**
155
- * The size of the date input to be displayed.
156
- */
157
- "size"?: IcSizes;
158
- /**
159
- * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
160
- */
161
- "validationStatus"?: IcInformationStatusOrEmpty;
162
- /**
163
- * The text to display as the validation message. This will override the built-in date validation.
164
- */
165
- "validationText"?: string;
120
+ "updatingOptions"?: {
121
+ appearance?: IcThemeForegroundNoDefault;
122
+ description?: string;
123
+ max?: number;
124
+ min?: number;
125
+ progress?: number;
126
+ };
166
127
  /**
167
- * The value of the date input. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
128
+ * Allows for custom setting of row heights on individual rows based on an individual value from the `data` prop and the row index. If the function returns `null`, that row's height will be set to the `globalRowHeight` property.
168
129
  */
169
- "value"?: string | Date | null | undefined;
130
+ "variableRowHeight"?: (params: {
131
+ [key: string]: any;
132
+ index: number;
133
+ }) => IcDataTableRowHeights | null;
170
134
  }
171
- interface IcDatePicker {
135
+ interface IcDataTableTitleBar {
172
136
  /**
173
- * The format in which the date will be displayed.
137
+ * The description that is displayed below the `heading` and `metadata`. Can be overridden with the `description` slot.
174
138
  */
175
- "dateFormat"?: IcDateFormat;
139
+ "description"?: string;
176
140
  /**
177
- * The days of the week to disable.
141
+ * The heading of the title bar. Can be overridden with the `heading` slot. If used with an ic-data-table it will default to the table's `caption` unless overridden.
178
142
  */
179
- "disableDays"?: IcWeekDays[];
143
+ "heading"?: string;
180
144
  /**
181
- * The text to display as the validation message when `disableDays` is `true` and a disabled date is entered.
145
+ * When `true`, the density select will not be rendered.
182
146
  */
183
- "disableDaysMessage"?: string;
147
+ "hideDensitySelect"?: boolean;
184
148
  /**
185
- * If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
149
+ * The metadata displayed next to the `heading`.
186
150
  */
187
- "disableFuture"?: boolean;
188
- /**
189
- * The text to display as the validation message when `disableFuture` is `true` and a date in the future is entered.
190
- */
191
- "disableFutureMessage"?: string;
192
- /**
193
- * If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
194
- */
195
- "disablePast"?: boolean;
196
- /**
197
- * The text to display as the validation message when `disablePast` is `true` and a date in the past is entered.
198
- */
199
- "disablePastMessage"?: string;
200
- /**
201
- * If `true`, the disabled state will be set.
202
- */
203
- "disabled"?: boolean;
204
- /**
205
- * The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
206
- */
207
- "helperText"?: string;
208
- /**
209
- * The ID for the input field. The default will be an automatically generated value.
210
- */
211
- "inputId"?: string;
212
- /**
213
- * The label for the date input.
214
- */
215
- "label": string;
216
- /**
217
- * The latest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disableFuture` is set to `true`.
218
- */
219
- "max"?: string | Date;
220
- /**
221
- * The earliest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disablePast` is set to `true`.
222
- */
223
- "min"?: string | Date;
224
- /**
225
- * The name of the control, which is submitted with the form data.
226
- */
227
- "name"?: string;
228
- /**
229
- * The date visible when the calendar opens. Used if no date is currently selected. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
230
- */
231
- "openAtDate": string | Date;
232
- /**
233
- * If `true`, the input will require a value.
234
- */
235
- "required"?: boolean;
236
- /**
237
- * If `true`, days outside the current month will be visible in the date picker.
238
- */
239
- "showDaysOutsideMonth"?: boolean;
240
- /**
241
- * If `true`, the `Clear` button on the date picker will be visible.
242
- */
243
- "showPickerClearButton"?: boolean;
244
- /**
245
- * If `true`, the `Go to today` button on the date picker will be visible.
246
- */
247
- "showPickerTodayButton"?: boolean;
248
- /**
249
- * The size of the date picker to be displayed.
250
- */
251
- "size"?: IcSizes;
252
- /**
253
- * The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
254
- */
255
- "startOfWeek"?: IcWeekDays;
256
- /**
257
- * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
258
- */
259
- "validationStatus"?: IcInformationStatusOrEmpty;
260
- /**
261
- * The text to display as the validation message. This will override the built-in date validation.
262
- */
263
- "validationText"?: string;
264
- /**
265
- * The value of the date picker. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
266
- */
267
- "value"?: string | Date | null | undefined;
151
+ "metadata"?: string;
268
152
  }
269
153
  interface IcMenuWithMulti {
270
154
  /**
@@ -539,13 +423,13 @@ export namespace Components {
539
423
  "value"?: string | string[];
540
424
  }
541
425
  }
542
- export interface IcDateInputCustomEvent<T> extends CustomEvent<T> {
426
+ export interface IcDataTableCustomEvent<T> extends CustomEvent<T> {
543
427
  detail: T;
544
- target: HTMLIcDateInputElement;
428
+ target: HTMLIcDataTableElement;
545
429
  }
546
- export interface IcDatePickerCustomEvent<T> extends CustomEvent<T> {
430
+ export interface IcDataTableTitleBarCustomEvent<T> extends CustomEvent<T> {
547
431
  detail: T;
548
- target: HTMLIcDatePickerElement;
432
+ target: HTMLIcDataTableTitleBarElement;
549
433
  }
550
434
  export interface IcMenuWithMultiCustomEvent<T> extends CustomEvent<T> {
551
435
  detail: T;
@@ -560,48 +444,39 @@ export interface IcSelectWithMultiCustomEvent<T> extends CustomEvent<T> {
560
444
  target: HTMLIcSelectWithMultiElement;
561
445
  }
562
446
  declare global {
563
- interface HTMLIcDataTableElement extends Components.IcDataTable, HTMLStencilElement {
447
+ interface HTMLIcDataTableElementEventMap {
448
+ "icRowHeightChange": void;
564
449
  }
565
- var HTMLIcDataTableElement: {
566
- prototype: HTMLIcDataTableElement;
567
- new (): HTMLIcDataTableElement;
568
- };
569
- interface HTMLIcDateInputElementEventMap {
570
- "calendarButtonClicked": { value: Date };
571
- "icBlur": { value: Date };
572
- "icChange": { value: Date };
573
- "icFocus": { value: Date };
574
- }
575
- interface HTMLIcDateInputElement extends Components.IcDateInput, HTMLStencilElement {
576
- addEventListener<K extends keyof HTMLIcDateInputElementEventMap>(type: K, listener: (this: HTMLIcDateInputElement, ev: IcDateInputCustomEvent<HTMLIcDateInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
450
+ interface HTMLIcDataTableElement extends Components.IcDataTable, HTMLStencilElement {
451
+ addEventListener<K extends keyof HTMLIcDataTableElementEventMap>(type: K, listener: (this: HTMLIcDataTableElement, ev: IcDataTableCustomEvent<HTMLIcDataTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
577
452
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
578
453
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
579
454
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
580
- removeEventListener<K extends keyof HTMLIcDateInputElementEventMap>(type: K, listener: (this: HTMLIcDateInputElement, ev: IcDateInputCustomEvent<HTMLIcDateInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
455
+ removeEventListener<K extends keyof HTMLIcDataTableElementEventMap>(type: K, listener: (this: HTMLIcDataTableElement, ev: IcDataTableCustomEvent<HTMLIcDataTableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
581
456
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
582
457
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
583
458
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
584
459
  }
585
- var HTMLIcDateInputElement: {
586
- prototype: HTMLIcDateInputElement;
587
- new (): HTMLIcDateInputElement;
460
+ var HTMLIcDataTableElement: {
461
+ prototype: HTMLIcDataTableElement;
462
+ new (): HTMLIcDataTableElement;
588
463
  };
589
- interface HTMLIcDatePickerElementEventMap {
590
- "icChange": { value: Date };
464
+ interface HTMLIcDataTableTitleBarElementEventMap {
465
+ "icTableDensityUpdate": IcDensityUpdateEventDetail;
591
466
  }
592
- interface HTMLIcDatePickerElement extends Components.IcDatePicker, HTMLStencilElement {
593
- addEventListener<K extends keyof HTMLIcDatePickerElementEventMap>(type: K, listener: (this: HTMLIcDatePickerElement, ev: IcDatePickerCustomEvent<HTMLIcDatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
467
+ interface HTMLIcDataTableTitleBarElement extends Components.IcDataTableTitleBar, HTMLStencilElement {
468
+ addEventListener<K extends keyof HTMLIcDataTableTitleBarElementEventMap>(type: K, listener: (this: HTMLIcDataTableTitleBarElement, ev: IcDataTableTitleBarCustomEvent<HTMLIcDataTableTitleBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
594
469
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
595
470
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
596
471
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
597
- removeEventListener<K extends keyof HTMLIcDatePickerElementEventMap>(type: K, listener: (this: HTMLIcDatePickerElement, ev: IcDatePickerCustomEvent<HTMLIcDatePickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
472
+ removeEventListener<K extends keyof HTMLIcDataTableTitleBarElementEventMap>(type: K, listener: (this: HTMLIcDataTableTitleBarElement, ev: IcDataTableTitleBarCustomEvent<HTMLIcDataTableTitleBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
598
473
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
599
474
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
600
475
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
601
476
  }
602
- var HTMLIcDatePickerElement: {
603
- prototype: HTMLIcDatePickerElement;
604
- new (): HTMLIcDatePickerElement;
477
+ var HTMLIcDataTableTitleBarElement: {
478
+ prototype: HTMLIcDataTableTitleBarElement;
479
+ new (): HTMLIcDataTableTitleBarElement;
605
480
  };
606
481
  interface HTMLIcMenuWithMultiElementEventMap {
607
482
  "menuKeyPress": { isNavKey: boolean; key: string };
@@ -671,8 +546,7 @@ declare global {
671
546
  };
672
547
  interface HTMLElementTagNameMap {
673
548
  "ic-data-table": HTMLIcDataTableElement;
674
- "ic-date-input": HTMLIcDateInputElement;
675
- "ic-date-picker": HTMLIcDatePickerElement;
549
+ "ic-data-table-title-bar": HTMLIcDataTableTitleBarElement;
676
550
  "ic-menu-with-multi": HTMLIcMenuWithMultiElement;
677
551
  "ic-pagination-bar": HTMLIcPaginationBarElement;
678
552
  "ic-select-with-multi": HTMLIcSelectWithMultiElement;
@@ -700,10 +574,39 @@ declare namespace LocalJSX {
700
574
  * Applies a border to the table container.
701
575
  */
702
576
  "embedded"?: boolean;
577
+ /**
578
+ * Sets the row height on all rows in the table that aren't set using the variableRowHeight method.
579
+ */
580
+ "globalRowHeight"?: IcDataTableRowHeights;
703
581
  /**
704
582
  * If `true`, column headers will not be visible.
705
583
  */
706
584
  "hideColumnHeaders"?: boolean;
585
+ /**
586
+ * When set to `true`, the full table will show a loading state, featuring a radial indicator.
587
+ */
588
+ "loading"?: boolean;
589
+ /**
590
+ * Sets the props for the circular loading indicator used in the loading state.
591
+ */
592
+ "loadingOptions"?: {
593
+ appearance?: IcThemeForegroundNoDefault;
594
+ description?: string;
595
+ label?: string;
596
+ labelDuration?: number;
597
+ max?: number;
598
+ min?: number;
599
+ progress?: number;
600
+ showBackground?: boolean;
601
+ };
602
+ /**
603
+ * The minimum amount of time the `loading` state displays for before showing the data. Used to prevent flashing in the component.
604
+ */
605
+ "minimumLoadingDisplayDuration"?: number;
606
+ /**
607
+ * Emitted when the `globalRowHeight` or `variableRowHeight` properties change in the data table.
608
+ */
609
+ "onIcRowHeightChange"?: (event: IcDataTableCustomEvent<void>) => void;
707
610
  /**
708
611
  * Sets the props for the pagination bar.
709
612
  */
@@ -738,202 +641,53 @@ declare namespace LocalJSX {
738
641
  * If `true`, row headers will remain to the left when scrolling horizontally.
739
642
  */
740
643
  "stickyRowHeaders"?: boolean;
741
- }
742
- interface IcDateInput {
743
- /**
744
- * The format in which the date will be displayed.
745
- */
746
- "dateFormat"?: IcDateFormat;
747
- /**
748
- * The days of the week to disable.
749
- */
750
- "disableDays"?: IcWeekDays[];
751
- /**
752
- * The text to display as the validation message when `disableDays` is set and a disabled date is entered.
753
- */
754
- "disableDaysMessage"?: string;
755
- /**
756
- * If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
757
- */
758
- "disableFuture"?: boolean;
759
- /**
760
- * The text to display as the validation message when `disableFuture` is true and a date in the future is entered.
761
- */
762
- "disableFutureMessage"?: string;
763
- /**
764
- * If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
765
- */
766
- "disablePast"?: boolean;
767
- /**
768
- * The text to display as the validation message when `disablePast` is true and a date in the past is entered.
769
- */
770
- "disablePastMessage"?: string;
771
- /**
772
- * If `true`, the disabled state will be set.
773
- */
774
- "disabled"?: boolean;
775
- /**
776
- * The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
777
- */
778
- "helperText"?: string;
779
- /**
780
- * The ID for the input.
781
- */
782
- "inputId"?: string;
783
- /**
784
- * The label for the date input.
785
- */
786
- "label": string;
787
- /**
788
- * The latest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disableFuture` is set to `true`.
789
- */
790
- "max"?: string | Date;
791
- /**
792
- * The earliest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disablePast` is set to `true`.
793
- */
794
- "min"?: string | Date;
795
- /**
796
- * The name of the control, which is submitted with the form data.
797
- */
798
- "name"?: string;
799
- /**
800
- * Emitted when the input loses focus.
801
- */
802
- "onIcBlur"?: (event: IcDateInputCustomEvent<{ value: Date }>) => void;
803
- /**
804
- * Emitted when the value has changed.
805
- */
806
- "onIcChange"?: (event: IcDateInputCustomEvent<{ value: Date }>) => void;
807
- /**
808
- * Emitted when the input gains focus.
809
- */
810
- "onIcFocus"?: (event: IcDateInputCustomEvent<{ value: Date }>) => void;
811
- /**
812
- * If `true`, the input will require a value.
813
- */
814
- "required"?: boolean;
815
644
  /**
816
- * If `true`, a button which clears the date input when clicked will be displayed.
645
+ * For long text in cells that aren't set to textWrap, define how they should be truncated. `tooltip` adds a tooltip for the rest of the text, `showHide` adds the ic-typography "See More"/"See Less" buttons.
817
646
  */
818
- "showClearButton"?: boolean;
819
- /**
820
- * The size of the date input to be displayed.
821
- */
822
- "size"?: IcSizes;
647
+ "truncationPattern"?: IcDataTableTruncationTypes;
823
648
  /**
824
- * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
649
+ * If `true`, the table displays a linear loading indicator below the header row to indicate an updating state.
825
650
  */
826
- "validationStatus"?: IcInformationStatusOrEmpty;
651
+ "updating"?: boolean;
827
652
  /**
828
- * The text to display as the validation message. This will override the built-in date validation.
653
+ * Sets the props for the linear loading indicator used in the updating state.
829
654
  */
830
- "validationText"?: string;
655
+ "updatingOptions"?: {
656
+ appearance?: IcThemeForegroundNoDefault;
657
+ description?: string;
658
+ max?: number;
659
+ min?: number;
660
+ progress?: number;
661
+ };
831
662
  /**
832
- * The value of the date input. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
663
+ * Allows for custom setting of row heights on individual rows based on an individual value from the `data` prop and the row index. If the function returns `null`, that row's height will be set to the `globalRowHeight` property.
833
664
  */
834
- "value"?: string | Date | null | undefined;
665
+ "variableRowHeight"?: (params: {
666
+ [key: string]: any;
667
+ index: number;
668
+ }) => IcDataTableRowHeights | null;
835
669
  }
836
- interface IcDatePicker {
837
- /**
838
- * The format in which the date will be displayed.
839
- */
840
- "dateFormat"?: IcDateFormat;
841
- /**
842
- * The days of the week to disable.
843
- */
844
- "disableDays"?: IcWeekDays[];
845
- /**
846
- * The text to display as the validation message when `disableDays` is `true` and a disabled date is entered.
847
- */
848
- "disableDaysMessage"?: string;
849
- /**
850
- * If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
851
- */
852
- "disableFuture"?: boolean;
670
+ interface IcDataTableTitleBar {
853
671
  /**
854
- * The text to display as the validation message when `disableFuture` is `true` and a date in the future is entered.
672
+ * The description that is displayed below the `heading` and `metadata`. Can be overridden with the `description` slot.
855
673
  */
856
- "disableFutureMessage"?: string;
674
+ "description"?: string;
857
675
  /**
858
- * If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
676
+ * The heading of the title bar. Can be overridden with the `heading` slot. If used with an ic-data-table it will default to the table's `caption` unless overridden.
859
677
  */
860
- "disablePast"?: boolean;
861
- /**
862
- * The text to display as the validation message when `disablePast` is `true` and a date in the past is entered.
863
- */
864
- "disablePastMessage"?: string;
865
- /**
866
- * If `true`, the disabled state will be set.
867
- */
868
- "disabled"?: boolean;
869
- /**
870
- * The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
871
- */
872
- "helperText"?: string;
873
- /**
874
- * The ID for the input field. The default will be an automatically generated value.
875
- */
876
- "inputId"?: string;
877
- /**
878
- * The label for the date input.
879
- */
880
- "label": string;
678
+ "heading"?: string;
881
679
  /**
882
- * The latest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disableFuture` is set to `true`.
680
+ * When `true`, the density select will not be rendered.
883
681
  */
884
- "max"?: string | Date;
682
+ "hideDensitySelect"?: boolean;
885
683
  /**
886
- * The earliest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disablePast` is set to `true`.
684
+ * The metadata displayed next to the `heading`.
887
685
  */
888
- "min"?: string | Date;
889
- /**
890
- * The name of the control, which is submitted with the form data.
891
- */
892
- "name"?: string;
893
- /**
894
- * Emitted when the value has changed.
895
- */
896
- "onIcChange"?: (event: IcDatePickerCustomEvent<{ value: Date }>) => void;
897
- /**
898
- * The date visible when the calendar opens. Used if no date is currently selected. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
899
- */
900
- "openAtDate"?: string | Date;
901
- /**
902
- * If `true`, the input will require a value.
903
- */
904
- "required"?: boolean;
905
- /**
906
- * If `true`, days outside the current month will be visible in the date picker.
907
- */
908
- "showDaysOutsideMonth"?: boolean;
909
- /**
910
- * If `true`, the `Clear` button on the date picker will be visible.
911
- */
912
- "showPickerClearButton"?: boolean;
913
- /**
914
- * If `true`, the `Go to today` button on the date picker will be visible.
915
- */
916
- "showPickerTodayButton"?: boolean;
917
- /**
918
- * The size of the date picker to be displayed.
919
- */
920
- "size"?: IcSizes;
921
- /**
922
- * The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
923
- */
924
- "startOfWeek"?: IcWeekDays;
925
- /**
926
- * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
927
- */
928
- "validationStatus"?: IcInformationStatusOrEmpty;
929
- /**
930
- * The text to display as the validation message. This will override the built-in date validation.
931
- */
932
- "validationText"?: string;
686
+ "metadata"?: string;
933
687
  /**
934
- * The value of the date picker. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
688
+ * Emitted when the table density select value is changed.
935
689
  */
936
- "value"?: string | Date | null | undefined;
690
+ "onIcTableDensityUpdate"?: (event: IcDataTableTitleBarCustomEvent<IcDensityUpdateEventDetail>) => void;
937
691
  }
938
692
  interface IcMenuWithMulti {
939
693
  /**
@@ -1234,8 +988,7 @@ declare namespace LocalJSX {
1234
988
  }
1235
989
  interface IntrinsicElements {
1236
990
  "ic-data-table": IcDataTable;
1237
- "ic-date-input": IcDateInput;
1238
- "ic-date-picker": IcDatePicker;
991
+ "ic-data-table-title-bar": IcDataTableTitleBar;
1239
992
  "ic-menu-with-multi": IcMenuWithMulti;
1240
993
  "ic-pagination-bar": IcPaginationBar;
1241
994
  "ic-select-with-multi": IcSelectWithMulti;
@@ -1246,8 +999,7 @@ declare module "@stencil/core" {
1246
999
  export namespace JSX {
1247
1000
  interface IntrinsicElements {
1248
1001
  "ic-data-table": LocalJSX.IcDataTable & JSXBase.HTMLAttributes<HTMLIcDataTableElement>;
1249
- "ic-date-input": LocalJSX.IcDateInput & JSXBase.HTMLAttributes<HTMLIcDateInputElement>;
1250
- "ic-date-picker": LocalJSX.IcDatePicker & JSXBase.HTMLAttributes<HTMLIcDatePickerElement>;
1002
+ "ic-data-table-title-bar": LocalJSX.IcDataTableTitleBar & JSXBase.HTMLAttributes<HTMLIcDataTableTitleBarElement>;
1251
1003
  "ic-menu-with-multi": LocalJSX.IcMenuWithMulti & JSXBase.HTMLAttributes<HTMLIcMenuWithMultiElement>;
1252
1004
  "ic-pagination-bar": LocalJSX.IcPaginationBar & JSXBase.HTMLAttributes<HTMLIcPaginationBarElement>;
1253
1005
  "ic-select-with-multi": LocalJSX.IcSelectWithMulti & JSXBase.HTMLAttributes<HTMLIcSelectWithMultiElement>;