@reportforge/playwright-pdf 0.14.1 → 0.14.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.14.2] - 2026-07-06
7
+
8
+ ### Fixed
9
+
10
+ - **Pass-rate doughnut and suite-results bar charts no longer render flush-left inside their card.** `canvas` computes to `display: block` in Chromium, so `.chart-card`'s `text-align: center` (which only centers inline-level boxes) never centered it — most visible on the executive template's wide secondary chart row. `.chart-card canvas` now centers with explicit `margin: 0 auto`.
11
+
12
+ ---
13
+
6
14
  ## [0.14.1] - 2026-07-06
7
15
 
8
16
  ### Fixed
package/dist/index.js CHANGED
@@ -14056,7 +14056,7 @@ var PdfReporter = class {
14056
14056
  this.liveConsole = false;
14057
14057
  this.options = parseOptions(rawOptions);
14058
14058
  this.dataCollector = new DataCollector(this.options.capture);
14059
- const version = true ? "0.14.1" : "0.x";
14059
+ const version = true ? "0.14.2" : "0.x";
14060
14060
  logger.info(`@reportforge/playwright-pdf v${version} initialised`);
14061
14061
  this.licenseClient = new LicenseClient({
14062
14062
  licenseKey: this.options.licenseKey,
package/dist/index.mjs CHANGED
@@ -14057,7 +14057,7 @@ var PdfReporter = class {
14057
14057
  this.liveConsole = false;
14058
14058
  this.options = parseOptions(rawOptions);
14059
14059
  this.dataCollector = new DataCollector(this.options.capture);
14060
- const version = true ? "0.14.1" : "0.x";
14060
+ const version = true ? "0.14.2" : "0.x";
14061
14061
  logger.info(`@reportforge/playwright-pdf v${version} initialised`);
14062
14062
  this.licenseClient = new LicenseClient({
14063
14063
  licenseKey: this.options.licenseKey,
@@ -667,6 +667,9 @@ code {
667
667
  border: 1px solid var(--border-2);
668
668
  border-radius: 6px; padding: 16px 14px; text-align: center;
669
669
  }
670
+ /* canvas computes to display:block in Chromium, so text-align:center above
671
+ never centers it (that only affects inline-level boxes) — margin:auto does. */
672
+ .chart-card canvas { display: block; margin: 0 auto; }
670
673
  .chart-card h3 {
671
674
  margin: 0 0 12px;
672
675
  font-family: 'Inter', system-ui, sans-serif; font-size: 9px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reportforge/playwright-pdf",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Playwright Test reporter that generates designed PDF reports: minimal, detailed, and executive templates with CI/CD integrations",
5
5
  "license": "MIT",
6
6
  "author": "ReportForge",