@allurereport/web-classic 3.9.0 → 3.10.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-ca55d3cd360ac8eef796.js → app-0638edd2daa9730d5153.js} +2 -2
  2. package/dist/multi/manifest.json +23 -23
  3. package/dist/multi/{styles-f8dc8e0442ce4abf426b.css → styles-1f77adc2ac439c7a4c4b.css} +2 -2
  4. package/dist/single/app-099b8ba247b13f22ce56.js +2 -0
  5. package/dist/single/manifest.json +1 -1
  6. package/package.json +14 -14
  7. package/src/components/TestResult/TestResultSteps/attachmentVideo.tsx +3 -1
  8. package/src/components/TestResult/TestResultSteps/styles.scss +13 -3
  9. package/src/index.js +1 -0
  10. package/webpack.config.js +8 -5
  11. package/dist/single/app-3d4358effbb13febd942.js +0 -2
  12. /package/dist/multi/{10.app-ca55d3cd360ac8eef796.js → 10.app-0638edd2daa9730d5153.js} +0 -0
  13. /package/dist/multi/{222.app-ca55d3cd360ac8eef796.js → 222.app-0638edd2daa9730d5153.js} +0 -0
  14. /package/dist/multi/{26.app-ca55d3cd360ac8eef796.js → 26.app-0638edd2daa9730d5153.js} +0 -0
  15. /package/dist/multi/{302.app-ca55d3cd360ac8eef796.js → 302.app-0638edd2daa9730d5153.js} +0 -0
  16. /package/dist/multi/{304.app-ca55d3cd360ac8eef796.js → 304.app-0638edd2daa9730d5153.js} +0 -0
  17. /package/dist/multi/{333.app-ca55d3cd360ac8eef796.js → 333.app-0638edd2daa9730d5153.js} +0 -0
  18. /package/dist/multi/{369.app-ca55d3cd360ac8eef796.js → 369.app-0638edd2daa9730d5153.js} +0 -0
  19. /package/dist/multi/{389.app-ca55d3cd360ac8eef796.js → 389.app-0638edd2daa9730d5153.js} +0 -0
  20. /package/dist/multi/{498.app-ca55d3cd360ac8eef796.js → 498.app-0638edd2daa9730d5153.js} +0 -0
  21. /package/dist/multi/{60.app-ca55d3cd360ac8eef796.js → 60.app-0638edd2daa9730d5153.js} +0 -0
  22. /package/dist/multi/{643.app-ca55d3cd360ac8eef796.js → 643.app-0638edd2daa9730d5153.js} +0 -0
  23. /package/dist/multi/{671.app-ca55d3cd360ac8eef796.js → 671.app-0638edd2daa9730d5153.js} +0 -0
  24. /package/dist/multi/{725.app-ca55d3cd360ac8eef796.js → 725.app-0638edd2daa9730d5153.js} +0 -0
  25. /package/dist/multi/{770.app-ca55d3cd360ac8eef796.js → 770.app-0638edd2daa9730d5153.js} +0 -0
  26. /package/dist/multi/{848.app-ca55d3cd360ac8eef796.js → 848.app-0638edd2daa9730d5153.js} +0 -0
  27. /package/dist/multi/{853.app-ca55d3cd360ac8eef796.js → 853.app-0638edd2daa9730d5153.js} +0 -0
  28. /package/dist/multi/{872.app-ca55d3cd360ac8eef796.js → 872.app-0638edd2daa9730d5153.js} +0 -0
  29. /package/dist/multi/{895.app-ca55d3cd360ac8eef796.js → 895.app-0638edd2daa9730d5153.js} +0 -0
  30. /package/dist/multi/{920.app-ca55d3cd360ac8eef796.js → 920.app-0638edd2daa9730d5153.js} +0 -0
  31. /package/dist/multi/{979.app-ca55d3cd360ac8eef796.js → 979.app-0638edd2daa9730d5153.js} +0 -0
  32. /package/dist/multi/{991.app-ca55d3cd360ac8eef796.js → 991.app-0638edd2daa9730d5153.js} +0 -0
  33. /package/dist/multi/{app-ca55d3cd360ac8eef796.js.LICENSE.txt → app-0638edd2daa9730d5153.js.LICENSE.txt} +0 -0
  34. /package/dist/single/{app-3d4358effbb13febd942.js.LICENSE.txt → app-099b8ba247b13f22ce56.js.LICENSE.txt} +0 -0
@@ -1,3 +1,3 @@
1
1
  {
2
- "main.js": "app-3d4358effbb13febd942.js"
2
+ "main.js": "app-099b8ba247b13f22ce56.js"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/web-classic",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "The static files for Allure Classic Report",
5
5
  "keywords": [
6
6
  "allure",
@@ -30,10 +30,10 @@
30
30
  "lint:fix": "oxlint --import-plugin --fix src test features stories"
31
31
  },
32
32
  "dependencies": {
33
- "@allurereport/charts-api": "3.9.0",
34
- "@allurereport/core-api": "3.9.0",
35
- "@allurereport/web-commons": "3.9.0",
36
- "@allurereport/web-components": "3.9.0",
33
+ "@allurereport/charts-api": "3.10.0",
34
+ "@allurereport/core-api": "3.10.0",
35
+ "@allurereport/web-commons": "3.10.0",
36
+ "@allurereport/web-components": "3.10.0",
37
37
  "@preact/signals": "^2.6.1",
38
38
  "clsx": "^2.1.1",
39
39
  "d3-shape": "^3.2.0",
@@ -52,13 +52,13 @@
52
52
  "@types/babel__core": "^7.20.5",
53
53
  "@types/d3-shape": "^3.1.6",
54
54
  "@types/md5": "^2.3.5",
55
- "@types/node": "^20.17.9",
55
+ "@types/node": "^20",
56
56
  "@types/prismjs": "^1.26.5",
57
57
  "@types/underscore": "^1",
58
- "@vitest/runner": "^2.1.9",
58
+ "@vitest/runner": "^2",
59
59
  "@vitest/snapshot": "^2.1.9",
60
- "allure-js-commons": "^3.3.3",
61
- "allure-vitest": "^3.3.3",
60
+ "allure-js-commons": "^3",
61
+ "allure-vitest": "^3",
62
62
  "autoprefixer": "^10.4.20",
63
63
  "babel-loader": "^9.2.1",
64
64
  "babel-plugin-prismjs": "^2.1.0",
@@ -71,18 +71,18 @@
71
71
  "html-webpack-plugin": "^5.6.3",
72
72
  "mini-css-extract-plugin": "^2.9.1",
73
73
  "npm-run-all2": "^7.0.1",
74
- "postcss": "^8.5.6",
75
- "rimraf": "^6.0.1",
74
+ "postcss": "^8.5.10",
75
+ "rimraf": "^6",
76
76
  "sass": "^1.79.1",
77
77
  "sass-loader": "^16.0.1",
78
78
  "style-loader": "^4.0.0",
79
79
  "svg-sprite-loader": "^6.0.11",
80
- "typescript": "^5.6.3",
80
+ "typescript": "^5",
81
81
  "underscore": "^1.13.8",
82
- "vitest": "^2.1.9",
82
+ "vitest": "^4.1.0",
83
83
  "webpack": "^5.99.9",
84
84
  "webpack-cli": "^5.1.4",
85
- "webpack-dev-server": "^5.2.2",
85
+ "webpack-dev-server": "^5.2.4",
86
86
  "webpack-manifest-plugin": "^5.0.0"
87
87
  },
88
88
  "browserslist": [
@@ -1,6 +1,8 @@
1
1
  import { Spinner } from "@allurereport/web-components";
2
2
  import { type FunctionalComponent } from "preact";
3
3
 
4
+ import * as styles from "./styles.scss";
5
+
4
6
  export const AttachmentVideo: FunctionalComponent<{
5
7
  attachment: { src: string; contentType?: string };
6
8
  }> = ({ attachment }) => {
@@ -8,7 +10,7 @@ export const AttachmentVideo: FunctionalComponent<{
8
10
  return <Spinner />;
9
11
  }
10
12
  return (
11
- <video controls loop muted>
13
+ <video class={styles["test-result-attachment-video"]} controls loop muted>
12
14
  <source src={attachment?.src} type={attachment?.contentType} />
13
15
  </video>
14
16
  );
@@ -159,9 +159,11 @@
159
159
  height: 100%;
160
160
 
161
161
  img {
162
- width: 100%;
163
- height: 100%;
164
- object-fit: scale-down;
162
+ display: block;
163
+ max-width: 100%;
164
+ max-height: 80vh;
165
+ width: auto;
166
+ height: auto;
165
167
  }
166
168
  }
167
169
 
@@ -228,3 +230,11 @@
228
230
  .html-attachment-preview {
229
231
  padding: 0 16px;
230
232
  }
233
+
234
+ .test-result-attachment-video {
235
+ display: block;
236
+ max-width: 100%;
237
+ max-height: 80vh;
238
+ width: auto;
239
+ height: auto;
240
+ }
package/src/index.js CHANGED
@@ -16,6 +16,7 @@ import "./favicon.ico";
16
16
  import "./pluginApi.js";
17
17
  import "./plugins/default/index.js";
18
18
  import "./plugins/screen-diff/index.js";
19
+
19
20
  import "./plugins/screen-diff/styles.css";
20
21
  import "./plugins/tab-behaviors/index.js";
21
22
  import "./plugins/tab-category/index.js";
package/webpack.config.js CHANGED
@@ -1,11 +1,14 @@
1
- import HtmlWebpackPlugin from "html-webpack-plugin";
2
- import MiniCssExtractPlugin from "mini-css-extract-plugin";
1
+ import { createRequire } from "node:module";
3
2
  import { dirname, join } from "node:path";
4
3
  import { env } from "node:process";
5
4
  import { fileURLToPath } from "node:url";
6
- import SpriteLoaderPlugin from "svg-sprite-loader/plugin.js";
7
- import webpack from "webpack";
8
- import { WebpackManifestPlugin } from "webpack-manifest-plugin";
5
+
6
+ const require = createRequire(import.meta.url);
7
+ const HtmlWebpackPlugin = require("html-webpack-plugin");
8
+ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
9
+ const SpriteLoaderPlugin = require("svg-sprite-loader/plugin");
10
+ const webpack = require("webpack");
11
+ const { WebpackManifestPlugin } = require("webpack-manifest-plugin");
9
12
 
10
13
  const { SINGLE_FILE_MODE } = env;
11
14
  const baseDir = dirname(fileURLToPath(import.meta.url));