@allurereport/web-components 3.0.0 → 3.1.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.d.ts CHANGED
@@ -1,12 +1,13 @@
1
1
  import * as preact from 'preact';
2
- import { JSX, FunctionalComponent, VNode, ComponentChildren, FunctionComponent } from 'preact';
2
+ import { SVGAttributes, ComponentChild, FunctionalComponent, JSX, HTMLAttributes, VNode, ComponentChildren, FunctionComponent, ComponentProps } from 'preact';
3
+ import { Placement } from '@floating-ui/dom';
4
+ import * as preact_compat from 'preact/compat';
5
+ import { MutableRefObject, HTMLAttributes as HTMLAttributes$1, CSSProperties } from 'preact/compat';
3
6
  import { Signal } from '@preact/signals';
4
7
  import { AttachmentTestStepResult, Statistic, TestStatus, TestStatusTransition, SeverityLevel, TestResult } from '@allurereport/core-api';
5
8
  import { RecursiveTree, Status } from 'global';
6
- import * as preact_compat from 'preact/compat';
7
- import { HTMLAttributes, CSSProperties } from 'preact/compat';
9
+ import { AttachmentData, LangLocale, TreeMapTooltipAccessor } from '@allurereport/web-commons';
8
10
  import { Options } from 'sortablejs';
9
- import { LangLocale, TreeMapTooltipAccessor } from '@allurereport/web-commons';
10
11
  import { ChartMode, PieChartValues, TreeMapNode, ChartType, StabilityDistributionChartData, TestBaseGrowthDynamicsChartData, FBSUAgePyramidChartData, StatusTransitionsChartData, DurationsChartData, TrSeveritiesChartData, DurationDynamicsChartData } from '@allurereport/charts-api';
11
12
  import { Serie as Serie$1 } from '@/components/Charts/TrendChart';
12
13
  import { AxisProps } from '@nivo/axes';
@@ -100,23 +101,24 @@ declare const allureIcons: {
100
101
  view: string;
101
102
  viewOff: string;
102
103
  };
103
- type SvgIconProps = Omit<JSX.HTMLAttributes<SVGElement>, "className" | "id" | "size" | "inline"> & {
104
- "size"?: "xs" | "s" | "m";
104
+ type SvgIconProps = Omit<SVGAttributes<SVGElement>, "className" | "id" | "size" | "inline"> & {
105
+ "size"?: "xs" | "s" | "m" | "l" | "xl";
105
106
  "className"?: string;
106
107
  "id": string;
107
108
  "inline"?: boolean;
108
109
  "data-testid"?: string;
109
110
  };
110
- declare const SvgIcon: ({ id, size, inline, className, "data-testid": dataTestId, ...restProps }: SvgIconProps) => JSX.Element;
111
+ declare const SvgIcon: ({ id, size, inline, className, "data-testid": dataTestId, ...restProps }: SvgIconProps) => preact.JSX.Element;
111
112
 
112
113
  type BaseBtnProps = {
113
114
  text?: string;
114
115
  isPending?: boolean;
115
- size?: "s" | "m" | "l";
116
+ size?: "xs" | "s" | "m" | "l";
116
117
  style?: "primary" | "outline" | "ghost" | "flat" | "raised";
117
118
  action?: "default" | "danger" | "positive";
118
119
  icon?: string;
119
120
  iconSize?: "xs" | "s" | "m";
121
+ iconColor?: "primary" | "secondary";
120
122
  fullWidth?: boolean;
121
123
  isIconButton?: boolean;
122
124
  isDropdownButton?: boolean;
@@ -126,18 +128,25 @@ type BaseBtnProps = {
126
128
  isActive?: boolean;
127
129
  focusable?: boolean;
128
130
  href?: string;
131
+ rounded?: boolean;
129
132
  target?: HTMLAnchorElement["target"];
130
133
  className?: string;
131
134
  dataTestId?: string;
135
+ leadingSlot?: ComponentChild;
136
+ trailingSlot?: ComponentChild;
137
+ isLink?: boolean;
132
138
  };
133
- type ButtonProps = Omit<BaseBtnProps, "text" | "isIconButton" | "isDropdownButton"> & Pick<Required<BaseBtnProps>, "text">;
139
+ type ButtonProps = Omit<BaseBtnProps, "text" | "isIconButton" | "isDropdownButton" | "rounded" | "isLink"> & Pick<Required<BaseBtnProps>, "text">;
134
140
  declare const Button: (props: ButtonProps) => preact.JSX.Element;
135
- type IconButtonProps = Omit<BaseBtnProps, "text" | "icon" | "autoFocus" | "fullWidth" | "isIconButton" | "isDropdownButton"> & Pick<Required<BaseBtnProps>, "icon">;
141
+ type IconButtonProps = Omit<BaseBtnProps, "text" | "icon" | "autoFocus" | "fullWidth" | "isIconButton" | "isDropdownButton" | "trailingSlot" | "leadingSlot" | "isLink"> & Pick<Required<BaseBtnProps>, "icon"> & {
142
+ rounded?: boolean;
143
+ };
136
144
  declare const IconButton: (props: IconButtonProps) => preact.JSX.Element;
137
- type DropdownButtonProps = Omit<BaseBtnProps, "type" | "autoFocus" | "isDropdownButton" | "isIconButton" | "text" | "isActive"> & Pick<Required<BaseBtnProps>, "text"> & {
145
+ type DropdownButtonProps = Omit<BaseBtnProps, "type" | "autoFocus" | "isDropdownButton" | "isIconButton" | "text" | "isActive" | "isLink"> & Pick<Required<BaseBtnProps>, "text"> & {
138
146
  isExpanded?: boolean;
139
147
  };
140
148
  declare const DropdownButton: (props: DropdownButtonProps) => preact.JSX.Element;
149
+ declare const ButtonLink: (props: Omit<BaseBtnProps, "href" | "isLink"> & Pick<Required<BaseBtnProps>, "href">) => preact.JSX.Element;
141
150
 
142
151
  type SpinnerProps = {
143
152
  size?: "s" | "m";
@@ -154,7 +163,7 @@ type TextProps = ({
154
163
  className?: string;
155
164
  bold?: boolean;
156
165
  tag?: keyof JSX.IntrinsicElements;
157
- } & Omit<JSX.HTMLAttributes, "type" | "size" | "className" | "bold" | "tag">;
166
+ } & Omit<HTMLAttributes<HTMLElement>, "type" | "size" | "className" | "bold" | "tag">;
158
167
  declare const Text: FunctionalComponent<TextProps>;
159
168
  type CodeProps = {
160
169
  type?: "paragraph" | "ui";
@@ -168,7 +177,7 @@ type HeadingProps = {
168
177
  size?: "s" | "m" | "l";
169
178
  className?: string;
170
179
  tag?: keyof JSX.IntrinsicElements;
171
- } & Omit<JSX.HTMLAttributes, "size" | "className" | "tag">;
180
+ } & Omit<HTMLAttributes, "size" | "className" | "tag">;
172
181
  declare const Heading: FunctionalComponent<HeadingProps>;
173
182
 
174
183
  interface TooltipWrapperProps {
@@ -181,7 +190,18 @@ interface TooltipWrapperProps {
181
190
  "autoHideDelay"?: number;
182
191
  "isTriggerActive"?: boolean;
183
192
  "data-testid"?: string;
193
+ "showDelay"?: number;
194
+ }
195
+ interface TooltipProps {
196
+ "data-testid"?: string;
184
197
  }
198
+ declare const Tooltip: FunctionalComponent<TooltipProps>;
199
+ declare const useTooltip: <TriggerRef extends HTMLElement = HTMLElement, TooltipRef extends HTMLElement = HTMLElement>(props: {
200
+ placement?: Placement;
201
+ isVisible: boolean;
202
+ triggerRef: MutableRefObject<TriggerRef>;
203
+ tooltipRef: MutableRefObject<TooltipRef>;
204
+ }) => void;
185
205
  declare const TooltipWrapper: FunctionalComponent<TooltipWrapperProps>;
186
206
 
187
207
  interface StoreSignalState<T> {
@@ -200,15 +220,16 @@ declare const Loadable: <T, K = T>(props: LoadableProps<T, K>) => JSX.Element |
200
220
 
201
221
  declare const PageLoader: () => preact.JSX.Element;
202
222
 
203
- type Props$e = {
223
+ type Props$g = {
204
224
  placeholder?: string;
205
- invalid?: string;
206
225
  error?: string;
207
226
  value: string;
208
227
  onChange: (value: string) => void;
209
228
  changeDebounce?: number;
229
+ leadingSlot?: ComponentChild;
230
+ trailingSlot?: ComponentChild;
210
231
  };
211
- declare const SearchBox: (props: Props$e) => preact.JSX.Element;
232
+ declare const SearchBox: (props: Props$g) => preact.JSX.Element;
212
233
 
213
234
  declare const Menu: {
214
235
  (props: {
@@ -223,13 +244,11 @@ declare const Menu: {
223
244
  }) => VNode;
224
245
  menuTriggerWrapper?: "div" | "span";
225
246
  }): preact.JSX.Element;
226
- Section(props: {
227
- children: ComponentChildren;
228
- }): preact.JSX.Element;
229
- Item(props: ItemProps): preact.JSX.Element;
230
- ItemWithCheckmark(props: ItemProps & {
247
+ Section: FunctionalComponent<{}>;
248
+ Item: FunctionalComponent<ItemProps>;
249
+ ItemWithCheckmark: FunctionalComponent<Omit<ItemProps, "rightSlot"> & {
231
250
  isChecked: boolean;
232
- }): preact.JSX.Element;
251
+ }>;
233
252
  };
234
253
  type ItemProps = {
235
254
  children: ComponentChildren;
@@ -319,6 +338,7 @@ interface TreeItemProps {
319
338
  groupOrder: number;
320
339
  marked?: boolean;
321
340
  navigateTo: (id: string) => void;
341
+ tooltips: Record<string, string>;
322
342
  }
323
343
  declare const TreeItem: FunctionComponent<TreeItemProps>;
324
344
 
@@ -339,18 +359,39 @@ interface TreeStatusBarProps {
339
359
  }
340
360
  declare const TreeStatusBar: FunctionalComponent<TreeStatusBarProps>;
341
361
 
362
+ type I18nKeys$9 = "mode.diff" | "mode.actual" | "mode.expected" | "mode.side-by-side" | "mode.overlay" | "empty.failed-to-load" | "image.diff" | "image.actual" | "image.expected";
363
+ type I18nProp$a = (key: I18nKeys$9, props?: Record<string, unknown>) => string | undefined;
364
+
365
+ type ImageDiff$1 = {
366
+ name?: string;
367
+ expected?: string;
368
+ actual?: string;
369
+ diff?: string;
370
+ };
371
+
372
+ type Props$f = {
373
+ diff: ImageDiff$1;
374
+ i18n?: I18nProp$a;
375
+ };
376
+ declare const ImageDiff: (props: Props$f) => preact.JSX.Element;
377
+
378
+ type AttachmentProps = {
379
+ attachment: AttachmentData | null;
380
+ item: AttachmentTestStepResult;
381
+ i18n?: (key: any) => string;
382
+ };
383
+ type I18nProp$9 = {
384
+ imageDiff: ComponentProps<typeof ImageDiff>["i18n"];
385
+ };
386
+
342
387
  interface AttachmentTestStepResultProps {
343
388
  item: AttachmentTestStepResult;
344
389
  previewable?: boolean;
390
+ i18n?: I18nProp$9;
345
391
  }
346
- declare const Attachment: FunctionalComponent<AttachmentTestStepResultProps>;
392
+ declare const Attachment: (props: AttachmentTestStepResultProps) => preact.JSX.Element | null;
347
393
 
348
- declare const AttachmentCode: FunctionalComponent<{
349
- item: AttachmentTestStepResult;
350
- attachment: {
351
- text?: string;
352
- };
353
- }>;
394
+ declare const AttachmentCode: (props: AttachmentProps) => preact.JSX.Element | null;
354
395
 
355
396
  type HtmlAttachmentPreviewProps = {
356
397
  attachment: {
@@ -359,19 +400,9 @@ type HtmlAttachmentPreviewProps = {
359
400
  };
360
401
  declare const HtmlPreview: FunctionalComponent<HtmlAttachmentPreviewProps>;
361
402
 
362
- declare const AttachmentImage: FunctionalComponent<{
363
- attachment: {
364
- img: string;
365
- originalFileName: string;
366
- };
367
- }>;
403
+ declare const AttachmentImage: (props: AttachmentProps) => preact.JSX.Element;
368
404
 
369
- declare const AttachmentVideo: FunctionalComponent<{
370
- attachment: {
371
- src: string;
372
- contentType?: string;
373
- };
374
- }>;
405
+ declare const AttachmentVideo: ({ attachment, item }: AttachmentProps) => preact.JSX.Element;
375
406
 
376
407
  declare const AttachmentEmpty: ({ children }: {
377
408
  children: ComponentChildren;
@@ -383,28 +414,29 @@ declare const CodeViewer: FunctionalComponent<{
383
414
  className?: string;
384
415
  }>;
385
416
 
386
- type Props$d = {
417
+ type Props$e = {
387
418
  size?: "s" | "m" | "l";
388
419
  count: number;
389
420
  truncateCount?: boolean;
390
421
  status?: TestStatus;
391
422
  };
392
- declare const Counter: (props: Props$d) => preact.JSX.Element;
423
+ declare const Counter: (props: Props$e) => preact.JSX.Element;
393
424
 
394
- type Props$c = {
425
+ type Props$d = {
395
426
  value: boolean;
396
427
  label: string;
428
+ size?: "s" | "m";
397
429
  onChange: (value: boolean) => void;
398
430
  focusable?: boolean;
399
431
  };
400
- declare const Toggle: (props: Props$c) => preact.JSX.Element;
432
+ declare const Toggle: (props: Props$d) => preact.JSX.Element;
401
433
 
402
- type Props$b = {
434
+ type Props$c = {
403
435
  href?: string;
404
436
  children: ComponentChildren;
405
437
  onClick?: (e: MouseEvent) => void;
406
438
  };
407
- declare const Link: (props: Props$b) => preact.JSX.Element;
439
+ declare const Link: (props: Props$c) => preact.JSX.Element;
408
440
 
409
441
  declare const Label: FunctionComponent;
410
442
 
@@ -430,23 +462,24 @@ interface WidgetProps {
430
462
  }
431
463
  declare const Widget: FunctionalComponent<WidgetProps>;
432
464
 
433
- type TagSkin = "successful" | "failed" | "warning" | "neutral" | "successful-light" | "failed-light" | "warning-light" | "neutral-light";
465
+ type TagSkin = "successful" | "failed" | "warning" | "neutral" | "successful-light" | "failed-light" | "warning-light" | "neutral-light" | "secondary";
434
466
  interface TagProps {
435
467
  "className"?: string;
436
468
  "skin"?: TagSkin;
437
469
  "data-testid"?: string;
470
+ "children": ComponentChildren;
438
471
  }
439
- declare const Tag: FunctionComponent<TagProps>;
472
+ declare const Tag: ({ className, skin, children, "data-testid": dataTestId }: TagProps) => preact.JSX.Element;
440
473
 
441
474
  type GridKind = "default" | "swap";
442
- interface GridProps extends HTMLAttributes<HTMLDivElement> {
475
+ interface GridProps extends HTMLAttributes$1<HTMLDivElement> {
443
476
  options?: Options;
444
477
  kind?: GridKind;
445
478
  className?: string;
446
479
  }
447
480
  declare const Grid: FunctionComponent<GridProps>;
448
481
 
449
- interface GridItemProps extends HTMLAttributes<HTMLDivElement> {
482
+ interface GridItemProps extends HTMLAttributes$1<HTMLDivElement> {
450
483
  className?: string;
451
484
  dndEnabled?: boolean;
452
485
  }
@@ -462,18 +495,17 @@ declare const LanguagePicker: ({ locale, setLocale, availableLocales }: Language
462
495
  type Theme = "light" | "dark" | "auto";
463
496
  interface ThemeButtonProps {
464
497
  theme: Theme;
465
- getTheme: () => void;
466
498
  toggleTheme: () => void;
467
499
  }
468
- declare const ThemeButton: ({ theme, toggleTheme, getTheme }: ThemeButtonProps) => preact.JSX.Element;
500
+ declare const ThemeButton: ({ theme, toggleTheme }: ThemeButtonProps) => preact.JSX.Element;
469
501
 
470
- type Props$a = {
502
+ type Props$b = {
471
503
  icon: string;
472
504
  tooltip?: string;
473
505
  className?: string;
474
506
  style?: "primary" | "secondary";
475
507
  };
476
- declare const IconLabel: FunctionalComponent<Props$a>;
508
+ declare const IconLabel: FunctionalComponent<Props$b>;
477
509
 
478
510
  interface TrendChartWidgetPropsTranslations {
479
511
  "no-results": string;
@@ -649,31 +681,31 @@ declare const HeatMapWidget: FunctionalComponent<HeatMapWidgetProps>;
649
681
 
650
682
  type I18nKeys$8 = "no-results" | "legend.stabilityRate";
651
683
  type I18nProp$8 = (key: I18nKeys$8, props?: Record<string, unknown>) => string;
652
- type Props$9 = Omit<StabilityDistributionChartData, "type"> & {
684
+ type Props$a = Omit<StabilityDistributionChartData, "type"> & {
653
685
  i18n: I18nProp$8;
654
686
  };
655
687
 
656
- declare const StabilityDistributionWidget: FunctionalComponent<Props$9>;
688
+ declare const StabilityDistributionWidget: FunctionalComponent<Props$a>;
657
689
 
658
690
  type I18nKeys$7 = `status.new${TestStatus}` | `status.removed${TestStatus}` | "legend.trend" | "no-history" | "no-results" | "ticks.current" | "ticks.history" | "tooltips.current" | "tooltips.history";
659
691
  type I18nProp$7 = (key: I18nKeys$7, props?: Record<string, unknown>) => string;
660
- type Props$8 = Omit<TestBaseGrowthDynamicsChartData, "type"> & {
692
+ type Props$9 = Omit<TestBaseGrowthDynamicsChartData, "type"> & {
661
693
  i18n: I18nProp$7;
662
694
  };
663
695
 
664
- declare const TestBaseGrowthDynamicsChartWidget: FunctionalComponent<Props$8>;
696
+ declare const TestBaseGrowthDynamicsChartWidget: FunctionalComponent<Props$9>;
665
697
 
666
698
  type FBSUStatus = Exclude<TestStatus, "passed">;
667
699
  type I18nKeys$6 = `status.${FBSUStatus}` | "no-history" | "no-results" | "ticks.current" | "ticks.history" | "tooltips.current" | "tooltips.history";
668
700
  type I18nProp$6 = (key: I18nKeys$6, props?: Record<string, unknown>) => string;
669
- type Props$7 = Omit<FBSUAgePyramidChartData, "type" | "statuses"> & {
701
+ type Props$8 = Omit<FBSUAgePyramidChartData, "type" | "statuses"> & {
670
702
  i18n: I18nProp$6;
671
703
  statuses: FBSUStatus[];
672
704
  };
673
705
 
674
- declare const FBSUAgePyramidChartWidget: FunctionalComponent<Props$7>;
706
+ declare const FBSUAgePyramidChartWidget: FunctionalComponent<Props$8>;
675
707
 
676
- type Props$6 = {
708
+ type Props$7 = {
677
709
  data: {
678
710
  layer: string;
679
711
  testCount: number;
@@ -685,11 +717,11 @@ type Props$6 = {
685
717
  width?: JSX.CSSProperties["width"];
686
718
  height?: JSX.CSSProperties["height"];
687
719
  };
688
- declare const TestingPyramidWidget: (props: Props$6) => JSX.Element;
720
+ declare const TestingPyramidWidget: (props: Props$7) => JSX.Element;
689
721
 
690
722
  type I18nKeys$5 = "status.passed" | "status.failed" | "status.skipped" | "status.unknown" | "status.broken" | "percentage" | "of" | "tests.new" | "tests.flaky" | "tests.retries" | "total";
691
723
  type I18nProp$5 = (key: I18nKeys$5, props?: Record<string, unknown>) => string;
692
- type Props$5 = {
724
+ type Props$6 = {
693
725
  title?: string;
694
726
  i18n?: I18nProp$5;
695
727
  data: Statistic;
@@ -697,11 +729,11 @@ type Props$5 = {
697
729
  metric?: TestStatus;
698
730
  };
699
731
 
700
- declare const CurrentStatusChartWidget: FunctionalComponent<Props$5>;
732
+ declare const CurrentStatusChartWidget: FunctionalComponent<Props$6>;
701
733
 
702
734
  type I18nKeys$4 = "status.passed" | "status.failed" | "status.skipped" | "status.unknown" | "status.broken" | "no-history" | "no-results" | "ticks.current" | "ticks.history" | "tooltips.current" | "tooltips.history";
703
735
  type I18nProp$4 = (key: I18nKeys$4, props?: Record<string, unknown>) => string;
704
- type Props$4 = {
736
+ type Props$5 = {
705
737
  title?: string;
706
738
  data: {
707
739
  statistic: Statistic;
@@ -714,40 +746,40 @@ type Props$4 = {
714
746
  i18n: I18nProp$4;
715
747
  };
716
748
 
717
- declare const StatusDynamicsChartWidget: FunctionalComponent<Props$4>;
749
+ declare const StatusDynamicsChartWidget: FunctionalComponent<Props$5>;
718
750
 
719
751
  type I18nKeys$3 = "transitions.new" | "transitions.fixed" | "transitions.regressed" | "transitions.malfunctioned" | "legend.trend" | "no-history" | "no-results" | "ticks.current" | "ticks.history" | "tooltips.current" | "tooltips.history";
720
752
  type I18nProp$3 = (key: I18nKeys$3, props?: Record<string, unknown>) => string;
721
- type Props$3 = Omit<StatusTransitionsChartData, "type"> & {
753
+ type Props$4 = Omit<StatusTransitionsChartData, "type"> & {
722
754
  statuses?: TestStatus[];
723
755
  i18n: I18nProp$3;
724
756
  };
725
757
 
726
- declare const StatusTransitionsChartWidget: FunctionalComponent<Props$3>;
758
+ declare const StatusTransitionsChartWidget: FunctionalComponent<Props$4>;
727
759
 
728
760
  type I18nKeys$2 = "no-history" | "no-results" | "ticks.durationRange" | "tooltips.durationRange" | "legend.value" | "legend.total";
729
761
  type I18nProp$2 = (key: I18nKeys$2, props?: Record<string, unknown>) => string;
730
- type Props$2 = Omit<DurationsChartData, "type"> & {
762
+ type Props$3 = Omit<DurationsChartData, "type"> & {
731
763
  i18n: I18nProp$2;
732
764
  };
733
765
 
734
- declare const DurationsChartWidget: FunctionalComponent<Props$2>;
766
+ declare const DurationsChartWidget: FunctionalComponent<Props$3>;
735
767
 
736
768
  type I18nKeys$1 = `status.${TestStatus}` | `severity.${SeverityLevel | "unset"}` | "no-results" | "ticks.current";
737
769
  type I18nProp$1 = (key: I18nKeys$1, props?: Record<string, unknown>) => string;
738
- type Props$1 = Omit<TrSeveritiesChartData, "type"> & {
770
+ type Props$2 = Omit<TrSeveritiesChartData, "type"> & {
739
771
  i18n: I18nProp$1;
740
772
  };
741
773
 
742
- declare const TrSeveritiesChartWidget: FunctionalComponent<Props$1>;
774
+ declare const TrSeveritiesChartWidget: FunctionalComponent<Props$2>;
743
775
 
744
776
  type I18nKeys = "no-results" | "durations.sequential" | "durations.duration" | "durations.speedup" | "ticks.current" | "ticks.history" | "tooltips.current" | "tooltips.history" | "legend.duration" | "legend.speedup";
745
777
  type I18nProp = (key: I18nKeys, props?: Record<string, unknown>) => string;
746
- type Props = Omit<DurationDynamicsChartData, "type"> & {
778
+ type Props$1 = Omit<DurationDynamicsChartData, "type"> & {
747
779
  i18n: I18nProp;
748
780
  };
749
781
 
750
- declare const DurationDynamicsChartWidget: FunctionalComponent<Props>;
782
+ declare const DurationDynamicsChartWidget: FunctionalComponent<Props$1>;
751
783
 
752
784
  type TimlineTr = Pick<TestResult, "id" | "name" | "status" | "flaky" | "hidden" | "labels" | "environment" | "start" | "stop" | "duration" | "historyId">;
753
785
  type TimelineSegment = {
@@ -819,5 +851,19 @@ declare const ThemeProvider: (props: {
819
851
  theme: string;
820
852
  }) => preact.JSX.Element;
821
853
 
822
- export { ArrowButton, Attachment, AttachmentCode, AttachmentEmpty, AttachmentImage, AttachmentVideo, Button, 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, FBSUAgePyramidChartWidget, Grid, GridItem, Heading, HeatMap, HeatMapWidget, HtmlPreview, IconButton, IconLabel, Label, LanguagePicker, Link, Loadable, Menu, Modal, PageLoader, ReportLogo, ReportLogoFull, ReportSummaryCard, SearchBox, Spinner, StabilityDistributionWidget, StatusDynamicsChartWidget, StatusLabel, StatusTransitionsChartWidget, SuccessRatePieChart, SvgIcon, Tag, TestBaseGrowthDynamicsChartWidget, TestingPyramidWidget, Text, ThemeButton, ThemeProvider, Timeline, Toggle, 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, useSuccessRateDistributionColors, useTheme };
854
+ type Size = "s" | "m" | "xs";
855
+ type Props = {
856
+ title?: ComponentChildren;
857
+ description?: ComponentChildren;
858
+ icon?: string;
859
+ iconColor?: "skat" | "aldebaran" | "castor" | "atlas" | "betelgeuse" | "sirius" | "antares" | "gliese" | "capella" | "rigel" | "mirach" | "rau";
860
+ fullHeight?: boolean;
861
+ size?: Size;
862
+ className?: string;
863
+ iconClassName?: string;
864
+ border?: boolean;
865
+ };
866
+ declare const EmptyView: FunctionalComponent<Props>;
867
+
868
+ 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, FBSUAgePyramidChartWidget, Grid, GridItem, Heading, HeatMap, HeatMapWidget, HtmlPreview, IconButton, IconLabel, ImageDiff, Label, LanguagePicker, Link, Loadable, Menu, Modal, PageLoader, ReportLogo, ReportLogoFull, ReportSummaryCard, SearchBox, Spinner, StabilityDistributionWidget, 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, useSuccessRateDistributionColors, useTheme, useTooltip };
823
869
  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 };