@npm-questionpro/wick-ui-editor 2.0.0-next.7 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm-questionpro/wick-ui-editor",
3
- "version": "2.0.0-next.7",
3
+ "version": "2.0.0",
4
4
  "description": "Wick Editor is a powerful and intuitive content editing component built with React. It provides a rich set of features for creating and managing content, making it ideal for applications that require dynamic and interactive content creation.",
5
5
  "keywords": [
6
6
  "react",
@@ -28,20 +28,25 @@
28
28
  "types": "./dist/index.d.ts",
29
29
  "import": "./dist/wick-ui-editor/es/index.js"
30
30
  },
31
+ "./html": {
32
+ "types": "./dist/html.d.ts",
33
+ "import": "./dist/wick-ui-editor/es/html.js"
34
+ },
31
35
  "./dist/style.css": "./dist/style.css"
32
36
  },
33
37
  "sideEffects": [
34
38
  "**/*.css"
35
39
  ],
36
40
  "files": [
37
- "dist",
38
- "llms.txt"
41
+ "dist"
39
42
  ],
40
43
  "private": false,
44
+ "dependencies": {
45
+ "prettier": "^3.8.3",
46
+ "shiki": "^4.0.2"
47
+ },
41
48
  "peerDependencies": {
42
- "@npm-questionpro/wick-ui-icon": ">= 2.0.0",
43
- "@npm-questionpro/wick-ui-lib": ">= 2.0.0",
44
- "@radix-ui/react-dropdown-menu": "^2.1.16",
49
+ "@base-ui/react": "^1.0.0",
45
50
  "@tiptap/extension-image": "^3.14.0",
46
51
  "@tiptap/extension-list": "^3.14.0",
47
52
  "@tiptap/extension-subscript": "^3.14.0",
@@ -52,14 +57,12 @@
52
57
  "@tiptap/pm": "^3.14.0",
53
58
  "@tiptap/react": "^3.14.0",
54
59
  "@tiptap/starter-kit": "^3.14.0",
55
- "clsx": "^2.1.1",
56
60
  "dompurify": "^3.3.1",
57
- "react": "^19.0.0",
58
- "react-dom": "^19.0.0",
59
- "shiki": "^4.0.2"
61
+ "react": ">=18.0.0 <20.0.0",
62
+ "react-dom": ">=18.0.0 <20.0.0"
60
63
  },
61
64
  "devDependencies": {
62
- "@radix-ui/react-dropdown-menu": "^2.1.16",
65
+ "@base-ui/react": "^1.0.0",
63
66
  "@storybook/react-vite": "^10.4.0",
64
67
  "@testing-library/dom": "^10.4.1",
65
68
  "@testing-library/jest-dom": "^6.9.1",
@@ -82,36 +85,26 @@
82
85
  "@vitest/coverage-v8": "^4.1.8",
83
86
  "@vitest/ui": "^4.1.8",
84
87
  "autoprefixer": "^10.4.22",
85
- "clsx": "^2.1.1",
86
88
  "cssnano": "^7.1.2",
87
89
  "eslint": "^10.4.1",
88
90
  "jsdom": "^26.1.0",
89
91
  "postcss": "^8.5.6",
90
- "prettier": "^3.8.3",
91
92
  "react": "^19.0.0",
92
93
  "react-dom": "^19.0.0",
93
- "stylelint": "^16.3.1",
94
94
  "typescript": "^6.0.3",
95
95
  "typescript-eslint": "^8.60.0",
96
96
  "vite": "^8.0.15",
97
97
  "vite-bundle-analyzer": "^0.22.3",
98
98
  "vite-plugin-dts": "^4.5.4",
99
99
  "vitest": "^4.1.8",
100
- "@npm-questionpro/wick-ui-icon": "2.0.0-next.7",
100
+ "@npm-questionpro/wick-ui-lib": "2.0.0",
101
101
  "@npm-questionpro/wick-ui-eslint-config": "1.0.0",
102
- "@npm-questionpro/wick-ui-lib": "2.0.0-next.7",
103
- "@npm-questionpro/wick-ui-prettier-config": "1.0.0",
104
- "@npm-questionpro/wick-ui-stylelint-config": "1.0.0",
105
102
  "@wick-ui/tsconfig": "1.0.0"
106
103
  },
107
- "prettier": "@npm-questionpro/wick-ui-prettier-config",
108
104
  "scripts": {
109
105
  "build": "tsc --noEmit && vite build",
110
- "lint": "eslint ./src --fix && stylelint 'src/**/*.css' --fix",
111
- "lint:css": "stylelint 'src/**/*.css' --fix",
112
- "lint:ci": "tsc --noEmit && eslint --max-warnings 0 ./src && stylelint 'src/**/*.css'",
113
- "format": "prettier --write .",
114
- "format:ci": "prettier --check .",
106
+ "lint": "eslint ./src --fix",
107
+ "lint:ci": "tsc --noEmit && eslint --max-warnings 0 ./src",
115
108
  "test": "vitest run",
116
109
  "test:watch": "vitest",
117
110
  "test:ui": "vitest --ui",