@helpdice/ui 1.7.1 → 1.7.3

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as React from "react";
4
4
  // import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
5
- // import type { SyntaxHighlighterProps } from "react-syntax-highlighter";
5
+
6
6
  import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
7
7
  import { dracula } from "react-syntax-highlighter/dist/cjs/styles/prism";
8
8
  var SyntaxHighlighterAny = SyntaxHighlighter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helpdice/ui",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "unpkg": "dist/index.min.js",
@@ -115,6 +115,7 @@
115
115
  "polished": "^4.3.1",
116
116
  "react-fast-compare": "^3.2.2",
117
117
  "react-is": "^19.0.0",
118
+ "react-syntax-highlighter": "^15.6.1",
118
119
  "react-transition-group": "^4.4.5",
119
120
  "rehype-join-line": "^1.0.2",
120
121
  "rollup-plugin-local-resolve": "^1.0.7",
@@ -123,8 +124,8 @@
123
124
  "tslib": "^2.8.1"
124
125
  },
125
126
  "peerDependencies": {
126
- "react": "^18.3.1",
127
- "react-dom": "^18.3.1"
127
+ "react": "^18.3.1 || ^19.1.0",
128
+ "react-dom": "^18.3.1 || ^19.1.0"
128
129
  },
129
130
  "jest": {
130
131
  "globals": {