@gravity-ui/markdown-editor 15.22.1 → 15.23.0
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/build/cjs/bundle/ToolbarView.js +1 -2
- package/build/cjs/bundle/ToolbarView.js.map +1 -1
- package/build/cjs/bundle/settings/index.js +1 -4
- package/build/cjs/bundle/settings/index.js.map +1 -1
- package/build/cjs/bundle/toolbar/ToolbarButtonWithPopupMenu.js +1 -3
- package/build/cjs/bundle/toolbar/ToolbarButtonWithPopupMenu.js.map +1 -1
- package/build/cjs/extensions/yfm/YfmTable/commands/backspace.d.ts +1 -1
- package/build/cjs/extensions/yfm/YfmTable/commands/backspace.js +61 -84
- package/build/cjs/extensions/yfm/YfmTable/commands/backspace.js.map +1 -1
- package/build/cjs/i18n/search/en.json +5 -2
- package/build/cjs/i18n/search/index.d.ts +4 -1
- package/build/cjs/i18n/search/ru.json +5 -2
- package/build/cjs/markup/codemirror/search-plugin/plugin.d.ts +2 -0
- package/build/cjs/markup/codemirror/search-plugin/plugin.js +13 -0
- package/build/cjs/markup/codemirror/search-plugin/plugin.js.map +1 -1
- package/build/cjs/markup/codemirror/search-plugin/view/ReplaceIcons.d.ts +3 -0
- package/build/cjs/markup/codemirror/search-plugin/view/ReplaceIcons.js +9 -0
- package/build/cjs/markup/codemirror/search-plugin/view/ReplaceIcons.js.map +1 -0
- package/build/cjs/markup/codemirror/search-plugin/view/SearchPopup.css +1 -0
- package/build/cjs/markup/codemirror/search-plugin/view/SearchPopup.d.ts +2 -0
- package/build/cjs/markup/codemirror/search-plugin/view/SearchPopup.js +12 -2
- package/build/cjs/markup/codemirror/search-plugin/view/SearchPopup.js.map +1 -1
- package/build/cjs/toolbar/ToolbarListButton.js +1 -3
- package/build/cjs/toolbar/ToolbarListButton.js.map +1 -1
- package/build/cjs/version.js +1 -1
- package/build/cjs/version.js.map +1 -1
- package/build/esm/bundle/ToolbarView.js +1 -2
- package/build/esm/bundle/ToolbarView.js.map +1 -1
- package/build/esm/bundle/settings/index.js +1 -4
- package/build/esm/bundle/settings/index.js.map +1 -1
- package/build/esm/bundle/toolbar/ToolbarButtonWithPopupMenu.js +1 -3
- package/build/esm/bundle/toolbar/ToolbarButtonWithPopupMenu.js.map +1 -1
- package/build/esm/extensions/yfm/YfmTable/commands/backspace.d.ts +1 -1
- package/build/esm/extensions/yfm/YfmTable/commands/backspace.js +60 -83
- package/build/esm/extensions/yfm/YfmTable/commands/backspace.js.map +1 -1
- package/build/esm/i18n/search/en.json +5 -2
- package/build/esm/i18n/search/index.d.ts +4 -1
- package/build/esm/i18n/search/ru.json +5 -2
- package/build/esm/markup/codemirror/search-plugin/plugin.d.ts +2 -0
- package/build/esm/markup/codemirror/search-plugin/plugin.js +14 -1
- package/build/esm/markup/codemirror/search-plugin/plugin.js.map +1 -1
- package/build/esm/markup/codemirror/search-plugin/view/ReplaceIcons.d.ts +3 -0
- package/build/esm/markup/codemirror/search-plugin/view/ReplaceIcons.js +4 -0
- package/build/esm/markup/codemirror/search-plugin/view/ReplaceIcons.js.map +1 -0
- package/build/esm/markup/codemirror/search-plugin/view/SearchPopup.css +1 -0
- package/build/esm/markup/codemirror/search-plugin/view/SearchPopup.d.ts +2 -0
- package/build/esm/markup/codemirror/search-plugin/view/SearchPopup.js +12 -2
- package/build/esm/markup/codemirror/search-plugin/view/SearchPopup.js.map +1 -1
- package/build/esm/toolbar/ToolbarListButton.js +1 -3
- package/build/esm/toolbar/ToolbarListButton.js.map +1 -1
- package/build/esm/version.js +1 -1
- package/build/esm/version.js.map +1 -1
- package/build/styles.css +1 -0
- package/package.json +1 -1
- package/build/cjs/common/layout.d.ts +0 -3
- package/build/cjs/common/layout.js +0 -7
- package/build/cjs/common/layout.js.map +0 -1
- package/build/cjs/utils/get-target-z-index.d.ts +0 -1
- package/build/cjs/utils/get-target-z-index.js +0 -13
- package/build/cjs/utils/get-target-z-index.js.map +0 -1
- package/build/esm/common/layout.d.ts +0 -3
- package/build/esm/common/layout.js +0 -4
- package/build/esm/common/layout.js.map +0 -1
- package/build/esm/utils/get-target-z-index.d.ts +0 -1
- package/build/esm/utils/get-target-z-index.js +0 -10
- package/build/esm/utils/get-target-z-index.js.map +0 -1
package/build/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../../src","sources":["version.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,WAAW,KAAK,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC","sourcesContent":["/** During build process, the current version will be injected here */\nexport const VERSION = typeof '15.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../../src","sources":["version.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,WAAW,KAAK,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC","sourcesContent":["/** During build process, the current version will be injected here */\nexport const VERSION = typeof '15.23.0' !== 'undefined' ? '15.23.0' : 'unknown';\n"]}
|
package/build/styles.css
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sourceRoot":"../../../src","sources":["common/layout.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,cAAc,EAAE,gBAAgB;CACnC,CAAC","sourcesContent":["export const LAYOUT = {\n STICKY_TOOLBAR: 'sticky-toolbar',\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getTargetZIndex(dataLayoutSelector: string, offset?: number): number;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTargetZIndex = getTargetZIndex;
|
|
4
|
-
function getTargetZIndex(dataLayoutSelector, offset = 10) {
|
|
5
|
-
const targetLayerElement = document.querySelector(`[data-layout="${dataLayoutSelector}"]`);
|
|
6
|
-
if (!targetLayerElement) {
|
|
7
|
-
return offset;
|
|
8
|
-
}
|
|
9
|
-
const computedStyle = window.getComputedStyle(targetLayerElement);
|
|
10
|
-
const targetZIndex = parseInt(computedStyle.zIndex, 10);
|
|
11
|
-
return Number.isFinite(targetZIndex) ? targetZIndex + offset : offset;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=get-target-z-index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-target-z-index.js","sourceRoot":"../../../src","sources":["utils/get-target-z-index.ts"],"names":[],"mappings":";;AAAA,0CAWC;AAXD,SAAgB,eAAe,CAAC,kBAA0B,EAAE,MAAM,GAAG,EAAE;IACnE,MAAM,kBAAkB,GAAG,QAAQ,CAAC,aAAa,CAAC,iBAAiB,kBAAkB,IAAI,CAAC,CAAC;IAE3F,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACtB,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;IAClE,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAExD,OAAO,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;AAC1E,CAAC","sourcesContent":["export function getTargetZIndex(dataLayoutSelector: string, offset = 10) {\n const targetLayerElement = document.querySelector(`[data-layout=\"${dataLayoutSelector}\"]`);\n\n if (!targetLayerElement) {\n return offset;\n }\n\n const computedStyle = window.getComputedStyle(targetLayerElement);\n const targetZIndex = parseInt(computedStyle.zIndex, 10);\n\n return Number.isFinite(targetZIndex) ? targetZIndex + offset : offset;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sourceRoot":"../../../src","sources":["common/layout.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,cAAc,EAAE,gBAAgB;CACnC,CAAC","sourcesContent":["export const LAYOUT = {\n STICKY_TOOLBAR: 'sticky-toolbar',\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getTargetZIndex(dataLayoutSelector: string, offset?: number): number;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export function getTargetZIndex(dataLayoutSelector, offset = 10) {
|
|
2
|
-
const targetLayerElement = document.querySelector(`[data-layout="${dataLayoutSelector}"]`);
|
|
3
|
-
if (!targetLayerElement) {
|
|
4
|
-
return offset;
|
|
5
|
-
}
|
|
6
|
-
const computedStyle = window.getComputedStyle(targetLayerElement);
|
|
7
|
-
const targetZIndex = parseInt(computedStyle.zIndex, 10);
|
|
8
|
-
return Number.isFinite(targetZIndex) ? targetZIndex + offset : offset;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=get-target-z-index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-target-z-index.js","sourceRoot":"../../../src","sources":["utils/get-target-z-index.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,kBAA0B,EAAE,MAAM,GAAG,EAAE;IACnE,MAAM,kBAAkB,GAAG,QAAQ,CAAC,aAAa,CAAC,iBAAiB,kBAAkB,IAAI,CAAC,CAAC;IAE3F,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACtB,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;IAClE,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAExD,OAAO,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;AAC1E,CAAC","sourcesContent":["export function getTargetZIndex(dataLayoutSelector: string, offset = 10) {\n const targetLayerElement = document.querySelector(`[data-layout=\"${dataLayoutSelector}\"]`);\n\n if (!targetLayerElement) {\n return offset;\n }\n\n const computedStyle = window.getComputedStyle(targetLayerElement);\n const targetZIndex = parseInt(computedStyle.zIndex, 10);\n\n return Number.isFinite(targetZIndex) ? targetZIndex + offset : offset;\n}\n"]}
|