@cosmicdrift/kumiko-renderer-web 0.263.0 → 0.264.1

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 (2) hide show
  1. package/package.json +5 -5
  2. package/src/styles.css +20 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-renderer-web",
3
- "version": "0.263.0",
3
+ "version": "0.264.1",
4
4
  "description": "Web-platform bindings for @cosmicdrift/kumiko-renderer. HTML default-primitives, browser history-based navigation, EventSource-backed live events, and a one-call createKumikoApp that mounts the whole stack via react-dom.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -16,9 +16,9 @@
16
16
  "./styles.css": "./src/styles.css"
17
17
  },
18
18
  "dependencies": {
19
- "@cosmicdrift/kumiko-dispatcher-live": "0.263.0",
20
- "@cosmicdrift/kumiko-headless": "0.263.0",
21
- "@cosmicdrift/kumiko-renderer": "0.263.0",
19
+ "@cosmicdrift/kumiko-dispatcher-live": "0.264.1",
20
+ "@cosmicdrift/kumiko-headless": "0.264.1",
21
+ "@cosmicdrift/kumiko-renderer": "0.264.1",
22
22
  "@radix-ui/react-dialog": "^1.1.15",
23
23
  "@radix-ui/react-dropdown-menu": "^2.1.16",
24
24
  "@radix-ui/react-label": "^2.1.8",
@@ -66,7 +66,7 @@
66
66
  "@types/react-dom": "^19.2.3",
67
67
  "jsdom": "^29.1.1",
68
68
  "tailwindcss": "^4.3.0",
69
- "@cosmicdrift/kumiko-locale-de": "0.263.0"
69
+ "@cosmicdrift/kumiko-locale-de": "0.264.1"
70
70
  },
71
71
  "repository": {
72
72
  "type": "git",
package/src/styles.css CHANGED
@@ -25,12 +25,28 @@
25
25
  bleiben: das Paket shippt `src`, also löst sie in jedem Install-Layout
26
26
  auf — Workspace UND Standalone-Consumer (node_modules). Ein monorepo-
27
27
  relativer Pfad fand im Standalone-Build die eigenen Shell-Klassen
28
- nicht → unstyled prod, 15KB statt 48KB (#359). Die restlichen Zeilen
29
- sind Monorepo-Build-Quellen (renderer hat keine eigenen Klassen,
30
- samples nur für den In-Monorepo-Sample-Build)im Consumer matchen
31
- sie nichts und sind dort ein harmloser No-op. */
28
+ nicht → unstyled prod, 15KB statt 48KB (#359).
29
+
30
+ The sibling-package lines below (renderer, bundled-featuresneither
31
+ ships its own compiled CSS) each need two variants, because Tailwind
32
+ v4 resolves relative @source paths against the REALPATH of the
33
+ imported CSS file (fs.realpath, follows symlinks), not the path it
34
+ was imported through — verified by probing both a symlinked and a
35
+ real (non-symlinked) node_modules layout:
36
+ - Workspace (bun symlinks node_modules/@cosmicdrift/kumiko-X to
37
+ packages/X): the realpath lands in packages/renderer-web/src, so
38
+ `../../X/src` matches (unscoped package dir name, as in the repo).
39
+ - Standalone consumer (real copy under node_modules/@cosmicdrift/,
40
+ no symlink): realpath == the node_modules path itself, so only
41
+ `../../kumiko-X/src` matches (scoped registry name incl. prefix).
42
+ A path that doesn't exist in a given layout is simply not matched —
43
+ no error — so each pair is a harmless no-op in the other layout.
44
+ samples is monorepo-only (in-repo sample build), a no-op elsewhere. */
32
45
  @source "./**/*.{ts,tsx}";
33
46
  @source "../../renderer/src/**/*.{ts,tsx}";
47
+ @source "../../kumiko-renderer/src/**/*.{ts,tsx}";
48
+ @source "../../bundled-features/src/**/*.{ts,tsx}";
49
+ @source "../../kumiko-bundled-features/src/**/*.{ts,tsx}";
34
50
  @source "../../../samples/**/src/**/*.{ts,tsx}";
35
51
 
36
52
  /* Dark-Mode via class-selector (nicht media). Erlaubt JS-Toggle