@vantageos/mosaic-blocks 0.5.31-alpha → 0.5.33-alpha

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/dist/styles.css CHANGED
@@ -1,5 +1,9 @@
1
1
  /* @vantageos/mosaic-blocks — default OKLCH token set. Import after Tailwind: @import "tailwindcss"; @import "@vantageos/mosaic-blocks/styles.css"; Override any --color-* / --* var to rebrand (Rule #2). */
2
2
 
3
+ /* Values sourced from @vantageos/mosaic-tokens (canonical + unprefixed alias layer) — no literal duplication. See analysis/mosaic-tokens-inventory-2026-07-17.md */
4
+ @import "@vantageos/mosaic-tokens/css";
5
+ @import "@vantageos/mosaic-tokens/css/aliases";
6
+
3
7
  @theme inline {
4
8
  --color-background: var(--background);
5
9
  --color-foreground: var(--foreground);
@@ -24,58 +28,14 @@
24
28
  --color-sidebar-foreground: var(--sidebar-foreground);
25
29
  --color-sidebar-accent: var(--sidebar-accent);
26
30
  --color-sidebar-border: var(--sidebar-border);
27
- }
28
-
29
- :root {
30
- --background: oklch(1 0 0);
31
- --foreground: oklch(0.145 0 0);
32
- --card: oklch(1 0 0);
33
- --card-foreground: oklch(0.145 0 0);
34
- --popover: oklch(1 0 0);
35
- --popover-foreground: oklch(0.145 0 0);
36
- --primary: oklch(0.205 0 0);
37
- --primary-foreground: oklch(0.985 0 0);
38
- --secondary: oklch(0.97 0 0);
39
- --secondary-foreground: oklch(0.205 0 0);
40
- --muted: oklch(0.97 0 0);
41
- --muted-foreground: oklch(0.556 0 0);
42
- --accent: oklch(0.97 0 0);
43
- --accent-foreground: oklch(0.205 0 0);
44
- --destructive: oklch(0.577 0.245 27.325);
45
- --destructive-foreground: oklch(0.985 0 0);
46
- --border: oklch(0.922 0 0);
47
- --input: oklch(0.922 0 0);
48
- --ring: oklch(0.708 0 0);
49
- --sidebar: oklch(1 0 0);
50
- --sidebar-foreground: oklch(0.145 0 0);
51
- --sidebar-accent: oklch(0.97 0 0);
52
- --sidebar-border: oklch(0.922 0 0);
53
- }
54
31
 
55
- [data-theme="dark"] {
56
- --background: oklch(0.145 0 0);
57
- --foreground: oklch(0.985 0 0);
58
- --card: oklch(0.205 0 0);
59
- --card-foreground: oklch(0.985 0 0);
60
- --popover: oklch(0.205 0 0);
61
- --popover-foreground: oklch(0.985 0 0);
62
- --primary: oklch(0.922 0 0);
63
- --primary-foreground: oklch(0.205 0 0);
64
- --secondary: oklch(0.269 0 0);
65
- --secondary-foreground: oklch(0.985 0 0);
66
- --muted: oklch(0.269 0 0);
67
- --muted-foreground: oklch(0.708 0 0);
68
- --accent: oklch(0.269 0 0);
69
- --accent-foreground: oklch(0.985 0 0);
70
- --destructive: oklch(0.704 0.191 22.216);
71
- --destructive-foreground: oklch(0.985 0 0);
72
- --border: oklch(1 0 0 / 10%);
73
- --input: oklch(1 0 0 / 15%);
74
- --ring: oklch(0.556 0 0);
75
- --sidebar: oklch(0.205 0 0);
76
- --sidebar-foreground: oklch(0.985 0 0);
77
- --sidebar-accent: oklch(0.269 0 0);
78
- --sidebar-border: oklch(1 0 0 / 10%);
32
+ /* Success status triad — wired from @vantageos/mosaic-tokens (not aliased
33
+ upstream on purpose, see aliases.css comment; mosaic-blocks is the first
34
+ real consumer of a bare `success-*` utility, so we wire it here). */
35
+ /* allow-stale-theme-token: success-50 is the reserved light-tint shade of the success triad (success-500/700 ARE consumed, see MosaicActivityFeed etc.) — kept wired so a future subtle-background success state does not silently resolve to nothing; theme-tokens-declared-guard.mjs GAP B fix (this PR) is what makes this row visible as declared for the first time (previously masked by the backreference bug it closes). */
36
+ --color-success-50: var(--mosaic-color-success-50);
37
+ --color-success-500: var(--mosaic-color-success-500);
38
+ --color-success-700: var(--mosaic-color-success-700);
79
39
  }
80
40
 
81
41
  /* ── MosaicLogosGrid stagger animation ────────────────────────────────────── */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vantageos/mosaic-blocks",
3
- "version": "0.5.31-alpha",
3
+ "version": "0.5.33-alpha",
4
4
  "description": "VantageOS React composed blocks — Next.js 16 + React 19 + Tailwind v4 + @base-ui/react. Published alpha.",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -51,7 +51,6 @@
51
51
  "type": "git",
52
52
  "url": "git+https://github.com/vantageos-agency/mosaic-blocks.git"
53
53
  },
54
- "homepage": "https://vantageos.com/mosaic-blocks",
55
54
  "scripts": {
56
55
  "build": "tsup && node scripts/prepend-use-client.mjs && node scripts/copy-assets.mjs",
57
56
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
@@ -89,6 +88,7 @@
89
88
  },
90
89
  "dependencies": {
91
90
  "@base-ui/react": "^1.5.0",
91
+ "@vantageos/mosaic-tokens": "^0.5.0",
92
92
  "class-variance-authority": "^0.7.1"
93
93
  },
94
94
  "devDependencies": {