@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.
@@ -1 +1 @@
1
- import{a,b}from"./chunk-FCZYAMRZ.mjs";export{a as EditorConfig,b as useEditorConfig};
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{a}from"./chunk-VT2C4NAW.mjs";export{a as Editor};
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{a as o,b as r}from"./chunk-FCZYAMRZ.mjs";import{a as i}from"./chunk-VT2C4NAW.mjs";export{i as Editor,o as EditorConfig,r as useEditorConfig};
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};
@@ -1 +1 @@
1
- var o=e=>{};export{o as useEditor};
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.2",
3
+ "version": "0.0.3",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.2",
9
- "@jamsrui/core": "^0.0.2",
10
- "@jamsrui/utils": "^0.0.2"
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
  ".": {
@@ -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;
@@ -1 +0,0 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";var[t,i]=o({displayName:"EditorConfig"});export{t as a,i as b};
@@ -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;
@@ -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};
@@ -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 };
@@ -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
@@ -1,5 +0,0 @@
1
- export { Editor } from './editor.js';
2
- export { EditorConfig, useEditorConfig } from './editor-config.js';
3
- import 'react';
4
- import '@jamsrui/utils';
5
- import '@jamsrui/core';
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
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/styles.js DELETED
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,7 +0,0 @@
1
- declare const useEditor: (props: useEditor.Props) => void;
2
- declare namespace useEditor {
3
- interface Props {
4
- }
5
- }
6
-
7
- export { useEditor };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var o=e=>{};exports.useEditor = o;