@bundle-stats/ui 4.4.0-beta.1 → 4.4.0-beta.4

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 (563) hide show
  1. package/globals.d.ts +4 -0
  2. package/lib/app/app.js +21 -9
  3. package/lib/app/app.js.map +1 -1
  4. package/lib/app/app.module.css +8 -5
  5. package/lib/app/header/header.js +9 -12
  6. package/lib/app/header/header.js.map +1 -1
  7. package/lib/app/header/header.module.css +27 -20
  8. package/lib/app/header/index.js.map +1 -1
  9. package/lib/assets/icons.svg +11 -4
  10. package/lib/assets/icons.svg.js +8 -3
  11. package/lib/assets/icons.svg.js.map +1 -1
  12. package/lib/components/asset-info/asset-info.js +48 -44
  13. package/lib/components/asset-info/asset-info.js.map +1 -1
  14. package/lib/components/asset-info/asset-info.module.css +28 -6
  15. package/lib/components/asset-info/index.js.map +1 -1
  16. package/lib/components/asset-not-predictive/asset-not-predictive.js +28 -0
  17. package/lib/components/asset-not-predictive/asset-not-predictive.js.map +1 -0
  18. package/lib/components/asset-not-predictive/asset-not-predictive.module.css +3 -0
  19. package/lib/components/asset-not-predictive/index.js +18 -0
  20. package/lib/components/asset-not-predictive/index.js.map +1 -0
  21. package/lib/components/bundle-assets/bundle-assets.js +31 -44
  22. package/lib/components/bundle-assets/bundle-assets.js.map +1 -1
  23. package/lib/components/bundle-assets/bundle-assets.module.css +20 -19
  24. package/lib/components/bundle-assets/bundle-assets.utils.js +3 -1
  25. package/lib/components/bundle-assets/bundle-assets.utils.js.map +1 -1
  26. package/lib/components/bundle-assets/index.js +4 -1
  27. package/lib/components/bundle-assets/index.js.map +1 -1
  28. package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +11 -7
  29. package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js.map +1 -1
  30. package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +1 -1
  31. package/lib/components/bundle-modules/bundle-modules.js +30 -40
  32. package/lib/components/bundle-modules/bundle-modules.js.map +1 -1
  33. package/lib/components/bundle-modules/bundle-modules.module.css +11 -3
  34. package/lib/components/bundle-modules/bundle-modules.utils.js +5 -5
  35. package/lib/components/bundle-modules/bundle-modules.utils.js.map +1 -1
  36. package/lib/components/bundle-modules/index.js +5 -2
  37. package/lib/components/bundle-modules/index.js.map +1 -1
  38. package/lib/components/bundle-packages/bundle-packages.js +36 -61
  39. package/lib/components/bundle-packages/bundle-packages.js.map +1 -1
  40. package/lib/components/bundle-packages/bundle-packages.module.css +12 -14
  41. package/lib/components/bundle-packages/index.js +4 -1
  42. package/lib/components/bundle-packages/index.js.map +1 -1
  43. package/lib/components/delta/delta.module.css +2 -1
  44. package/lib/components/entry-info/entry-info.js +56 -0
  45. package/lib/components/entry-info/entry-info.js.map +1 -0
  46. package/lib/components/entry-info/entry-info.module.css +93 -0
  47. package/lib/components/{summary-item → entry-info}/index.js +1 -1
  48. package/lib/components/entry-info/index.js.map +1 -0
  49. package/lib/components/index.js +7 -5
  50. package/lib/components/index.js.map +1 -1
  51. package/lib/components/insight-icon/index.js +18 -0
  52. package/lib/components/insight-icon/index.js.map +1 -0
  53. package/lib/components/insight-icon/insight-icon.js +25 -0
  54. package/lib/components/insight-icon/insight-icon.js.map +1 -0
  55. package/lib/components/insight-icon/insight-icon.module.css +24 -0
  56. package/lib/components/insights/insights.js +6 -39
  57. package/lib/components/insights/insights.js.map +1 -1
  58. package/lib/components/insights/insights.module.css +1 -19
  59. package/lib/components/job-header/job-header.js +12 -11
  60. package/lib/components/job-header/job-header.js.map +1 -1
  61. package/lib/components/jobs-header/index.js.map +1 -1
  62. package/lib/components/jobs-header/jobs-header.js +21 -14
  63. package/lib/components/jobs-header/jobs-header.js.map +1 -1
  64. package/lib/components/jobs-header/jobs-header.module.css +51 -4
  65. package/lib/components/metric/index.js.map +1 -1
  66. package/lib/components/metric/metric.js +7 -64
  67. package/lib/components/metric/metric.js.map +1 -1
  68. package/lib/components/metric/metric.module.css +3 -3
  69. package/lib/components/metric-run-info/index.js +18 -0
  70. package/lib/components/metric-run-info/index.js.map +1 -0
  71. package/lib/components/metric-run-info/metric-run-info.js +64 -0
  72. package/lib/components/metric-run-info/metric-run-info.js.map +1 -0
  73. package/lib/components/metric-run-info/metric-run-info.module.css +18 -0
  74. package/lib/components/metrics-table-options/metrics-table-options.js +1 -1
  75. package/lib/components/metrics-table-options/metrics-table-options.js.map +1 -1
  76. package/lib/components/metrics-table-search/metrics-table-search.module.css +0 -6
  77. package/lib/components/metrics-table-title/metrics-table-title.module.css +1 -0
  78. package/lib/components/module-info/index.js.map +1 -1
  79. package/lib/components/module-info/module-info.js +47 -47
  80. package/lib/components/module-info/module-info.js.map +1 -1
  81. package/lib/components/module-info/module-info.module.css +8 -33
  82. package/lib/components/package-info/index.js +18 -0
  83. package/lib/components/package-info/index.js.map +1 -0
  84. package/lib/components/package-info/package-info.js +77 -0
  85. package/lib/components/package-info/package-info.js.map +1 -0
  86. package/lib/components/package-info/package-info.module.css +13 -0
  87. package/lib/components/{job-meta → run-info}/index.js +1 -1
  88. package/lib/components/run-info/index.js.map +1 -0
  89. package/lib/components/run-info/run-info.js +70 -0
  90. package/lib/components/run-info/run-info.js.map +1 -0
  91. package/lib/components/run-info/run-info.module.css +76 -0
  92. package/lib/components/summary/index.js.map +1 -1
  93. package/lib/components/summary/summary.js +10 -31
  94. package/lib/components/summary/summary.js.map +1 -1
  95. package/lib/components/summary/summary.module.css +27 -7
  96. package/lib/config.json +1 -1
  97. package/lib/constants.js +1 -23
  98. package/lib/constants.js.map +1 -1
  99. package/lib/css/variables.css +22 -15
  100. package/lib/layout/box/box.js +3 -23
  101. package/lib/layout/box/box.js.map +1 -1
  102. package/lib/layout/box/box.module.css +11 -0
  103. package/lib/layout/box/index.js +15 -3
  104. package/lib/layout/box/index.js.map +1 -1
  105. package/lib/layout/flex-stack/flex-stack.js +3 -19
  106. package/lib/layout/flex-stack/flex-stack.js.map +1 -1
  107. package/lib/layout/flex-stack/index.js.map +1 -1
  108. package/lib/layout/footer/footer.js +2 -4
  109. package/lib/layout/footer/footer.js.map +1 -1
  110. package/lib/layout/stack/index.js.map +1 -1
  111. package/lib/layout/stack/stack.js +3 -16
  112. package/lib/layout/stack/stack.js.map +1 -1
  113. package/lib/tokens.js +38 -0
  114. package/lib/tokens.js.map +1 -0
  115. package/lib/ui/alert/alert.js +2 -12
  116. package/lib/ui/alert/alert.js.map +1 -1
  117. package/lib/ui/alert/index.js.map +1 -1
  118. package/lib/ui/container/container.js +1 -10
  119. package/lib/ui/container/container.js.map +1 -1
  120. package/lib/ui/container/index.js +15 -3
  121. package/lib/ui/container/index.js.map +1 -1
  122. package/lib/ui/dropdown/dropdown.module.css +1 -2
  123. package/lib/ui/file-name/file-name.js +1 -1
  124. package/lib/ui/file-name/file-name.js.map +1 -1
  125. package/lib/ui/filters/filters.module.css +1 -5
  126. package/lib/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +2 -0
  127. package/lib/ui/hover-card/hover-card.js +3 -21
  128. package/lib/ui/hover-card/hover-card.js.map +1 -1
  129. package/lib/ui/hover-card/index.js.map +1 -1
  130. package/lib/ui/icon/icon.js +14 -18
  131. package/lib/ui/icon/icon.js.map +1 -1
  132. package/lib/ui/icon/index.js.map +1 -1
  133. package/lib/ui/index.js +1 -3
  134. package/lib/ui/index.js.map +1 -1
  135. package/lib/ui/input/input.module.css +3 -4
  136. package/lib/ui/table/index.js.map +1 -1
  137. package/lib/ui/table/table.js +3 -17
  138. package/lib/ui/table/table.js.map +1 -1
  139. package/lib/ui/tag/index.js.map +1 -1
  140. package/lib/ui/tag/tag.js +5 -29
  141. package/lib/ui/tag/tag.js.map +1 -1
  142. package/lib/ui/tag/tag.module.css +15 -1
  143. package/lib/ui/tooltip/index.js.map +1 -1
  144. package/lib/ui/tooltip/tooltip.js +3 -23
  145. package/lib/ui/tooltip/tooltip.js.map +1 -1
  146. package/lib/ui/tooltip/tooltip.module.css +3 -4
  147. package/lib-esm/app/app.js +22 -10
  148. package/lib-esm/app/app.js.map +1 -1
  149. package/lib-esm/app/app.module.css +8 -5
  150. package/lib-esm/app/header/header.js +9 -12
  151. package/lib-esm/app/header/header.js.map +1 -1
  152. package/lib-esm/app/header/header.module.css +27 -20
  153. package/lib-esm/app/header/index.js.map +1 -1
  154. package/lib-esm/assets/icons.svg +11 -4
  155. package/lib-esm/assets/icons.svg.js +8 -3
  156. package/lib-esm/assets/icons.svg.js.map +1 -1
  157. package/lib-esm/components/asset-info/asset-info.js +27 -45
  158. package/lib-esm/components/asset-info/asset-info.js.map +1 -1
  159. package/lib-esm/components/asset-info/asset-info.module.css +28 -6
  160. package/lib-esm/components/asset-info/index.js.map +1 -1
  161. package/lib-esm/components/asset-not-predictive/asset-not-predictive.js +21 -0
  162. package/lib-esm/components/asset-not-predictive/asset-not-predictive.js.map +1 -0
  163. package/lib-esm/components/asset-not-predictive/asset-not-predictive.module.css +3 -0
  164. package/lib-esm/components/asset-not-predictive/index.js +2 -0
  165. package/lib-esm/components/asset-not-predictive/index.js.map +1 -0
  166. package/lib-esm/components/bundle-assets/bundle-assets.js +34 -49
  167. package/lib-esm/components/bundle-assets/bundle-assets.js.map +1 -1
  168. package/lib-esm/components/bundle-assets/bundle-assets.module.css +20 -19
  169. package/lib-esm/components/bundle-assets/bundle-assets.utils.js +3 -1
  170. package/lib-esm/components/bundle-assets/bundle-assets.utils.js.map +1 -1
  171. package/lib-esm/components/bundle-assets/index.js +5 -2
  172. package/lib-esm/components/bundle-assets/index.js.map +1 -1
  173. package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +10 -8
  174. package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js.map +1 -1
  175. package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +1 -1
  176. package/lib-esm/components/bundle-modules/bundle-modules.js +32 -42
  177. package/lib-esm/components/bundle-modules/bundle-modules.js.map +1 -1
  178. package/lib-esm/components/bundle-modules/bundle-modules.module.css +11 -3
  179. package/lib-esm/components/bundle-modules/bundle-modules.utils.js +3 -3
  180. package/lib-esm/components/bundle-modules/bundle-modules.utils.js.map +1 -1
  181. package/lib-esm/components/bundle-modules/index.js +7 -4
  182. package/lib-esm/components/bundle-modules/index.js.map +1 -1
  183. package/lib-esm/components/bundle-packages/bundle-packages.js +37 -62
  184. package/lib-esm/components/bundle-packages/bundle-packages.js.map +1 -1
  185. package/lib-esm/components/bundle-packages/bundle-packages.module.css +12 -14
  186. package/lib-esm/components/bundle-packages/index.js +5 -2
  187. package/lib-esm/components/bundle-packages/index.js.map +1 -1
  188. package/lib-esm/components/delta/delta.module.css +2 -1
  189. package/lib-esm/components/entry-info/entry-info.js +50 -0
  190. package/lib-esm/components/entry-info/entry-info.js.map +1 -0
  191. package/lib-esm/components/entry-info/entry-info.module.css +93 -0
  192. package/lib-esm/components/entry-info/index.js +2 -0
  193. package/lib-esm/components/entry-info/index.js.map +1 -0
  194. package/lib-esm/components/index.js +3 -2
  195. package/lib-esm/components/index.js.map +1 -1
  196. package/lib-esm/components/insight-icon/index.js +2 -0
  197. package/lib-esm/components/insight-icon/index.js.map +1 -0
  198. package/lib-esm/components/insight-icon/insight-icon.js +18 -0
  199. package/lib-esm/components/insight-icon/insight-icon.js.map +1 -0
  200. package/lib-esm/components/insight-icon/insight-icon.module.css +24 -0
  201. package/lib-esm/components/insights/insights.js +7 -40
  202. package/lib-esm/components/insights/insights.js.map +1 -1
  203. package/lib-esm/components/insights/insights.module.css +1 -19
  204. package/lib-esm/components/job-header/job-header.js +12 -11
  205. package/lib-esm/components/job-header/job-header.js.map +1 -1
  206. package/lib-esm/components/jobs-header/index.js.map +1 -1
  207. package/lib-esm/components/jobs-header/jobs-header.js +20 -13
  208. package/lib-esm/components/jobs-header/jobs-header.js.map +1 -1
  209. package/lib-esm/components/jobs-header/jobs-header.module.css +51 -4
  210. package/lib-esm/components/metric/index.js.map +1 -1
  211. package/lib-esm/components/metric/metric.js +7 -41
  212. package/lib-esm/components/metric/metric.js.map +1 -1
  213. package/lib-esm/components/metric/metric.module.css +3 -3
  214. package/lib-esm/components/metric-run-info/index.js +2 -0
  215. package/lib-esm/components/metric-run-info/index.js.map +1 -0
  216. package/lib-esm/components/metric-run-info/metric-run-info.js +34 -0
  217. package/lib-esm/components/metric-run-info/metric-run-info.js.map +1 -0
  218. package/lib-esm/components/metric-run-info/metric-run-info.module.css +18 -0
  219. package/lib-esm/components/metrics-table-options/metrics-table-options.js +1 -1
  220. package/lib-esm/components/metrics-table-options/metrics-table-options.js.map +1 -1
  221. package/lib-esm/components/metrics-table-search/metrics-table-search.module.css +0 -6
  222. package/lib-esm/components/metrics-table-title/metrics-table-title.module.css +1 -0
  223. package/lib-esm/components/module-info/index.js.map +1 -1
  224. package/lib-esm/components/module-info/module-info.js +26 -48
  225. package/lib-esm/components/module-info/module-info.js.map +1 -1
  226. package/lib-esm/components/module-info/module-info.module.css +8 -33
  227. package/lib-esm/components/package-info/index.js +2 -0
  228. package/lib-esm/components/package-info/index.js.map +1 -0
  229. package/lib-esm/components/package-info/package-info.js +48 -0
  230. package/lib-esm/components/package-info/package-info.js.map +1 -0
  231. package/lib-esm/components/package-info/package-info.module.css +13 -0
  232. package/lib-esm/components/run-info/index.js +2 -0
  233. package/lib-esm/components/run-info/index.js.map +1 -0
  234. package/lib-esm/components/run-info/run-info.js +40 -0
  235. package/lib-esm/components/run-info/run-info.js.map +1 -0
  236. package/lib-esm/components/run-info/run-info.module.css +76 -0
  237. package/lib-esm/components/summary/index.js.map +1 -1
  238. package/lib-esm/components/summary/summary.js +9 -30
  239. package/lib-esm/components/summary/summary.js.map +1 -1
  240. package/lib-esm/components/summary/summary.module.css +27 -7
  241. package/lib-esm/config.json +1 -1
  242. package/lib-esm/constants.js +0 -22
  243. package/lib-esm/constants.js.map +1 -1
  244. package/lib-esm/css/variables.css +22 -15
  245. package/lib-esm/layout/box/box.js +3 -23
  246. package/lib-esm/layout/box/box.js.map +1 -1
  247. package/lib-esm/layout/box/box.module.css +11 -0
  248. package/lib-esm/layout/box/index.js +1 -1
  249. package/lib-esm/layout/box/index.js.map +1 -1
  250. package/lib-esm/layout/flex-stack/flex-stack.js +3 -19
  251. package/lib-esm/layout/flex-stack/flex-stack.js.map +1 -1
  252. package/lib-esm/layout/flex-stack/index.js.map +1 -1
  253. package/lib-esm/layout/footer/footer.js +2 -4
  254. package/lib-esm/layout/footer/footer.js.map +1 -1
  255. package/lib-esm/layout/stack/index.js.map +1 -1
  256. package/lib-esm/layout/stack/stack.js +3 -16
  257. package/lib-esm/layout/stack/stack.js.map +1 -1
  258. package/lib-esm/tokens.js +35 -0
  259. package/lib-esm/tokens.js.map +1 -0
  260. package/lib-esm/ui/alert/alert.js +2 -12
  261. package/lib-esm/ui/alert/alert.js.map +1 -1
  262. package/lib-esm/ui/alert/index.js.map +1 -1
  263. package/lib-esm/ui/container/container.js +1 -10
  264. package/lib-esm/ui/container/container.js.map +1 -1
  265. package/lib-esm/ui/container/index.js +1 -1
  266. package/lib-esm/ui/container/index.js.map +1 -1
  267. package/lib-esm/ui/dropdown/dropdown.module.css +1 -2
  268. package/lib-esm/ui/file-name/file-name.js +1 -1
  269. package/lib-esm/ui/file-name/file-name.js.map +1 -1
  270. package/lib-esm/ui/filters/filters.module.css +1 -5
  271. package/lib-esm/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +2 -0
  272. package/lib-esm/ui/hover-card/hover-card.js +3 -21
  273. package/lib-esm/ui/hover-card/hover-card.js.map +1 -1
  274. package/lib-esm/ui/hover-card/index.js.map +1 -1
  275. package/lib-esm/ui/icon/icon.js +14 -18
  276. package/lib-esm/ui/icon/icon.js.map +1 -1
  277. package/lib-esm/ui/icon/index.js.map +1 -1
  278. package/lib-esm/ui/index.js +0 -1
  279. package/lib-esm/ui/index.js.map +1 -1
  280. package/lib-esm/ui/input/input.module.css +3 -4
  281. package/lib-esm/ui/table/index.js.map +1 -1
  282. package/lib-esm/ui/table/table.js +3 -17
  283. package/lib-esm/ui/table/table.js.map +1 -1
  284. package/lib-esm/ui/tag/index.js.map +1 -1
  285. package/lib-esm/ui/tag/tag.js +4 -28
  286. package/lib-esm/ui/tag/tag.js.map +1 -1
  287. package/lib-esm/ui/tag/tag.module.css +15 -1
  288. package/lib-esm/ui/tooltip/index.js.map +1 -1
  289. package/lib-esm/ui/tooltip/tooltip.js +4 -23
  290. package/lib-esm/ui/tooltip/tooltip.js.map +1 -1
  291. package/lib-esm/ui/tooltip/tooltip.module.css +3 -4
  292. package/package.json +18 -22
  293. package/src/app/app.jsx +25 -10
  294. package/src/app/app.module.css +8 -5
  295. package/src/app/header/header.module.css +27 -20
  296. package/src/app/header/header.tsx +26 -0
  297. package/src/assets/icons/external-link.svg +1 -0
  298. package/src/assets/icons/github.svg +1 -0
  299. package/src/assets/icons/more-vertical.svg +5 -0
  300. package/src/assets/icons.svg +11 -4
  301. package/src/assets/icons.svg.jsx +35 -14
  302. package/src/components/asset-info/asset-info.module.css +28 -6
  303. package/src/components/asset-info/asset-info.stories.tsx +74 -0
  304. package/src/components/asset-info/asset-info.tsx +159 -0
  305. package/src/components/asset-not-predictive/asset-not-predictive.module.css +3 -0
  306. package/src/components/asset-not-predictive/asset-not-predictive.stories.tsx +23 -0
  307. package/src/components/asset-not-predictive/asset-not-predictive.tsx +44 -0
  308. package/src/components/asset-not-predictive/index.ts +1 -0
  309. package/src/components/bundle-assets/bundle-assets.jsx +94 -107
  310. package/src/components/bundle-assets/bundle-assets.module.css +20 -19
  311. package/src/components/bundle-assets/bundle-assets.utils.js +3 -2
  312. package/src/components/bundle-assets/index.jsx +7 -1
  313. package/src/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.jsx +21 -17
  314. package/src/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +1 -1
  315. package/src/components/bundle-modules/bundle-modules.jsx +91 -101
  316. package/src/components/bundle-modules/bundle-modules.module.css +11 -3
  317. package/src/components/bundle-modules/bundle-modules.utils.js +5 -3
  318. package/src/components/bundle-modules/index.jsx +9 -3
  319. package/src/components/bundle-packages/bundle-packages.jsx +116 -179
  320. package/src/components/bundle-packages/bundle-packages.module.css +12 -14
  321. package/src/components/bundle-packages/index.jsx +7 -1
  322. package/src/components/delta/delta.module.css +2 -1
  323. package/src/components/entry-info/entry-info.module.css +93 -0
  324. package/src/components/entry-info/entry-info.stories.tsx +75 -0
  325. package/src/components/entry-info/entry-info.tsx +134 -0
  326. package/src/components/entry-info/index.ts +1 -0
  327. package/src/components/index.js +3 -2
  328. package/src/components/insight-icon/index.ts +1 -0
  329. package/src/components/insight-icon/insight-icon.module.css +24 -0
  330. package/src/components/insight-icon/insight-icon.tsx +25 -0
  331. package/src/components/insights/insights.module.css +1 -19
  332. package/src/components/insights/insights.stories.tsx +26 -22
  333. package/src/components/insights/insights.tsx +8 -65
  334. package/src/components/job-header/job-header.jsx +16 -13
  335. package/src/components/jobs-header/jobs-header.module.css +51 -4
  336. package/src/components/jobs-header/jobs-header.stories.tsx +51 -0
  337. package/src/components/jobs-header/jobs-header.tsx +89 -0
  338. package/src/components/metric/metric.module.css +3 -3
  339. package/src/components/metric/metric.stories.tsx +41 -0
  340. package/src/components/metric/metric.tsx +42 -0
  341. package/src/components/metric-run-info/index.ts +1 -0
  342. package/src/components/metric-run-info/metric-run-info.module.css +18 -0
  343. package/src/components/metric-run-info/metric-run-info.stories.tsx +34 -0
  344. package/src/components/metric-run-info/metric-run-info.tsx +85 -0
  345. package/src/components/metrics-table-options/metrics-table-options.jsx +1 -1
  346. package/src/components/metrics-table-search/metrics-table-search.module.css +0 -6
  347. package/src/components/metrics-table-title/metrics-table-title.module.css +1 -0
  348. package/src/components/module-info/module-info.module.css +8 -33
  349. package/src/components/module-info/module-info.stories.tsx +44 -0
  350. package/src/components/module-info/module-info.tsx +116 -0
  351. package/src/components/package-info/index.ts +1 -0
  352. package/src/components/package-info/package-info.module.css +13 -0
  353. package/src/components/package-info/package-info.stories.tsx +36 -0
  354. package/src/components/package-info/package-info.tsx +135 -0
  355. package/src/components/run-info/index.ts +1 -0
  356. package/src/components/run-info/run-info.module.css +76 -0
  357. package/src/components/run-info/run-info.stories.tsx +58 -0
  358. package/src/components/run-info/run-info.tsx +111 -0
  359. package/src/components/summary/summary.module.css +27 -7
  360. package/src/components/summary/summary.stories.tsx +57 -0
  361. package/src/components/summary/summary.tsx +102 -0
  362. package/src/config.json +1 -1
  363. package/src/constants.js +0 -24
  364. package/src/css/variables.css +22 -15
  365. package/src/layout/box/box.module.css +11 -0
  366. package/src/layout/box/box.stories.tsx +49 -0
  367. package/src/layout/box/box.tsx +49 -0
  368. package/src/layout/box/index.ts +1 -0
  369. package/src/layout/flex-stack/flex-stack.stories.tsx +59 -0
  370. package/src/layout/flex-stack/flex-stack.tsx +43 -0
  371. package/src/layout/footer/footer.jsx +3 -4
  372. package/src/layout/stack/stack.stories.tsx +53 -0
  373. package/src/layout/stack/stack.tsx +22 -0
  374. package/src/tokens.ts +37 -0
  375. package/src/ui/alert/alert.stories.tsx +39 -0
  376. package/src/ui/alert/alert.tsx +23 -0
  377. package/src/ui/container/container.stories.tsx +29 -0
  378. package/src/ui/container/container.tsx +18 -0
  379. package/src/ui/container/index.ts +1 -0
  380. package/src/ui/dropdown/dropdown.module.css +1 -2
  381. package/src/ui/file-name/file-name.jsx +1 -1
  382. package/src/ui/filters/filters.module.css +1 -5
  383. package/src/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +2 -0
  384. package/src/ui/hover-card/hover-card.stories.tsx +41 -0
  385. package/src/ui/hover-card/{hover-card.jsx → hover-card.tsx} +22 -30
  386. package/src/ui/icon/icon.stories.tsx +54 -0
  387. package/src/ui/icon/icon.tsx +56 -0
  388. package/src/ui/index.js +0 -1
  389. package/src/ui/input/input.module.css +3 -4
  390. package/src/ui/table/table.stories.tsx +238 -0
  391. package/src/ui/table/table.tsx +38 -0
  392. package/src/ui/tag/tag.module.css +15 -1
  393. package/src/ui/tag/tag.stories.tsx +32 -0
  394. package/src/ui/tag/tag.tsx +28 -0
  395. package/src/ui/tooltip/tooltip.module.css +3 -4
  396. package/src/ui/tooltip/tooltip.stories.tsx +30 -0
  397. package/src/ui/tooltip/tooltip.tsx +57 -0
  398. package/types/app/header/header.d.ts +6 -16
  399. package/types/app/header/index.d.ts +1 -1
  400. package/types/components/asset-info/asset-info.d.ts +20 -23
  401. package/types/components/asset-info/index.d.ts +1 -1
  402. package/types/components/asset-not-predictive/asset-not-predictive.d.ts +8 -0
  403. package/types/components/asset-not-predictive/index.d.ts +1 -0
  404. package/types/components/browsertime-table/browsertime-table.d.ts +5 -5
  405. package/types/components/bundle-assets/bundle-assets.constants.d.ts +6 -6
  406. package/types/components/bundle-assets/bundle-assets.d.ts +28 -20
  407. package/types/components/bundle-assets/index.d.ts +11 -11
  408. package/types/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.d.ts +6 -6
  409. package/types/components/bundle-assets-totals-table/bundle-assets-totals-table.d.ts +7 -7
  410. package/types/components/bundle-modules/bundle-modules.constants.d.ts +6 -6
  411. package/types/components/bundle-modules/bundle-modules.d.ts +28 -24
  412. package/types/components/bundle-modules/bundle-modules.utils.d.ts +1 -1
  413. package/types/components/bundle-modules/index.d.ts +11 -11
  414. package/types/components/bundle-packages/bundle-packages.constants.d.ts +6 -6
  415. package/types/components/bundle-packages/bundle-packages.d.ts +24 -20
  416. package/types/components/bundle-packages/index.d.ts +11 -11
  417. package/types/components/component-link.d.ts +6 -6
  418. package/types/components/delta/delta.d.ts +7 -7
  419. package/types/components/entry-info/entry-info.d.ts +25 -0
  420. package/types/components/entry-info/index.d.ts +1 -0
  421. package/types/components/index.d.ts +3 -2
  422. package/types/components/insight-icon/index.d.ts +1 -0
  423. package/types/components/insight-icon/insight-icon.d.ts +7 -0
  424. package/types/components/insights/insights.d.ts +2 -2
  425. package/types/components/job-header/job-header.d.ts +9 -9
  426. package/types/components/job-name/job-name.d.ts +9 -9
  427. package/types/components/jobs-header/index.d.ts +1 -1
  428. package/types/components/jobs-header/jobs-header.d.ts +18 -15
  429. package/types/components/lighthouse-table/lighthouse-table.d.ts +5 -5
  430. package/types/components/metric/index.d.ts +1 -1
  431. package/types/components/metric/metric.d.ts +6 -32
  432. package/types/components/metric-run-info/index.d.ts +1 -0
  433. package/types/components/metric-run-info/metric-run-info.d.ts +13 -0
  434. package/types/components/metrics-table/metrics-table.d.ts +14 -14
  435. package/types/components/metrics-table-options/metrics-table-options.d.ts +7 -7
  436. package/types/components/metrics-table-search/metrics-table-search.d.ts +7 -7
  437. package/types/components/metrics-table-title/metrics-table-title.d.ts +10 -10
  438. package/types/components/module-info/index.d.ts +1 -1
  439. package/types/components/module-info/module-info.d.ts +19 -34
  440. package/types/components/package-info/index.d.ts +1 -0
  441. package/types/components/package-info/package-info.d.ts +15 -0
  442. package/types/components/run-info/index.d.ts +1 -0
  443. package/types/components/run-info/run-info.d.ts +16 -0
  444. package/types/components/summary/index.d.ts +1 -1
  445. package/types/components/summary/summary.d.ts +25 -36
  446. package/types/components/total-size-type-title/total-size-type-title.d.ts +3 -3
  447. package/types/constants.d.ts +4 -15
  448. package/types/i18n.d.ts +15 -15
  449. package/types/layout/box/box.d.ts +12 -25
  450. package/types/layout/box/index.d.ts +1 -1
  451. package/types/layout/flex-stack/flex-stack.d.ts +10 -33
  452. package/types/layout/flex-stack/index.d.ts +1 -1
  453. package/types/layout/footer/footer.d.ts +5 -5
  454. package/types/layout/separator.d.ts +4 -4
  455. package/types/layout/stack/index.d.ts +1 -1
  456. package/types/layout/stack/stack.d.ts +7 -20
  457. package/types/tokens.d.ts +23 -0
  458. package/types/ui/alert/alert.d.ts +7 -14
  459. package/types/ui/alert/index.d.ts +1 -1
  460. package/types/ui/container/container.d.ts +5 -17
  461. package/types/ui/container/index.d.ts +1 -1
  462. package/types/ui/dropdown/dropdown.d.ts +16 -16
  463. package/types/ui/empty-set/empty-set.d.ts +7 -7
  464. package/types/ui/file-name/file-name.d.ts +7 -7
  465. package/types/ui/filters/filters.d.ts +6 -6
  466. package/types/ui/filters/filters.utils.d.ts +2 -2
  467. package/types/ui/filters/index.d.ts +4 -4
  468. package/types/ui/horizontal-bar-chart/horizontal-bar-chart.d.ts +6 -6
  469. package/types/ui/hover-card/hover-card.d.ts +12 -26
  470. package/types/ui/hover-card/index.d.ts +1 -1
  471. package/types/ui/icon/icon.d.ts +54 -38
  472. package/types/ui/icon/index.d.ts +1 -1
  473. package/types/ui/index.d.ts +0 -1
  474. package/types/ui/input/input.d.ts +5 -5
  475. package/types/ui/loader/loader.d.ts +8 -8
  476. package/types/ui/skeleton/skeleton.d.ts +7 -7
  477. package/types/ui/sort-dropdown/sort-dropdown.d.ts +11 -11
  478. package/types/ui/table/index.d.ts +1 -1
  479. package/types/ui/table/table.d.ts +14 -33
  480. package/types/ui/tabs/tabs.d.ts +10 -10
  481. package/types/ui/tag/index.d.ts +1 -1
  482. package/types/ui/tag/tag.d.ts +22 -33
  483. package/types/ui/toolbar/toolbar.d.ts +6 -6
  484. package/types/ui/tooltip/index.d.ts +1 -1
  485. package/types/ui/tooltip/tooltip.d.ts +10 -28
  486. package/lib/components/job-meta/index.js.map +0 -1
  487. package/lib/components/job-meta/job-meta.js +0 -34
  488. package/lib/components/job-meta/job-meta.js.map +0 -1
  489. package/lib/components/job-meta/job-meta.module.css +0 -19
  490. package/lib/components/summary-item/index.js.map +0 -1
  491. package/lib/components/summary-item/summary-item.js +0 -97
  492. package/lib/components/summary-item/summary-item.js.map +0 -1
  493. package/lib/components/summary-item/summary-item.module.css +0 -58
  494. package/lib/ui/panels/index.js +0 -6
  495. package/lib/ui/panels/index.js.map +0 -1
  496. package/lib/ui/panels/panels.js +0 -28
  497. package/lib/ui/panels/panels.js.map +0 -1
  498. package/lib/ui/panels/panels.module.css +0 -23
  499. package/lib-esm/components/job-meta/index.js +0 -2
  500. package/lib-esm/components/job-meta/index.js.map +0 -1
  501. package/lib-esm/components/job-meta/job-meta.js +0 -27
  502. package/lib-esm/components/job-meta/job-meta.js.map +0 -1
  503. package/lib-esm/components/job-meta/job-meta.module.css +0 -19
  504. package/lib-esm/components/summary-item/index.js +0 -2
  505. package/lib-esm/components/summary-item/index.js.map +0 -1
  506. package/lib-esm/components/summary-item/summary-item.js +0 -67
  507. package/lib-esm/components/summary-item/summary-item.js.map +0 -1
  508. package/lib-esm/components/summary-item/summary-item.module.css +0 -58
  509. package/lib-esm/ui/panels/index.js +0 -2
  510. package/lib-esm/ui/panels/index.js.map +0 -1
  511. package/lib-esm/ui/panels/panels.js +0 -21
  512. package/lib-esm/ui/panels/panels.js.map +0 -1
  513. package/lib-esm/ui/panels/panels.module.css +0 -23
  514. package/src/app/header/header.jsx +0 -25
  515. package/src/assets/icons/cancel.svg +0 -1
  516. package/src/components/asset-info/asset-info.jsx +0 -96
  517. package/src/components/job-meta/index.js +0 -1
  518. package/src/components/job-meta/job-meta.jsx +0 -47
  519. package/src/components/job-meta/job-meta.module.css +0 -19
  520. package/src/components/jobs-header/jobs-header.jsx +0 -43
  521. package/src/components/metric/metric.jsx +0 -63
  522. package/src/components/module-info/module-info.jsx +0 -123
  523. package/src/components/summary/summary.jsx +0 -73
  524. package/src/components/summary-item/index.js +0 -1
  525. package/src/components/summary-item/summary-item.jsx +0 -142
  526. package/src/components/summary-item/summary-item.module.css +0 -58
  527. package/src/layout/box/box.jsx +0 -67
  528. package/src/layout/box/index.js +0 -1
  529. package/src/layout/flex-stack/flex-stack.jsx +0 -49
  530. package/src/layout/stack/stack.jsx +0 -32
  531. package/src/ui/alert/alert.jsx +0 -27
  532. package/src/ui/container/container.jsx +0 -24
  533. package/src/ui/container/index.js +0 -1
  534. package/src/ui/icon/icon.jsx +0 -53
  535. package/src/ui/panels/index.js +0 -1
  536. package/src/ui/panels/panels.jsx +0 -39
  537. package/src/ui/panels/panels.module.css +0 -23
  538. package/src/ui/table/table.jsx +0 -37
  539. package/src/ui/tag/tag.jsx +0 -49
  540. package/src/ui/tooltip/tooltip.jsx +0 -67
  541. package/tsconfig.esm.json +0 -13
  542. package/tsconfig.json +0 -7
  543. package/tsconfig.lib.json +0 -9
  544. package/types/components/job-meta/index.d.ts +0 -1
  545. package/types/components/job-meta/job-meta.d.ts +0 -18
  546. package/types/components/summary-item/index.d.ts +0 -1
  547. package/types/components/summary-item/summary-item.d.ts +0 -40
  548. package/types/ui/panels/index.d.ts +0 -1
  549. package/types/ui/panels/panels.d.ts +0 -18
  550. /package/src/app/header/{index.js → index.ts} +0 -0
  551. /package/src/components/asset-info/{index.js → index.ts} +0 -0
  552. /package/src/components/jobs-header/{index.js → index.ts} +0 -0
  553. /package/src/components/metric/{index.js → index.ts} +0 -0
  554. /package/src/components/module-info/{index.js → index.ts} +0 -0
  555. /package/src/components/summary/{index.js → index.ts} +0 -0
  556. /package/src/layout/flex-stack/{index.js → index.ts} +0 -0
  557. /package/src/layout/stack/{index.js → index.ts} +0 -0
  558. /package/src/ui/alert/{index.js → index.ts} +0 -0
  559. /package/src/ui/hover-card/{index.js → index.ts} +0 -0
  560. /package/src/ui/icon/{index.js → index.ts} +0 -0
  561. /package/src/ui/table/{index.js → index.ts} +0 -0
  562. /package/src/ui/tag/{index.js → index.ts} +0 -0
  563. /package/src/ui/tooltip/{index.js → index.ts} +0 -0
@@ -4,14 +4,14 @@ export function Footer({ className, version }: {
4
4
  }): JSX.Element;
5
5
  export namespace Footer {
6
6
  namespace defaultProps {
7
- const className: string;
8
- const version: null;
7
+ let className: string;
8
+ let version: null;
9
9
  }
10
10
  namespace propTypes {
11
- const className_1: PropTypes.Requireable<string>;
11
+ let className_1: PropTypes.Requireable<string>;
12
12
  export { className_1 as className };
13
- const version_1: PropTypes.Requireable<string>;
13
+ let version_1: PropTypes.Requireable<string>;
14
14
  export { version_1 as version };
15
15
  }
16
16
  }
17
- import PropTypes from "prop-types";
17
+ import PropTypes from 'prop-types';
@@ -3,13 +3,13 @@ export namespace Separator {
3
3
  export { propTypes };
4
4
  export { defaultProps };
5
5
  }
6
- import PropTypes from "prop-types";
6
+ import PropTypes from 'prop-types';
7
7
  declare namespace propTypes {
8
- const className: PropTypes.Requireable<string>;
8
+ let className: PropTypes.Requireable<string>;
9
9
  }
10
- import React from "react";
10
+ import React from 'react';
11
11
  declare namespace defaultProps {
12
- const className_1: string;
12
+ let className_1: string;
13
13
  export { className_1 as className };
14
14
  }
15
15
  export {};
@@ -1 +1 @@
1
- export * from "./stack";
1
+ export * from './stack';
@@ -1,20 +1,7 @@
1
- export function Stack(props: any): JSX.Element;
2
- export namespace Stack {
3
- namespace defaultProps {
4
- export const as: string;
5
- export const className: string;
6
- export const children: null;
7
- export { NO_SPACE as space };
8
- }
9
- namespace propTypes {
10
- const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
11
- export { as_1 as as };
12
- const className_1: PropTypes.Requireable<string>;
13
- export { className_1 as className };
14
- const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
15
- export { children_1 as children };
16
- export const space: PropTypes.Requireable<string>;
17
- }
18
- }
19
- import { NO_SPACE } from "../../constants";
20
- import PropTypes from "prop-types";
1
+ import React from 'react';
2
+ import { SPACES } from '../../tokens';
3
+ export type StackProps = {
4
+ as?: React.ElementType;
5
+ space?: (typeof SPACES)[number];
6
+ };
7
+ export declare const Stack: (props: StackProps & React.ComponentProps<'div'>) => JSX.Element;
@@ -0,0 +1,23 @@
1
+ export declare const NO_SPACE = "no-space";
2
+ export declare const SPACE_XXXSMALL = "xxxsmall";
3
+ export declare const SPACE_XXSMALL = "xxsmall";
4
+ export declare const SPACE_XSMALL = "xsmall";
5
+ export declare const SPACE_SMALL = "small";
6
+ export declare const SPACE_MEDIUM = "medium";
7
+ export declare const SPACE_LARGE = "large";
8
+ export declare const SPACE_XLARGE = "xlarge";
9
+ export declare const SPACE_XXLARGE = "xxlarge";
10
+ export declare const SPACE_XXXLARGE = "xxxlarge";
11
+ export declare const SPACES: readonly ["no-space", "xxxsmall", "xxsmall", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge"];
12
+ export declare const KIND: {
13
+ readonly DEFAULT: "default";
14
+ readonly SUCCESS: "success";
15
+ readonly INFO: "info";
16
+ readonly WARNING: "warning";
17
+ readonly DANGER: "danger";
18
+ };
19
+ export declare const SIZE: {
20
+ readonly SMALL: "small";
21
+ readonly MEDIUM: "medium";
22
+ readonly LARGE: "large";
23
+ };
@@ -1,15 +1,8 @@
1
- export function Alert(props: any): JSX.Element;
2
- export namespace Alert {
3
- namespace propTypes {
4
- const className: PropTypes.Requireable<string>;
5
- const kind: PropTypes.Requireable<string>;
6
- const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
7
- }
8
- namespace defaultProps {
9
- const className_1: string;
10
- export { className_1 as className };
11
- const kind_1: string;
12
- export { kind_1 as kind };
13
- }
1
+ import React from 'react';
2
+ import { KIND } from '../../tokens';
3
+ import { Box } from '../../layout/box';
4
+ interface AlertProps {
5
+ kind?: (typeof KIND)[keyof typeof KIND];
14
6
  }
15
- import PropTypes from "prop-types";
7
+ export declare const Alert: (props: AlertProps & React.ComponentProps<typeof Box>) => JSX.Element;
8
+ export {};
@@ -1 +1 @@
1
- export * from "./alert";
1
+ export * from './alert';
@@ -1,18 +1,6 @@
1
- export function Container({ className, as: Component, ...restProps }: {
2
- [x: string]: any;
3
- className: any;
4
- as: any;
5
- }): JSX.Element;
6
- export namespace Container {
7
- namespace defaultProps {
8
- const className: string;
9
- const as: string;
10
- }
11
- namespace propTypes {
12
- const className_1: PropTypes.Requireable<string>;
13
- export { className_1 as className };
14
- const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
15
- export { as_1 as as };
16
- }
1
+ import React from 'react';
2
+ interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ as?: React.ElementType;
17
4
  }
18
- import PropTypes from "prop-types";
5
+ export declare const Container: ({ as: Component, className, ...restProps }: ContainerProps) => JSX.Element;
6
+ export {};
@@ -1 +1 @@
1
- export { Container } from "./container";
1
+ export * from './container';
@@ -1,28 +1,28 @@
1
1
  export function Dropdown(props: any): JSX.Element;
2
2
  export namespace Dropdown {
3
3
  export namespace defaultProps {
4
- const className: string;
5
- const buttonClassName: string;
6
- const label: null;
7
- const ariaLabel: string;
8
- const glyph: null;
4
+ let className: string;
5
+ let buttonClassName: string;
6
+ let label: null;
7
+ let ariaLabel: string;
8
+ let glyph: null;
9
9
  }
10
10
  export namespace propTypes {
11
- const className_1: PropTypes.Requireable<string>;
11
+ let className_1: PropTypes.Requireable<string>;
12
12
  export { className_1 as className };
13
- const buttonClassName_1: PropTypes.Requireable<string>;
13
+ let buttonClassName_1: PropTypes.Requireable<string>;
14
14
  export { buttonClassName_1 as buttonClassName };
15
- const label_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
15
+ let label_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
16
  export { label_1 as label };
17
- const ariaLabel_1: PropTypes.Requireable<string>;
17
+ let ariaLabel_1: PropTypes.Requireable<string>;
18
18
  export { ariaLabel_1 as ariaLabel };
19
- const glyph_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
19
+ let glyph_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
20
20
  export { glyph_1 as glyph };
21
- export const children: PropTypes.Validator<NonNullable<NonNullable<string | PropTypes.ReactElementLike | ((...args: any[]) => any) | null | undefined>>>;
21
+ export let children: PropTypes.Validator<NonNullable<NonNullable<string | PropTypes.ReactElementLike | ((...args: any[]) => any) | null | undefined>>>;
22
22
  }
23
23
  export { Item };
24
24
  }
25
- import PropTypes from "prop-types";
25
+ import PropTypes from 'prop-types';
26
26
  declare function Item({ className, isActive, ...restProps }: {
27
27
  [x: string]: any;
28
28
  className?: string | undefined;
@@ -30,15 +30,15 @@ declare function Item({ className, isActive, ...restProps }: {
30
30
  }): JSX.Element;
31
31
  declare namespace Item {
32
32
  export namespace propTypes_1 {
33
- const className_2: PropTypes.Requireable<string>;
33
+ let className_2: PropTypes.Requireable<string>;
34
34
  export { className_2 as className };
35
- export const isActive: PropTypes.Requireable<boolean>;
35
+ export let isActive: PropTypes.Requireable<boolean>;
36
36
  }
37
37
  export { propTypes_1 as propTypes };
38
38
  export namespace defaultProps_1 {
39
- const className_3: string;
39
+ let className_3: string;
40
40
  export { className_3 as className };
41
- const isActive_1: boolean;
41
+ let isActive_1: boolean;
42
42
  export { isActive_1 as isActive };
43
43
  }
44
44
  export { defaultProps_1 as defaultProps };
@@ -1,16 +1,16 @@
1
1
  export function EmptySet(props: any): JSX.Element;
2
2
  export namespace EmptySet {
3
3
  namespace propTypes {
4
- const resources: PropTypes.Validator<string>;
5
- const filtered: PropTypes.Validator<boolean>;
6
- const handleResetFilters: PropTypes.Requireable<(...args: any[]) => any>;
7
- const handleViewAll: PropTypes.Requireable<(...args: any[]) => any>;
4
+ let resources: PropTypes.Validator<string>;
5
+ let filtered: PropTypes.Validator<boolean>;
6
+ let handleResetFilters: PropTypes.Requireable<(...args: any[]) => any>;
7
+ let handleViewAll: PropTypes.Requireable<(...args: any[]) => any>;
8
8
  }
9
9
  namespace defaultProps {
10
- const handleResetFilters_1: null;
10
+ let handleResetFilters_1: null;
11
11
  export { handleResetFilters_1 as handleResetFilters };
12
- const handleViewAll_1: null;
12
+ let handleViewAll_1: null;
13
13
  export { handleViewAll_1 as handleViewAll };
14
14
  }
15
15
  }
16
- import PropTypes from "prop-types";
16
+ import PropTypes from 'prop-types';
@@ -5,17 +5,17 @@ export function FileName({ className, as: Component, name }: {
5
5
  }): JSX.Element;
6
6
  export namespace FileName {
7
7
  namespace defaultProps {
8
- const className: string;
9
- const as: string;
10
- const name: string;
8
+ let className: string;
9
+ let as: string;
10
+ let name: string;
11
11
  }
12
12
  namespace propTypes {
13
- const className_1: PropTypes.Requireable<string>;
13
+ let className_1: PropTypes.Requireable<string>;
14
14
  export { className_1 as className };
15
- const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
15
+ let as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
16
16
  export { as_1 as as };
17
- const name_1: PropTypes.Requireable<string>;
17
+ let name_1: number;
18
18
  export { name_1 as name };
19
19
  }
20
20
  }
21
- import PropTypes from "prop-types";
21
+ import PropTypes from 'prop-types';
@@ -1,14 +1,14 @@
1
1
  export function Filters(props: any): JSX.Element;
2
2
  export namespace Filters {
3
3
  namespace defaultProps {
4
- const className: string;
4
+ let className: string;
5
5
  }
6
6
  namespace propTypes {
7
- const className_1: PropTypes.Requireable<string>;
7
+ let className_1: PropTypes.Requireable<string>;
8
8
  export { className_1 as className };
9
- export const values: PropTypes.Validator<object>;
10
- export const filters: PropTypes.Validator<object>;
11
- export const toggleFilter: PropTypes.Validator<(...args: any[]) => any>;
9
+ export let values: PropTypes.Validator<object>;
10
+ export let filters: PropTypes.Validator<object>;
11
+ export let toggleFilter: PropTypes.Validator<(...args: any[]) => any>;
12
12
  }
13
13
  }
14
- import PropTypes from "prop-types";
14
+ import PropTypes from 'prop-types';
@@ -1,6 +1,6 @@
1
1
  export namespace LABELS {
2
- const NONE: string;
3
- const ALL: string;
2
+ let NONE: string;
3
+ let ALL: string;
4
4
  }
5
5
  export function getGroupFiltersLabelSuffix(filters: Array<any[]>): string;
6
6
  export function getInitialValues(key: any, filters: any): any;
@@ -1,12 +1,12 @@
1
1
  export function Filters(props: any): JSX.Element;
2
2
  export namespace Filters {
3
3
  namespace defaultProps {
4
- const onChange: null;
4
+ let onChange: null;
5
5
  }
6
6
  namespace propTypes {
7
- export const filters: PropTypes.Validator<object>;
8
- const onChange_1: PropTypes.Requireable<(...args: any[]) => any>;
7
+ export let filters: PropTypes.Validator<object>;
8
+ let onChange_1: PropTypes.Requireable<(...args: any[]) => any>;
9
9
  export { onChange_1 as onChange };
10
10
  }
11
11
  }
12
- import PropTypes from "prop-types";
12
+ import PropTypes from 'prop-types';
@@ -1,13 +1,13 @@
1
1
  export function HorizontalBarChart(props: any): JSX.Element;
2
2
  export namespace HorizontalBarChart {
3
3
  namespace defaultProps {
4
- const className: string;
5
- const maxValue: null;
4
+ let className: string;
5
+ let maxValue: null;
6
6
  }
7
7
  namespace propTypes {
8
- const className_1: PropTypes.Requireable<string>;
8
+ let className_1: PropTypes.Requireable<string>;
9
9
  export { className_1 as className };
10
- export const data: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
10
+ export let data: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
11
11
  labels: PropTypes.Requireable<(string | null | undefined)[]>;
12
12
  values: PropTypes.Requireable<(NonNullable<number | PropTypes.InferProps<{
13
13
  value: PropTypes.Requireable<number>;
@@ -15,8 +15,8 @@ export namespace HorizontalBarChart {
15
15
  label: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
16
16
  }> | null | undefined> | null | undefined)[]>;
17
17
  }>>>;
18
- const maxValue_1: PropTypes.Requireable<number>;
18
+ let maxValue_1: PropTypes.Requireable<number>;
19
19
  export { maxValue_1 as maxValue };
20
20
  }
21
21
  }
22
- import PropTypes from "prop-types";
22
+ import PropTypes from 'prop-types';
@@ -1,27 +1,13 @@
1
- export function HoverCard(props: any): JSX.Element;
2
- export namespace HoverCard {
3
- namespace propTypes {
4
- const className: PropTypes.Requireable<string>;
5
- const hoverCardClassName: PropTypes.Requireable<string>;
6
- const anchorClassName: PropTypes.Requireable<string>;
7
- const label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
8
- const href: PropTypes.Requireable<string>;
9
- const as: PropTypes.Requireable<PropTypes.ReactComponentLike>;
10
- const children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>>;
11
- }
12
- namespace defaultProps {
13
- const className_1: string;
14
- export { className_1 as className };
15
- const hoverCardClassName_1: string;
16
- export { hoverCardClassName_1 as hoverCardClassName };
17
- const anchorClassName_1: string;
18
- export { anchorClassName_1 as anchorClassName };
19
- const label_1: string;
20
- export { label_1 as label };
21
- const as_1: string;
22
- export { as_1 as as };
23
- const href_1: string;
24
- export { href_1 as href };
25
- }
1
+ import React from 'react';
2
+ export interface HoverCardProps {
3
+ className?: string;
4
+ anchorClassName?: string;
5
+ hoverCardClassName?: string;
6
+ href?: string;
7
+ as?: React.ElementType;
8
+ label: React.ReactNode;
9
+ children?: React.ReactNode | (({ close }: {
10
+ close: () => void;
11
+ }) => React.ReactNode);
26
12
  }
27
- import PropTypes from "prop-types";
13
+ export declare const HoverCard: (props: HoverCardProps) => JSX.Element;
@@ -1 +1 @@
1
- export * from "./hover-card";
1
+ export * from './hover-card';
@@ -1,40 +1,56 @@
1
- export function Icon(props: any): JSX.Element;
2
- export namespace Icon {
3
- export { ICONS };
4
- export const SIZE_SMALL: string;
5
- export const SIZE_MEDIUM: string;
6
- export const SIZE_LARGE: string;
7
- export const SIZES: string[];
8
- export namespace defaultProps {
9
- export const className: string;
10
- export const as: string;
11
- import size = Icon.SIZE_MEDIUM;
12
- export { size };
13
- }
14
- export namespace propTypes {
15
- const className_1: PropTypes.Requireable<string>;
16
- export { className_1 as className };
17
- export const glyph: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
18
- const as_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
19
- export { as_1 as as };
20
- const size_1: PropTypes.Requireable<string>;
21
- export { size_1 as size };
22
- }
1
+ import React from 'react';
2
+ declare const ICONS: {
3
+ readonly ARROW: "arrow";
4
+ readonly ARROW_RIGHT_CIRLCE: "arrow-right-circle";
5
+ readonly CANCEL: "close";
6
+ readonly CLOSE: "close";
7
+ readonly CLOCK: "clock";
8
+ readonly COMMIT: "commit";
9
+ readonly ERROR: "error";
10
+ readonly EXTERNAL_LINK: "external-link";
11
+ readonly FILTER: "filter";
12
+ readonly GITHUB: "github";
13
+ readonly INFO: "info";
14
+ readonly HELP: "help";
15
+ readonly MENU: "menu";
16
+ readonly MORE_VERTICAL: "more-vertical";
17
+ readonly SORT: "sort";
18
+ readonly WARNING: "warning";
19
+ };
20
+ declare const SIZE: {
21
+ readonly SMALL: "small";
22
+ readonly MEDIUM: "medium";
23
+ readonly LARGE: "large";
24
+ };
25
+ export type IconGlyph = (typeof ICONS)[keyof typeof ICONS];
26
+ interface IconProps {
27
+ glyph: IconGlyph;
28
+ size?: (typeof SIZE)[keyof typeof SIZE];
29
+ as?: React.ElementType;
23
30
  }
24
- declare namespace ICONS {
25
- const ARROW: string;
26
- const ARROW_RIGHT_CIRLCE: string;
27
- const CANCEL: string;
28
- const CLOSE: string;
29
- const CLOCK: string;
30
- const COMMIT: string;
31
- const ERROR: string;
32
- const FILTER: string;
33
- const INFO: string;
34
- const HELP: string;
35
- const MENU: string;
36
- const SORT: string;
37
- const WARNING: string;
38
- }
39
- import PropTypes from "prop-types";
31
+ export declare const Icon: {
32
+ (props: IconProps & React.ComponentProps<'span'>): JSX.Element;
33
+ ICONS: {
34
+ readonly ARROW: "arrow";
35
+ readonly ARROW_RIGHT_CIRLCE: "arrow-right-circle";
36
+ readonly CANCEL: "close";
37
+ readonly CLOSE: "close";
38
+ readonly CLOCK: "clock";
39
+ readonly COMMIT: "commit";
40
+ readonly ERROR: "error";
41
+ readonly EXTERNAL_LINK: "external-link";
42
+ readonly FILTER: "filter";
43
+ readonly GITHUB: "github";
44
+ readonly INFO: "info";
45
+ readonly HELP: "help";
46
+ readonly MENU: "menu";
47
+ readonly MORE_VERTICAL: "more-vertical";
48
+ readonly SORT: "sort";
49
+ readonly WARNING: "warning";
50
+ };
51
+ SIZE_SMALL: "small";
52
+ SIZE_MEDIUM: "medium";
53
+ SIZE_LARGE: "large";
54
+ SIZES: ("small" | "medium" | "large")[];
55
+ };
40
56
  export {};
@@ -1 +1 @@
1
- export * from "./icon";
1
+ export * from './icon';
@@ -9,7 +9,6 @@ export { HoverCard } from "./hover-card";
9
9
  export { Icon } from "./icon";
10
10
  export { Input } from "./input";
11
11
  export { Loader } from "./loader";
12
- export { Panels } from "./panels";
13
12
  export { Skeleton } from "./skeleton";
14
13
  export { SortDropdown } from "./sort-dropdown";
15
14
  export { Table } from "./table";
@@ -5,14 +5,14 @@ export function Input({ className, size, ...restProps }: {
5
5
  }): JSX.Element;
6
6
  export namespace Input {
7
7
  namespace propTypes {
8
- const className: PropTypes.Requireable<string>;
9
- const size: PropTypes.Requireable<string>;
8
+ let className: PropTypes.Requireable<string>;
9
+ let size: PropTypes.Requireable<string>;
10
10
  }
11
11
  namespace defaultProps {
12
- const className_1: string;
12
+ let className_1: string;
13
13
  export { className_1 as className };
14
- const size_1: string;
14
+ let size_1: string;
15
15
  export { size_1 as size };
16
16
  }
17
17
  }
18
- import PropTypes from "prop-types";
18
+ import PropTypes from 'prop-types';
@@ -4,20 +4,20 @@ export function Loader({ className, size, ...restProps }: {
4
4
  size: any;
5
5
  }): JSX.Element;
6
6
  export namespace Loader {
7
- const SIZE_SMALL: string;
8
- const SIZE_MEDIUM: string;
9
- const SIZE_LARGE: string;
10
- const SIZES: string[];
7
+ let SIZE_SMALL: string;
8
+ let SIZE_MEDIUM: string;
9
+ let SIZE_LARGE: string;
10
+ let SIZES: string[];
11
11
  namespace defaultProps {
12
- export const className: string;
12
+ export let className: string;
13
13
  import size = Loader.SIZE_MEDIUM;
14
14
  export { size };
15
15
  }
16
16
  namespace propTypes {
17
- const className_1: PropTypes.Requireable<string>;
17
+ let className_1: PropTypes.Requireable<string>;
18
18
  export { className_1 as className };
19
- const size_1: PropTypes.Requireable<string>;
19
+ let size_1: PropTypes.Requireable<string>;
20
20
  export { size_1 as size };
21
21
  }
22
22
  }
23
- import PropTypes from "prop-types";
23
+ import PropTypes from 'prop-types';
@@ -1,17 +1,17 @@
1
1
  export function Skeleton(props: any): JSX.Element;
2
2
  export namespace Skeleton {
3
3
  namespace propTypes {
4
- const className: PropTypes.Requireable<string>;
5
- const as: PropTypes.Requireable<PropTypes.ReactComponentLike>;
6
- const block: PropTypes.Requireable<boolean>;
4
+ let className: PropTypes.Requireable<string>;
5
+ let as: PropTypes.Requireable<PropTypes.ReactComponentLike>;
6
+ let block: PropTypes.Requireable<boolean>;
7
7
  }
8
8
  namespace defaultProps {
9
- const className_1: string;
9
+ let className_1: string;
10
10
  export { className_1 as className };
11
- const as_1: string;
11
+ let as_1: string;
12
12
  export { as_1 as as };
13
- const block_1: boolean;
13
+ let block_1: boolean;
14
14
  export { block_1 as block };
15
15
  }
16
16
  }
17
- import PropTypes from "prop-types";
17
+ import PropTypes from 'prop-types';
@@ -1,24 +1,24 @@
1
1
  export function SortDropdown(props: any): JSX.Element;
2
2
  export namespace SortDropdown {
3
3
  namespace defaultProps {
4
- const className: string;
5
- const label: string;
4
+ let className: string;
5
+ let label: string;
6
6
  function onChange(): void;
7
- const field: string;
8
- const direction: string;
7
+ let field: string;
8
+ let direction: string;
9
9
  }
10
10
  namespace propTypes {
11
- const className_1: PropTypes.Requireable<string>;
11
+ let className_1: PropTypes.Requireable<string>;
12
12
  export { className_1 as className };
13
- const label_1: PropTypes.Requireable<string>;
13
+ let label_1: PropTypes.Requireable<string>;
14
14
  export { label_1 as label };
15
- export const fields: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
16
- const onChange_1: PropTypes.Requireable<(...args: any[]) => any>;
15
+ export let fields: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
16
+ let onChange_1: PropTypes.Requireable<(...args: any[]) => any>;
17
17
  export { onChange_1 as onChange };
18
- const field_1: PropTypes.Requireable<string>;
18
+ let field_1: PropTypes.Requireable<string>;
19
19
  export { field_1 as field };
20
- const direction_1: PropTypes.Requireable<string>;
20
+ let direction_1: PropTypes.Requireable<string>;
21
21
  export { direction_1 as direction };
22
22
  }
23
23
  }
24
- import PropTypes from "prop-types";
24
+ import PropTypes from 'prop-types';
@@ -1 +1 @@
1
- export * from "./table";
1
+ export * from './table';