@owomark/react 0.1.4 → 0.1.5
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -268,7 +268,8 @@ Reference form:
|
|
|
268
268
|
### Minimal (use package presets)
|
|
269
269
|
|
|
270
270
|
```ts
|
|
271
|
-
import '@owomark/view/style.css'; // includes
|
|
271
|
+
import '@owomark/view/style.css'; // includes owomark.css + side-annotation.css + slash-menu.css + light.css + dark.css
|
|
272
|
+
import '@owomark/processor/mdx-components.css'; // built-in MDX component styles
|
|
272
273
|
```
|
|
273
274
|
|
|
274
275
|
### Selective imports
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import * as react from 'react';
|
|
|
2
2
|
import { Ref, MutableRefObject, CSSProperties, ReactNode, ComponentType } from 'react';
|
|
3
3
|
import { IndentMode, OwoMarkSelection, OwoMarkCommands, OwoMarkCore, OwoMarkSharedStateController, OwoMarkSharedStateStore, PreviewBlock, CreateSharedStateOptions, OwoMarkSharedState, OwoMarkDocument, SlashState, BlockContext, BlockNode, VisibleRange, VirtualRow, Decorator } from '@owomark/core';
|
|
4
4
|
export { BlockContext, BlockContextType, BlockInsertType, CommandDefinition, OwoMarkCommands, OwoMarkCore, OwoMarkEditorInstance, OwoMarkSelection, OwoMarkSharedState, OwoMarkSharedStateController, OwoMarkSharedStateStore, PreviewBlock, PreviewBlockKind, SlashState } from '@owomark/core';
|
|
5
|
-
import {
|
|
5
|
+
import { OwoMarkThemeName, PreviewStrategy, PreviewRendererRegistry, PreviewRenderContext } from '@owomark/view';
|
|
6
6
|
export { OwoMarkThemeName, PreviewRenderContext, PreviewRenderResult, PreviewRendererDefinition, PreviewRendererRegistry, THEME_DARK_CLASS, THEME_LIGHT_CLASS, getThemeClassName } from '@owomark/view';
|
|
7
|
+
import { OwoMarkProcessorOptions } from '@owomark/processor';
|
|
7
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
9
|
|
|
9
10
|
type OwoMarkEditorConfig = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owomark/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "React bindings and components for the OwoMark editor stack.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,8 +33,9 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@owomark/core": "^0.1.
|
|
37
|
-
"@owomark/
|
|
36
|
+
"@owomark/core": "^0.1.5",
|
|
37
|
+
"@owomark/processor": "^0.1.5",
|
|
38
|
+
"@owomark/view": "^0.1.5"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
41
|
"react": ">=18",
|