@xeonr/platform-ui 0.3.2 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeonr/platform-ui",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Xeonr Platform Suite design language: the --x-* token sheet, theme provider and kit shared by every Xeonr console.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -13,6 +13,10 @@
13
13
  "./tokens": {
14
14
  "types": "./dist/theme/tokens.d.ts",
15
15
  "import": "./dist/theme/tokens.js"
16
+ },
17
+ "./editor": {
18
+ "types": "./dist/editor.d.ts",
19
+ "import": "./dist/editor.js"
16
20
  }
17
21
  },
18
22
  "files": [
@@ -23,17 +27,29 @@
23
27
  "xeonr-check-colour-literals": "./scripts/check-colour-literals.mjs"
24
28
  },
25
29
  "peerDependencies": {
30
+ "@monaco-editor/react": "^4.7.0",
31
+ "monaco-editor": "^0.52.0 || ^0.56.0",
26
32
  "react": "^19.0.0",
27
33
  "react-dom": "^19.0.0",
28
34
  "react-router-dom": "^7.0.0",
29
35
  "styled-components": "^6.0.0"
30
36
  },
37
+ "peerDependenciesMeta": {
38
+ "@monaco-editor/react": {
39
+ "optional": true
40
+ },
41
+ "monaco-editor": {
42
+ "optional": true
43
+ }
44
+ },
31
45
  "dependencies": {
32
46
  "@fortawesome/fontawesome-svg-core": "^7.0.0",
33
47
  "@fortawesome/free-solid-svg-icons": "^7.0.0",
34
48
  "@fortawesome/react-fontawesome": "^3.0.2"
35
49
  },
36
50
  "devDependencies": {
51
+ "@monaco-editor/react": "^4.7.0",
52
+ "monaco-editor": "^0.56.0",
37
53
  "@types/react": "^19.1.0",
38
54
  "@types/react-dom": "^19.1.0",
39
55
  "react": "^19.1.0",
@@ -44,6 +60,6 @@
44
60
  },
45
61
  "scripts": {
46
62
  "build": "tsc -p tsconfig.build.json",
47
- "lint": "tsc -p tsconfig.json --noEmit && node scripts/check-colour-literals.mjs"
63
+ "lint": "tsc -p tsconfig.json --noEmit && node scripts/check-colour-literals.mjs src/kit/CodeEditor.tsx"
48
64
  }
49
65
  }