@jamsrui/editor 0.0.2 → 0.0.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/dist/editor-config.mjs +1 -1
- package/dist/editor.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/use-editor.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-CZYQTS3U.js +0 -1
- package/dist/chunk-FCZYAMRZ.mjs +0 -1
- package/dist/chunk-OZT3ZIX7.js +0 -1
- package/dist/chunk-VT2C4NAW.mjs +0 -1
- package/dist/editor-config.d.ts +0 -19
- package/dist/editor-config.js +0 -1
- package/dist/editor.d.ts +0 -10
- package/dist/editor.js +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -1
- package/dist/styles.d.ts +0 -2
- package/dist/styles.js +0 -1
- package/dist/use-editor.d.ts +0 -7
- package/dist/use-editor.js +0 -1
package/dist/editor-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{createConfigContext as o}from"@jamsrui/utils";const[t,i]=o({displayName:"EditorConfig"});export{t as EditorConfig,i as useEditorConfig};
|
package/dist/editor.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useRenderElement as t}from"@jamsrui/hooks";const s=e=>{const{render:o,...r}=e;return t("div",{props:r})};export{s as Editor};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{Editor as i}from"./editor";import{EditorConfig as e,useEditorConfig as f}from"./editor-config";export{i as Editor,e as EditorConfig,f as useEditorConfig};
|
package/dist/use-editor.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const o=e=>{};export{o as useEditor};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.3",
|
|
9
|
+
"@jamsrui/core": "^0.0.3",
|
|
10
|
+
"@jamsrui/utils": "^0.0.3"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
package/dist/chunk-CZYQTS3U.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var s=e=>{let{render:o,...r}=e;return _hooks.useRenderElement.call(void 0, "div",{props:r})};exports.a = s;
|
package/dist/chunk-FCZYAMRZ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createConfigContext as o}from"@jamsrui/utils";var[t,i]=o({displayName:"EditorConfig"});export{t as a,i as b};
|
package/dist/chunk-OZT3ZIX7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[t,i]=_utils.createConfigContext.call(void 0, {displayName:"EditorConfig"});exports.a = t; exports.b = i;
|
package/dist/chunk-VT2C4NAW.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useRenderElement as t}from"@jamsrui/hooks";var s=e=>{let{render:o,...r}=e;return t("div",{props:r})};export{s as a};
|
package/dist/editor-config.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from './editor.js';
|
|
2
|
-
import * as react from 'react';
|
|
3
|
-
import { GlobalConfigProps } from '@jamsrui/core';
|
|
4
|
-
import '@jamsrui/utils';
|
|
5
|
-
|
|
6
|
-
declare const useEditorConfig: () => {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
};
|
|
9
|
-
declare const EditorConfig: (props: {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & {
|
|
12
|
-
merge?: boolean;
|
|
13
|
-
}) => react.JSX.Element;
|
|
14
|
-
declare namespace EditorConfig {
|
|
15
|
-
interface Props extends Editor.Props, GlobalConfigProps<Editor.Props> {
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { EditorConfig, useEditorConfig };
|
package/dist/editor-config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOZT3ZIX7js = require('./chunk-OZT3ZIX7.js');exports.EditorConfig = _chunkOZT3ZIX7js.a; exports.useEditorConfig = _chunkOZT3ZIX7js.b;
|
package/dist/editor.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { UIProps } from '@jamsrui/utils';
|
|
3
|
-
|
|
4
|
-
declare const Editor: (props: Editor.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
-
declare namespace Editor {
|
|
6
|
-
interface Props extends UIProps<"div"> {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { Editor };
|
package/dist/editor.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCZYQTS3Ujs = require('./chunk-CZYQTS3U.js');exports.Editor = _chunkCZYQTS3Ujs.a;
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkOZT3ZIX7js = require('./chunk-OZT3ZIX7.js');var _chunkCZYQTS3Ujs = require('./chunk-CZYQTS3U.js');exports.Editor = _chunkCZYQTS3Ujs.a; exports.EditorConfig = _chunkOZT3ZIX7js.a; exports.useEditorConfig = _chunkOZT3ZIX7js.b;
|
package/dist/styles.d.ts
DELETED
package/dist/styles.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/use-editor.d.ts
DELETED
package/dist/use-editor.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var o=e=>{};exports.useEditor = o;
|