@idealyst/markdown 1.2.101 → 1.2.103

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/index.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/markdown",
3
- "version": "1.2.101",
3
+ "version": "1.2.103",
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.101",
46
+ "@idealyst/theme": "^1.2.103",
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.101",
119
+ "@idealyst/theme": "^1.2.103",
120
120
  "@mdi/js": "^7.4.0",
121
121
  "@mdi/react": "^1.6.0",
122
122
  "@tiptap/extension-link": "^2.11.0",
@@ -127,6 +127,7 @@
127
127
  "@tiptap/react": "^2.11.0",
128
128
  "@tiptap/starter-kit": "^2.11.0",
129
129
  "@types/react": "^19.1.0",
130
+ "@types/showdown": "^2.0.0",
130
131
  "react": "^19.1.0",
131
132
  "react-markdown": "^9.0.0",
132
133
  "react-native": "^0.80.1",
@@ -134,7 +135,6 @@
134
135
  "react-native-webview": "^13.0.0",
135
136
  "remark-gfm": "^4.0.0",
136
137
  "showdown": "^2.1.0",
137
- "@types/showdown": "^2.0.0",
138
138
  "tiptap-markdown": "^0.8.0",
139
139
  "typescript": "^5.0.0"
140
140
  },
package/src/index.ts CHANGED
@@ -37,4 +37,7 @@ export type {
37
37
  MarkdownVariants,
38
38
  } from './Markdown/Markdown.styles';
39
39
 
40
- // Main component is platform-specific, exported from index.web.ts and index.native.ts
40
+ // Main component platform-specific implementations are in index.web.ts and index.native.ts.
41
+ // This base index re-exports the web version as the default for bundlers that don't
42
+ // resolve "browser" or "react-native" conditions (e.g., plain tsc with types resolution).
43
+ export { default as Markdown } from './Markdown/Markdown.web';