@allurereport/web-components 3.0.0-beta.21 → 3.0.0-beta.23

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.d.ts CHANGED
@@ -19,22 +19,22 @@ import { DefaultTreeMapDatum, TreeMapSvgProps } from '@nivo/treemap';
19
19
  import { HeatMapDatum, DefaultHeatMapDatum, HeatMapSvgProps } from '@nivo/heatmap';
20
20
 
21
21
  declare const allureIcons: {
22
- arrowsChevronDown: string;
23
- environment: string;
24
22
  amazon: string;
23
+ arrowsChevronDown: string;
25
24
  azure: string;
26
25
  bitbucket: string;
27
26
  circleci: string;
27
+ draggable: string;
28
28
  drone: string;
29
- gitlab: string;
29
+ environment: string;
30
30
  github: string;
31
+ gitlab: string;
31
32
  jenkins: string;
32
- draggable: string;
33
33
  lineAlertsAlertCircle: string;
34
- lineAlertsNotificationBox: string;
35
- lineAlertsNew: string;
36
- lineAlertsMalfunctioned: string;
37
34
  lineAlertsFixed: string;
35
+ lineAlertsMalfunctioned: string;
36
+ lineAlertsNew: string;
37
+ lineAlertsNotificationBox: string;
38
38
  lineAlertsRegressed: string;
39
39
  lineArrowsChevronDown: string;
40
40
  lineArrowsChevronDownDouble: string;
@@ -56,16 +56,21 @@ declare const allureIcons: {
56
56
  lineFilesFileAttachment2: string;
57
57
  lineFilesFolder: string;
58
58
  lineGeneralCheck: string;
59
+ lineGeneralCheckCircle: string;
59
60
  lineGeneralChecklist3: string;
60
61
  lineGeneralCopy3: string;
61
62
  lineGeneralDownloadCloud: string;
62
63
  lineGeneralEqual: string;
63
64
  lineGeneralEye: string;
65
+ lineGeneralHelpCircle: string;
64
66
  lineGeneralHomeLine: string;
67
+ lineGeneralInfoCircle: string;
65
68
  lineGeneralLink1: string;
66
69
  lineGeneralLinkExternal: string;
70
+ lineGeneralMinusCircle: string;
67
71
  lineGeneralSearchMd: string;
68
72
  lineGeneralSettings1: string;
73
+ lineGeneralXCircle: string;
69
74
  lineGeneralXClose: string;
70
75
  lineGeneralZap: string;
71
76
  lineHelpersFlag: string;
@@ -80,6 +85,7 @@ declare const allureIcons: {
80
85
  lineShapesDotCircle: string;
81
86
  lineShapesMoon: string;
82
87
  lineShapesSun: string;
88
+ lineShapesThemeAuto: string;
83
89
  lineTimeClockStopwatch: string;
84
90
  playwrightLogo: string;
85
91
  reportLogo: string;
@@ -87,17 +93,12 @@ declare const allureIcons: {
87
93
  solidCheckCircle: string;
88
94
  solidHelpCircle: string;
89
95
  solidMinusCircle: string;
90
- solidXCircle: string;
91
96
  solidPlusCircle: string;
97
+ solidXCircle: string;
92
98
  spinner: string;
99
+ testNew: string;
93
100
  view: string;
94
101
  viewOff: string;
95
- lineGeneralCheckCircle: string;
96
- lineGeneralHelpCircle: string;
97
- lineGeneralInfoCircle: string;
98
- lineGeneralMinusCircle: string;
99
- lineGeneralXCircle: string;
100
- testNew: string;
101
102
  };
102
103
  type SvgIconProps = Omit<JSX.HTMLAttributes<SVGElement>, "className" | "id" | "size" | "inline"> & {
103
104
  "size"?: "xs" | "s" | "m";
@@ -199,7 +200,7 @@ declare const Loadable: <T, K = T>(props: LoadableProps<T, K>) => JSX.Element |
199
200
 
200
201
  declare const PageLoader: () => preact.JSX.Element;
201
202
 
202
- type Props$3 = {
203
+ type Props$4 = {
203
204
  placeholder?: string;
204
205
  invalid?: string;
205
206
  error?: string;
@@ -207,7 +208,7 @@ type Props$3 = {
207
208
  onChange: (value: string) => void;
208
209
  changeDebounce?: number;
209
210
  };
210
- declare const SearchBox: (props: Props$3) => preact.JSX.Element;
211
+ declare const SearchBox: (props: Props$4) => preact.JSX.Element;
211
212
 
212
213
  declare const Menu: {
213
214
  (props: {
@@ -381,28 +382,28 @@ declare const CodeViewer: FunctionalComponent<{
381
382
  className?: string;
382
383
  }>;
383
384
 
384
- type Props$2 = {
385
+ type Props$3 = {
385
386
  size?: "s" | "m" | "l";
386
387
  count: number;
387
388
  truncateCount?: boolean;
388
389
  status?: TestStatus;
389
390
  };
390
- declare const Counter: (props: Props$2) => preact.JSX.Element;
391
+ declare const Counter: (props: Props$3) => preact.JSX.Element;
391
392
 
392
- type Props$1 = {
393
+ type Props$2 = {
393
394
  value: boolean;
394
395
  label: string;
395
396
  onChange: (value: boolean) => void;
396
397
  focusable?: boolean;
397
398
  };
398
- declare const Toggle: (props: Props$1) => preact.JSX.Element;
399
+ declare const Toggle: (props: Props$2) => preact.JSX.Element;
399
400
 
400
- type Props = {
401
+ type Props$1 = {
401
402
  href?: string;
402
403
  children: ComponentChildren;
403
404
  onClick?: (e: MouseEvent) => void;
404
405
  };
405
- declare const Link: (props: Props) => preact.JSX.Element;
406
+ declare const Link: (props: Props$1) => preact.JSX.Element;
406
407
 
407
408
  declare const Label: FunctionComponent;
408
409
 
@@ -455,7 +456,7 @@ interface LanguagePickerProps {
455
456
  }
456
457
  declare const LanguagePicker: ({ locale, setLocale, availableLocales }: LanguagePickerProps) => preact.JSX.Element;
457
458
 
458
- type Theme = "light" | "dark";
459
+ type Theme = "light" | "dark" | "auto";
459
460
  interface ThemeButtonProps {
460
461
  theme: Theme;
461
462
  getTheme: () => void;
@@ -701,5 +702,19 @@ interface StabilityRateDistributionWidgetProps {
701
702
 
702
703
  declare const StabilityRateDistributionWidget: FunctionalComponent<StabilityRateDistributionWidgetProps>;
703
704
 
704
- export { ArrowButton, Attachment, AttachmentCode, AttachmentEmpty, AttachmentImage, AttachmentVideo, BarChart, BarChartWidget, Button, Code, CodeViewer, ComingSoonChartWidget, Counter, 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, Grid, GridItem, Heading, HeatMap, HeatMapWidget, HtmlPreview, IconButton, Label, LanguagePicker, Link, Loadable, Menu, Modal, PageLoader, ReportLogo, ReportLogoFull, SearchBox, Spinner, StabilityRateDistributionWidget, StatusLabel, SuccessRatePieChart, SvgIcon, Tag, Text, ThemeButton, Toggle, TooltipWrapper, Tree, TreeHeader, TreeItem, TreeItemIcon, TreeMapChart, TreeMapChartWidget, TreeSection, TreeStatusBar, TrendChart, TrendChartKind, TrendChartWidget, Widget, allureIcons, defaultBarChartAxisBottomConfig, defaultBarChartAxisLeftConfig, defaultBarChartConfig, defaultBarChartLegendsConfig, defaultBarChartMarginConfig, defaultHeatMapAxisLeftConfig, defaultHeatMapAxisTopConfig, defaultHeatMapLegendConfig, defaultHeatMapMarginConfig, defaultTreeChartConfig, defaultTrendChartAxisBottomConfig, defaultTrendChartAxisLeftConfig, defaultTrendChartConfig, defaultTrendChartLegendConfig, defaultTrendChartMarginConfig, defaultTrendChartXScaleConfig, defaultTrendChartYScaleConfig, makeSymlogScale, makeSymlogScaleBySeries };
705
+ type Props = {
706
+ data: {
707
+ layer: string;
708
+ testCount: number;
709
+ successRate: number;
710
+ percentage: number;
711
+ }[];
712
+ title: string;
713
+ translations: Record<string, string>;
714
+ width?: JSX.CSSProperties["width"];
715
+ height?: JSX.CSSProperties["height"];
716
+ };
717
+ declare const TestingPyramidWidget: (props: Props) => JSX.Element;
718
+
719
+ export { ArrowButton, Attachment, AttachmentCode, AttachmentEmpty, AttachmentImage, AttachmentVideo, BarChart, BarChartWidget, Button, Code, CodeViewer, ComingSoonChartWidget, Counter, 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, Grid, GridItem, Heading, HeatMap, HeatMapWidget, HtmlPreview, IconButton, Label, LanguagePicker, Link, Loadable, Menu, Modal, PageLoader, ReportLogo, ReportLogoFull, SearchBox, Spinner, StabilityRateDistributionWidget, StatusLabel, SuccessRatePieChart, SvgIcon, Tag, TestingPyramidWidget, Text, ThemeButton, Toggle, TooltipWrapper, Tree, TreeHeader, TreeItem, TreeItemIcon, TreeMapChart, TreeMapChartWidget, TreeSection, TreeStatusBar, TrendChart, TrendChartKind, TrendChartWidget, Widget, allureIcons, defaultBarChartAxisBottomConfig, defaultBarChartAxisLeftConfig, defaultBarChartConfig, defaultBarChartLegendsConfig, defaultBarChartMarginConfig, defaultHeatMapAxisLeftConfig, defaultHeatMapAxisTopConfig, defaultHeatMapLegendConfig, defaultHeatMapMarginConfig, defaultTreeChartConfig, defaultTrendChartAxisBottomConfig, defaultTrendChartAxisLeftConfig, defaultTrendChartConfig, defaultTrendChartLegendConfig, defaultTrendChartMarginConfig, defaultTrendChartXScaleConfig, defaultTrendChartYScaleConfig, makeSymlogScale, makeSymlogScaleBySeries };
705
720
  export type { BarChartProps, BarChartWidgetProps, ComingSoonChartWidgetProps, Datum, GridItemProps, GridProps, HeatMapProps, HeatMapWidgetProps, LanguagePickerProps, MeshTrendChartProps, ModalDataProps, ModalGalleryProps, ModalTranslations, ModalTranslationsProps, ParentLabelControlOptions, ResponsiveTreeChartProps, Serie, Slice, SlicesTrendChartProps, StabilityRateDistributionWidgetProps, SymlogScaleOptions, TagProps, TagSkin, Theme, ThemeButtonProps, TreeMapChartNode, TreeMapChartProps, TreeMapChartWidgetProps, TrendChartKindConfig, TrendChartProps, TrendChartSliceClickHandler, TrendChartSliceTouchHandler };