@allurereport/web-awesome 3.0.0-beta.13 → 3.0.0-beta.15

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.
Files changed (96) hide show
  1. package/dist/multi/{173.app-01ff983b.js → 173.app-35b67161.js} +1 -1
  2. package/dist/multi/{174.app-01ff983b.js → 174.app-35b67161.js} +1 -1
  3. package/dist/multi/{252.app-01ff983b.js → 252.app-35b67161.js} +1 -1
  4. package/dist/multi/{282.app-01ff983b.js → 282.app-35b67161.js} +1 -1
  5. package/dist/multi/{29.app-01ff983b.js → 29.app-35b67161.js} +1 -1
  6. package/dist/multi/{416.app-01ff983b.js → 416.app-35b67161.js} +1 -1
  7. package/dist/multi/{527.app-01ff983b.js → 527.app-35b67161.js} +1 -1
  8. package/dist/multi/{600.app-01ff983b.js → 600.app-35b67161.js} +1 -1
  9. package/dist/multi/{605.app-01ff983b.js → 605.app-35b67161.js} +1 -1
  10. package/dist/multi/{638.app-01ff983b.js → 638.app-35b67161.js} +1 -1
  11. package/dist/multi/{672.app-01ff983b.js → 672.app-35b67161.js} +1 -1
  12. package/dist/multi/{686.app-01ff983b.js → 686.app-35b67161.js} +1 -1
  13. package/dist/multi/{725.app-01ff983b.js → 725.app-35b67161.js} +1 -1
  14. package/dist/multi/{741.app-01ff983b.js → 741.app-35b67161.js} +1 -1
  15. package/dist/multi/{755.app-01ff983b.js → 755.app-35b67161.js} +1 -1
  16. package/dist/multi/{894.app-01ff983b.js → 894.app-35b67161.js} +1 -1
  17. package/dist/multi/{943.app-01ff983b.js → 943.app-35b67161.js} +1 -1
  18. package/dist/multi/{980.app-01ff983b.js → 980.app-35b67161.js} +1 -1
  19. package/dist/multi/app-35b67161.js +2 -0
  20. package/dist/multi/manifest.json +20 -20
  21. package/dist/multi/{styles-01ff983b.css → styles-35b67161.css} +12 -10
  22. package/dist/single/app-f5ecfcd9.js +2 -0
  23. package/dist/single/manifest.json +1 -1
  24. package/package.json +5 -4
  25. package/src/components/BaseLayout/index.tsx +1 -4
  26. package/src/components/BaseLayout/styles.scss +5 -3
  27. package/src/components/Charts/index.tsx +89 -0
  28. package/src/components/Charts/styles.scss +29 -0
  29. package/src/components/Footer/index.tsx +6 -2
  30. package/src/components/Header/index.tsx +5 -2
  31. package/src/components/Header/styles.scss +1 -0
  32. package/src/components/MainReport/index.tsx +0 -2
  33. package/src/components/MetadataButton/index.tsx +2 -2
  34. package/src/components/Report/index.tsx +7 -0
  35. package/src/components/ReportBody/index.tsx +24 -13
  36. package/src/components/ReportBody/styles.scss +1 -0
  37. package/src/components/ReportHeader/index.tsx +3 -0
  38. package/src/components/SectionPicker/index.tsx +54 -0
  39. package/src/components/SectionPicker/styles.scss +5 -0
  40. package/src/components/SectionSwitcher/index.tsx +14 -0
  41. package/src/components/SectionSwitcher/styles.scss +4 -0
  42. package/src/components/SectionTabs/index.tsx +0 -0
  43. package/src/components/SideBySide/styles.scss +1 -1
  44. package/src/components/SplitLayout/index.tsx +1 -3
  45. package/src/components/SplitLayout/styles.scss +1 -3
  46. package/src/components/TestResult/TrDropdown/index.tsx +1 -2
  47. package/src/components/TestResult/TrEnvironmentItem/index.tsx +1 -2
  48. package/src/components/TestResult/TrHistory/TrHistoryItem.tsx +1 -2
  49. package/src/components/TestResult/TrPwTraces/PwTraceButton.tsx +0 -1
  50. package/src/components/TestResult/TrRetriesView/TrRetriesItem.tsx +5 -4
  51. package/src/components/TestResult/TrSteps/TrAttachment.tsx +31 -5
  52. package/src/components/TestResult/TrSteps/TrStep.tsx +1 -2
  53. package/src/components/TestResult/TrSteps/styles.scss +4 -2
  54. package/src/components/TestResult/TrTabs/index.tsx +8 -4
  55. package/src/components/TestResult/index.tsx +0 -1
  56. package/src/components/Tree/index.tsx +6 -6
  57. package/src/components/Tree/styles.scss +0 -4
  58. package/src/index.tsx +25 -12
  59. package/src/locales/az.json +16 -0
  60. package/src/locales/de.json +16 -0
  61. package/src/locales/en.json +16 -0
  62. package/src/locales/es.json +16 -0
  63. package/src/locales/fr.json +16 -0
  64. package/src/locales/he.json +16 -0
  65. package/src/locales/hy.json +16 -0
  66. package/src/locales/it.json +16 -0
  67. package/src/locales/ja.json +16 -0
  68. package/src/locales/ka.json +16 -0
  69. package/src/locales/kr.json +16 -0
  70. package/src/locales/nl.json +16 -0
  71. package/src/locales/pl.json +16 -0
  72. package/src/locales/pt.json +16 -0
  73. package/src/locales/ru.json +16 -0
  74. package/src/locales/sv.json +16 -0
  75. package/src/locales/tr.json +16 -0
  76. package/src/locales/zh.json +16 -0
  77. package/src/stores/chart.ts +35 -1
  78. package/src/stores/env.ts +1 -1
  79. package/src/stores/envInfo.ts +2 -2
  80. package/src/stores/locale.ts +2 -0
  81. package/src/stores/router.ts +76 -16
  82. package/src/stores/sections.ts +63 -0
  83. package/src/stores/stats.ts +2 -2
  84. package/src/stores/testResults.ts +6 -2
  85. package/src/stores/tree.ts +10 -7
  86. package/src/stores/variables.ts +3 -1
  87. package/src/styles.scss +21 -0
  88. package/src/utils/charts.ts +169 -0
  89. package/types.d.ts +4 -1
  90. package/webpack.config.js +14 -0
  91. package/dist/multi/app-01ff983b.js +0 -2
  92. package/dist/single/app-607f21f7.js +0 -2
  93. package/src/components/ArrowButton/index.tsx +0 -36
  94. package/src/components/ArrowButton/styles.scss +0 -35
  95. /package/dist/multi/{app-01ff983b.js.LICENSE.txt → app-35b67161.js.LICENSE.txt} +0 -0
  96. /package/dist/single/{app-607f21f7.js.LICENSE.txt → app-f5ecfcd9.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
- }