@jamsrui/editor 0.0.15 → 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.
@@ -1,6 +1,6 @@
1
1
  import { Editor } from './editor.mjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { GlobalConfigProps } from '@jamsrui/core';
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 Editor.Props, GlobalConfigProps<Editor.Props> {
13
+ interface Props extends WithGlobalConfig<Editor.Props> {
14
14
  }
15
15
  }
16
16
 
@@ -1 +1 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";const[t,i]=o({displayName:"EditorConfig"});export{t as EditorConfig,i as useEditorConfig};
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 s=e=>{const{render:o,...r}=e;return t("div",{props:r})};export{s as Editor};
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
- "use client";import{Editor as i}from"./editor.mjs";import{EditorConfig as e,useEditorConfig as f}from"./editor-config.mjs";export{i as Editor,e as EditorConfig,f as useEditorConfig};
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};
@@ -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.15",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.15",
9
- "@jamsrui/core": "^0.0.13",
10
- "@jamsrui/utils": "^0.0.15"
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
  ".": {