@nuvio/overlay 1.1.0 → 2.0.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/dist/style.css CHANGED
@@ -196,6 +196,27 @@
196
196
  text-align: left;
197
197
  }
198
198
 
199
+ /* Corner anchors before measured inline position (SSR-safe; avoids viewport math on server). */
200
+ .nuvio-chip--anchor-bottom-right {
201
+ right: 24px;
202
+ bottom: 24px;
203
+ }
204
+
205
+ .nuvio-chip--anchor-bottom-left {
206
+ left: 24px;
207
+ bottom: 24px;
208
+ }
209
+
210
+ .nuvio-chip--anchor-top-right {
211
+ right: 24px;
212
+ top: 24px;
213
+ }
214
+
215
+ .nuvio-chip--anchor-top-left {
216
+ left: 24px;
217
+ top: 24px;
218
+ }
219
+
199
220
  .nuvio-chip--collapsed {
200
221
  max-width: min(16rem, calc(100vw - 32px));
201
222
  padding: 7px 10px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuvio/overlay",
3
- "version": "1.1.0",
4
- "description": "Nuvio overlay 1.0 — dev-only visual editor for React + Vite + Tailwind (Simple Mode, click-to-tag, apply/undo).",
3
+ "version": "2.0.0",
4
+ "description": "Nuvio overlay — dev-only visual editor for React + Vite + Next.js + Tailwind (Brand Kit, click-to-tag, apply/undo).",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -25,7 +25,9 @@
25
25
  "type": "module",
26
26
  "sideEffects": [
27
27
  "./dist/index.js",
28
- "./dist/style.css"
28
+ "./dist/NuvioNextShell.js",
29
+ "./dist/style.css",
30
+ "./dist/NuvioNextShell.css"
29
31
  ],
30
32
  "main": "./dist/index.js",
31
33
  "types": "./dist/index.d.ts",
@@ -34,19 +36,29 @@
34
36
  "types": "./dist/index.d.ts",
35
37
  "import": "./dist/index.js"
36
38
  },
39
+ "./next": {
40
+ "types": "./dist/NuvioNextShell.d.ts",
41
+ "import": "./dist/NuvioNextShell.js"
42
+ },
37
43
  "./style.css": "./dist/style.css"
38
44
  },
39
45
  "engines": {
40
46
  "node": ">=20"
41
47
  },
42
48
  "peerDependencies": {
49
+ "next": ">=14.0.0",
43
50
  "react": "^18.3.1 || ^19.0.0",
44
51
  "react-dom": "^18.3.1 || ^19.0.0"
45
52
  },
53
+ "peerDependenciesMeta": {
54
+ "next": {
55
+ "optional": true
56
+ }
57
+ },
46
58
  "dependencies": {
47
59
  "posthog-js": "^1.380.1",
48
60
  "tailwind-merge": "^2.6.0",
49
- "@nuvio/shared": "1.1.0"
61
+ "@nuvio/shared": "2.0.0"
50
62
  },
51
63
  "devDependencies": {
52
64
  "@types/react": "^19.0.8",
@@ -57,7 +69,7 @@
57
69
  "tsup": "^8.4.0",
58
70
  "typescript": "^5.7.3",
59
71
  "vitest": "^3.0.6",
60
- "@nuvio/ast-engine": "1.1.0"
72
+ "@nuvio/ast-engine": "2.0.0"
61
73
  },
62
74
  "scripts": {
63
75
  "build": "tsup",