@allurereport/web-awesome 3.0.0-beta.13 → 3.0.0-beta.14
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/multi/{173.app-01ff983b.js → 173.app-1829fb8f.js} +1 -1
- package/dist/multi/{174.app-01ff983b.js → 174.app-1829fb8f.js} +1 -1
- package/dist/multi/{252.app-01ff983b.js → 252.app-1829fb8f.js} +1 -1
- package/dist/multi/{282.app-01ff983b.js → 282.app-1829fb8f.js} +1 -1
- package/dist/multi/{29.app-01ff983b.js → 29.app-1829fb8f.js} +1 -1
- package/dist/multi/{416.app-01ff983b.js → 416.app-1829fb8f.js} +1 -1
- package/dist/multi/{527.app-01ff983b.js → 527.app-1829fb8f.js} +1 -1
- package/dist/multi/{600.app-01ff983b.js → 600.app-1829fb8f.js} +1 -1
- package/dist/multi/{605.app-01ff983b.js → 605.app-1829fb8f.js} +1 -1
- package/dist/multi/{638.app-01ff983b.js → 638.app-1829fb8f.js} +1 -1
- package/dist/multi/{672.app-01ff983b.js → 672.app-1829fb8f.js} +1 -1
- package/dist/multi/{686.app-01ff983b.js → 686.app-1829fb8f.js} +1 -1
- package/dist/multi/{725.app-01ff983b.js → 725.app-1829fb8f.js} +1 -1
- package/dist/multi/{741.app-01ff983b.js → 741.app-1829fb8f.js} +1 -1
- package/dist/multi/{755.app-01ff983b.js → 755.app-1829fb8f.js} +1 -1
- package/dist/multi/{894.app-01ff983b.js → 894.app-1829fb8f.js} +1 -1
- package/dist/multi/{943.app-01ff983b.js → 943.app-1829fb8f.js} +1 -1
- package/dist/multi/{980.app-01ff983b.js → 980.app-1829fb8f.js} +1 -1
- package/dist/multi/app-1829fb8f.js +2 -0
- package/dist/multi/manifest.json +20 -20
- package/dist/multi/{styles-01ff983b.css → styles-1829fb8f.css} +12 -10
- package/dist/single/app-3a6e31c7.js +2 -0
- package/dist/single/manifest.json +1 -1
- package/package.json +4 -4
- package/src/components/BaseLayout/index.tsx +1 -4
- package/src/components/BaseLayout/styles.scss +4 -2
- package/src/components/Charts/index.tsx +89 -0
- package/src/components/Charts/styles.scss +29 -0
- package/src/components/Footer/index.tsx +6 -2
- package/src/components/Header/index.tsx +5 -2
- package/src/components/Header/styles.scss +2 -0
- package/src/components/MainReport/index.tsx +0 -2
- package/src/components/MetadataButton/index.tsx +2 -2
- package/src/components/Report/index.tsx +7 -0
- package/src/components/ReportBody/index.tsx +24 -13
- package/src/components/ReportBody/styles.scss +1 -0
- package/src/components/ReportHeader/index.tsx +3 -0
- package/src/components/SectionPicker/index.tsx +54 -0
- package/src/components/SectionPicker/styles.scss +5 -0
- package/src/components/SectionSwitcher/index.tsx +14 -0
- package/src/components/SectionSwitcher/styles.scss +4 -0
- package/src/components/SectionTabs/index.tsx +0 -0
- package/src/components/SideBySide/styles.scss +1 -1
- package/src/components/SplitLayout/index.tsx +1 -3
- package/src/components/SplitLayout/styles.scss +1 -3
- package/src/components/TestResult/TrDropdown/index.tsx +1 -2
- package/src/components/TestResult/TrEnvironmentItem/index.tsx +1 -2
- package/src/components/TestResult/TrHistory/TrHistoryItem.tsx +1 -2
- package/src/components/TestResult/TrPwTraces/PwTraceButton.tsx +0 -1
- package/src/components/TestResult/TrRetriesView/TrRetriesItem.tsx +5 -4
- package/src/components/TestResult/TrSteps/TrAttachment.tsx +31 -5
- package/src/components/TestResult/TrSteps/TrStep.tsx +1 -2
- package/src/components/TestResult/TrSteps/styles.scss +4 -2
- package/src/components/TestResult/TrTabs/index.tsx +8 -4
- package/src/components/TestResult/index.tsx +0 -1
- package/src/components/Tree/index.tsx +6 -6
- package/src/components/Tree/styles.scss +0 -4
- package/src/index.tsx +25 -12
- package/src/locales/az.json +16 -0
- package/src/locales/de.json +17 -0
- package/src/locales/en.json +16 -0
- package/src/locales/es.json +16 -0
- package/src/locales/fr.json +16 -0
- package/src/locales/he.json +16 -0
- package/src/locales/hy.json +16 -0
- package/src/locales/it.json +16 -0
- package/src/locales/ja.json +16 -0
- package/src/locales/ka.json +16 -0
- package/src/locales/kr.json +16 -0
- package/src/locales/nl.json +16 -0
- package/src/locales/pl.json +16 -0
- package/src/locales/pt.json +16 -0
- package/src/locales/ru.json +16 -0
- package/src/locales/sv.json +16 -0
- package/src/locales/tr.json +16 -0
- package/src/locales/zh.json +16 -0
- package/src/stores/chart.ts +32 -0
- package/src/stores/locale.ts +2 -0
- package/src/stores/router.ts +76 -16
- package/src/stores/sections.ts +63 -0
- package/src/stores/tree.ts +9 -6
- package/src/styles.scss +21 -0
- package/src/utils/charts.ts +169 -0
- package/types.d.ts +3 -1
- package/dist/multi/app-01ff983b.js +0 -2
- package/dist/single/app-607f21f7.js +0 -2
- package/src/components/ArrowButton/index.tsx +0 -36
- package/src/components/ArrowButton/styles.scss +0 -35
- /package/dist/multi/{app-01ff983b.js.LICENSE.txt → app-1829fb8f.js.LICENSE.txt} +0 -0
- /package/dist/single/{app-607f21f7.js.LICENSE.txt → app-3a6e31c7.js.LICENSE.txt} +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { SvgIcon, allureIcons } from "@allurereport/web-components";
|
|
2
|
-
import { clsx } from "clsx";
|
|
3
|
-
import type { FunctionalComponent } from "preact";
|
|
4
|
-
import * as styles from "./styles.scss";
|
|
5
|
-
|
|
6
|
-
export interface ArrowButtonProps {
|
|
7
|
-
isOpened?: boolean;
|
|
8
|
-
iconSize?: "m" | "xs" | "s";
|
|
9
|
-
buttonSize?: "m" | "xs" | "s";
|
|
10
|
-
className?: string;
|
|
11
|
-
icon?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const ArrowButton: FunctionalComponent<ArrowButtonProps> = ({
|
|
15
|
-
isOpened,
|
|
16
|
-
buttonSize = "m",
|
|
17
|
-
iconSize = "xs",
|
|
18
|
-
className,
|
|
19
|
-
icon = allureIcons.lineArrowsChevronDown,
|
|
20
|
-
...rest
|
|
21
|
-
}) => {
|
|
22
|
-
return (
|
|
23
|
-
<button className={clsx(styles["arrow-button"], styles[`arrow-button-${buttonSize}`])} {...rest}>
|
|
24
|
-
<SvgIcon
|
|
25
|
-
id={icon}
|
|
26
|
-
size={iconSize}
|
|
27
|
-
className={clsx(
|
|
28
|
-
styles["arrow-button-icon"],
|
|
29
|
-
isOpened && styles["arrow-button-icon--opened"],
|
|
30
|
-
styles[`icon-size-${iconSize}`],
|
|
31
|
-
className,
|
|
32
|
-
)}
|
|
33
|
-
/>
|
|
34
|
-
</button>
|
|
35
|
-
);
|
|
36
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.arrow-button {
|
|
2
|
-
background: transparent;
|
|
3
|
-
border: none;
|
|
4
|
-
padding: 8px 4px;
|
|
5
|
-
border-radius: 4px;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
color: var(--on-icon-secondary);
|
|
8
|
-
|
|
9
|
-
&:hover {
|
|
10
|
-
background: var(--bg-control-flat-medium);
|
|
11
|
-
color: var(--on-icon-primary);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.arrow-button-s {
|
|
16
|
-
padding: 0 4px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.arrow-button-m {
|
|
20
|
-
padding: 4px 6px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.icon-size-m {
|
|
24
|
-
width: 15px;
|
|
25
|
-
height: 15px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.arrow-button-icon {
|
|
29
|
-
transform: rotate(-90deg);
|
|
30
|
-
transition: transform 200ms;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.arrow-button-icon--opened {
|
|
34
|
-
transform: rotate(0);
|
|
35
|
-
}
|
|
File without changes
|
|
File without changes
|