platejs 0.0.1

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/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # Plate utils
2
+
3
+ ## License
4
+
5
+ [MIT](../../LICENSE)
@@ -0,0 +1,8 @@
1
+ export * from '@udecode/plate-core';
2
+ export * from '@udecode/plate-utils';
3
+ export * from '@udecode/slate';
4
+ export * from '@udecode/utils';
5
+ import '@udecode/plate-core/react';
6
+ import '@udecode/plate-utils/react';
7
+ import '@udecode/react-hotkeys';
8
+ import '@udecode/react-utils';
@@ -0,0 +1,8 @@
1
+ export * from '@udecode/plate-core';
2
+ export * from '@udecode/plate-utils';
3
+ export * from '@udecode/slate';
4
+ export * from '@udecode/utils';
5
+ import '@udecode/plate-core/react';
6
+ import '@udecode/plate-utils/react';
7
+ import '@udecode/react-hotkeys';
8
+ import '@udecode/react-utils';
package/dist/index.js ADDED
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/index.tsx
18
+ var index_exports = {};
19
+ module.exports = __toCommonJS(index_exports);
20
+ __reExport(index_exports, require("@udecode/plate-core"), module.exports);
21
+ __reExport(index_exports, require("@udecode/plate-utils"), module.exports);
22
+ __reExport(index_exports, require("@udecode/slate"), module.exports);
23
+ __reExport(index_exports, require("@udecode/utils"), module.exports);
24
+ // Annotate the CommonJS export names for ESM import in node:
25
+ 0 && (module.exports = {
26
+ ...require("@udecode/plate-core"),
27
+ ...require("@udecode/plate-utils"),
28
+ ...require("@udecode/slate"),
29
+ ...require("@udecode/utils")
30
+ });
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["export * from '@udecode/plate-core';\n\nexport * from '@udecode/plate-utils';\n\nexport * from '@udecode/slate';\n\nexport * from '@udecode/utils';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,gCAAd;AAEA,0BAAc,iCAFd;AAIA,0BAAc,2BAJd;AAMA,0BAAc,2BANd;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ // src/index.tsx
2
+ export * from "@udecode/plate-core";
3
+ export * from "@udecode/plate-utils";
4
+ export * from "@udecode/slate";
5
+ export * from "@udecode/utils";
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["export * from '@udecode/plate-core';\n\nexport * from '@udecode/plate-utils';\n\nexport * from '@udecode/slate';\n\nexport * from '@udecode/utils';\n"],"mappings":";AAAA,cAAc;AAEd,cAAc;AAEd,cAAc;AAEd,cAAc;","names":[]}
@@ -0,0 +1,4 @@
1
+ export * from '@udecode/plate-core/react';
2
+ export * from '@udecode/plate-utils/react';
3
+ export * from '@udecode/react-hotkeys';
4
+ export * from '@udecode/react-utils';
@@ -0,0 +1,4 @@
1
+ export * from '@udecode/plate-core/react';
2
+ export * from '@udecode/plate-utils/react';
3
+ export * from '@udecode/react-hotkeys';
4
+ export * from '@udecode/react-utils';
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/react/index.tsx
18
+ var react_exports = {};
19
+ module.exports = __toCommonJS(react_exports);
20
+ __reExport(react_exports, require("@udecode/plate-core/react"), module.exports);
21
+ __reExport(react_exports, require("@udecode/plate-utils/react"), module.exports);
22
+ __reExport(react_exports, require("@udecode/react-hotkeys"), module.exports);
23
+ __reExport(react_exports, require("@udecode/react-utils"), module.exports);
24
+ // Annotate the CommonJS export names for ESM import in node:
25
+ 0 && (module.exports = {
26
+ ...require("@udecode/plate-core/react"),
27
+ ...require("@udecode/plate-utils/react"),
28
+ ...require("@udecode/react-hotkeys"),
29
+ ...require("@udecode/react-utils")
30
+ });
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/react/index.tsx"],"sourcesContent":["export * from '@udecode/plate-core/react';\n\nexport * from '@udecode/plate-utils/react';\n\nexport * from '@udecode/react-hotkeys';\n\nexport * from '@udecode/react-utils';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,sCAAd;AAEA,0BAAc,uCAFd;AAIA,0BAAc,mCAJd;AAMA,0BAAc,iCANd;","names":[]}
@@ -0,0 +1,6 @@
1
+ // src/react/index.tsx
2
+ export * from "@udecode/plate-core/react";
3
+ export * from "@udecode/plate-utils/react";
4
+ export * from "@udecode/react-hotkeys";
5
+ export * from "@udecode/react-utils";
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/react/index.tsx"],"sourcesContent":["export * from '@udecode/plate-core/react';\n\nexport * from '@udecode/plate-utils/react';\n\nexport * from '@udecode/react-hotkeys';\n\nexport * from '@udecode/react-utils';\n"],"mappings":";AAAA,cAAc;AAEd,cAAc;AAEd,cAAc;AAEd,cAAc;","names":[]}
package/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "platejs",
3
+ "version": "0.0.1",
4
+ "description": "Plate – a framework for building rich text editors on the web",
5
+ "keywords": [
6
+ "contentEditable",
7
+ "editor",
8
+ "framework",
9
+ "html",
10
+ "plate",
11
+ "plugin",
12
+ "rich text",
13
+ "slate",
14
+ "wysiwyg"
15
+ ],
16
+ "homepage": "https://platejs.org",
17
+ "bugs": {
18
+ "url": "https://github.com/udecode/plate/issues"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/udecode/plate.git",
23
+ "directory": "packages/plate"
24
+ },
25
+ "license": "MIT",
26
+ "sideEffects": false,
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.mjs",
31
+ "module": "./dist/index.mjs",
32
+ "require": "./dist/index.js"
33
+ },
34
+ "./react": {
35
+ "types": "./dist/react/index.d.ts",
36
+ "import": "./dist/react/index.mjs",
37
+ "module": "./dist/react/index.mjs",
38
+ "require": "./dist/react/index.js"
39
+ }
40
+ },
41
+ "main": "dist/index.js",
42
+ "module": "dist/index.mjs",
43
+ "types": "dist/index.d.ts",
44
+ "files": [
45
+ "dist/**/*"
46
+ ],
47
+ "scripts": {
48
+ "brl": "yarn p:brl",
49
+ "build": "yarn p:build",
50
+ "build:watch": "yarn p:build:watch",
51
+ "clean": "yarn p:clean",
52
+ "lint": "yarn p:lint",
53
+ "lint:fix": "yarn p:lint:fix",
54
+ "test": "yarn p:test",
55
+ "test:watch": "yarn p:test:watch",
56
+ "typecheck": "yarn p:typecheck"
57
+ },
58
+ "dependencies": {
59
+ "@udecode/plate-core": "48.0.5",
60
+ "@udecode/plate-utils": "48.0.5",
61
+ "@udecode/react-hotkeys": "37.0.0",
62
+ "@udecode/react-utils": "47.3.1",
63
+ "@udecode/slate": "48.0.1",
64
+ "@udecode/utils": "47.2.7"
65
+ },
66
+ "peerDependencies": {
67
+ "react": ">=18.0.0",
68
+ "react-dom": ">=18.0.0"
69
+ },
70
+ "publishConfig": {
71
+ "access": "public"
72
+ }
73
+ }