react-intlayer
Advanced tools
Comparing version
@@ -22,10 +22,14 @@ import { type Plugins, type IInterpreterPluginState as IInterpreterPluginStateCore, type DeepTransformContent as DeepTransformContentCore, NodeType } from '@intlayer/core'; | ||
*/ | ||
export type MarkdownStringCond<T> = T extends string ? IntlayerNode<string, { | ||
metadata: DeepTransformContent<string>; | ||
}> : never; | ||
/** Markdown string plugin. Replaces string node with a component that render the markdown. */ | ||
export declare const markdownStringPlugin: Plugins; | ||
export type MarkdownCond<T> = T extends { | ||
nodeType: NodeType | string; | ||
[NodeType.Markdown]: string; | ||
[NodeType.Markdown]: infer M; | ||
metadata?: infer U; | ||
} ? IntlayerNode<string, { | ||
} ? IntlayerNode<DeepTransformContent<M>, { | ||
metadata: DeepTransformContent<U>; | ||
}> : never; | ||
/** Markdown plugin. Replaces node with a function that takes quantity => string. */ | ||
export declare const markdownPlugin: Plugins; | ||
@@ -32,0 +36,0 @@ /** --------------------------------------------- |
{ | ||
"name": "react-intlayer", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"private": false, | ||
@@ -72,7 +72,7 @@ "description": "Easily internationalize i18n your React applications with type-safe multilingual content management.", | ||
"js-cookie": "^3.0.5", | ||
"@intlayer/api": "5.3.1", | ||
"@intlayer/core": "5.3.1", | ||
"@intlayer/config": "5.3.1", | ||
"@intlayer/dictionaries-entry": "5.3.1", | ||
"@intlayer/editor-react": "5.3.1" | ||
"@intlayer/api": "5.3.2", | ||
"@intlayer/core": "5.3.2", | ||
"@intlayer/config": "5.3.2", | ||
"@intlayer/dictionaries-entry": "5.3.2", | ||
"@intlayer/editor-react": "5.3.2" | ||
}, | ||
@@ -93,7 +93,7 @@ "devDependencies": { | ||
"typescript": "^5.7.3", | ||
"@intlayer/backend": "5.3.1", | ||
"@utils/eslint-config": "1.0.4", | ||
"@intlayer/backend": "5.3.2", | ||
"@utils/ts-config": "1.0.4", | ||
"@utils/ts-config-types": "1.0.4", | ||
"@utils/tsup-config": "1.0.4", | ||
"@utils/ts-config": "1.0.4" | ||
"@utils/tsup-config": "1.0.4" | ||
}, | ||
@@ -103,8 +103,8 @@ "peerDependencies": { | ||
"react-dom": ">=16.0.0", | ||
"@intlayer/config": "5.3.1", | ||
"@intlayer/core": "5.3.1", | ||
"@intlayer/dictionaries-entry": "5.3.1", | ||
"intlayer": "5.3.1", | ||
"@intlayer/editor-react": "5.3.1", | ||
"@intlayer/api": "5.3.1" | ||
"@intlayer/api": "5.3.2", | ||
"@intlayer/config": "5.3.2", | ||
"@intlayer/core": "5.3.2", | ||
"@intlayer/dictionaries-entry": "5.3.2", | ||
"@intlayer/editor-react": "5.3.2", | ||
"intlayer": "5.3.2" | ||
}, | ||
@@ -111,0 +111,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
310044
0.93%3526
1.03%112
2.75%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated