@supernal/interface-nextjs 1.0.28 → 1.0.30

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/index.js CHANGED
@@ -1177,7 +1177,7 @@ var import_rehype_katex = __toESM(require("rehype-katex"));
1177
1177
  // src/components/CodeBlock.tsx
1178
1178
  var import_react6 = __toESM(require("react"));
1179
1179
  var import_react_syntax_highlighter = require("react-syntax-highlighter");
1180
- var import_prism = require("react-syntax-highlighter/dist/esm/styles/prism");
1180
+ var import_prism = require("react-syntax-highlighter/dist/cjs/styles/prism");
1181
1181
  var import_jsx_runtime6 = require("react/jsx-runtime");
1182
1182
  function CodeBlock({ children, className, inline, theme = "dark" }) {
1183
1183
  const [copied, setCopied] = (0, import_react6.useState)(false);
package/dist/index.mjs CHANGED
@@ -1115,7 +1115,7 @@ import rehypeKatex from "rehype-katex";
1115
1115
  // src/components/CodeBlock.tsx
1116
1116
  import React5, { useState as useState3 } from "react";
1117
1117
  import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
1118
- import { vscDarkPlus, vs } from "react-syntax-highlighter/dist/esm/styles/prism";
1118
+ import { vscDarkPlus, vs } from "react-syntax-highlighter/dist/cjs/styles/prism";
1119
1119
  import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
1120
1120
  function CodeBlock({ children, className, inline, theme = "dark" }) {
1121
1121
  const [copied, setCopied] = useState3(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernal/interface-nextjs",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Next.js integration for Supernal Intelligence Interface - enables agentic UX with one line of code",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -24,8 +24,9 @@
24
24
  "peerDependencies": {
25
25
  "@supernal/interface": "*",
26
26
  "next": "^14.0.0 || ^15.0.0",
27
- "react": "^18.0.0",
28
- "react-dom": "^18.0.0"
27
+ "react": "^18.0.0 || ^19.0.0",
28
+ "react-dom": "^18.0.0 || ^19.0.0",
29
+ "react-syntax-highlighter": "^15.5.0"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@supernal/interface": "file:../",
@@ -33,6 +34,7 @@
33
34
  "@types/react": "^18.0.0",
34
35
  "@types/react-dom": "^18.0.0",
35
36
  "@types/react-syntax-highlighter": "^15.5.13",
37
+ "react-syntax-highlighter": "^15.5.0",
36
38
  "tsup": "^8.0.0",
37
39
  "typescript": "^5.0.0"
38
40
  },
@@ -66,7 +68,6 @@
66
68
  "remark-math": "^6.0.0",
67
69
  "remark-directive": "^3.0.0",
68
70
  "rehype-katex": "^7.0.0",
69
- "react-syntax-highlighter": "^15.5.0",
70
71
  "mermaid": "^11.4.1",
71
72
  "katex": "^0.16.11"
72
73
  }