@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.
- package/lib/components/bundle-modules/bundle-modules.js +1 -2
- package/lib/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib/components/bundle-modules/bundle-modules.module.css +4 -0
- package/lib/components/module-info/module-info.js +24 -16
- package/lib/components/module-info/module-info.js.map +1 -1
- package/lib/components/module-info/module-info.module.css +27 -8
- package/lib/ui/tag/tag.module.css +2 -2
- package/lib-esm/components/bundle-modules/bundle-modules.js +1 -2
- package/lib-esm/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib-esm/components/bundle-modules/bundle-modules.module.css +4 -0
- package/lib-esm/components/module-info/module-info.js +25 -17
- package/lib-esm/components/module-info/module-info.js.map +1 -1
- package/lib-esm/components/module-info/module-info.module.css +27 -8
- package/lib-esm/ui/tag/tag.module.css +2 -2
- package/package.json +8 -7
- package/src/components/bundle-modules/bundle-modules.jsx +11 -9
- package/src/components/bundle-modules/bundle-modules.module.css +4 -0
- package/src/components/module-info/module-info.jsx +55 -25
- package/src/components/module-info/module-info.module.css +27 -8
- package/src/ui/tag/tag.module.css +2 -2
- package/types/app/app.d.ts +1 -1
- package/types/app/header/header.d.ts +4 -3
- package/types/assets/icons.svg.d.ts +1 -1
- package/types/components/asset-info/asset-info.d.ts +12 -6
- package/types/components/browsertime-table/browsertime-table.d.ts +4 -3
- package/types/components/bundle-assets/bundle-assets.d.ts +37 -16
- package/types/components/bundle-assets/index.d.ts +8 -7
- package/types/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.d.ts +7 -4
- package/types/components/bundle-assets-totals-table/bundle-assets-totals-table.d.ts +5 -4
- package/types/components/bundle-modules/bundle-modules.d.ts +26 -17
- package/types/components/bundle-modules/index.d.ts +8 -7
- package/types/components/bundle-packages/bundle-packages.d.ts +31 -16
- package/types/components/bundle-packages/index.d.ts +8 -7
- package/types/components/component-link.d.ts +5 -4
- package/types/components/delta/delta.d.ts +6 -5
- package/types/components/duplicate-packages-warning/duplicate-packages-warning.d.ts +9 -5
- package/types/components/job-header/job-header.d.ts +12 -5
- package/types/components/job-meta/job-meta.d.ts +8 -4
- package/types/components/job-name/job-name.d.ts +6 -5
- package/types/components/jobs-header/jobs-header.d.ts +6 -3
- package/types/components/lighthouse-table/lighthouse-table.d.ts +4 -3
- package/types/components/metric/metric.d.ts +8 -7
- package/types/components/metrics-table/metrics-table.d.ts +21 -9
- package/types/components/metrics-table-options/metrics-table-options.d.ts +5 -4
- package/types/components/metrics-table-search/metrics-table-search.d.ts +6 -5
- package/types/components/metrics-table-title/metrics-table-title.d.ts +7 -6
- package/types/components/module-info/module-info.d.ts +19 -8
- package/types/components/summary/summary.d.ts +9 -8
- package/types/components/summary-item/summary-item.d.ts +10 -9
- package/types/components/total-size-type-title/total-size-type-title.d.ts +3 -2
- package/types/hooks/rows-sort.d.ts +9 -3
- package/types/hooks/search-params.d.ts +4 -4
- package/types/layout/box/box.d.ts +8 -7
- package/types/layout/flex-stack/flex-stack.d.ts +8 -7
- package/types/layout/footer/footer.d.ts +4 -3
- package/types/layout/separator.d.ts +4 -4
- package/types/layout/stack/stack.d.ts +6 -5
- package/types/query-state.d.ts +1 -1
- package/types/stories/wrapper.d.ts +1 -1
- package/types/ui/alert/alert.d.ts +5 -4
- package/types/ui/container/container.d.ts +4 -3
- package/types/ui/dropdown/dropdown.d.ts +11 -10
- package/types/ui/empty-set/empty-set.d.ts +6 -5
- package/types/ui/file-name/file-name.d.ts +5 -4
- package/types/ui/filters/filters.d.ts +6 -5
- package/types/ui/filters/index.d.ts +4 -3
- package/types/ui/horizontal-bar-chart/horizontal-bar-chart.d.ts +12 -4
- package/types/ui/hover-card/hover-card.d.ts +9 -8
- package/types/ui/icon/icon.d.ts +6 -5
- package/types/ui/input/input.d.ts +4 -3
- package/types/ui/loader/loader.d.ts +4 -3
- package/types/ui/panels/panels.d.ts +4 -3
- package/types/ui/skeleton/skeleton.d.ts +5 -4
- package/types/ui/sort-dropdown/sort-dropdown.d.ts +8 -7
- package/types/ui/table/table.d.ts +7 -6
- package/types/ui/tabs/tabs.d.ts +8 -7
- package/types/ui/tag/tag.d.ts +6 -5
- package/types/ui/toolbar/toolbar.d.ts +5 -4
- package/types/ui/tooltip/tooltip.d.ts +11 -8
- package/types/utils.d.ts +1 -1
|
@@ -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
|
-
}):
|
|
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:
|
|
19
|
+
const className_1: PropTypes.Requireable<string>;
|
|
20
20
|
export { className_1 as className };
|
|
21
|
-
const enhanced_1:
|
|
21
|
+
const enhanced_1: PropTypes.Requireable<boolean>;
|
|
22
22
|
export { enhanced_1 as enhanced };
|
|
23
|
-
const inline_1:
|
|
23
|
+
const inline_1: PropTypes.Requireable<boolean>;
|
|
24
24
|
export { inline_1 as inline };
|
|
25
|
-
const value_1:
|
|
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:
|
|
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
|
-
}):
|
|
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:
|
|
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:
|
|
27
|
-
|
|
28
|
-
|
|
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:
|
|
39
|
+
const showHeaderSum_1: PropTypes.Requireable<boolean>;
|
|
31
40
|
export { showHeaderSum_1 as showHeaderSum };
|
|
32
|
-
const headerRows_1:
|
|
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:
|
|
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):
|
|
1
|
+
export function MetricsTableOptions(props: any): JSX.Element;
|
|
2
2
|
export namespace MetricsTableOptions {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
const className:
|
|
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):
|
|
1
|
+
export function MetricsTableSearch(props: any): JSX.Element;
|
|
2
2
|
export namespace MetricsTableSearch {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
const className:
|
|
5
|
-
const placeholder:
|
|
6
|
-
const search:
|
|
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):
|
|
1
|
+
export function MetricsTableTitle(props: any): JSX.Element;
|
|
2
2
|
export namespace MetricsTableTitle {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
const className:
|
|
5
|
-
const title:
|
|
6
|
-
const info:
|
|
7
|
-
const popoverHref:
|
|
8
|
-
const popoverInfo:
|
|
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):
|
|
1
|
+
export function ModuleInfo(props: any): JSX.Element;
|
|
2
2
|
export namespace ModuleInfo {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
const className:
|
|
5
|
-
const item:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
}):
|
|
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:
|
|
21
|
+
const className_1: PropTypes.Requireable<string>;
|
|
22
22
|
export { className_1 as className };
|
|
23
|
-
const size_1:
|
|
23
|
+
const size_1: PropTypes.Requireable<string>;
|
|
24
24
|
export { size_1 as size };
|
|
25
|
-
export const keys:
|
|
26
|
-
const data_1:
|
|
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:
|
|
28
|
+
const loading_1: PropTypes.Requireable<boolean>;
|
|
29
29
|
export { loading_1 as loading };
|
|
30
|
-
const showSummaryItemDelta_1:
|
|
30
|
+
const showSummaryItemDelta_1: PropTypes.Requireable<boolean>;
|
|
31
31
|
export { showSummaryItemDelta_1 as showSummaryItemDelta };
|
|
32
|
-
export const summaryItemLink:
|
|
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
|
-
}):
|
|
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:
|
|
23
|
+
const className_1: PropTypes.Requireable<string>;
|
|
24
24
|
export { className_1 as className };
|
|
25
|
-
const as_1:
|
|
25
|
+
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
26
26
|
export { as_1 as as };
|
|
27
|
-
const size_1:
|
|
27
|
+
const size_1: PropTypes.Requireable<string>;
|
|
28
28
|
export { size_1 as size };
|
|
29
|
-
export const id:
|
|
30
|
-
const loading_1:
|
|
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:
|
|
32
|
+
const data_1: PropTypes.Requireable<object>;
|
|
33
33
|
export { data_1 as data };
|
|
34
|
-
const showMetricDescription_1:
|
|
34
|
+
const showMetricDescription_1: PropTypes.Requireable<boolean>;
|
|
35
35
|
export { showMetricDescription_1 as showMetricDescription };
|
|
36
|
-
const showDelta_1:
|
|
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
|
-
}):
|
|
3
|
+
}): JSX.Element;
|
|
4
4
|
export namespace TotalSizeTypeTitle {
|
|
5
5
|
namespace propTypes {
|
|
6
|
-
const className:
|
|
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:
|
|
10
|
-
|
|
11
|
-
|
|
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:
|
|
20
|
-
resetAllFilters:
|
|
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):
|
|
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:
|
|
12
|
+
const className_1: PropTypes.Requireable<string>;
|
|
13
13
|
export { className_1 as className };
|
|
14
|
-
const as_1:
|
|
14
|
+
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
15
15
|
export { as_1 as as };
|
|
16
|
-
export const padding:
|
|
17
|
-
const horizontalPadding_1:
|
|
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:
|
|
19
|
+
const verticalPadding_1: PropTypes.Requireable<string>;
|
|
20
20
|
export { verticalPadding_1 as verticalPadding };
|
|
21
|
-
const outline_1:
|
|
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
|
-
}):
|
|
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:
|
|
20
|
+
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
21
21
|
export { as_1 as as };
|
|
22
|
-
const className_1:
|
|
22
|
+
const className_1: PropTypes.Requireable<string>;
|
|
23
23
|
export { className_1 as className };
|
|
24
|
-
const children_1:
|
|
24
|
+
const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
25
25
|
export { children_1 as children };
|
|
26
|
-
export const space:
|
|
27
|
-
const alignItems_1:
|
|
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:
|
|
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
|
-
}):
|
|
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:
|
|
11
|
+
const className_1: PropTypes.Requireable<string>;
|
|
12
12
|
export { className_1 as className };
|
|
13
|
-
const version_1:
|
|
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:
|
|
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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function Stack(props: any):
|
|
1
|
+
export function Stack(props: any): JSX.Element;
|
|
2
2
|
export namespace Stack {
|
|
3
3
|
namespace defaultProps {
|
|
4
4
|
export const as: string;
|
|
@@ -7,13 +7,14 @@ export namespace Stack {
|
|
|
7
7
|
export { NO_SPACE as space };
|
|
8
8
|
}
|
|
9
9
|
namespace propTypes {
|
|
10
|
-
const as_1:
|
|
10
|
+
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
11
11
|
export { as_1 as as };
|
|
12
|
-
const className_1:
|
|
12
|
+
const className_1: PropTypes.Requireable<string>;
|
|
13
13
|
export { className_1 as className };
|
|
14
|
-
const children_1:
|
|
14
|
+
const children_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
15
|
export { children_1 as children };
|
|
16
|
-
export const space:
|
|
16
|
+
export const space: PropTypes.Requireable<string>;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
import { NO_SPACE } from "../../constants";
|
|
20
|
+
import PropTypes from "prop-types";
|
package/types/query-state.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function QueryStateProvider(props: any):
|
|
1
|
+
export function QueryStateProvider(props: any): JSX.Element;
|
|
2
2
|
export function useComponentQueryState(componentName: any): any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function getWrapperDecorator(customWrapperStyles?: {}): (storyFn: any) =>
|
|
1
|
+
export function getWrapperDecorator(customWrapperStyles?: {}): (storyFn: any) => JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export function Alert(props: any):
|
|
1
|
+
export function Alert(props: any): JSX.Element;
|
|
2
2
|
export namespace Alert {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
const className:
|
|
5
|
-
const kind:
|
|
6
|
-
const children:
|
|
4
|
+
const className: PropTypes.Requireable<string>;
|
|
5
|
+
const kind: PropTypes.Requireable<string>;
|
|
6
|
+
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
7
7
|
}
|
|
8
8
|
namespace defaultProps {
|
|
9
9
|
const className_1: string;
|
|
@@ -12,3 +12,4 @@ export namespace Alert {
|
|
|
12
12
|
export { kind_1 as kind };
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
import PropTypes from "prop-types";
|
|
@@ -2,16 +2,17 @@ export function Container({ className, as: Component, ...restProps }: {
|
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
className: any;
|
|
4
4
|
as: any;
|
|
5
|
-
}):
|
|
5
|
+
}): JSX.Element;
|
|
6
6
|
export namespace Container {
|
|
7
7
|
namespace defaultProps {
|
|
8
8
|
const className: string;
|
|
9
9
|
const as: string;
|
|
10
10
|
}
|
|
11
11
|
namespace propTypes {
|
|
12
|
-
const className_1:
|
|
12
|
+
const className_1: PropTypes.Requireable<string>;
|
|
13
13
|
export { className_1 as className };
|
|
14
|
-
const as_1:
|
|
14
|
+
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
15
15
|
export { as_1 as as };
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
+
import PropTypes from "prop-types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function Dropdown(props: any):
|
|
1
|
+
export function Dropdown(props: any): JSX.Element;
|
|
2
2
|
export namespace Dropdown {
|
|
3
3
|
export namespace defaultProps {
|
|
4
4
|
const className: string;
|
|
@@ -8,30 +8,31 @@ export namespace Dropdown {
|
|
|
8
8
|
const glyph: null;
|
|
9
9
|
}
|
|
10
10
|
export namespace propTypes {
|
|
11
|
-
const className_1:
|
|
11
|
+
const className_1: PropTypes.Requireable<string>;
|
|
12
12
|
export { className_1 as className };
|
|
13
|
-
const buttonClassName_1:
|
|
13
|
+
const buttonClassName_1: PropTypes.Requireable<string>;
|
|
14
14
|
export { buttonClassName_1 as buttonClassName };
|
|
15
|
-
const label_1:
|
|
15
|
+
const label_1: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
16
|
export { label_1 as label };
|
|
17
|
-
const ariaLabel_1:
|
|
17
|
+
const ariaLabel_1: PropTypes.Requireable<string>;
|
|
18
18
|
export { ariaLabel_1 as ariaLabel };
|
|
19
|
-
const glyph_1:
|
|
19
|
+
const glyph_1: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
20
20
|
export { glyph_1 as glyph };
|
|
21
|
-
export const children: any
|
|
21
|
+
export const 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
26
|
declare function Item({ className, isActive, ...restProps }: {
|
|
26
27
|
[x: string]: any;
|
|
27
28
|
className?: string | undefined;
|
|
28
29
|
isActive?: boolean | undefined;
|
|
29
|
-
}):
|
|
30
|
+
}): JSX.Element;
|
|
30
31
|
declare namespace Item {
|
|
31
32
|
export namespace propTypes_1 {
|
|
32
|
-
const className_2:
|
|
33
|
+
const className_2: PropTypes.Requireable<string>;
|
|
33
34
|
export { className_2 as className };
|
|
34
|
-
export const isActive:
|
|
35
|
+
export const isActive: PropTypes.Requireable<boolean>;
|
|
35
36
|
}
|
|
36
37
|
export { propTypes_1 as propTypes };
|
|
37
38
|
export namespace defaultProps_1 {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export function EmptySet(props: any):
|
|
1
|
+
export function EmptySet(props: any): JSX.Element;
|
|
2
2
|
export namespace EmptySet {
|
|
3
3
|
namespace propTypes {
|
|
4
|
-
const resources:
|
|
5
|
-
const filtered:
|
|
6
|
-
const handleResetFilters: any
|
|
7
|
-
const handleViewAll: any
|
|
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>;
|
|
8
8
|
}
|
|
9
9
|
namespace defaultProps {
|
|
10
10
|
const handleResetFilters_1: null;
|
|
@@ -13,3 +13,4 @@ export namespace EmptySet {
|
|
|
13
13
|
export { handleViewAll_1 as handleViewAll };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
import PropTypes from "prop-types";
|
|
@@ -2,7 +2,7 @@ export function FileName({ className, as: Component, name }: {
|
|
|
2
2
|
className: any;
|
|
3
3
|
as: any;
|
|
4
4
|
name: any;
|
|
5
|
-
}):
|
|
5
|
+
}): JSX.Element;
|
|
6
6
|
export namespace FileName {
|
|
7
7
|
namespace defaultProps {
|
|
8
8
|
const className: string;
|
|
@@ -10,11 +10,12 @@ export namespace FileName {
|
|
|
10
10
|
const name: string;
|
|
11
11
|
}
|
|
12
12
|
namespace propTypes {
|
|
13
|
-
const className_1:
|
|
13
|
+
const className_1: PropTypes.Requireable<string>;
|
|
14
14
|
export { className_1 as className };
|
|
15
|
-
const as_1:
|
|
15
|
+
const as_1: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
16
16
|
export { as_1 as as };
|
|
17
|
-
const name_1:
|
|
17
|
+
const name_1: PropTypes.Requireable<string>;
|
|
18
18
|
export { name_1 as name };
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
+
import PropTypes from "prop-types";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
export function Filters(props: any):
|
|
1
|
+
export function Filters(props: any): JSX.Element;
|
|
2
2
|
export namespace Filters {
|
|
3
3
|
namespace defaultProps {
|
|
4
4
|
const className: string;
|
|
5
5
|
}
|
|
6
6
|
namespace propTypes {
|
|
7
|
-
const className_1:
|
|
7
|
+
const className_1: PropTypes.Requireable<string>;
|
|
8
8
|
export { className_1 as className };
|
|
9
|
-
export const values:
|
|
10
|
-
export const filters:
|
|
11
|
-
export const toggleFilter: any
|
|
9
|
+
export const values: PropTypes.Validator<object>;
|
|
10
|
+
export const filters: PropTypes.Validator<object>;
|
|
11
|
+
export const toggleFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
import PropTypes from "prop-types";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export function Filters(props: any):
|
|
1
|
+
export function Filters(props: any): JSX.Element;
|
|
2
2
|
export namespace Filters {
|
|
3
3
|
namespace defaultProps {
|
|
4
4
|
const onChange: null;
|
|
5
5
|
}
|
|
6
6
|
namespace propTypes {
|
|
7
|
-
export const filters:
|
|
8
|
-
const onChange_1: any
|
|
7
|
+
export const filters: PropTypes.Validator<object>;
|
|
8
|
+
const onChange_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
9
|
export { onChange_1 as onChange };
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
import PropTypes from "prop-types";
|