From 23f71f1374cad86ed30c6961d8188b38a67dd887 Mon Sep 17 00:00:00 2001 From: Yuriy Demidov Date: Mon, 10 Jun 2024 13:16:31 +0300 Subject: [PATCH] feat: add i18n submodule (#270) Added `@gravity-ui/markdown-editor/i18n` submodule, which exports an instance of `i18n` and function `registerKeyset`. This can be useful for packages with editor extensions. --- package.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package.json b/package.json index f456cf6d..e748ef75 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,11 @@ "require": "./build/cjs/core/index.js", "import": "./build/esm/core/index.js" }, + "./i18n": { + "types": "./build/esm/i18n/i18n.d.ts", + "require": "./build/cjs/i18n/i18n.js", + "import": "./build/esm/i18n/i18n.js" + }, "./specs": { "types": "./build/esm/extensions/specs.d.ts", "require": "./build/cjs/extensions/specs.js", @@ -111,6 +116,9 @@ "core": [ "./build/esm/core/index.d.ts" ], + "i18n": [ + "./build/esm/i18n/i18n.d.ts" + ], "specs": [ "./build/esm/extensions/specs.d.ts" ],