drf-react-by-schema 0.28.23 → 0.28.25
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/@types/index.d.ts +2 -0
- package/dist/@types/index.d.ts.map +1 -1
- package/dist/api.d.ts +2 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +16 -8
- package/dist/components/DataGridBySchemaEditable/utils/columnFactory.d.ts.map +1 -1
- package/dist/components/DataGridBySchemaEditable/utils/columnFactory.js +1 -4
- package/dist/components/HtmlContent.d.ts +13 -0
- package/dist/components/HtmlContent.d.ts.map +1 -0
- package/dist/components/HtmlContent.js +148 -0
- package/dist/components/details/DetailFieldBySchema.d.ts.map +1 -1
- package/dist/components/details/DetailFieldBySchema.js +7 -0
- package/dist/components/forms/FieldBySchema.d.ts.map +1 -1
- package/dist/components/forms/FieldBySchema.js +5 -0
- package/dist/components/forms/FormBySchema.d.ts.map +1 -1
- package/dist/components/forms/FormBySchema.js +12 -1
- package/dist/components/forms/inputs/HtmlFieldBySchema.d.ts +9 -0
- package/dist/components/forms/inputs/HtmlFieldBySchema.d.ts.map +1 -0
- package/dist/components/forms/inputs/HtmlFieldBySchema.js +55 -0
- package/dist/components/forms/inputs/RichTextEditorInput.d.ts +24 -0
- package/dist/components/forms/inputs/RichTextEditorInput.d.ts.map +1 -0
- package/dist/components/forms/inputs/RichTextEditorInput.js +252 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/dist/styles/texts.d.ts +25 -0
- package/dist/styles/texts.d.ts.map +1 -1
- package/dist/styles/texts.js +25 -0
- package/dist/utils/utils.d.ts +23 -0
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +88 -2
- package/package.json +20 -3
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drf-react-by-schema",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.25",
|
|
4
4
|
"description": "Components and Tools for building a React App having Django Rest Framework (DRF) as server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "
|
|
8
|
+
"test": "vitest run",
|
|
9
9
|
"build": "tsc --build",
|
|
10
10
|
"release:prepare": "npm run build",
|
|
11
11
|
"release:major": "npm run release:prepare && npm version major && git push origin master --tags && git push origin master:published",
|
|
12
12
|
"release:minor": "npm run release:prepare && npm version minor && git push origin master --tags && git push origin master:published",
|
|
13
|
-
"release:patch": "npm run release:prepare && npm version patch && git push origin master --tags && git push origin master:published"
|
|
13
|
+
"release:patch": "npm run release:prepare && npm version patch && git push origin master --tags && git push origin master:published",
|
|
14
|
+
"test:watch": "vitest"
|
|
14
15
|
},
|
|
15
16
|
"repository": {
|
|
16
17
|
"type": "git",
|
|
@@ -47,6 +48,8 @@
|
|
|
47
48
|
"@mui/material": "^6",
|
|
48
49
|
"@mui/x-data-grid": "^7",
|
|
49
50
|
"@mui/x-date-pickers": "^7",
|
|
51
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
52
|
+
"@testing-library/react": "^16.3.3",
|
|
50
53
|
"@types/leaflet": "^1.9.22",
|
|
51
54
|
"@types/leaflet-draw": "^1.0.13",
|
|
52
55
|
"@types/node": "^18.11.15",
|
|
@@ -61,6 +64,7 @@
|
|
|
61
64
|
"eslint-plugin-prettier": "^5.0.0",
|
|
62
65
|
"eslint-plugin-react": "^7.37.5",
|
|
63
66
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
67
|
+
"jsdom": "^26.1.0",
|
|
64
68
|
"leaflet": "^1.9.4",
|
|
65
69
|
"leaflet-draw": "^1.0.4",
|
|
66
70
|
"prettier": "^3.0.0",
|
|
@@ -74,6 +78,7 @@
|
|
|
74
78
|
"string-mask": "^0.3.0",
|
|
75
79
|
"ts-loader": "^9.4.2",
|
|
76
80
|
"typescript": "^5.7.3",
|
|
81
|
+
"vitest": "^3.2.7",
|
|
77
82
|
"webpack": "^5.75.0",
|
|
78
83
|
"yup": "^1"
|
|
79
84
|
},
|
|
@@ -85,8 +90,11 @@
|
|
|
85
90
|
"@mui/material": "^6",
|
|
86
91
|
"@mui/x-data-grid": "^7",
|
|
87
92
|
"@mui/x-date-pickers": "^7",
|
|
93
|
+
"@tiptap/react": "^3.0.0",
|
|
94
|
+
"@tiptap/starter-kit": "^3.0.0",
|
|
88
95
|
"axios": "^1",
|
|
89
96
|
"dayjs": "^1",
|
|
97
|
+
"dompurify": "^3.0.0",
|
|
90
98
|
"leaflet": "^1.9.0",
|
|
91
99
|
"leaflet-draw": "^1.0.4",
|
|
92
100
|
"react": "^18 || ^19",
|
|
@@ -98,6 +106,15 @@
|
|
|
98
106
|
"yup": "^1"
|
|
99
107
|
},
|
|
100
108
|
"peerDependenciesMeta": {
|
|
109
|
+
"@tiptap/react": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@tiptap/starter-kit": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"dompurify": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
101
118
|
"leaflet": {
|
|
102
119
|
"optional": true
|
|
103
120
|
},
|