@allurereport/web-awesome 3.6.2 → 3.7.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.
Files changed (34) hide show
  1. package/dist/multi/app-2db623c010c07fd8a909.js +2 -0
  2. package/dist/multi/manifest.json +23 -23
  3. package/dist/multi/{styles-3515d3bdd45651cd4e66.css → styles-9f7a23a0c8b79fa76981.css} +2 -2
  4. package/dist/single/app-c06dada6aab4e69b7f74.js +2 -0
  5. package/dist/single/manifest.json +1 -1
  6. package/package.json +6 -6
  7. package/src/components/TestResult/TrError/styles.scss +5 -1
  8. package/src/components/TestResult/TrSteps/styles.scss +1 -0
  9. package/src/stores/treeFilters/utils.ts +6 -4
  10. package/dist/multi/app-1c928f385beb78e2c2e8.js +0 -2
  11. package/dist/single/app-16786ab64ac3e094685f.js +0 -2
  12. /package/dist/multi/{173.app-1c928f385beb78e2c2e8.js → 173.app-2db623c010c07fd8a909.js} +0 -0
  13. /package/dist/multi/{174.app-1c928f385beb78e2c2e8.js → 174.app-2db623c010c07fd8a909.js} +0 -0
  14. /package/dist/multi/{252.app-1c928f385beb78e2c2e8.js → 252.app-2db623c010c07fd8a909.js} +0 -0
  15. /package/dist/multi/{282.app-1c928f385beb78e2c2e8.js → 282.app-2db623c010c07fd8a909.js} +0 -0
  16. /package/dist/multi/{29.app-1c928f385beb78e2c2e8.js → 29.app-2db623c010c07fd8a909.js} +0 -0
  17. /package/dist/multi/{310.app-1c928f385beb78e2c2e8.js → 310.app-2db623c010c07fd8a909.js} +0 -0
  18. /package/dist/multi/{416.app-1c928f385beb78e2c2e8.js → 416.app-2db623c010c07fd8a909.js} +0 -0
  19. /package/dist/multi/{507.app-1c928f385beb78e2c2e8.js → 507.app-2db623c010c07fd8a909.js} +0 -0
  20. /package/dist/multi/{527.app-1c928f385beb78e2c2e8.js → 527.app-2db623c010c07fd8a909.js} +0 -0
  21. /package/dist/multi/{600.app-1c928f385beb78e2c2e8.js → 600.app-2db623c010c07fd8a909.js} +0 -0
  22. /package/dist/multi/{605.app-1c928f385beb78e2c2e8.js → 605.app-2db623c010c07fd8a909.js} +0 -0
  23. /package/dist/multi/{638.app-1c928f385beb78e2c2e8.js → 638.app-2db623c010c07fd8a909.js} +0 -0
  24. /package/dist/multi/{672.app-1c928f385beb78e2c2e8.js → 672.app-2db623c010c07fd8a909.js} +0 -0
  25. /package/dist/multi/{686.app-1c928f385beb78e2c2e8.js → 686.app-2db623c010c07fd8a909.js} +0 -0
  26. /package/dist/multi/{725.app-1c928f385beb78e2c2e8.js → 725.app-2db623c010c07fd8a909.js} +0 -0
  27. /package/dist/multi/{741.app-1c928f385beb78e2c2e8.js → 741.app-2db623c010c07fd8a909.js} +0 -0
  28. /package/dist/multi/{749.app-1c928f385beb78e2c2e8.js → 749.app-2db623c010c07fd8a909.js} +0 -0
  29. /package/dist/multi/{755.app-1c928f385beb78e2c2e8.js → 755.app-2db623c010c07fd8a909.js} +0 -0
  30. /package/dist/multi/{894.app-1c928f385beb78e2c2e8.js → 894.app-2db623c010c07fd8a909.js} +0 -0
  31. /package/dist/multi/{943.app-1c928f385beb78e2c2e8.js → 943.app-2db623c010c07fd8a909.js} +0 -0
  32. /package/dist/multi/{980.app-1c928f385beb78e2c2e8.js → 980.app-2db623c010c07fd8a909.js} +0 -0
  33. /package/dist/multi/{app-1c928f385beb78e2c2e8.js.LICENSE.txt → app-2db623c010c07fd8a909.js.LICENSE.txt} +0 -0
  34. /package/dist/single/{app-16786ab64ac3e094685f.js.LICENSE.txt → app-c06dada6aab4e69b7f74.js.LICENSE.txt} +0 -0
@@ -1,3 +1,3 @@
1
1
  {
2
- "main.js": "app-16786ab64ac3e094685f.js"
2
+ "main.js": "app-c06dada6aab4e69b7f74.js"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/web-awesome",
3
- "version": "3.6.2",
3
+ "version": "3.7.0",
4
4
  "description": "The static files for Allure Awesome Report",
5
5
  "keywords": [
6
6
  "allure",
@@ -27,11 +27,11 @@
27
27
  "lint:fix": "oxlint --import-plugin --fix src test features stories"
28
28
  },
29
29
  "dependencies": {
30
- "@allurereport/charts-api": "3.6.2",
31
- "@allurereport/core-api": "3.6.2",
32
- "@allurereport/plugin-api": "3.6.2",
33
- "@allurereport/web-commons": "3.6.2",
34
- "@allurereport/web-components": "3.6.2",
30
+ "@allurereport/charts-api": "3.7.0",
31
+ "@allurereport/core-api": "3.7.0",
32
+ "@allurereport/plugin-api": "3.7.0",
33
+ "@allurereport/web-commons": "3.7.0",
34
+ "@allurereport/web-components": "3.7.0",
35
35
  "@preact/signals": "^2.6.1",
36
36
  "clsx": "^2.1.1",
37
37
  "d3-shape": "^3.2.0",
@@ -4,6 +4,7 @@
4
4
  border-radius: 8px;
5
5
  position: relative;
6
6
  overflow: hidden;
7
+ min-width: 0;
7
8
 
8
9
  &:before {
9
10
  content: "";
@@ -86,9 +87,12 @@
86
87
  .test-result-error-trace {
87
88
  margin-top: 8px;
88
89
  padding-left: 8px;
90
+ min-width: 0;
89
91
 
90
92
  pre {
91
- overflow: scroll;
93
+ white-space: pre-wrap;
94
+ overflow-wrap: anywhere;
95
+ overflow: auto;
92
96
  padding-bottom: 24px;
93
97
  }
94
98
  }
@@ -22,6 +22,7 @@
22
22
  padding-left: 24px;
23
23
  margin-bottom: 12px;
24
24
  border-top: 1px solid var(--on-border-muted);
25
+ min-width: 0;
25
26
  }
26
27
 
27
28
  .test-result-error-step-content {
@@ -1,5 +1,5 @@
1
1
  import type { TestStatus, TestStatusTransition } from "@allurereport/core-api";
2
- import { MAX_ARRAY_FIELD_VALUES, getCurrentUrl } from "@allurereport/web-commons";
2
+ import { MAX_ARRAY_FIELD_VALUES, getCurrentUrl, goTo } from "@allurereport/web-commons";
3
3
 
4
4
  import { PARAMS, STATUSES, TRANSITIONS } from "./constants";
5
5
  import type {
@@ -15,7 +15,10 @@ export const truncateArrayFieldValues = (values: string[]): string[] => {
15
15
  };
16
16
 
17
17
  export const getTagsFilterUrl = (tags: string[]): string => {
18
- const url = new URL(window.location.pathname, window.location.origin);
18
+ const url = new URL(getCurrentUrl());
19
+
20
+ url.search = "";
21
+ url.hash = "";
19
22
 
20
23
  tags.forEach((tag) => {
21
24
  url.searchParams.append("tags", tag);
@@ -74,8 +77,7 @@ export const migrateFilterParam = () => {
74
77
 
75
78
  currentUrl.searchParams.delete("filter");
76
79
 
77
- window.history.replaceState(null, "", currentUrl.toString());
78
- window.dispatchEvent(new Event("replaceState"));
80
+ goTo(currentUrl, { replace: true });
79
81
  };
80
82
 
81
83
  export const constructFilterParams = (filters: Filters) => {