@jamsrui/editor 0.0.16 → 0.0.17
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.d.mts +2 -2
- 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/editor-config.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Editor } from './editor.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { WithGlobalConfig } from '@jamsrui/core';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@jamsrui/utils';
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ declare const EditorConfig: (props: Omit<Partial<Record<string, any>>, "children
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => react_jsx_runtime.JSX.Element;
|
|
12
12
|
declare namespace EditorConfig {
|
|
13
|
-
interface Props extends
|
|
13
|
+
interface Props extends WithGlobalConfig<Editor.Props> {
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
package/dist/editor-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createConfigContext as o}from"@jamsrui/utils";const[
|
|
1
|
+
"use client";import{createConfigContext as o}from"@jamsrui/utils";const[i,r]=o({displayName:"EditorConfig"});export{i as EditorConfig,r as useEditorConfig};
|
package/dist/editor.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRenderElement as t}from"@jamsrui/hooks";const
|
|
1
|
+
"use client";import{useRenderElement as t}from"@jamsrui/hooks";const p=e=>{const{render:o,...r}=e;return t("div",{props:r})};export{p as Editor};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{Editor as i}from"./editor.mjs";import{EditorConfig as f,useEditorConfig as d}from"./editor-config.mjs";export{i as Editor,f as EditorConfig,d as useEditorConfig};
|
package/dist/use-editor.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const o=e=>{};export{o as useEditor};
|
|
1
|
+
"use client";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.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/utils": "^0.0.
|
|
10
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/hooks": "^0.0.17",
|
|
9
|
+
"@jamsrui/utils": "^0.0.17",
|
|
10
|
+
"@jamsrui/core": "^0.0.14"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|