@bundle-stats/ui 4.1.6 → 4.1.7

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 (76) hide show
  1. package/lib/components/bundle-assets/bundle-assets.utils.js +1 -1
  2. package/lib/components/bundle-assets/bundle-assets.utils.js.map +1 -1
  3. package/lib/components/bundle-modules/bundle-modules.utils.js +1 -1
  4. package/lib/components/bundle-modules/bundle-modules.utils.js.map +1 -1
  5. package/lib/components/bundle-packages/bundle-packages.utils.js +1 -1
  6. package/lib/components/bundle-packages/bundle-packages.utils.js.map +1 -1
  7. package/lib-esm/components/bundle-assets/bundle-assets.utils.js +1 -1
  8. package/lib-esm/components/bundle-assets/bundle-assets.utils.js.map +1 -1
  9. package/lib-esm/components/bundle-modules/bundle-modules.utils.js +1 -1
  10. package/lib-esm/components/bundle-modules/bundle-modules.utils.js.map +1 -1
  11. package/lib-esm/components/bundle-packages/bundle-packages.utils.js +1 -1
  12. package/lib-esm/components/bundle-packages/bundle-packages.utils.js.map +1 -1
  13. package/package.json +15 -14
  14. package/src/components/bundle-assets/bundle-assets.utils.js +1 -1
  15. package/src/components/bundle-modules/bundle-modules.utils.js +1 -1
  16. package/src/components/bundle-packages/bundle-packages.utils.js +1 -1
  17. package/types/app/app.d.ts +1 -1
  18. package/types/app/header/header.d.ts +4 -3
  19. package/types/assets/icons.svg.d.ts +1 -1
  20. package/types/components/asset-info/asset-info.d.ts +12 -6
  21. package/types/components/browsertime-table/browsertime-table.d.ts +4 -3
  22. package/types/components/bundle-assets/bundle-assets.d.ts +37 -16
  23. package/types/components/bundle-assets/index.d.ts +8 -7
  24. package/types/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.d.ts +7 -4
  25. package/types/components/bundle-assets-totals-table/bundle-assets-totals-table.d.ts +5 -4
  26. package/types/components/bundle-modules/bundle-modules.d.ts +26 -17
  27. package/types/components/bundle-modules/index.d.ts +8 -7
  28. package/types/components/bundle-packages/bundle-packages.d.ts +31 -16
  29. package/types/components/bundle-packages/index.d.ts +8 -7
  30. package/types/components/component-link.d.ts +5 -4
  31. package/types/components/delta/delta.d.ts +6 -5
  32. package/types/components/duplicate-packages-warning/duplicate-packages-warning.d.ts +9 -5
  33. package/types/components/job-header/job-header.d.ts +12 -5
  34. package/types/components/job-meta/job-meta.d.ts +8 -4
  35. package/types/components/job-name/job-name.d.ts +6 -5
  36. package/types/components/jobs-header/jobs-header.d.ts +6 -3
  37. package/types/components/lighthouse-table/lighthouse-table.d.ts +4 -3
  38. package/types/components/metric/metric.d.ts +8 -7
  39. package/types/components/metrics-table/metrics-table.d.ts +21 -9
  40. package/types/components/metrics-table-options/metrics-table-options.d.ts +5 -4
  41. package/types/components/metrics-table-search/metrics-table-search.d.ts +6 -5
  42. package/types/components/metrics-table-title/metrics-table-title.d.ts +7 -6
  43. package/types/components/module-info/module-info.d.ts +19 -8
  44. package/types/components/summary/summary.d.ts +9 -8
  45. package/types/components/summary-item/summary-item.d.ts +10 -9
  46. package/types/components/total-size-type-title/total-size-type-title.d.ts +3 -2
  47. package/types/hooks/rows-sort.d.ts +9 -3
  48. package/types/hooks/search-params.d.ts +4 -4
  49. package/types/layout/box/box.d.ts +8 -7
  50. package/types/layout/flex-stack/flex-stack.d.ts +8 -7
  51. package/types/layout/footer/footer.d.ts +4 -3
  52. package/types/layout/separator.d.ts +4 -4
  53. package/types/layout/stack/stack.d.ts +6 -5
  54. package/types/query-state.d.ts +1 -1
  55. package/types/stories/wrapper.d.ts +1 -1
  56. package/types/ui/alert/alert.d.ts +5 -4
  57. package/types/ui/container/container.d.ts +4 -3
  58. package/types/ui/dropdown/dropdown.d.ts +11 -10
  59. package/types/ui/empty-set/empty-set.d.ts +6 -5
  60. package/types/ui/file-name/file-name.d.ts +5 -4
  61. package/types/ui/filters/filters.d.ts +6 -5
  62. package/types/ui/filters/index.d.ts +4 -3
  63. package/types/ui/horizontal-bar-chart/horizontal-bar-chart.d.ts +12 -4
  64. package/types/ui/hover-card/hover-card.d.ts +9 -8
  65. package/types/ui/icon/icon.d.ts +6 -5
  66. package/types/ui/input/input.d.ts +4 -3
  67. package/types/ui/loader/loader.d.ts +4 -3
  68. package/types/ui/panels/panels.d.ts +4 -3
  69. package/types/ui/skeleton/skeleton.d.ts +5 -4
  70. package/types/ui/sort-dropdown/sort-dropdown.d.ts +8 -7
  71. package/types/ui/table/table.d.ts +7 -6
  72. package/types/ui/tabs/tabs.d.ts +8 -7
  73. package/types/ui/tag/tag.d.ts +6 -5
  74. package/types/ui/toolbar/toolbar.d.ts +5 -4
  75. package/types/ui/tooltip/tooltip.d.ts +11 -8
  76. package/types/utils.d.ts +1 -1
@@ -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";
@@ -5,7 +5,7 @@ export function Metric({ className, value, formatter, inline, children, enhanced
5
5
  inline: any;
6
6
  children: any;
7
7
  enhanced: any;
8
- }): any;
8
+ }): JSX.Element;
9
9
  export namespace Metric {
10
10
  namespace defaultProps {
11
11
  const className: string;
@@ -16,17 +16,18 @@ export namespace Metric {
16
16
  function formatter(val: any): any;
17
17
  }
18
18
  namespace propTypes {
19
- const className_1: any;
19
+ const className_1: PropTypes.Requireable<string>;
20
20
  export { className_1 as className };
21
- const enhanced_1: any;
21
+ const enhanced_1: PropTypes.Requireable<boolean>;
22
22
  export { enhanced_1 as enhanced };
23
- const inline_1: any;
23
+ const inline_1: PropTypes.Requireable<boolean>;
24
24
  export { inline_1 as inline };
25
- const value_1: any;
25
+ const value_1: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
26
26
  export { value_1 as value };
27
- const formatter_1: any;
27
+ const formatter_1: PropTypes.Requireable<(...args: any[]) => any>;
28
28
  export { formatter_1 as formatter };
29
- const children_1: any;
29
+ const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
30
  export { children_1 as children };
31
31
  }
32
32
  }
33
+ import PropTypes from "prop-types";
@@ -8,7 +8,7 @@ export function MetricsTable({ className, renderRowHeader, runs, items, emptyMes
8
8
  showHeaderSum: any;
9
9
  headerRows: any;
10
10
  title: any;
11
- }): any;
11
+ }): JSX.Element;
12
12
  export namespace MetricsTable {
13
13
  namespace defaultProps {
14
14
  const className: string;
@@ -19,19 +19,31 @@ export namespace MetricsTable {
19
19
  const title: string;
20
20
  }
21
21
  namespace propTypes {
22
- const className_1: any;
22
+ const className_1: PropTypes.Requireable<string>;
23
23
  export { className_1 as className };
24
- const renderRowHeader_1: any;
24
+ const renderRowHeader_1: PropTypes.Requireable<(...args: any[]) => any>;
25
25
  export { renderRowHeader_1 as renderRowHeader };
26
- export const runs: any;
27
- export const items: any;
28
- const emptyMessage_1: any;
26
+ export const runs: PropTypes.Validator<(PropTypes.InferProps<{
27
+ internalBuildNumber: PropTypes.Requireable<number>;
28
+ }> | null | undefined)[]>;
29
+ export const items: PropTypes.Validator<(PropTypes.InferProps<{
30
+ key: PropTypes.Requireable<string>;
31
+ label: PropTypes.Requireable<string>;
32
+ runs: PropTypes.Requireable<(PropTypes.InferProps<{
33
+ displayValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
34
+ displayDelta: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
35
+ }> | null | undefined)[]>;
36
+ }> | null | undefined)[]>;
37
+ const emptyMessage_1: PropTypes.Requireable<PropTypes.ReactElementLike>;
29
38
  export { emptyMessage_1 as emptyMessage };
30
- const showHeaderSum_1: any;
39
+ const showHeaderSum_1: PropTypes.Requireable<boolean>;
31
40
  export { showHeaderSum_1 as showHeaderSum };
32
- const headerRows_1: any;
41
+ const headerRows_1: PropTypes.Requireable<((NonNullable<PropTypes.ReactElementLike | PropTypes.InferProps<{
42
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
43
+ }> | null | undefined> | null | undefined)[] | null | undefined)[]>;
33
44
  export { headerRows_1 as headerRows };
34
- const title_1: any;
45
+ const title_1: PropTypes.Requireable<PropTypes.ReactElementLike>;
35
46
  export { title_1 as title };
36
47
  }
37
48
  }
49
+ import PropTypes from "prop-types";
@@ -1,9 +1,9 @@
1
- export function MetricsTableOptions(props: any): any;
1
+ export function MetricsTableOptions(props: any): JSX.Element;
2
2
  export namespace MetricsTableOptions {
3
3
  namespace propTypes {
4
- const className: any;
5
- const handleViewAll: any;
6
- const handleResetFilters: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const handleViewAll: PropTypes.Requireable<(...args: any[]) => any>;
6
+ const handleResetFilters: PropTypes.Requireable<(...args: any[]) => any>;
7
7
  }
8
8
  namespace defaultProps {
9
9
  const className_1: string;
@@ -14,3 +14,4 @@ export namespace MetricsTableOptions {
14
14
  export { handleResetFilters_1 as handleResetFilters };
15
15
  }
16
16
  }
17
+ import PropTypes from "prop-types";
@@ -1,10 +1,10 @@
1
- export function MetricsTableSearch(props: any): any;
1
+ export function MetricsTableSearch(props: any): JSX.Element;
2
2
  export namespace MetricsTableSearch {
3
3
  namespace propTypes {
4
- const className: any;
5
- const placeholder: any;
6
- const search: any;
7
- const updateSearch: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const placeholder: PropTypes.Requireable<string>;
6
+ const search: PropTypes.Validator<string>;
7
+ const updateSearch: PropTypes.Validator<(...args: any[]) => any>;
8
8
  }
9
9
  namespace defaultProps {
10
10
  const className_1: string;
@@ -13,3 +13,4 @@ export namespace MetricsTableSearch {
13
13
  export { placeholder_1 as placeholder };
14
14
  }
15
15
  }
16
+ import PropTypes from "prop-types";
@@ -1,11 +1,11 @@
1
- export function MetricsTableTitle(props: any): any;
1
+ export function MetricsTableTitle(props: any): JSX.Element;
2
2
  export namespace MetricsTableTitle {
3
3
  namespace propTypes {
4
- const className: any;
5
- const title: any;
6
- const info: any;
7
- const popoverHref: any;
8
- const popoverInfo: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const title: PropTypes.Validator<string>;
6
+ const info: PropTypes.Requireable<PropTypes.ReactNodeLike>;
7
+ const popoverHref: PropTypes.Requireable<string>;
8
+ const popoverInfo: PropTypes.Requireable<string>;
9
9
  }
10
10
  namespace defaultProps {
11
11
  const className_1: string;
@@ -18,3 +18,4 @@ export namespace MetricsTableTitle {
18
18
  export { popoverInfo_1 as popoverInfo };
19
19
  }
20
20
  }
21
+ import PropTypes from "prop-types";
@@ -1,13 +1,23 @@
1
- export function ModuleInfo(props: any): any;
1
+ export function ModuleInfo(props: any): JSX.Element;
2
2
  export namespace ModuleInfo {
3
3
  namespace propTypes {
4
- const className: any;
5
- const item: any;
6
- const labels: any;
7
- const chunks: any;
8
- const chunkIds: any;
9
- const customComponentLink: any;
10
- const onClick: any;
4
+ const className: PropTypes.Requireable<string>;
5
+ const item: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
6
+ key: PropTypes.Requireable<string>;
7
+ runs: PropTypes.Requireable<(PropTypes.InferProps<{
8
+ key: PropTypes.Requireable<string>;
9
+ name: PropTypes.Requireable<string>;
10
+ chunkIds: PropTypes.Requireable<(string | null | undefined)[]>;
11
+ }> | null | undefined)[]>;
12
+ }>>>;
13
+ const labels: PropTypes.Validator<(string | null | undefined)[]>;
14
+ const chunks: PropTypes.Requireable<(PropTypes.InferProps<{
15
+ id: PropTypes.Requireable<string>;
16
+ name: PropTypes.Requireable<string>;
17
+ }> | null | undefined)[]>;
18
+ const chunkIds: PropTypes.Requireable<(string | null | undefined)[]>;
19
+ const customComponentLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
20
+ const onClick: PropTypes.Requireable<(...args: any[]) => any>;
11
21
  }
12
22
  namespace defaultProps {
13
23
  const className_1: string;
@@ -20,5 +30,6 @@ export namespace ModuleInfo {
20
30
  export { noop as onClick };
21
31
  }
22
32
  }
33
+ import PropTypes from "prop-types";
23
34
  import { ComponentLink } from "../component-link";
24
35
  import noop from "lodash/noop";
@@ -6,7 +6,7 @@ export function Summary({ className, size, keys, data, loading, showSummaryItemD
6
6
  loading: any;
7
7
  showSummaryItemDelta: any;
8
8
  summaryItemLink: any;
9
- }): any;
9
+ }): JSX.Element;
10
10
  export namespace Summary {
11
11
  namespace defaultProps {
12
12
  export const className: string;
@@ -18,19 +18,20 @@ export namespace Summary {
18
18
  export { ComponentLink as summaryItemLink };
19
19
  }
20
20
  namespace propTypes {
21
- const className_1: any;
21
+ const className_1: PropTypes.Requireable<string>;
22
22
  export { className_1 as className };
23
- const size_1: any;
23
+ const size_1: PropTypes.Requireable<string>;
24
24
  export { size_1 as size };
25
- export const keys: any;
26
- const data_1: any;
25
+ export const keys: PropTypes.Requireable<(string | null | undefined)[]>;
26
+ const data_1: PropTypes.Requireable<PropTypes.InferProps<{}>>;
27
27
  export { data_1 as data };
28
- const loading_1: any;
28
+ const loading_1: PropTypes.Requireable<boolean>;
29
29
  export { loading_1 as loading };
30
- const showSummaryItemDelta_1: any;
30
+ const showSummaryItemDelta_1: PropTypes.Requireable<boolean>;
31
31
  export { showSummaryItemDelta_1 as showSummaryItemDelta };
32
- export const summaryItemLink: any;
32
+ export const summaryItemLink: PropTypes.Requireable<PropTypes.ReactComponentLike>;
33
33
  }
34
34
  }
35
35
  import { METRICS_WEBPACK_GENERAL } from "../../constants";
36
36
  import { ComponentLink } from "../component-link";
37
+ import PropTypes from "prop-types";
@@ -8,7 +8,7 @@ export function SummaryItem({ className, as: Component, size, id, data, loading,
8
8
  loading: any;
9
9
  showDelta: any;
10
10
  showMetricDescription: any;
11
- }): any;
11
+ }): JSX.Element;
12
12
  export namespace SummaryItem {
13
13
  namespace defaultProps {
14
14
  const className: string;
@@ -20,20 +20,21 @@ export namespace SummaryItem {
20
20
  const showDelta: boolean;
21
21
  }
22
22
  namespace propTypes {
23
- const className_1: any;
23
+ const className_1: PropTypes.Requireable<string>;
24
24
  export { className_1 as className };
25
- const as_1: any;
25
+ const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
26
26
  export { as_1 as as };
27
- const size_1: any;
27
+ const size_1: PropTypes.Requireable<string>;
28
28
  export { size_1 as size };
29
- export const id: any;
30
- const loading_1: any;
29
+ export const id: PropTypes.Validator<string>;
30
+ const loading_1: PropTypes.Requireable<boolean>;
31
31
  export { loading_1 as loading };
32
- const data_1: any;
32
+ const data_1: PropTypes.Requireable<object>;
33
33
  export { data_1 as data };
34
- const showMetricDescription_1: any;
34
+ const showMetricDescription_1: PropTypes.Requireable<boolean>;
35
35
  export { showMetricDescription_1 as showMetricDescription };
36
- const showDelta_1: any;
36
+ const showDelta_1: PropTypes.Requireable<boolean>;
37
37
  export { showDelta_1 as showDelta };
38
38
  }
39
39
  }
40
+ import PropTypes from "prop-types";
@@ -1,12 +1,13 @@
1
1
  export function TotalSizeTypeTitle({ className }: {
2
2
  className: any;
3
- }): any;
3
+ }): JSX.Element;
4
4
  export namespace TotalSizeTypeTitle {
5
5
  namespace propTypes {
6
- const className: any;
6
+ const className: PropTypes.Requireable<string>;
7
7
  }
8
8
  namespace defaultProps {
9
9
  const className_1: string;
10
10
  export { className_1 as className };
11
11
  }
12
12
  }
13
+ import PropTypes from "prop-types";
@@ -6,7 +6,13 @@ export function useRowsSort({ rows, sortFields, sortBy, sortDirection, getCustom
6
6
  getCustomSort: any;
7
7
  }): {
8
8
  sortFields: any;
9
- sort: any;
10
- updateSort: any;
11
- items: any;
9
+ sort: {
10
+ field: string;
11
+ direction: string;
12
+ };
13
+ updateSort: import("react").Dispatch<import("react").SetStateAction<{
14
+ field: string;
15
+ direction: string;
16
+ }>>;
17
+ items: any[];
12
18
  };
@@ -14,8 +14,8 @@ export function useSearchParams({ search: parentSearch, filters: parentFilters,
14
14
  searchPattern: any;
15
15
  filters: any;
16
16
  hasActiveFilters: boolean;
17
- updateSearch: any;
18
- updateFilters: any;
19
- resetFilters: any;
20
- resetAllFilters: any;
17
+ updateSearch: (newValue: any) => void;
18
+ updateFilters: (newFilters: any) => void;
19
+ resetFilters: () => void;
20
+ resetAllFilters: () => void;
21
21
  };
@@ -1,4 +1,4 @@
1
- export function Box(props: any): any;
1
+ export function Box(props: any): JSX.Element;
2
2
  export namespace Box {
3
3
  namespace defaultProps {
4
4
  export const className: string;
@@ -9,17 +9,18 @@ export namespace Box {
9
9
  export const outline: boolean;
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
- const as_1: any;
14
+ const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
15
15
  export { as_1 as as };
16
- export const padding: any;
17
- const horizontalPadding_1: any;
16
+ export const padding: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
17
+ const horizontalPadding_1: PropTypes.Requireable<string>;
18
18
  export { horizontalPadding_1 as horizontalPadding };
19
- const verticalPadding_1: any;
19
+ const verticalPadding_1: PropTypes.Requireable<string>;
20
20
  export { verticalPadding_1 as verticalPadding };
21
- const outline_1: any;
21
+ const outline_1: PropTypes.Requireable<boolean>;
22
22
  export { outline_1 as outline };
23
23
  }
24
24
  }
25
25
  import { NO_SPACE } from "../../constants";
26
+ import PropTypes from "prop-types";
@@ -6,7 +6,7 @@ export function FlexStack({ as: Component, className, space, inline, children, a
6
6
  inline?: boolean | undefined;
7
7
  children?: null | undefined;
8
8
  alignItems?: string | undefined;
9
- }): any;
9
+ }): JSX.Element;
10
10
  export namespace FlexStack {
11
11
  namespace defaultProps {
12
12
  export const as: string;
@@ -17,17 +17,18 @@ export namespace FlexStack {
17
17
  export const inline: boolean;
18
18
  }
19
19
  namespace propTypes {
20
- const as_1: any;
20
+ const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
21
21
  export { as_1 as as };
22
- const className_1: any;
22
+ const className_1: PropTypes.Requireable<string>;
23
23
  export { className_1 as className };
24
- const children_1: any;
24
+ const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
25
25
  export { children_1 as children };
26
- export const space: any;
27
- const alignItems_1: any;
26
+ export const space: PropTypes.Requireable<string>;
27
+ const alignItems_1: PropTypes.Requireable<string>;
28
28
  export { alignItems_1 as alignItems };
29
- const inline_1: any;
29
+ const inline_1: PropTypes.Requireable<boolean>;
30
30
  export { inline_1 as inline };
31
31
  }
32
32
  }
33
33
  import { NO_SPACE } from "../../constants";
34
+ import PropTypes from "prop-types";
@@ -1,16 +1,17 @@
1
1
  export function Footer({ className, version }: {
2
2
  className: any;
3
3
  version: any;
4
- }): any;
4
+ }): JSX.Element;
5
5
  export namespace Footer {
6
6
  namespace defaultProps {
7
7
  const className: string;
8
8
  const version: null;
9
9
  }
10
10
  namespace propTypes {
11
- const className_1: any;
11
+ const className_1: PropTypes.Requireable<string>;
12
12
  export { className_1 as className };
13
- const version_1: any;
13
+ const version_1: PropTypes.Requireable<string>;
14
14
  export { version_1 as version };
15
15
  }
16
16
  }
17
+ import PropTypes from "prop-types";
@@ -1,13 +1,13 @@
1
- export function Separator(props: PropTypes.InferProps<{
2
- className: any;
3
- }>): React.FunctionComponentElement;
1
+ export function Separator(props: PropTypes.InferProps<typeof propTypes>): React.FunctionComponentElement<any>;
4
2
  export namespace Separator {
5
3
  export { propTypes };
6
4
  export { defaultProps };
7
5
  }
6
+ import PropTypes from "prop-types";
8
7
  declare namespace propTypes {
9
- const className: any;
8
+ const className: PropTypes.Requireable<string>;
10
9
  }
10
+ import React from "react";
11
11
  declare namespace defaultProps {
12
12
  const className_1: string;
13
13
  export { className_1 as className };