@quario/viewer 0.2.0 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.0] - 2026-09-02
11
+
12
+ ### Changed
13
+
14
+ - **Report and group containers are flex columns.** Adjacent authored
15
+ `spaceBefore` / `spaceAfter` margins add rather than collapse, matching
16
+ the html reference stylesheet.
17
+
18
+ ### Fixed
19
+
20
+ - **The adopted sheet occupies a line and preserves authored newlines.**
21
+ Same `min-height: 1lh` and `white-space: pre-line` the html reference
22
+ stylesheet now carries on `.q-item`, and `pre-line` on table cells.
23
+
10
24
  ## [0.2.0] - 2026-09-01
11
25
 
12
26
  ### Changed
package/lib/style.js CHANGED
@@ -36,15 +36,31 @@ export let REPORT = css`
36
36
  font-family: sans-serif;
37
37
  }
38
38
 
39
+ .q-report,
40
+ .q-group {
41
+ display: flex;
42
+ flex-direction: column;
43
+ }
44
+
39
45
  .q-table {
40
46
  width: 100%;
41
47
  border-collapse: collapse;
42
48
  }
43
49
 
50
+ /* A visible text item occupies a line, and a literal newline is a break.
51
+ The class is the hook; a host overrides these the ordinary way, as with
52
+ .q-break. Empty table cells stay contentless, so they take only the
53
+ newline mapping. */
54
+ .q-item {
55
+ min-height: 1lh;
56
+ white-space: pre-line;
57
+ }
58
+
44
59
  .q-table th,
45
60
  .q-table td {
46
61
  padding: 2pt 6pt;
47
62
  text-align: left;
63
+ white-space: pre-line;
48
64
  }
49
65
 
50
66
  .q-table thead th {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quario/viewer",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "The embeddable report viewer shell for quario — in the makings, not yet released",
5
5
  "homepage": "https://getquario.com",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -48,20 +48,16 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/cli": "^0.18.3",
51
- "@quario/csv": "^0.2.0",
52
- "@quario/html": "^0.2.0",
53
- "@quario/pdf": "^0.2.0",
54
- "@quario/xlsx": "^0.2.0",
55
51
  "@size-limit/preset-small-lib": "^13.0.3",
56
52
  "esbuild": "^0.28.2",
57
53
  "exceljs": "^4.4.0",
58
54
  "pdf-lib": "^1.17.1",
59
- "quario": "^0.2.0",
55
+ "quario": "^0.3.0",
60
56
  "size-limit": "^13.0.3",
61
57
  "typescript": "^7.0.2"
62
58
  },
63
59
  "peerDependencies": {
64
- "quario": "^0.2.0"
60
+ "quario": "^0.3.0"
65
61
  },
66
62
  "size-limit": [
67
63
  {