@idealyst/markdown 1.2.119 → 1.2.122
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/package.json +3 -3
- package/src/index.native.ts +16 -0
- package/src/index.ts +16 -0
- package/src/index.web.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idealyst/markdown",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.122",
|
|
4
4
|
"description": "Cross-platform markdown renderer and editor for React and React Native with theme integration",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@10play/tentap-editor": ">=0.5.0",
|
|
46
|
-
"@idealyst/theme": "^1.2.
|
|
46
|
+
"@idealyst/theme": "^1.2.122",
|
|
47
47
|
"@tiptap/extension-link": ">=2.0.0",
|
|
48
48
|
"@tiptap/extension-placeholder": ">=2.0.0",
|
|
49
49
|
"@tiptap/extension-task-item": ">=2.0.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
118
|
"@10play/tentap-editor": "^0.5.0",
|
|
119
|
-
"@idealyst/theme": "^1.2.
|
|
119
|
+
"@idealyst/theme": "^1.2.122",
|
|
120
120
|
"@mdi/js": "^7.4.0",
|
|
121
121
|
"@mdi/react": "^1.6.0",
|
|
122
122
|
"@tiptap/extension-link": "^2.11.0",
|
package/src/index.native.ts
CHANGED
|
@@ -24,3 +24,19 @@ export type {
|
|
|
24
24
|
MarkdownDynamicProps,
|
|
25
25
|
MarkdownVariants,
|
|
26
26
|
} from './Markdown/Markdown.styles';
|
|
27
|
+
|
|
28
|
+
// Editor
|
|
29
|
+
export { default as MarkdownEditor } from './Editor/MarkdownEditor.native';
|
|
30
|
+
|
|
31
|
+
// Editor types
|
|
32
|
+
export type {
|
|
33
|
+
MarkdownEditorProps,
|
|
34
|
+
MarkdownEditorRef,
|
|
35
|
+
ToolbarItem,
|
|
36
|
+
ToolbarConfig,
|
|
37
|
+
} from './Editor/types';
|
|
38
|
+
|
|
39
|
+
export type {
|
|
40
|
+
EditorDynamicProps,
|
|
41
|
+
EditorVariants,
|
|
42
|
+
} from './Editor/MarkdownEditor.styles';
|
package/src/index.ts
CHANGED
|
@@ -41,3 +41,19 @@ export type {
|
|
|
41
41
|
// This base index re-exports the web version as the default for bundlers that don't
|
|
42
42
|
// resolve "browser" or "react-native" conditions (e.g., plain tsc with types resolution).
|
|
43
43
|
export { default as Markdown } from './Markdown/Markdown.web';
|
|
44
|
+
|
|
45
|
+
// Editor — web fallback for base index (see index.web.ts / index.native.ts for platform-specific)
|
|
46
|
+
export { default as MarkdownEditor } from './Editor/MarkdownEditor.web';
|
|
47
|
+
|
|
48
|
+
// Editor types
|
|
49
|
+
export type {
|
|
50
|
+
MarkdownEditorProps,
|
|
51
|
+
MarkdownEditorRef,
|
|
52
|
+
ToolbarItem,
|
|
53
|
+
ToolbarConfig,
|
|
54
|
+
} from './Editor/types';
|
|
55
|
+
|
|
56
|
+
export type {
|
|
57
|
+
EditorDynamicProps,
|
|
58
|
+
EditorVariants,
|
|
59
|
+
} from './Editor/MarkdownEditor.styles';
|
package/src/index.web.ts
CHANGED
|
@@ -24,3 +24,19 @@ export type {
|
|
|
24
24
|
MarkdownDynamicProps,
|
|
25
25
|
MarkdownVariants,
|
|
26
26
|
} from './Markdown/Markdown.styles';
|
|
27
|
+
|
|
28
|
+
// Editor
|
|
29
|
+
export { default as MarkdownEditor } from './Editor/MarkdownEditor.web';
|
|
30
|
+
|
|
31
|
+
// Editor types
|
|
32
|
+
export type {
|
|
33
|
+
MarkdownEditorProps,
|
|
34
|
+
MarkdownEditorRef,
|
|
35
|
+
ToolbarItem,
|
|
36
|
+
ToolbarConfig,
|
|
37
|
+
} from './Editor/types';
|
|
38
|
+
|
|
39
|
+
export type {
|
|
40
|
+
EditorDynamicProps,
|
|
41
|
+
EditorVariants,
|
|
42
|
+
} from './Editor/MarkdownEditor.styles';
|