@bundle-stats/ui 4.1.6 → 4.2.0-beta.1

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 (80) hide show
  1. package/lib/components/bundle-modules/bundle-modules.js +1 -2
  2. package/lib/components/bundle-modules/bundle-modules.js.map +1 -1
  3. package/lib/components/bundle-modules/bundle-modules.module.css +4 -0
  4. package/lib/components/module-info/module-info.js +24 -16
  5. package/lib/components/module-info/module-info.js.map +1 -1
  6. package/lib/components/module-info/module-info.module.css +27 -8
  7. package/lib/ui/tag/tag.module.css +2 -2
  8. package/lib-esm/components/bundle-modules/bundle-modules.js +1 -2
  9. package/lib-esm/components/bundle-modules/bundle-modules.js.map +1 -1
  10. package/lib-esm/components/bundle-modules/bundle-modules.module.css +4 -0
  11. package/lib-esm/components/module-info/module-info.js +25 -17
  12. package/lib-esm/components/module-info/module-info.js.map +1 -1
  13. package/lib-esm/components/module-info/module-info.module.css +27 -8
  14. package/lib-esm/ui/tag/tag.module.css +2 -2
  15. package/package.json +8 -7
  16. package/src/components/bundle-modules/bundle-modules.jsx +11 -9
  17. package/src/components/bundle-modules/bundle-modules.module.css +4 -0
  18. package/src/components/module-info/module-info.jsx +55 -25
  19. package/src/components/module-info/module-info.module.css +27 -8
  20. package/src/ui/tag/tag.module.css +2 -2
  21. package/types/app/app.d.ts +1 -1
  22. package/types/app/header/header.d.ts +4 -3
  23. package/types/assets/icons.svg.d.ts +1 -1
  24. package/types/components/asset-info/asset-info.d.ts +12 -6
  25. package/types/components/browsertime-table/browsertime-table.d.ts +4 -3
  26. package/types/components/bundle-assets/bundle-assets.d.ts +37 -16
  27. package/types/components/bundle-assets/index.d.ts +8 -7
  28. package/types/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.d.ts +7 -4
  29. package/types/components/bundle-assets-totals-table/bundle-assets-totals-table.d.ts +5 -4
  30. package/types/components/bundle-modules/bundle-modules.d.ts +26 -17
  31. package/types/components/bundle-modules/index.d.ts +8 -7
  32. package/types/components/bundle-packages/bundle-packages.d.ts +31 -16
  33. package/types/components/bundle-packages/index.d.ts +8 -7
  34. package/types/components/component-link.d.ts +5 -4
  35. package/types/components/delta/delta.d.ts +6 -5
  36. package/types/components/duplicate-packages-warning/duplicate-packages-warning.d.ts +9 -5
  37. package/types/components/job-header/job-header.d.ts +12 -5
  38. package/types/components/job-meta/job-meta.d.ts +8 -4
  39. package/types/components/job-name/job-name.d.ts +6 -5
  40. package/types/components/jobs-header/jobs-header.d.ts +6 -3
  41. package/types/components/lighthouse-table/lighthouse-table.d.ts +4 -3
  42. package/types/components/metric/metric.d.ts +8 -7
  43. package/types/components/metrics-table/metrics-table.d.ts +21 -9
  44. package/types/components/metrics-table-options/metrics-table-options.d.ts +5 -4
  45. package/types/components/metrics-table-search/metrics-table-search.d.ts +6 -5
  46. package/types/components/metrics-table-title/metrics-table-title.d.ts +7 -6
  47. package/types/components/module-info/module-info.d.ts +19 -8
  48. package/types/components/summary/summary.d.ts +9 -8
  49. package/types/components/summary-item/summary-item.d.ts +10 -9
  50. package/types/components/total-size-type-title/total-size-type-title.d.ts +3 -2
  51. package/types/hooks/rows-sort.d.ts +9 -3
  52. package/types/hooks/search-params.d.ts +4 -4
  53. package/types/layout/box/box.d.ts +8 -7
  54. package/types/layout/flex-stack/flex-stack.d.ts +8 -7
  55. package/types/layout/footer/footer.d.ts +4 -3
  56. package/types/layout/separator.d.ts +4 -4
  57. package/types/layout/stack/stack.d.ts +6 -5
  58. package/types/query-state.d.ts +1 -1
  59. package/types/stories/wrapper.d.ts +1 -1
  60. package/types/ui/alert/alert.d.ts +5 -4
  61. package/types/ui/container/container.d.ts +4 -3
  62. package/types/ui/dropdown/dropdown.d.ts +11 -10
  63. package/types/ui/empty-set/empty-set.d.ts +6 -5
  64. package/types/ui/file-name/file-name.d.ts +5 -4
  65. package/types/ui/filters/filters.d.ts +6 -5
  66. package/types/ui/filters/index.d.ts +4 -3
  67. package/types/ui/horizontal-bar-chart/horizontal-bar-chart.d.ts +12 -4
  68. package/types/ui/hover-card/hover-card.d.ts +9 -8
  69. package/types/ui/icon/icon.d.ts +6 -5
  70. package/types/ui/input/input.d.ts +4 -3
  71. package/types/ui/loader/loader.d.ts +4 -3
  72. package/types/ui/panels/panels.d.ts +4 -3
  73. package/types/ui/skeleton/skeleton.d.ts +5 -4
  74. package/types/ui/sort-dropdown/sort-dropdown.d.ts +8 -7
  75. package/types/ui/table/table.d.ts +7 -6
  76. package/types/ui/tabs/tabs.d.ts +8 -7
  77. package/types/ui/tag/tag.d.ts +6 -5
  78. package/types/ui/toolbar/toolbar.d.ts +5 -4
  79. package/types/ui/tooltip/tooltip.d.ts +11 -8
  80. package/types/utils.d.ts +1 -1
@@ -1,21 +1,40 @@
1
- .chunksTitle {
2
- margin-right: var(--space-xxxsmall);
1
+ .titleTag {
2
+ border: 1px solid var(--color-outline);
3
+ background: var(--color-highlight);
4
+ color: var(--color-text-light);
3
5
  }
4
6
 
5
- .chunksItems {
6
- display: inline;
7
+ .run:first-child .title {
8
+ font-size: var(--size-xlarge);
7
9
  }
8
10
 
9
11
  .chunksItem {
10
12
  overflow-wrap: break-word;
11
13
  }
12
14
 
13
- .chunksItem + .chunksItem {
14
- margin-left: var(--space-xxxsmall);
15
- }
16
-
17
15
  .fileName {
18
16
  max-width: 100%;
19
17
  padding: 2px;
20
18
  background: var(--color-highlight-warning);
21
19
  }
20
+
21
+ .reasonLink {
22
+ text-decoration: underline;
23
+ }
24
+
25
+ .reasonLink .reason {
26
+ text-decoration: inherit;
27
+ }
28
+
29
+ .reason {
30
+ display: inline;
31
+ }
32
+
33
+ .list {
34
+ padding: 0 0 0 var(--space-small);
35
+ list-style: outside;
36
+ }
37
+
38
+ .list li::marker {
39
+ color: var(--color-text-ultra-light);
40
+ }
@@ -29,11 +29,11 @@
29
29
  /** default: medium */
30
30
  .root {
31
31
  border-radius: var(--radius-medium);
32
- padding: var(--space-xxxsmall);
32
+ padding: calc(var(--space-xxxsmall) / 2) var(--space-xxxsmall);
33
33
  min-width: var(--space-small);
34
34
  height: var(--space-small);
35
35
  font-size: 9px;
36
- line-height: 1;
36
+ line-height: var(--space-xsmall);
37
37
  }
38
38
 
39
39
  .small {
@@ -1 +1 @@
1
- export function App(props: any): any;
1
+ export function App(props: any): JSX.Element;
@@ -1,11 +1,11 @@
1
1
  export function Header({ className, jobs }: {
2
2
  className: any;
3
3
  jobs: any;
4
- }): any;
4
+ }): JSX.Element;
5
5
  export namespace Header {
6
6
  namespace propTypes {
7
- const className: any;
8
- const jobs: any;
7
+ const className: PropTypes.Requireable<string>;
8
+ const jobs: PropTypes.Requireable<(object | null | undefined)[]>;
9
9
  }
10
10
  namespace defaultProps {
11
11
  const className_1: string;
@@ -14,3 +14,4 @@ export namespace Header {
14
14
  export { jobs_1 as jobs };
15
15
  }
16
16
  }
17
+ import PropTypes from "prop-types";
@@ -1 +1 @@
1
- export function SvgIcons(props: any): any;
1
+ export function SvgIcons(props: any): JSX.Element;
@@ -1,11 +1,16 @@
1
- export function AssetInfo(props: any): any;
1
+ export function AssetInfo(props: any): JSX.Element;
2
2
  export namespace AssetInfo {
3
3
  namespace propTypes {
4
- const className: any;
5
- const item: any;
6
- const labels: any;
7
- const chunks: any;
8
- const CustomComponentLink: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const item: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
6
+ runs: PropTypes.Requireable<(PropTypes.InferProps<{
7
+ name: PropTypes.Requireable<string>;
8
+ chunkId: PropTypes.Requireable<string>;
9
+ }> | null | undefined)[]>;
10
+ }>>>;
11
+ const labels: PropTypes.Validator<(string | null | undefined)[]>;
12
+ const chunks: PropTypes.Requireable<any[]>;
13
+ const CustomComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
9
14
  }
10
15
  namespace defaultProps {
11
16
  const className_1: string;
@@ -15,4 +20,5 @@ export namespace AssetInfo {
15
20
  export { ComponentLink as CustomComponentLink };
16
21
  }
17
22
  }
23
+ import PropTypes from "prop-types";
18
24
  import { ComponentLink } from "../component-link";
@@ -1,13 +1,14 @@
1
- export function BrowsertimeTable(props: any): any;
1
+ export function BrowsertimeTable(props: any): JSX.Element;
2
2
  export namespace BrowsertimeTable {
3
3
  namespace defaultProps {
4
4
  const className: string;
5
5
  const jobs: never[];
6
6
  }
7
7
  namespace propTypes {
8
- const className_1: any;
8
+ const className_1: PropTypes.Requireable<string>;
9
9
  export { className_1 as className };
10
- const jobs_1: any;
10
+ const jobs_1: PropTypes.Requireable<any[]>;
11
11
  export { jobs_1 as jobs };
12
12
  }
13
13
  }
14
+ import PropTypes from "prop-types";
@@ -1,4 +1,4 @@
1
- export function BundleAssets(props: any): any;
1
+ export function BundleAssets(props: any): JSX.Element;
2
2
  export namespace BundleAssets {
3
3
  namespace defaultProps {
4
4
  export const className: string;
@@ -7,24 +7,45 @@ export namespace BundleAssets {
7
7
  export { ComponentLink as customComponentLink };
8
8
  }
9
9
  namespace propTypes {
10
- const className_1: any;
10
+ const className_1: PropTypes.Requireable<string>;
11
11
  export { className_1 as className };
12
- export const jobs: any;
13
- export const items: any;
14
- export const updateFilters: any;
15
- export const resetFilters: any;
16
- export const resetAllFilters: any;
17
- const totalRowCount_1: any;
12
+ export const jobs: PropTypes.Validator<(PropTypes.InferProps<{
13
+ internalBuildNumber: PropTypes.Requireable<number>;
14
+ label: PropTypes.Requireable<string>;
15
+ meta: PropTypes.Requireable<PropTypes.InferProps<{
16
+ webpack: PropTypes.Requireable<PropTypes.InferProps<{
17
+ chunks: PropTypes.Requireable<any[]>;
18
+ }>>;
19
+ }>>;
20
+ }> | null | undefined)[]>;
21
+ export const items: PropTypes.Validator<(PropTypes.InferProps<{
22
+ key: PropTypes.Requireable<string>;
23
+ label: PropTypes.Requireable<string>;
24
+ runs: PropTypes.Requireable<(PropTypes.InferProps<{
25
+ displayValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
26
+ displayDelta: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
27
+ }> | null | undefined)[]>;
28
+ }> | null | undefined)[]>;
29
+ export const updateFilters: PropTypes.Validator<(...args: any[]) => any>;
30
+ export const resetFilters: PropTypes.Validator<(...args: any[]) => any>;
31
+ export const resetAllFilters: PropTypes.Validator<(...args: any[]) => any>;
32
+ const totalRowCount_1: PropTypes.Requireable<number>;
18
33
  export { totalRowCount_1 as totalRowCount };
19
- export const filters: any;
20
- const hasActiveFilters_1: any;
34
+ export const filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
35
+ changed: PropTypes.Requireable<boolean>;
36
+ }>>>;
37
+ const hasActiveFilters_1: PropTypes.Requireable<boolean>;
21
38
  export { hasActiveFilters_1 as hasActiveFilters };
22
- export const sortFields: any;
23
- export const search: any;
24
- export const updateSearch: any;
25
- export const sort: any;
26
- export const updateSort: any;
27
- export const customComponentLink: any;
39
+ export const sortFields: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
40
+ export const search: PropTypes.Validator<string>;
41
+ export const updateSearch: PropTypes.Validator<(...args: any[]) => any>;
42
+ export const sort: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
43
+ sortBy: PropTypes.Requireable<string>;
44
+ direction: PropTypes.Requireable<string>;
45
+ }>>>;
46
+ export const updateSort: PropTypes.Validator<(...args: any[]) => any>;
47
+ export const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
28
48
  }
29
49
  }
30
50
  import { ComponentLink } from "../component-link";
51
+ import PropTypes from "prop-types";
@@ -1,12 +1,12 @@
1
- export function BundleAssets(props: any): any;
1
+ export function BundleAssets(props: any): JSX.Element;
2
2
  export namespace BundleAssets {
3
3
  namespace propTypes {
4
- const jobs: any;
5
- const filters: any;
6
- const search: any;
7
- const sortBy: any;
8
- const direction: any;
9
- const setState: any;
4
+ const jobs: PropTypes.Validator<(object | null | undefined)[]>;
5
+ const filters: PropTypes.Requireable<object>;
6
+ const search: PropTypes.Requireable<string>;
7
+ const sortBy: PropTypes.Requireable<string>;
8
+ const direction: PropTypes.Requireable<string>;
9
+ const setState: PropTypes.Validator<(...args: any[]) => any>;
10
10
  }
11
11
  namespace defaultProps {
12
12
  const filters_1: undefined;
@@ -19,3 +19,4 @@ export namespace BundleAssets {
19
19
  export { direction_1 as direction };
20
20
  }
21
21
  }
22
+ import PropTypes from "prop-types";
@@ -2,17 +2,20 @@ export function BundleAssetsTotalsChartBars({ className, jobs, customComponentLi
2
2
  className: any;
3
3
  jobs: any;
4
4
  customComponentLink: any;
5
- }): any;
5
+ }): JSX.Element;
6
6
  export namespace BundleAssetsTotalsChartBars {
7
7
  namespace defaultProps {
8
8
  export const className: string;
9
9
  export { ComponentLink as customComponentLink };
10
10
  }
11
11
  namespace propTypes {
12
- const className_1: any;
12
+ const className_1: PropTypes.Requireable<string>;
13
13
  export { className_1 as className };
14
- export const jobs: any;
15
- export const customComponentLink: any;
14
+ export const jobs: PropTypes.Validator<(PropTypes.InferProps<{
15
+ internalBuildNumber: PropTypes.Requireable<number>;
16
+ }> | null | undefined)[]>;
17
+ export const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
16
18
  }
17
19
  }
18
20
  import { ComponentLink } from "../component-link";
21
+ import PropTypes from "prop-types";
@@ -3,7 +3,7 @@ export function BundleAssetsTotalsTable({ className, jobs, customComponentLink:
3
3
  className: any;
4
4
  jobs: any;
5
5
  customComponentLink: any;
6
- }): any;
6
+ }): JSX.Element;
7
7
  export namespace BundleAssetsTotalsTable {
8
8
  namespace defaultProps {
9
9
  export const className: string;
@@ -11,11 +11,12 @@ export namespace BundleAssetsTotalsTable {
11
11
  export { ComponentLink as customComponentLink };
12
12
  }
13
13
  namespace propTypes {
14
- const className_1: any;
14
+ const className_1: PropTypes.Requireable<string>;
15
15
  export { className_1 as className };
16
- const jobs_1: any;
16
+ const jobs_1: PropTypes.Requireable<any[]>;
17
17
  export { jobs_1 as jobs };
18
- export const customComponentLink: any;
18
+ export const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
19
19
  }
20
20
  }
21
21
  import { ComponentLink } from "../component-link";
22
+ import PropTypes from "prop-types";
@@ -15,7 +15,7 @@ export function BundleModules({ className, jobs, items, chunks, totalRowCount, u
15
15
  updateSearch: any;
16
16
  hasActiveFilters: any;
17
17
  customComponentLink: any;
18
- }): any;
18
+ }): JSX.Element;
19
19
  export namespace BundleModules {
20
20
  namespace defaultProps {
21
21
  export const className: string;
@@ -26,27 +26,36 @@ export namespace BundleModules {
26
26
  export { ComponentLink as customComponentLink };
27
27
  }
28
28
  namespace propTypes {
29
- const className_1: any;
29
+ const className_1: PropTypes.Requireable<string>;
30
30
  export { className_1 as className };
31
- const items_1: any;
31
+ const items_1: PropTypes.Requireable<any[]>;
32
32
  export { items_1 as items };
33
- const jobs_1: any;
33
+ const jobs_1: PropTypes.Requireable<any[]>;
34
34
  export { jobs_1 as jobs };
35
- export const chunks: any;
36
- const totalRowCount_1: any;
35
+ export const chunks: PropTypes.Validator<(PropTypes.InferProps<{
36
+ id: PropTypes.Requireable<string>;
37
+ name: PropTypes.Requireable<string>;
38
+ }> | null | undefined)[]>;
39
+ const totalRowCount_1: PropTypes.Requireable<number>;
37
40
  export { totalRowCount_1 as totalRowCount };
38
- export const updateFilters: any;
39
- export const resetFilters: any;
40
- export const resetAllFilters: any;
41
- export const filters: any;
42
- const hasActiveFilters_1: any;
41
+ export const updateFilters: PropTypes.Validator<(...args: any[]) => any>;
42
+ export const resetFilters: PropTypes.Validator<(...args: any[]) => any>;
43
+ export const resetAllFilters: PropTypes.Validator<(...args: any[]) => any>;
44
+ export const filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
45
+ changed: PropTypes.Requireable<boolean>;
46
+ }>>>;
47
+ const hasActiveFilters_1: PropTypes.Requireable<boolean>;
43
48
  export { hasActiveFilters_1 as hasActiveFilters };
44
- export const sortFields: any;
45
- export const sort: any;
46
- export const updateSort: any;
47
- export const search: any;
48
- export const updateSearch: any;
49
- export const customComponentLink: any;
49
+ export const sortFields: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
50
+ export const sort: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
51
+ sortBy: PropTypes.Requireable<string>;
52
+ direction: PropTypes.Requireable<string>;
53
+ }>>>;
54
+ export const updateSort: PropTypes.Validator<(...args: any[]) => any>;
55
+ export const search: PropTypes.Validator<string>;
56
+ export const updateSearch: PropTypes.Validator<(...args: any[]) => any>;
57
+ export const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
50
58
  }
51
59
  }
52
60
  import { ComponentLink } from "../component-link";
61
+ import PropTypes from "prop-types";
@@ -1,12 +1,12 @@
1
- export function BundleModules(props: any): any;
1
+ export function BundleModules(props: any): JSX.Element;
2
2
  export namespace BundleModules {
3
3
  namespace propTypes {
4
- const jobs: any;
5
- const filters: any;
6
- const search: any;
7
- const sortBy: any;
8
- const direction: any;
9
- const setState: any;
4
+ const jobs: PropTypes.Validator<(object | null | undefined)[]>;
5
+ const filters: PropTypes.Requireable<object>;
6
+ const search: PropTypes.Requireable<string>;
7
+ const sortBy: PropTypes.Requireable<string>;
8
+ const direction: PropTypes.Requireable<string>;
9
+ const setState: PropTypes.Validator<(...args: any[]) => any>;
10
10
  }
11
11
  namespace defaultProps {
12
12
  const filters_1: undefined;
@@ -19,3 +19,4 @@ export namespace BundleModules {
19
19
  export { direction_1 as direction };
20
20
  }
21
21
  }
22
+ import PropTypes from "prop-types";
@@ -1,4 +1,4 @@
1
- export function BundlePackages(props: any): any;
1
+ export function BundlePackages(props: any): JSX.Element;
2
2
  export namespace BundlePackages {
3
3
  namespace defaultProps {
4
4
  export const className: string;
@@ -7,24 +7,39 @@ export namespace BundlePackages {
7
7
  export { ComponentLink as customComponentLink };
8
8
  }
9
9
  namespace propTypes {
10
- const className_1: any;
10
+ const className_1: PropTypes.Requireable<string>;
11
11
  export { className_1 as className };
12
- export const jobs: any;
13
- export const items: any;
14
- export const updateFilters: any;
15
- export const resetFilters: any;
16
- export const resetAllFilters: any;
17
- const totalRowCount_1: any;
12
+ export const jobs: PropTypes.Validator<(PropTypes.InferProps<{
13
+ internalBuildNumber: PropTypes.Requireable<number>;
14
+ }> | null | undefined)[]>;
15
+ export const items: PropTypes.Validator<(PropTypes.InferProps<{
16
+ key: PropTypes.Requireable<string>;
17
+ label: PropTypes.Requireable<string>;
18
+ runs: PropTypes.Requireable<(PropTypes.InferProps<{
19
+ displayValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
20
+ displayDelta: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
21
+ }> | null | undefined)[]>;
22
+ }> | null | undefined)[]>;
23
+ export const updateFilters: PropTypes.Validator<(...args: any[]) => any>;
24
+ export const resetFilters: PropTypes.Validator<(...args: any[]) => any>;
25
+ export const resetAllFilters: PropTypes.Validator<(...args: any[]) => any>;
26
+ const totalRowCount_1: PropTypes.Requireable<number>;
18
27
  export { totalRowCount_1 as totalRowCount };
19
- export const filters: any;
20
- const hasActiveFilters_1: any;
28
+ export const filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
29
+ changed: PropTypes.Requireable<boolean>;
30
+ }>>>;
31
+ const hasActiveFilters_1: PropTypes.Requireable<boolean>;
21
32
  export { hasActiveFilters_1 as hasActiveFilters };
22
- export const sortFields: any;
23
- export const sort: any;
24
- export const updateSort: any;
25
- export const search: any;
26
- export const updateSearch: any;
27
- export const customComponentLink: any;
33
+ export const sortFields: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
34
+ export const sort: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
35
+ sortBy: PropTypes.Requireable<string>;
36
+ direction: PropTypes.Requireable<string>;
37
+ }>>>;
38
+ export const updateSort: PropTypes.Validator<(...args: any[]) => any>;
39
+ export const search: PropTypes.Validator<string>;
40
+ export const updateSearch: PropTypes.Validator<(...args: any[]) => any>;
41
+ export const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
28
42
  }
29
43
  }
30
44
  import { ComponentLink } from "../component-link";
45
+ import PropTypes from "prop-types";
@@ -1,12 +1,12 @@
1
- export function BundlePackages(props: any): any;
1
+ export function BundlePackages(props: any): JSX.Element;
2
2
  export namespace BundlePackages {
3
3
  namespace propTypes {
4
- const jobs: any;
5
- const filters: any;
6
- const search: any;
7
- const sortBy: any;
8
- const direction: any;
9
- const setState: any;
4
+ const jobs: PropTypes.Validator<(object | null | undefined)[]>;
5
+ const filters: PropTypes.Requireable<object>;
6
+ const search: PropTypes.Requireable<string>;
7
+ const sortBy: PropTypes.Requireable<string>;
8
+ const direction: PropTypes.Requireable<string>;
9
+ const setState: PropTypes.Validator<(...args: any[]) => any>;
10
10
  }
11
11
  namespace defaultProps {
12
12
  const filters_1: undefined;
@@ -19,3 +19,4 @@ export namespace BundlePackages {
19
19
  export { direction_1 as direction };
20
20
  }
21
21
  }
22
+ import PropTypes from "prop-types";
@@ -3,12 +3,12 @@ export function ComponentLink({ section, title, params, ...props }: {
3
3
  section: any;
4
4
  title: any;
5
5
  params: any;
6
- }): any;
6
+ }): JSX.Element;
7
7
  export namespace ComponentLink {
8
8
  namespace propTypes {
9
- const section: any;
10
- const title: any;
11
- const params: any;
9
+ const section: PropTypes.Validator<string>;
10
+ const title: PropTypes.Requireable<string>;
11
+ const params: PropTypes.Requireable<object>;
12
12
  }
13
13
  namespace defaultProps {
14
14
  const title_1: string;
@@ -17,3 +17,4 @@ export namespace ComponentLink {
17
17
  export { params_1 as params };
18
18
  }
19
19
  }
20
+ import PropTypes from "prop-types";
@@ -3,18 +3,19 @@ export function Delta({ className, displayValue, deltaType, inverted }: {
3
3
  displayValue: any;
4
4
  deltaType: any;
5
5
  inverted: any;
6
- }): any;
6
+ }): JSX.Element;
7
7
  export namespace Delta {
8
8
  namespace defaultProps {
9
9
  const className: string;
10
10
  const inverted: boolean;
11
11
  }
12
12
  namespace propTypes {
13
- const className_1: any;
13
+ const className_1: PropTypes.Requireable<string>;
14
14
  export { className_1 as className };
15
- export const displayValue: any;
16
- export const deltaType: any;
17
- const inverted_1: any;
15
+ export const displayValue: PropTypes.Validator<string>;
16
+ export const deltaType: PropTypes.Validator<string>;
17
+ const inverted_1: PropTypes.Requireable<boolean>;
18
18
  export { inverted_1 as inverted };
19
19
  }
20
20
  }
21
+ import PropTypes from "prop-types";
@@ -1,10 +1,13 @@
1
- export function DuplicatePackagesWarning(props: any): any;
1
+ export function DuplicatePackagesWarning(props: any): JSX.Element;
2
2
  export namespace DuplicatePackagesWarning {
3
3
  namespace propTypes {
4
- const className: any;
5
- const customComponentLink: any;
6
- const duplicatePackagesCount: any;
7
- const showDelta: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
6
+ const duplicatePackagesCount: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
7
+ current: PropTypes.Requireable<number>;
8
+ baseline: PropTypes.Requireable<number>;
9
+ }>>>;
10
+ const showDelta: PropTypes.Requireable<boolean>;
8
11
  }
9
12
  namespace defaultProps {
10
13
  const className_1: string;
@@ -14,4 +17,5 @@ export namespace DuplicatePackagesWarning {
14
17
  export { showDelta_1 as showDelta };
15
18
  }
16
19
  }
20
+ import PropTypes from "prop-types";
17
21
  import { ComponentLink } from "../component-link";
@@ -1,10 +1,16 @@
1
- export function JobHeader(props: any): any;
1
+ export function JobHeader(props: any): JSX.Element;
2
2
  export namespace JobHeader {
3
3
  namespace propTypes {
4
- const className: any;
5
- const tag: any;
6
- const job: any;
7
- const children: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const tag: PropTypes.Requireable<string>;
6
+ const job: PropTypes.Requireable<PropTypes.InferProps<{
7
+ internalBuildNumber: PropTypes.Requireable<number>;
8
+ meta: PropTypes.Requireable<PropTypes.InferProps<{
9
+ builtAt: PropTypes.Requireable<string>;
10
+ }>>;
11
+ summary: PropTypes.Requireable<object>;
12
+ }>>;
13
+ const children: PropTypes.Requireable<PropTypes.ReactElementLike>;
8
14
  }
9
15
  namespace defaultProps {
10
16
  const className_1: string;
@@ -17,3 +23,4 @@ export namespace JobHeader {
17
23
  export { children_1 as children };
18
24
  }
19
25
  }
26
+ import PropTypes from "prop-types";
@@ -1,9 +1,12 @@
1
- export function JobMeta(props: any): any;
1
+ export function JobMeta(props: any): JSX.Element;
2
2
  export namespace JobMeta {
3
3
  namespace propTypes {
4
- const className: any;
5
- const meta: any;
6
- const as: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const meta: PropTypes.Validator<(PropTypes.InferProps<{
6
+ title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
7
+ content: PropTypes.Requireable<(NonNullable<string | PropTypes.ReactElementLike | null | undefined> | null | undefined)[]>;
8
+ }> | null | undefined)[]>;
9
+ const as: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
7
10
  }
8
11
  namespace defaultProps {
9
12
  const className_1: string;
@@ -12,3 +15,4 @@ export namespace JobMeta {
12
15
  export { as_1 as as };
13
16
  }
14
17
  }
18
+ import PropTypes from "prop-types";
@@ -4,7 +4,7 @@ export function JobName({ as: Component, title, internalBuildNumber, children, .
4
4
  title: any;
5
5
  internalBuildNumber: any;
6
6
  children: any;
7
- }): any;
7
+ }): JSX.Element;
8
8
  export namespace JobName {
9
9
  namespace defaultProps {
10
10
  const as: string;
@@ -13,13 +13,14 @@ export namespace JobName {
13
13
  const children: null;
14
14
  }
15
15
  namespace propTypes {
16
- const as_1: any;
16
+ const as_1: PropTypes.Requireable<NonNullable<string | ((...args: any[]) => any) | null | undefined>>;
17
17
  export { as_1 as as };
18
- const title_1: any;
18
+ const title_1: PropTypes.Requireable<string>;
19
19
  export { title_1 as title };
20
- const internalBuildNumber_1: any;
20
+ const internalBuildNumber_1: PropTypes.Requireable<number>;
21
21
  export { internalBuildNumber_1 as internalBuildNumber };
22
- const children_1: any;
22
+ const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
23
23
  export { children_1 as children };
24
24
  }
25
25
  }
26
+ import PropTypes from "prop-types";
@@ -1,8 +1,10 @@
1
- export function JobsHeader(props: any): any;
1
+ export function JobsHeader(props: any): JSX.Element;
2
2
  export namespace JobsHeader {
3
3
  namespace propTypes {
4
- const className: any;
5
- const jobs: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const jobs: PropTypes.Requireable<(PropTypes.InferProps<{
6
+ internalBuildNumber: PropTypes.Requireable<number>;
7
+ }> | null | undefined)[]>;
6
8
  }
7
9
  namespace defaultProps {
8
10
  const className_1: string;
@@ -11,3 +13,4 @@ export namespace JobsHeader {
11
13
  export { jobs_1 as jobs };
12
14
  }
13
15
  }
16
+ import PropTypes from "prop-types";
@@ -1,13 +1,14 @@
1
- export function LighthouseTable(props: any): any;
1
+ export function LighthouseTable(props: any): JSX.Element;
2
2
  export namespace LighthouseTable {
3
3
  namespace defaultProps {
4
4
  const className: string;
5
5
  const jobs: never[];
6
6
  }
7
7
  namespace propTypes {
8
- const className_1: any;
8
+ const className_1: PropTypes.Requireable<string>;
9
9
  export { className_1 as className };
10
- const jobs_1: any;
10
+ const jobs_1: PropTypes.Requireable<any[]>;
11
11
  export { jobs_1 as jobs };
12
12
  }
13
13
  }
14
+ import PropTypes from "prop-types";