@ukic/canary-web-components 2.0.0-canary.36 → 2.0.0-canary.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  2. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  3. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  4. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-data-table.cjs.entry.js +11 -7
  8. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-date-input.cjs.entry.js +6 -0
  10. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-dialog.cjs.entry.js +20 -5
  12. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-empty-state_2.cjs.entry.js +17 -7
  14. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-menu.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-pagination_4.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-radio-group.cjs.entry.js +2 -1
  24. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-tree-item.cjs.entry.js +9 -1
  28. package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-tree-view.cjs.entry.js +15 -8
  30. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  31. package/dist/collection/components/ic-data-table/ic-data-table.css +19 -2
  32. package/dist/collection/components/ic-data-table/ic-data-table.js +10 -6
  33. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  34. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  35. package/dist/collection/components/ic-data-table/story-data.js +190 -0
  36. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  37. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +6 -6
  38. package/dist/collection/components/ic-date-input/ic-date-input.js +6 -0
  39. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  40. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +17 -7
  41. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  42. package/dist/collection/components/ic-tree-item/ic-tree-item.css +22 -3
  43. package/dist/collection/components/ic-tree-item/ic-tree-item.js +8 -0
  44. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  45. package/dist/collection/components/ic-tree-view/ic-tree-view.css +4 -0
  46. package/dist/collection/components/ic-tree-view/ic-tree-view.js +14 -7
  47. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  48. package/dist/components/helpers.js +1 -1
  49. package/dist/components/ic-card.js +1 -1
  50. package/dist/components/ic-card.js.map +1 -1
  51. package/dist/components/ic-checkbox.js +1 -1
  52. package/dist/components/ic-checkbox.js.map +1 -1
  53. package/dist/components/ic-data-table-title-bar.js +1 -1
  54. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  55. package/dist/components/ic-data-table.js +11 -7
  56. package/dist/components/ic-data-table.js.map +1 -1
  57. package/dist/components/ic-date-input2.js +6 -0
  58. package/dist/components/ic-date-input2.js.map +1 -1
  59. package/dist/components/ic-dialog.js +21 -6
  60. package/dist/components/ic-dialog.js.map +1 -1
  61. package/dist/components/ic-footer.js +1 -1
  62. package/dist/components/ic-horizontal-scroll2.js +1 -1
  63. package/dist/components/ic-link2.js +1 -1
  64. package/dist/components/ic-link2.js.map +1 -1
  65. package/dist/components/ic-menu2.js +1 -1
  66. package/dist/components/ic-menu2.js.map +1 -1
  67. package/dist/components/ic-pagination-bar2.js +17 -7
  68. package/dist/components/ic-pagination-bar2.js.map +1 -1
  69. package/dist/components/ic-popover-menu.js +2 -2
  70. package/dist/components/ic-popover-menu.js.map +1 -1
  71. package/dist/components/ic-radio-group.js +2 -1
  72. package/dist/components/ic-radio-group.js.map +1 -1
  73. package/dist/components/ic-radio-option.js +1 -1
  74. package/dist/components/ic-radio-option.js.map +1 -1
  75. package/dist/components/ic-select2.js +1 -1
  76. package/dist/components/ic-select2.js.map +1 -1
  77. package/dist/components/ic-side-navigation.js +1 -1
  78. package/dist/components/ic-tree-item.js +9 -1
  79. package/dist/components/ic-tree-item.js.map +1 -1
  80. package/dist/components/ic-tree-view.js +15 -8
  81. package/dist/components/ic-tree-view.js.map +1 -1
  82. package/dist/core/core.esm.js +1 -1
  83. package/dist/core/{p-20241d58.entry.js → p-074e64d0.entry.js} +2 -2
  84. package/dist/core/{p-26aeefc3.entry.js → p-0f1706e8.entry.js} +2 -2
  85. package/dist/core/{p-d1e0479c.entry.js → p-11877d23.entry.js} +2 -2
  86. package/dist/core/{p-ba353ac3.entry.js → p-1e450833.entry.js} +2 -2
  87. package/dist/core/{p-f4b76daa.entry.js → p-23408776.entry.js} +2 -2
  88. package/dist/core/{p-758f03e8.entry.js → p-2d44b81a.entry.js} +2 -2
  89. package/dist/core/{p-a3d903e4.entry.js → p-2ea7af8b.entry.js} +2 -2
  90. package/dist/core/{p-f2bb3c93.entry.js → p-38f329ab.entry.js} +2 -2
  91. package/dist/core/{p-844fb240.entry.js → p-3cd2056f.entry.js} +2 -2
  92. package/dist/core/p-3d00ad9e.entry.js +2 -0
  93. package/dist/core/p-3d00ad9e.entry.js.map +1 -0
  94. package/dist/core/p-3ebd4703.entry.js +2 -0
  95. package/dist/core/p-3ebd4703.entry.js.map +1 -0
  96. package/dist/core/{p-c0242c21.entry.js → p-44680720.entry.js} +2 -2
  97. package/dist/core/{p-3169d95e.entry.js → p-487fd924.entry.js} +2 -2
  98. package/dist/core/p-56db5123.entry.js +2 -0
  99. package/dist/core/p-56db5123.entry.js.map +1 -0
  100. package/dist/core/{p-9c80c37d.entry.js → p-58331a86.entry.js} +2 -2
  101. package/dist/core/p-5a90eaa8.entry.js +2 -0
  102. package/dist/core/p-5a90eaa8.entry.js.map +1 -0
  103. package/dist/core/{p-a4088bd7.entry.js → p-656378ba.entry.js} +2 -2
  104. package/dist/core/{p-d171c71d.entry.js → p-6cdf5de2.entry.js} +2 -2
  105. package/dist/core/{p-dd550e9b.entry.js → p-70ad364c.entry.js} +2 -2
  106. package/dist/core/{p-c1b268fd.entry.js → p-70c659ec.entry.js} +2 -2
  107. package/dist/core/{p-124279fa.entry.js → p-71bbb583.entry.js} +2 -2
  108. package/dist/core/p-74b42302.entry.js +2 -0
  109. package/dist/core/p-74b42302.entry.js.map +1 -0
  110. package/dist/core/p-75bd12f8.entry.js +2 -0
  111. package/dist/core/p-75bd12f8.entry.js.map +1 -0
  112. package/dist/core/{p-03d83d2c.entry.js → p-780294b8.entry.js} +2 -2
  113. package/dist/core/{p-382b88b2.entry.js → p-7edc19be.entry.js} +2 -2
  114. package/dist/core/p-8ced1495.entry.js +2 -0
  115. package/dist/core/p-8ced1495.entry.js.map +1 -0
  116. package/dist/core/{p-8c2c86b5.entry.js → p-95545b4c.entry.js} +2 -2
  117. package/dist/core/{p-b02ad2c4.entry.js → p-95d057b8.entry.js} +2 -2
  118. package/dist/core/{p-9adb2a49.entry.js → p-987cd821.entry.js} +2 -2
  119. package/dist/core/p-987cd821.entry.js.map +1 -0
  120. package/dist/core/{p-29a040ef.entry.js → p-9b386822.entry.js} +2 -2
  121. package/dist/core/{p-a6fb5fe3.entry.js → p-9bbe221f.entry.js} +2 -2
  122. package/dist/core/{p-deedc7d3.entry.js → p-9f58998d.entry.js} +2 -2
  123. package/dist/core/p-ab311c2e.entry.js +2 -0
  124. package/dist/core/p-ab311c2e.entry.js.map +1 -0
  125. package/dist/core/{p-72a584f4.entry.js → p-ac8090a5.entry.js} +2 -2
  126. package/dist/core/{p-95871655.entry.js → p-bc350ec5.entry.js} +2 -2
  127. package/dist/core/p-bd0328f3.entry.js +2 -0
  128. package/dist/core/p-bd0328f3.entry.js.map +1 -0
  129. package/dist/core/{p-5f71f24c.entry.js → p-bede1b52.entry.js} +2 -2
  130. package/dist/core/{p-da506987.js → p-bf06977d.js} +2 -2
  131. package/dist/core/{p-ff35dcea.entry.js → p-c0a2a040.entry.js} +2 -2
  132. package/dist/core/{p-ff35dcea.entry.js.map → p-c0a2a040.entry.js.map} +1 -1
  133. package/dist/core/{p-3a2523df.entry.js → p-c41d12e6.entry.js} +2 -2
  134. package/dist/core/p-c41d12e6.entry.js.map +1 -0
  135. package/dist/core/{p-3b1c88ad.entry.js → p-c7261d64.entry.js} +2 -2
  136. package/dist/core/{p-3e7b08c7.entry.js → p-c97463bc.entry.js} +2 -2
  137. package/dist/core/p-cc0e0b46.entry.js +2 -0
  138. package/dist/core/p-cc0e0b46.entry.js.map +1 -0
  139. package/dist/core/{p-aabb04c8.entry.js → p-ccc37027.entry.js} +2 -2
  140. package/dist/core/{p-12a5b481.entry.js → p-d0020f6f.entry.js} +2 -2
  141. package/dist/core/{p-e85505ec.entry.js → p-d1045cd5.entry.js} +2 -2
  142. package/dist/core/{p-9cd73369.entry.js → p-d921dc2c.entry.js} +2 -2
  143. package/dist/core/{p-34de5ffb.entry.js → p-da398a5d.entry.js} +2 -2
  144. package/dist/core/{p-8ef60479.entry.js → p-db5af9f7.entry.js} +2 -2
  145. package/dist/core/p-dd4c83ad.entry.js +2 -0
  146. package/dist/core/p-dd4c83ad.entry.js.map +1 -0
  147. package/dist/core/{p-0c7d30f5.entry.js → p-e218db1e.entry.js} +2 -2
  148. package/dist/core/p-e362b5f3.entry.js +2 -0
  149. package/dist/core/p-e362b5f3.entry.js.map +1 -0
  150. package/dist/core/{p-bc24c004.entry.js → p-e89c2feb.entry.js} +2 -2
  151. package/dist/core/{p-e7b913e5.entry.js → p-eaeaa096.entry.js} +2 -2
  152. package/dist/core/{p-d2260763.entry.js → p-f5dfcf4f.entry.js} +2 -2
  153. package/dist/esm/{helpers-031e266e.js → helpers-cd64688a.js} +2 -2
  154. package/dist/esm/{helpers-031e266e.js.map → helpers-cd64688a.js.map} +1 -1
  155. package/dist/esm/ic-accordion-group.entry.js +1 -1
  156. package/dist/esm/ic-accordion.entry.js +1 -1
  157. package/dist/esm/ic-alert.entry.js +1 -1
  158. package/dist/esm/ic-back-to-top.entry.js +1 -1
  159. package/dist/esm/ic-badge.entry.js +1 -1
  160. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  161. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  162. package/dist/esm/ic-button_3.entry.js +1 -1
  163. package/dist/esm/ic-card.entry.js +2 -2
  164. package/dist/esm/ic-card.entry.js.map +1 -1
  165. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  166. package/dist/esm/ic-checkbox.entry.js +2 -2
  167. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  168. package/dist/esm/ic-chip.entry.js +1 -1
  169. package/dist/esm/ic-data-row.entry.js +1 -1
  170. package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
  171. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  172. package/dist/esm/ic-data-table.entry.js +11 -7
  173. package/dist/esm/ic-data-table.entry.js.map +1 -1
  174. package/dist/esm/ic-date-input.entry.js +6 -0
  175. package/dist/esm/ic-date-input.entry.js.map +1 -1
  176. package/dist/esm/ic-dialog.entry.js +21 -6
  177. package/dist/esm/ic-dialog.entry.js.map +1 -1
  178. package/dist/esm/ic-divider.entry.js +1 -1
  179. package/dist/esm/ic-empty-state_2.entry.js +18 -8
  180. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  181. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  182. package/dist/esm/ic-footer-link.entry.js +1 -1
  183. package/dist/esm/ic-footer.entry.js +1 -1
  184. package/dist/esm/ic-hero.entry.js +1 -1
  185. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  186. package/dist/esm/ic-input-component-container_4.entry.js +1 -1
  187. package/dist/esm/ic-link.entry.js +2 -2
  188. package/dist/esm/ic-link.entry.js.map +1 -1
  189. package/dist/esm/ic-menu-group.entry.js +1 -1
  190. package/dist/esm/ic-menu-item.entry.js +1 -1
  191. package/dist/esm/ic-menu.entry.js +2 -2
  192. package/dist/esm/ic-menu.entry.js.map +1 -1
  193. package/dist/esm/ic-navigation-button.entry.js +1 -1
  194. package/dist/esm/ic-navigation-group.entry.js +1 -1
  195. package/dist/esm/ic-navigation-item.entry.js +1 -1
  196. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  197. package/dist/esm/ic-page-header.entry.js +1 -1
  198. package/dist/esm/ic-pagination_4.entry.js +2 -2
  199. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  200. package/dist/esm/ic-popover-menu.entry.js +2 -2
  201. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  202. package/dist/esm/ic-radio-group.entry.js +3 -2
  203. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  204. package/dist/esm/ic-radio-option.entry.js +2 -2
  205. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  206. package/dist/esm/ic-search-bar.entry.js +1 -1
  207. package/dist/esm/ic-side-navigation.entry.js +1 -1
  208. package/dist/esm/ic-status-tag.entry.js +1 -1
  209. package/dist/esm/ic-step.entry.js +1 -1
  210. package/dist/esm/ic-stepper.entry.js +1 -1
  211. package/dist/esm/ic-switch.entry.js +1 -1
  212. package/dist/esm/ic-tab-group.entry.js +1 -1
  213. package/dist/esm/ic-tab.entry.js +1 -1
  214. package/dist/esm/ic-theme.entry.js +1 -1
  215. package/dist/esm/ic-toast.entry.js +1 -1
  216. package/dist/esm/ic-toggle-button-group.entry.js +1 -1
  217. package/dist/esm/ic-toggle-button.entry.js +1 -1
  218. package/dist/esm/ic-top-navigation.entry.js +1 -1
  219. package/dist/esm/ic-tree-item.entry.js +9 -1
  220. package/dist/esm/ic-tree-item.entry.js.map +1 -1
  221. package/dist/esm/ic-tree-view.entry.js +15 -8
  222. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  223. package/dist/esm/ic-typography.entry.js +1 -1
  224. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +1 -0
  225. package/dist/types/components/ic-data-table/story-data.d.ts +59 -0
  226. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +1 -0
  227. package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +1 -0
  228. package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +3 -0
  229. package/hydrate/index.js +88 -37
  230. package/package.json +3 -3
  231. package/dist/core/p-03a99326.entry.js +0 -2
  232. package/dist/core/p-03a99326.entry.js.map +0 -1
  233. package/dist/core/p-080ebc66.entry.js +0 -2
  234. package/dist/core/p-080ebc66.entry.js.map +0 -1
  235. package/dist/core/p-1c0bbd2a.entry.js +0 -2
  236. package/dist/core/p-1c0bbd2a.entry.js.map +0 -1
  237. package/dist/core/p-3a2523df.entry.js.map +0 -1
  238. package/dist/core/p-4476d3b0.entry.js +0 -2
  239. package/dist/core/p-4476d3b0.entry.js.map +0 -1
  240. package/dist/core/p-48618a18.entry.js +0 -2
  241. package/dist/core/p-48618a18.entry.js.map +0 -1
  242. package/dist/core/p-4960c603.entry.js +0 -2
  243. package/dist/core/p-4960c603.entry.js.map +0 -1
  244. package/dist/core/p-7565b23c.entry.js +0 -2
  245. package/dist/core/p-7565b23c.entry.js.map +0 -1
  246. package/dist/core/p-7bba4c47.entry.js +0 -2
  247. package/dist/core/p-7bba4c47.entry.js.map +0 -1
  248. package/dist/core/p-7e909871.entry.js +0 -2
  249. package/dist/core/p-7e909871.entry.js.map +0 -1
  250. package/dist/core/p-9adb2a49.entry.js.map +0 -1
  251. package/dist/core/p-9c9147fa.entry.js +0 -2
  252. package/dist/core/p-9c9147fa.entry.js.map +0 -1
  253. package/dist/core/p-b68d6867.entry.js +0 -2
  254. package/dist/core/p-b68d6867.entry.js.map +0 -1
  255. package/dist/core/p-e447ed5c.entry.js +0 -2
  256. package/dist/core/p-e447ed5c.entry.js.map +0 -1
  257. /package/dist/core/{p-20241d58.entry.js.map → p-074e64d0.entry.js.map} +0 -0
  258. /package/dist/core/{p-26aeefc3.entry.js.map → p-0f1706e8.entry.js.map} +0 -0
  259. /package/dist/core/{p-d1e0479c.entry.js.map → p-11877d23.entry.js.map} +0 -0
  260. /package/dist/core/{p-ba353ac3.entry.js.map → p-1e450833.entry.js.map} +0 -0
  261. /package/dist/core/{p-f4b76daa.entry.js.map → p-23408776.entry.js.map} +0 -0
  262. /package/dist/core/{p-758f03e8.entry.js.map → p-2d44b81a.entry.js.map} +0 -0
  263. /package/dist/core/{p-a3d903e4.entry.js.map → p-2ea7af8b.entry.js.map} +0 -0
  264. /package/dist/core/{p-f2bb3c93.entry.js.map → p-38f329ab.entry.js.map} +0 -0
  265. /package/dist/core/{p-844fb240.entry.js.map → p-3cd2056f.entry.js.map} +0 -0
  266. /package/dist/core/{p-c0242c21.entry.js.map → p-44680720.entry.js.map} +0 -0
  267. /package/dist/core/{p-3169d95e.entry.js.map → p-487fd924.entry.js.map} +0 -0
  268. /package/dist/core/{p-9c80c37d.entry.js.map → p-58331a86.entry.js.map} +0 -0
  269. /package/dist/core/{p-a4088bd7.entry.js.map → p-656378ba.entry.js.map} +0 -0
  270. /package/dist/core/{p-d171c71d.entry.js.map → p-6cdf5de2.entry.js.map} +0 -0
  271. /package/dist/core/{p-dd550e9b.entry.js.map → p-70ad364c.entry.js.map} +0 -0
  272. /package/dist/core/{p-c1b268fd.entry.js.map → p-70c659ec.entry.js.map} +0 -0
  273. /package/dist/core/{p-124279fa.entry.js.map → p-71bbb583.entry.js.map} +0 -0
  274. /package/dist/core/{p-03d83d2c.entry.js.map → p-780294b8.entry.js.map} +0 -0
  275. /package/dist/core/{p-382b88b2.entry.js.map → p-7edc19be.entry.js.map} +0 -0
  276. /package/dist/core/{p-8c2c86b5.entry.js.map → p-95545b4c.entry.js.map} +0 -0
  277. /package/dist/core/{p-b02ad2c4.entry.js.map → p-95d057b8.entry.js.map} +0 -0
  278. /package/dist/core/{p-29a040ef.entry.js.map → p-9b386822.entry.js.map} +0 -0
  279. /package/dist/core/{p-a6fb5fe3.entry.js.map → p-9bbe221f.entry.js.map} +0 -0
  280. /package/dist/core/{p-deedc7d3.entry.js.map → p-9f58998d.entry.js.map} +0 -0
  281. /package/dist/core/{p-72a584f4.entry.js.map → p-ac8090a5.entry.js.map} +0 -0
  282. /package/dist/core/{p-95871655.entry.js.map → p-bc350ec5.entry.js.map} +0 -0
  283. /package/dist/core/{p-5f71f24c.entry.js.map → p-bede1b52.entry.js.map} +0 -0
  284. /package/dist/core/{p-da506987.js.map → p-bf06977d.js.map} +0 -0
  285. /package/dist/core/{p-3b1c88ad.entry.js.map → p-c7261d64.entry.js.map} +0 -0
  286. /package/dist/core/{p-3e7b08c7.entry.js.map → p-c97463bc.entry.js.map} +0 -0
  287. /package/dist/core/{p-aabb04c8.entry.js.map → p-ccc37027.entry.js.map} +0 -0
  288. /package/dist/core/{p-12a5b481.entry.js.map → p-d0020f6f.entry.js.map} +0 -0
  289. /package/dist/core/{p-e85505ec.entry.js.map → p-d1045cd5.entry.js.map} +0 -0
  290. /package/dist/core/{p-9cd73369.entry.js.map → p-d921dc2c.entry.js.map} +0 -0
  291. /package/dist/core/{p-34de5ffb.entry.js.map → p-da398a5d.entry.js.map} +0 -0
  292. /package/dist/core/{p-8ef60479.entry.js.map → p-db5af9f7.entry.js.map} +0 -0
  293. /package/dist/core/{p-0c7d30f5.entry.js.map → p-e218db1e.entry.js.map} +0 -0
  294. /package/dist/core/{p-bc24c004.entry.js.map → p-e89c2feb.entry.js.map} +0 -0
  295. /package/dist/core/{p-e7b913e5.entry.js.map → p-eaeaa096.entry.js.map} +0 -0
  296. /package/dist/core/{p-d2260763.entry.js.map → p-f5dfcf4f.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ic-data-table.types.js","sourceRoot":"","sources":["../../../src/components/ic-data-table/ic-data-table.types.tsx"],"names":[],"mappings":"","sourcesContent":["import { IcThemeForegroundNoDefault } from \"@ukic/web-components\";\n\nexport type IcDataTableSortOrderOptions =\n | \"unsorted\"\n | \"ascending\"\n | \"descending\";\n\nexport type IcDataTableDensityOptions = \"default\" | \"dense\" | \"spacious\";\n\nexport type IcDataTableColumnDataTypes =\n | \"string\"\n | \"number\"\n | \"address\"\n | \"element\"\n | \"date\";\n\nexport type IcDataTableColumnWidthTypes = {\n width?: string;\n minWidth?: string;\n maxWidth?: string;\n};\n\nexport type IcDataTableColumnObject = {\n key: string;\n title: string;\n dataType: IcDataTableColumnDataTypes;\n columnAlignment?: {\n horizontal?: string;\n vertical?: string;\n };\n rowOptions?: {\n textWrap: boolean;\n };\n columnWidth?: string | IcDataTableColumnWidthTypes;\n textWrap?: boolean;\n cellAlignment?: string;\n emphasis?: string;\n colspan?: number;\n icon?: {\n icon: string;\n onAllCells?: boolean;\n hideOnHeader?: boolean;\n };\n};\n\nexport type IcLoadingOptions = {\n appearance?: IcThemeForegroundNoDefault;\n description?: string;\n label?: string;\n labelDuration?: number;\n max?: number;\n min?: number;\n progress?: number;\n showBackground?: boolean;\n overlay?: boolean;\n};\n\nexport type IcDataTableRowHeights = number | \"auto\";\n\nexport interface IcDensityUpdateEventDetail {\n value: IcDataTableDensityOptions;\n}\nexport type IcDataTableTruncationTypes = \"tooltip\" | \"show-hide\" | undefined;\n\nexport interface IcSortEventDetail {\n columnName: string;\n sorted: IcDataTableSortOrderOptions;\n}\n\nexport type truncWrapperDetailsTypes = {\n scrollHeight: number | null;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type IcDataTableDataType = { [key: string]: any };\n"]}
1
+ {"version":3,"file":"ic-data-table.types.js","sourceRoot":"","sources":["../../../src/components/ic-data-table/ic-data-table.types.tsx"],"names":[],"mappings":"","sourcesContent":["import { IcThemeForegroundNoDefault } from \"@ukic/web-components\";\n\nexport type IcDataTableSortOrderOptions =\n | \"unsorted\"\n | \"ascending\"\n | \"descending\";\n\nexport type IcDataTableDensityOptions = \"default\" | \"dense\" | \"spacious\";\n\nexport type IcDataTableColumnDataTypes =\n | \"string\"\n | \"number\"\n | \"address\"\n | \"element\"\n | \"date\";\n\nexport type IcDataTableColumnWidthTypes = {\n width?: string;\n minWidth?: string;\n maxWidth?: string;\n};\n\nexport type IcDataTableColumnObject = {\n key: string;\n title: string;\n dataType: IcDataTableColumnDataTypes;\n columnAlignment?: {\n horizontal?: string;\n vertical?: string;\n };\n rowOptions?: {\n textWrap: boolean;\n };\n columnWidth?: string | IcDataTableColumnWidthTypes;\n textWrap?: boolean;\n cellAlignment?: string;\n emphasis?: string;\n colspan?: number;\n icon?: {\n icon: string;\n onAllCells?: boolean;\n hideOnHeader?: boolean;\n };\n excludeColumnFromSort?: boolean;\n};\n\nexport type IcLoadingOptions = {\n appearance?: IcThemeForegroundNoDefault;\n description?: string;\n label?: string;\n labelDuration?: number;\n max?: number;\n min?: number;\n progress?: number;\n showBackground?: boolean;\n overlay?: boolean;\n};\n\nexport type IcDataTableRowHeights = number | \"auto\";\n\nexport interface IcDensityUpdateEventDetail {\n value: IcDataTableDensityOptions;\n}\nexport type IcDataTableTruncationTypes = \"tooltip\" | \"show-hide\" | undefined;\n\nexport interface IcSortEventDetail {\n columnName: string;\n sorted: IcDataTableSortOrderOptions;\n}\n\nexport type truncWrapperDetailsTypes = {\n scrollHeight: number | null;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type IcDataTableDataType = { [key: string]: any };\n"]}
@@ -77,6 +77,36 @@ export const COLS_WIDTH = [
77
77
  dataType: "address",
78
78
  },
79
79
  ];
80
+ export const COLS_EXCLUDE_SORT = [
81
+ {
82
+ key: "firstName",
83
+ title: "First name",
84
+ dataType: "string",
85
+ excludeColumnFromSort: true,
86
+ },
87
+ {
88
+ key: "lastName",
89
+ title: "Last name",
90
+ dataType: "string",
91
+ },
92
+ {
93
+ key: "age",
94
+ title: "Age",
95
+ dataType: "number",
96
+ },
97
+ {
98
+ key: "jobTitle",
99
+ title: "Job title",
100
+ dataType: "string",
101
+ excludeColumnFromSort: true,
102
+ },
103
+ {
104
+ key: "address",
105
+ title: "Address",
106
+ dataType: "address",
107
+ excludeColumnFromSort: true,
108
+ },
109
+ ];
80
110
  export const VERY_LONG_DATA = (rows = 100) => {
81
111
  const nextData = [];
82
112
  for (let i = 0; i < rows; i++) {
@@ -799,6 +829,34 @@ export const COLS_ELEMENTS = [
799
829
  dataType: "address",
800
830
  },
801
831
  ];
832
+ export const COLS_ELEMENTS_SINGLE_ACTION = [
833
+ {
834
+ key: "actions",
835
+ title: "Actions",
836
+ dataType: "element",
837
+ columnAlignment: { horizontal: "center" },
838
+ },
839
+ {
840
+ key: "firstName",
841
+ title: "First name",
842
+ dataType: "string",
843
+ },
844
+ {
845
+ key: "age",
846
+ title: "Age",
847
+ dataType: "number",
848
+ },
849
+ {
850
+ key: "jobTitle",
851
+ title: "Job title",
852
+ dataType: "string",
853
+ },
854
+ {
855
+ key: "address",
856
+ title: "Address",
857
+ dataType: "address",
858
+ },
859
+ ];
802
860
  export const DATA_ELEMENTS = [
803
861
  {
804
862
  actions: `<ic-button variant='destructive' onClick='this.closest("tr").remove()'>Delete</ic-button>`,
@@ -849,6 +907,86 @@ export const DATA_ELEMENTS = [
849
907
  address: "5 New Street, Town, Country, Postcode",
850
908
  },
851
909
  ];
910
+ export const DATA_ELEMENTS_PAGINATION = [
911
+ {
912
+ actions: `<ic-button onClick='console.log("1")'>1</ic-button>`,
913
+ firstName: {
914
+ data: "Joe",
915
+ href: "https://www.example.com",
916
+ target: "_blank",
917
+ rel: "noopener noreferrer",
918
+ },
919
+ age: 30,
920
+ jobTitle: "Developer",
921
+ address: "1 Main Street, Town, County, Postcode",
922
+ },
923
+ {
924
+ actions: `<ic-button onClick='console.log("2")'>2</ic-button>`,
925
+ firstName: {
926
+ data: "Sarah",
927
+ href: "https://www.example.org",
928
+ },
929
+ age: 28,
930
+ jobTitle: "Senior Software Developer, Site Reliability Engineering",
931
+ address: "2 Main Street, Town, Country, Postcode",
932
+ },
933
+ {
934
+ actions: `<ic-button onClick='console.log("3")'>3</ic-button>`,
935
+ firstName: "Mark",
936
+ age: 45,
937
+ jobTitle: "Team Lead",
938
+ address: "12 Key Street, Town, Country, Postcode",
939
+ },
940
+ {
941
+ actions: `<ic-button onClick='console.log("4")'>4</ic-button>`,
942
+ firstName: "Naomi",
943
+ age: 32,
944
+ jobTitle: "Analyst",
945
+ address: "8 Side Street, Town, Country, Postcode",
946
+ },
947
+ {
948
+ actions: `<ic-button onClick='console.log("5")'>5</ic-button>`,
949
+ firstName: "Luke",
950
+ age: 18,
951
+ jobTitle: "Junior Developer",
952
+ address: "5 New Street, Town, Country, Postcode",
953
+ },
954
+ {
955
+ actions: `<ic-button onClick='console.log("6")'>6</ic-button>`,
956
+ firstName: "Dave",
957
+ age: 33,
958
+ jobTitle: "Analyst",
959
+ address: "4 Extra Street, Town, County, Postcode",
960
+ },
961
+ {
962
+ actions: `<ic-button onClick='console.log("7")'>7</ic-button>`,
963
+ firstName: "Amy",
964
+ age: 27,
965
+ jobTitle: "Analyst",
966
+ address: "3 Main Street, Town, Country, Postcode",
967
+ },
968
+ {
969
+ actions: `<ic-button onClick='console.log("8")'>8</ic-button>`,
970
+ firstName: "Mary",
971
+ age: 31,
972
+ jobTitle: "Developer",
973
+ address: "8 Main Street, Town, County, Postcode",
974
+ },
975
+ {
976
+ actions: `<ic-button onClick='console.log("9")'>9</ic-button>`,
977
+ firstName: "Alice",
978
+ age: 38,
979
+ jobTitle: "Team Lead",
980
+ address: "10 High Street, Town, Country, Postcode",
981
+ },
982
+ {
983
+ actions: `<ic-button onClick='console.log("10")'>10</ic-button>`,
984
+ firstName: "Ben",
985
+ age: 40,
986
+ jobTitle: "Team Lead",
987
+ address: "14 High Street, Town, Country, Postcode",
988
+ },
989
+ ];
852
990
  export const DATA_REACT_ELEMENTS = [
853
991
  {
854
992
  firstName: {
@@ -889,6 +1027,39 @@ export const DATA_REACT_ELEMENTS = [
889
1027
  address: "5 New Street, Town, Country, Postcode",
890
1028
  },
891
1029
  ];
1030
+ export const DATA_REACT_ELEMENTS_PAGINATION = [
1031
+ ...DATA_REACT_ELEMENTS,
1032
+ {
1033
+ firstName: "Dave",
1034
+ age: 33,
1035
+ jobTitle: "Analyst",
1036
+ address: "4 Extra Street, Town, County, Postcode",
1037
+ },
1038
+ {
1039
+ firstName: "Amy",
1040
+ age: 27,
1041
+ jobTitle: "Analyst",
1042
+ address: "3 Main Street, Town, Country, Postcode",
1043
+ },
1044
+ {
1045
+ firstName: "Mary",
1046
+ age: 31,
1047
+ jobTitle: "Developer",
1048
+ address: "8 Main Street, Town, County, Postcode",
1049
+ },
1050
+ {
1051
+ firstName: "Alice",
1052
+ age: 38,
1053
+ jobTitle: "Team Lead",
1054
+ address: "10 High Street, Town, Country, Postcode",
1055
+ },
1056
+ {
1057
+ firstName: "Ben",
1058
+ age: 40,
1059
+ jobTitle: "Team Lead",
1060
+ address: "14 High Street, Town, Country, Postcode",
1061
+ },
1062
+ ];
892
1063
  export const DATA_REACT_ELEMENTS_WITH_ICONS = [
893
1064
  {
894
1065
  firstName: {
@@ -1275,6 +1446,11 @@ export const DisableSort = () => {
1275
1446
  });
1276
1447
  return dataTable;
1277
1448
  };
1449
+ export const ExcludeColumnsFromSort = () => {
1450
+ const dataTable = createDataTableElement("Sort", COLS_EXCLUDE_SORT, DATA);
1451
+ dataTable.setAttribute("sortable", "true");
1452
+ return dataTable;
1453
+ };
1278
1454
  export const Pagination = () => {
1279
1455
  const dataTable = createDataTableElement("Pagination", LONG_COLS, LONG_DATA);
1280
1456
  dataTable.setAttribute("show-pagination", "true");
@@ -1293,6 +1469,20 @@ export const ColumnOverrides = () => createDataTableElement("Column Overrides",
1293
1469
  export const RowOverrides = () => createDataTableElement("Row Overrides", ROW_HEADER_COLS, ROW_ALIGNMENT);
1294
1470
  export const CellOverrides = () => createDataTableElement("Cell Overrides", COLS, DATA_CELL_ALIGNMENT);
1295
1471
  export const LinksHTMLElements = () => createDataTableElement("Links and HTML Elements Overrides", COLS_ELEMENTS, DATA_ELEMENTS);
1472
+ export const SlottedElementsWithPagination = () => {
1473
+ const dataTable = createDataTableElement("Slotted elements with pagination", COLS_ELEMENTS_SINGLE_ACTION, DATA_ELEMENTS_PAGINATION);
1474
+ dataTable.setAttribute("show-pagination", "true");
1475
+ dataTable.paginationBarOptions = {
1476
+ itemsPerPageOptions: [
1477
+ { label: "5", value: "5" },
1478
+ { label: "10", value: "10" },
1479
+ ],
1480
+ showItemsPerPageControl: true,
1481
+ showGoToPageControl: true,
1482
+ selectedItemsPerPage: 5,
1483
+ };
1484
+ return dataTable;
1485
+ };
1296
1486
  export const Empty = () => createDataTableElement("Empty State", COLS, null);
1297
1487
  export const EmptySlotted = () => {
1298
1488
  const dataTable = createDataTableElement("Empty State", COLS, null);