@allurereport/web-components 3.14.3 → 3.16.0
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/dist/index.css +1 -1
- package/dist/index.d.ts +94 -91
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +14 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
|
-
import { SVGAttributes, ComponentChild, Ref, FunctionalComponent,
|
|
2
|
+
import { SVGAttributes, JSX, ComponentChild, Ref, FunctionalComponent, HTMLAttributes, VNode, ComponentChildren, FunctionComponent, ComponentProps } from 'preact';
|
|
3
3
|
import { TextProps as TextProps$1 } from '@/components/Typography';
|
|
4
4
|
import { Placement } from '@floating-ui/dom';
|
|
5
5
|
import * as preact_compat from 'preact/compat';
|
|
@@ -20,96 +20,97 @@ import { DefaultTreeMapDatum, TreeMapSvgProps } from '@nivo/treemap';
|
|
|
20
20
|
import { HeatMapDatum, DefaultHeatMapDatum, HeatMapSvgProps } from '@nivo/heatmap';
|
|
21
21
|
|
|
22
22
|
declare const allureIcons: {
|
|
23
|
-
amazon:
|
|
24
|
-
arrowsChevronDown:
|
|
25
|
-
azure:
|
|
26
|
-
bitbucket:
|
|
27
|
-
circleci:
|
|
28
|
-
draggable:
|
|
29
|
-
drone:
|
|
30
|
-
environment:
|
|
31
|
-
github:
|
|
32
|
-
gitlab:
|
|
33
|
-
jenkins:
|
|
34
|
-
lineAlertsAlertCircle:
|
|
35
|
-
lineAlertsFixed:
|
|
36
|
-
lineAlertsMalfunctioned:
|
|
37
|
-
lineAlertsNew:
|
|
38
|
-
lineAlertsNotificationBox:
|
|
39
|
-
lineAlertsRegressed:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
lineArrowsChevronRight:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
lineArrowsCornerDownRight:
|
|
46
|
-
lineArrowsExpand3:
|
|
47
|
-
lineArrowsRefreshCcw1:
|
|
48
|
-
lineArrowsSortLineAsc:
|
|
49
|
-
lineArrowsSortLineDesc:
|
|
50
|
-
lineArrowsSwitchVertical1:
|
|
51
|
-
lineChartsBarChartSquare:
|
|
52
|
-
lineChartsTimeline:
|
|
53
|
-
lineDevBug2:
|
|
54
|
-
lineDevCodeSquare:
|
|
55
|
-
lineDevDataflow3:
|
|
56
|
-
lineFilesClipboardCheck:
|
|
57
|
-
lineFilesFile2:
|
|
58
|
-
lineFilesFileAttachment2:
|
|
59
|
-
lineFilesFolder:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
lineGeneralChecklist3:
|
|
63
|
-
lineGeneralCopy3:
|
|
64
|
-
lineGeneralDownloadCloud:
|
|
65
|
-
lineGeneralEqual:
|
|
66
|
-
lineGeneralEye:
|
|
67
|
-
lineGeneralHelpCircle:
|
|
68
|
-
lineGeneralHomeLine:
|
|
69
|
-
lineGeneralInfoCircle:
|
|
70
|
-
lineGeneralLink1:
|
|
71
|
-
lineGeneralLinkExternal:
|
|
72
|
-
lineGeneralMinusCircle:
|
|
73
|
-
lineGeneralSearchMd:
|
|
74
|
-
lineGeneralSettings1:
|
|
75
|
-
lineGeneralXCircle:
|
|
76
|
-
lineGeneralXClose:
|
|
77
|
-
lineGeneralZap:
|
|
78
|
-
lineHelpersFlag:
|
|
79
|
-
lineHelpersPlayCircle:
|
|
80
|
-
lineIconBomb2:
|
|
81
|
-
lineImagesImage:
|
|
82
|
-
lineLayoutsColumn2:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
viewOff:
|
|
104
|
-
|
|
105
|
-
|
|
23
|
+
readonly amazon: "amazon";
|
|
24
|
+
readonly arrowsChevronDown: "arrows-chevron-down";
|
|
25
|
+
readonly azure: "azure";
|
|
26
|
+
readonly bitbucket: "bitbucket";
|
|
27
|
+
readonly circleci: "circleci";
|
|
28
|
+
readonly draggable: "draggable";
|
|
29
|
+
readonly drone: "drone";
|
|
30
|
+
readonly environment: "environment";
|
|
31
|
+
readonly github: "github";
|
|
32
|
+
readonly gitlab: "gitlab";
|
|
33
|
+
readonly jenkins: "jenkins";
|
|
34
|
+
readonly lineAlertsAlertCircle: "line-alerts-alert-circle";
|
|
35
|
+
readonly lineAlertsFixed: "line-alerts-fixed";
|
|
36
|
+
readonly lineAlertsMalfunctioned: "line-alerts-malfunctioned";
|
|
37
|
+
readonly lineAlertsNew: "line-alerts-new";
|
|
38
|
+
readonly lineAlertsNotificationBox: "line-alerts-notification-box";
|
|
39
|
+
readonly lineAlertsRegressed: "line-alerts-regressed";
|
|
40
|
+
readonly lineArrowsChevronDownDouble: "line-arrows-chevron-down-double";
|
|
41
|
+
readonly lineArrowsChevronDown: "line-arrows-chevron-down";
|
|
42
|
+
readonly lineArrowsChevronRight: "line-arrows-chevron-right";
|
|
43
|
+
readonly lineArrowsChevronUpDouble: "line-arrows-chevron-up-double";
|
|
44
|
+
readonly lineArrowsChevronUp: "line-arrows-chevron-up";
|
|
45
|
+
readonly lineArrowsCornerDownRight: "line-arrows-corner-down-right";
|
|
46
|
+
readonly lineArrowsExpand3: "line-arrows-expand-3";
|
|
47
|
+
readonly lineArrowsRefreshCcw1: "line-arrows-refresh-ccw-1";
|
|
48
|
+
readonly lineArrowsSortLineAsc: "line-arrows-sort-line-asc";
|
|
49
|
+
readonly lineArrowsSortLineDesc: "line-arrows-sort-line-desc";
|
|
50
|
+
readonly lineArrowsSwitchVertical1: "line-arrows-switch-vertical-1";
|
|
51
|
+
readonly lineChartsBarChartSquare: "line-charts-bar-chart-square";
|
|
52
|
+
readonly lineChartsTimeline: "line-charts-timeline";
|
|
53
|
+
readonly lineDevBug2: "line-dev-bug-2";
|
|
54
|
+
readonly lineDevCodeSquare: "line-dev-code-square";
|
|
55
|
+
readonly lineDevDataflow3: "line-dev-dataflow-3";
|
|
56
|
+
readonly lineFilesClipboardCheck: "line-files-clipboard-check";
|
|
57
|
+
readonly lineFilesFile2: "line-files-file-2";
|
|
58
|
+
readonly lineFilesFileAttachment2: "line-files-file-attachment-2";
|
|
59
|
+
readonly lineFilesFolder: "line-files-folder";
|
|
60
|
+
readonly lineGeneralCheckCircle: "line-general-check-circle";
|
|
61
|
+
readonly lineGeneralCheck: "line-general-check";
|
|
62
|
+
readonly lineGeneralChecklist3: "line-general-checklist3";
|
|
63
|
+
readonly lineGeneralCopy3: "line-general-copy-3";
|
|
64
|
+
readonly lineGeneralDownloadCloud: "line-general-download-cloud";
|
|
65
|
+
readonly lineGeneralEqual: "line-general-equal";
|
|
66
|
+
readonly lineGeneralEye: "line-general-eye";
|
|
67
|
+
readonly lineGeneralHelpCircle: "line-general-help-circle";
|
|
68
|
+
readonly lineGeneralHomeLine: "line-general-home-line";
|
|
69
|
+
readonly lineGeneralInfoCircle: "line-general-info-circle";
|
|
70
|
+
readonly lineGeneralLink1: "line-general-link-1";
|
|
71
|
+
readonly lineGeneralLinkExternal: "line-general-link-external";
|
|
72
|
+
readonly lineGeneralMinusCircle: "line-general-minus-circle";
|
|
73
|
+
readonly lineGeneralSearchMd: "line-general-search-md";
|
|
74
|
+
readonly lineGeneralSettings1: "line-general-settings-1";
|
|
75
|
+
readonly lineGeneralXCircle: "line-general-x-circle";
|
|
76
|
+
readonly lineGeneralXClose: "line-general-x-close";
|
|
77
|
+
readonly lineGeneralZap: "line-general-zap";
|
|
78
|
+
readonly lineHelpersFlag: "line-helpers-flag";
|
|
79
|
+
readonly lineHelpersPlayCircle: "line-helpers-play-circle";
|
|
80
|
+
readonly lineIconBomb2: "line-icon-bomb-2";
|
|
81
|
+
readonly lineImagesImage: "line-images-image";
|
|
82
|
+
readonly lineLayoutsColumn2: "line-layouts-columns-2";
|
|
83
|
+
readonly lineLayoutsColumns2: "line-layouts-columns-2";
|
|
84
|
+
readonly lineLayoutsLayoutTop: "line-layouts-layout-top";
|
|
85
|
+
readonly lineLayoutsMaximize2: "line-layouts-maximize-2";
|
|
86
|
+
readonly lineLayoutsMinimize2: "line-layouts-minimize-2";
|
|
87
|
+
readonly lineSecurityKey: "line-security-key";
|
|
88
|
+
readonly lineShapesDotCircle: "line-shapes-dot-circle";
|
|
89
|
+
readonly lineShapesMoon: "line-shapes-moon";
|
|
90
|
+
readonly lineShapesSun: "line-shapes-sun";
|
|
91
|
+
readonly lineShapesThemeAuto: "line-shapes-theme-auto";
|
|
92
|
+
readonly lineTimeClockStopwatch: "line-time-clock-stopwatch";
|
|
93
|
+
readonly playwrightLogo: "playwright-logo";
|
|
94
|
+
readonly reportLogo: "report-logo";
|
|
95
|
+
readonly solidAlertCircle: "solid-alert-circle";
|
|
96
|
+
readonly solidCheckCircle: "solid-check-circle";
|
|
97
|
+
readonly solidHelpCircle: "solid-help-circle";
|
|
98
|
+
readonly solidMinusCircle: "solid-minus-circle";
|
|
99
|
+
readonly solidPlusCircle: "solid-plus-circle";
|
|
100
|
+
readonly solidXCircle: "solid-x-circle";
|
|
101
|
+
readonly spinner: "spinner";
|
|
102
|
+
readonly testNew: "test-new";
|
|
103
|
+
readonly viewOff: "view-off";
|
|
104
|
+
readonly view: "view";
|
|
105
|
+
};
|
|
106
|
+
type SvgIconProps = Omit<SVGAttributes<SVGSVGElement>, "className" | "id" | "size" | "inline"> & {
|
|
106
107
|
"size"?: "xs" | "s" | "m" | "l" | "xl";
|
|
107
108
|
"className"?: string;
|
|
108
109
|
"id": string;
|
|
109
110
|
"inline"?: boolean;
|
|
110
111
|
"data-testid"?: string;
|
|
111
112
|
};
|
|
112
|
-
declare const SvgIcon: ({ id, size, inline, className, "data-testid": dataTestId, ...restProps }: SvgIconProps) =>
|
|
113
|
+
declare const SvgIcon: ({ id, size, inline, className, "data-testid": dataTestId, ...restProps }: SvgIconProps) => JSX.Element | null;
|
|
113
114
|
|
|
114
115
|
type BaseBtnProps = {
|
|
115
116
|
text?: string;
|
|
@@ -435,6 +436,8 @@ declare const AttachmentCode: (props: AttachmentProps & {
|
|
|
435
436
|
highlight?: boolean;
|
|
436
437
|
}) => preact.JSX.Element | null;
|
|
437
438
|
|
|
439
|
+
declare const AttachmentTable: ({ attachment, item }: AttachmentProps) => preact.JSX.Element;
|
|
440
|
+
|
|
438
441
|
type HtmlAttachmentPreviewProps = {
|
|
439
442
|
attachment: {
|
|
440
443
|
text: string;
|
|
@@ -791,6 +794,7 @@ type Props$5 = {
|
|
|
791
794
|
id: string;
|
|
792
795
|
timestamp: number;
|
|
793
796
|
name: string;
|
|
797
|
+
url?: string;
|
|
794
798
|
}[];
|
|
795
799
|
limit?: number;
|
|
796
800
|
statuses?: TestStatus[];
|
|
@@ -872,7 +876,6 @@ declare const Timeline: FunctionComponent<Omit<TimelineProps, "data"> & {
|
|
|
872
876
|
dataId: string;
|
|
873
877
|
}>;
|
|
874
878
|
|
|
875
|
-
type SummaryTestResult = Pick<TestResult, "name" | "id" | "status" | "duration">;
|
|
876
879
|
type ReportSummary = {
|
|
877
880
|
href?: string;
|
|
878
881
|
remoteHref?: string;
|
|
@@ -883,9 +886,9 @@ type ReportSummary = {
|
|
|
883
886
|
status: TestStatus;
|
|
884
887
|
duration: number;
|
|
885
888
|
plugin?: string;
|
|
886
|
-
newTests?:
|
|
887
|
-
flakyTests?:
|
|
888
|
-
retryTests?:
|
|
889
|
+
newTests?: string[];
|
|
890
|
+
flakyTests?: string[];
|
|
891
|
+
retryTests?: string[];
|
|
889
892
|
createdAt?: number;
|
|
890
893
|
};
|
|
891
894
|
type StatusI18nKeys = "status.failed" | "status.broken" | "status.passed" | "status.skipped" | "status.unknown";
|
|
@@ -919,5 +922,5 @@ type Props = {
|
|
|
919
922
|
};
|
|
920
923
|
declare const EmptyView: FunctionalComponent<Props>;
|
|
921
924
|
|
|
922
|
-
export { ArrowButton, Attachment, AttachmentCode, AttachmentEmpty, AttachmentImage, AttachmentVideo, Button, ButtonLink, Code, CodeViewer, Counter, CurrentStatusChartWidget, DEFAULT_HEAT_MAP_EMPTY_ARIA_LABEL, DEFAULT_HEAT_MAP_EMPTY_COLOR, DEFAULT_HEAT_MAP_EMPTY_LABEL, DEFAULT_HEAT_MAP_FORCE_SQUARE, DEFAULT_HEAT_MAP_HEIGHT, DEFAULT_HEAT_MAP_VALUE_FORMAT, DEFAULT_HEAT_MAP_WIDTH, DEFAULT_HEAT_MAP_X_INNER_PADDING, DEFAULT_HEAT_MAP_Y_INNER_PADDING, DropdownButton, DurationDynamicsChartWidget, DurationsChartWidget, EmptyView, Grid, GridItem, Heading, HeatMap, HeatMapWidget, HtmlPreview, HttpAttachment, IconButton, IconLabel, ImageDiff, Label, LanguagePicker, Link, LinkifiedText, Loadable, MarkdownPreview, Menu, Modal, PageLoader, ReportLogo, ReportLogoFull, ReportSummaryCard, SearchBox, Spinner, StabilityDistributionWidget, StatusAgePyramidChartWidget, StatusDynamicsChartWidget, StatusLabel, StatusTransitionsChartWidget, SuccessRatePieChart, SvgIcon, Tag, TestBaseGrowthDynamicsChartWidget, TestingPyramidWidget, Text, ThemeButton, ThemeProvider, Timeline, Toggle, Tooltip, TooltipWrapper, TrSeveritiesChartWidget, Tree, TreeHeader, TreeItem, TreeItemIcon, TreeMapChart, TreeMapChartWidget, TreeSection, TreeStatusBar, TrendChart, TrendChartKind, TrendChartWidget, Widget, allureIcons, defaultHeatMapAxisLeftConfig, defaultHeatMapAxisTopConfig, defaultHeatMapLegendConfig, defaultHeatMapMarginConfig, defaultTreeChartConfig, defaultTrendChartAxisBottomConfig, defaultTrendChartAxisLeftConfig, defaultTrendChartConfig, defaultTrendChartLegendConfig, defaultTrendChartMarginConfig, defaultTrendChartXScaleConfig, defaultTrendChartYScaleConfig, makeSymlogScale, makeSymlogScaleBySeries, useCoverageDiffColors, useCoverageDiffTextColors, useElementTruncation, useSuccessRateDistributionColors, useTheme, useTooltip };
|
|
923
|
-
export type { Datum, GridItemProps, GridProps, HeatMapProps, HeatMapWidgetProps, LanguagePickerProps, MeshTrendChartProps, ModalDataProps, ModalGalleryProps, ModalTranslations, ModalTranslationsProps, ParentLabelControlOptions, ReportSummaryCardProps, ResponsiveTreeChartProps, Serie, Slice, SlicesTrendChartProps, SymlogScaleOptions, TagProps, TagSkin, Theme, ThemeButtonProps, TreeMapChartNode, TreeMapChartProps, TreeMapChartWidgetProps, TrendChartKindConfig, TrendChartProps, TrendChartSliceClickHandler, TrendChartSliceTouchHandler };
|
|
925
|
+
export { ArrowButton, Attachment, AttachmentCode, AttachmentEmpty, AttachmentImage, AttachmentTable, AttachmentVideo, Button, ButtonLink, Code, CodeViewer, Counter, CurrentStatusChartWidget, DEFAULT_HEAT_MAP_EMPTY_ARIA_LABEL, DEFAULT_HEAT_MAP_EMPTY_COLOR, DEFAULT_HEAT_MAP_EMPTY_LABEL, DEFAULT_HEAT_MAP_FORCE_SQUARE, DEFAULT_HEAT_MAP_HEIGHT, DEFAULT_HEAT_MAP_VALUE_FORMAT, DEFAULT_HEAT_MAP_WIDTH, DEFAULT_HEAT_MAP_X_INNER_PADDING, DEFAULT_HEAT_MAP_Y_INNER_PADDING, DropdownButton, DurationDynamicsChartWidget, DurationsChartWidget, EmptyView, Grid, GridItem, Heading, HeatMap, HeatMapWidget, HtmlPreview, HttpAttachment, IconButton, IconLabel, ImageDiff, Label, LanguagePicker, Link, LinkifiedText, Loadable, MarkdownPreview, Menu, Modal, PageLoader, ReportLogo, ReportLogoFull, ReportSummaryCard, SearchBox, Spinner, StabilityDistributionWidget, StatusAgePyramidChartWidget, StatusDynamicsChartWidget, StatusLabel, StatusTransitionsChartWidget, SuccessRatePieChart, SvgIcon, Tag, TestBaseGrowthDynamicsChartWidget, TestingPyramidWidget, Text, ThemeButton, ThemeProvider, Timeline, Toggle, Tooltip, TooltipWrapper, TrSeveritiesChartWidget, Tree, TreeHeader, TreeItem, TreeItemIcon, TreeMapChart, TreeMapChartWidget, TreeSection, TreeStatusBar, TrendChart, TrendChartKind, TrendChartWidget, Widget, allureIcons, defaultHeatMapAxisLeftConfig, defaultHeatMapAxisTopConfig, defaultHeatMapLegendConfig, defaultHeatMapMarginConfig, defaultTreeChartConfig, defaultTrendChartAxisBottomConfig, defaultTrendChartAxisLeftConfig, defaultTrendChartConfig, defaultTrendChartLegendConfig, defaultTrendChartMarginConfig, defaultTrendChartXScaleConfig, defaultTrendChartYScaleConfig, makeSymlogScale, makeSymlogScaleBySeries, useCoverageDiffColors, useCoverageDiffTextColors, useElementTruncation, useSuccessRateDistributionColors, useTheme, useTooltip };
|
|
926
|
+
export type { Datum, GridItemProps, GridProps, HeatMapProps, HeatMapWidgetProps, LanguagePickerProps, MeshTrendChartProps, ModalDataProps, ModalGalleryProps, ModalTranslations, ModalTranslationsProps, ParentLabelControlOptions, ReportSummary, ReportSummaryCardProps, ResponsiveTreeChartProps, Serie, Slice, SlicesTrendChartProps, SymlogScaleOptions, TagProps, TagSkin, Theme, ThemeButtonProps, TreeMapChartNode, TreeMapChartProps, TreeMapChartWidgetProps, TrendChartKindConfig, TrendChartProps, TrendChartSliceClickHandler, TrendChartSliceTouchHandler };
|