@gravity-ui/markdown-editor 15.11.0 → 15.12.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/extensions/markdown/Image/imageUrlPaste/index.js +10 -1
- package/build/cjs/extensions/markdown/Image/imageUrlPaste/index.js.map +1 -1
- package/build/cjs/extensions/yfm/ImgSize/ImagePaste/index.js +9 -1
- package/build/cjs/extensions/yfm/ImgSize/ImagePaste/index.js.map +1 -1
- package/build/cjs/markup/codemirror/create.js +15 -4
- package/build/cjs/markup/codemirror/create.js.map +1 -1
- package/build/cjs/styles/list.css +13 -0
- package/build/cjs/styles/styles.css +14 -0
- package/build/cjs/utils/clipboard.js +3 -0
- package/build/cjs/utils/clipboard.js.map +1 -1
- package/build/cjs/utils/input-state.d.ts +6 -0
- package/build/cjs/utils/input-state.js +18 -0
- package/build/cjs/utils/input-state.js.map +1 -0
- package/build/cjs/version.js +1 -1
- package/build/cjs/version.js.map +1 -1
- package/build/cjs/view/hooks/index.d.ts +1 -0
- package/build/cjs/view/hooks/index.js +1 -0
- package/build/cjs/view/hooks/index.js.map +1 -1
- package/build/cjs/view/hooks/useFilesGallery/constants.d.ts +4 -0
- package/build/cjs/view/hooks/useFilesGallery/constants.js +8 -0
- package/build/cjs/view/hooks/useFilesGallery/constants.js.map +1 -0
- package/build/cjs/view/hooks/useFilesGallery/index.d.ts +2 -0
- package/build/cjs/view/hooks/useFilesGallery/index.js +6 -0
- package/build/cjs/view/hooks/useFilesGallery/index.js.map +1 -0
- package/build/cjs/view/hooks/useFilesGallery/types.d.ts +4 -0
- package/build/cjs/view/hooks/useFilesGallery/types.js +3 -0
- package/build/cjs/view/hooks/useFilesGallery/types.js.map +1 -0
- package/build/cjs/view/hooks/useFilesGallery/useFilesGallery.d.ts +5 -0
- package/build/cjs/view/hooks/useFilesGallery/useFilesGallery.js +56 -0
- package/build/cjs/view/hooks/useFilesGallery/useFilesGallery.js.map +1 -0
- package/build/esm/extensions/markdown/Image/imageUrlPaste/index.js +10 -1
- package/build/esm/extensions/markdown/Image/imageUrlPaste/index.js.map +1 -1
- package/build/esm/extensions/yfm/ImgSize/ImagePaste/index.js +9 -1
- package/build/esm/extensions/yfm/ImgSize/ImagePaste/index.js.map +1 -1
- package/build/esm/markup/codemirror/create.js +15 -4
- package/build/esm/markup/codemirror/create.js.map +1 -1
- package/build/esm/styles/list.css +13 -0
- package/build/esm/styles/styles.css +14 -0
- package/build/esm/utils/clipboard.js +3 -0
- package/build/esm/utils/clipboard.js.map +1 -1
- package/build/esm/utils/input-state.d.ts +6 -0
- package/build/esm/utils/input-state.js +14 -0
- package/build/esm/utils/input-state.js.map +1 -0
- package/build/esm/version.js +1 -1
- package/build/esm/version.js.map +1 -1
- package/build/esm/view/hooks/index.d.ts +1 -0
- package/build/esm/view/hooks/index.js +1 -0
- package/build/esm/view/hooks/index.js.map +1 -1
- package/build/esm/view/hooks/useFilesGallery/constants.d.ts +4 -0
- package/build/esm/view/hooks/useFilesGallery/constants.js +5 -0
- package/build/esm/view/hooks/useFilesGallery/constants.js.map +1 -0
- package/build/esm/view/hooks/useFilesGallery/index.d.ts +2 -0
- package/build/esm/view/hooks/useFilesGallery/index.js +3 -0
- package/build/esm/view/hooks/useFilesGallery/index.js.map +1 -0
- package/build/esm/view/hooks/useFilesGallery/types.d.ts +4 -0
- package/build/esm/view/hooks/useFilesGallery/types.js +2 -0
- package/build/esm/view/hooks/useFilesGallery/types.js.map +1 -0
- package/build/esm/view/hooks/useFilesGallery/useFilesGallery.d.ts +5 -0
- package/build/esm/view/hooks/useFilesGallery/useFilesGallery.js +52 -0
- package/build/esm/view/hooks/useFilesGallery/useFilesGallery.js.map +1 -0
- package/build/styles.css +25 -22
- package/package.json +10 -5
- package/build/cjs/styles/markdown copy.css +0 -24
- package/build/esm/styles/markdown copy.css +0 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/markdown-editor",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.12.0",
|
|
4
4
|
"description": "Markdown wysiwyg and markup editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -225,15 +225,16 @@
|
|
|
225
225
|
"@diplodoc/html-extension": "2.7.1",
|
|
226
226
|
"@diplodoc/latex-extension": "1.0.3",
|
|
227
227
|
"@diplodoc/mermaid-extension": "1.2.1",
|
|
228
|
-
"@diplodoc/quote-link-extension": "0.1.
|
|
228
|
+
"@diplodoc/quote-link-extension": "0.1.3",
|
|
229
229
|
"@diplodoc/tabs-extension": "^3.5.1",
|
|
230
|
-
"@diplodoc/transform": "^4.
|
|
230
|
+
"@diplodoc/transform": "^4.57.2",
|
|
231
|
+
"@gravity-ui/components": "4.2.2",
|
|
231
232
|
"@gravity-ui/eslint-config": "3.3.0",
|
|
232
233
|
"@gravity-ui/gulp-utils": "1.0.3",
|
|
233
234
|
"@gravity-ui/prettier-config": "1.1.0",
|
|
234
235
|
"@gravity-ui/stylelint-config": "4.0.1",
|
|
235
236
|
"@gravity-ui/tsconfig": "1.0.0",
|
|
236
|
-
"@gravity-ui/uikit": "7.
|
|
237
|
+
"@gravity-ui/uikit": "7.10.0",
|
|
237
238
|
"@playwright/experimental-ct-react": "1.49.0",
|
|
238
239
|
"@playwright/test": "1.49.0",
|
|
239
240
|
"@storybook/addon-docs": "8.4.1",
|
|
@@ -310,6 +311,9 @@
|
|
|
310
311
|
},
|
|
311
312
|
"lowlight": {
|
|
312
313
|
"optional": true
|
|
314
|
+
},
|
|
315
|
+
"@gravity-ui/components": {
|
|
316
|
+
"optional": true
|
|
313
317
|
}
|
|
314
318
|
},
|
|
315
319
|
"peerDependencies": {
|
|
@@ -319,9 +323,10 @@
|
|
|
319
323
|
"@diplodoc/html-extension": "^2.3.2",
|
|
320
324
|
"@diplodoc/latex-extension": "^1.0.3",
|
|
321
325
|
"@diplodoc/mermaid-extension": "^1.0.0",
|
|
322
|
-
"@diplodoc/quote-link-extension": "^0.1.
|
|
326
|
+
"@diplodoc/quote-link-extension": "^0.1.3",
|
|
323
327
|
"@diplodoc/tabs-extension": "^3.5.1",
|
|
324
328
|
"@diplodoc/transform": "^4.43.0",
|
|
329
|
+
"@gravity-ui/components": "^4.2.2",
|
|
325
330
|
"@gravity-ui/uikit": "^7.1.0",
|
|
326
331
|
"highlight.js": "^11.8.0",
|
|
327
332
|
"katex": "^0.16.9",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.g-root .yfm:not(.yfm_only-light) {
|
|
2
|
-
--yfm-file-icon-color: var(--g-color-text-primary);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.g-root {
|
|
6
|
-
--yfm-color-text-gray: var(--g-color-text-secondary);
|
|
7
|
-
--yfm-color-text-yellow: var(--g-color-private-yellow-600-solid);
|
|
8
|
-
--yfm-color-text-orange: var(--g-color-private-orange-500-solid);
|
|
9
|
-
--yfm-color-text-red: var(--g-color-text-danger);
|
|
10
|
-
--yfm-color-text-green: var(--g-color-text-positive);
|
|
11
|
-
--yfm-color-text-blue: var(--g-color-text-info);
|
|
12
|
-
--yfm-color-text-violet: var(--g-color-text-utility);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.g-root {
|
|
16
|
-
--yfm-colorify-black: var(--g-color-text-primary);
|
|
17
|
-
--yfm-colorify-gray: var(--yfm-color-text-gray);
|
|
18
|
-
--yfm-colorify-yellow: var(--yfm-color-text-yellow);
|
|
19
|
-
--yfm-colorify-orange: var(--yfm-color-text-orange);
|
|
20
|
-
--yfm-colorify-red: var(--yfm-color-text-red);
|
|
21
|
-
--yfm-colorify-green: var(--yfm-color-text-green);
|
|
22
|
-
--yfm-colorify-blue: var(--yfm-color-text-blue);
|
|
23
|
-
--yfm-colorify-violet: var(--yfm-color-text-violet);
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.g-root .yfm:not(.yfm_only-light) {
|
|
2
|
-
--yfm-file-icon-color: var(--g-color-text-primary);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.g-root {
|
|
6
|
-
--yfm-color-text-gray: var(--g-color-text-secondary);
|
|
7
|
-
--yfm-color-text-yellow: var(--g-color-private-yellow-600-solid);
|
|
8
|
-
--yfm-color-text-orange: var(--g-color-private-orange-500-solid);
|
|
9
|
-
--yfm-color-text-red: var(--g-color-text-danger);
|
|
10
|
-
--yfm-color-text-green: var(--g-color-text-positive);
|
|
11
|
-
--yfm-color-text-blue: var(--g-color-text-info);
|
|
12
|
-
--yfm-color-text-violet: var(--g-color-text-utility);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.g-root {
|
|
16
|
-
--yfm-colorify-black: var(--g-color-text-primary);
|
|
17
|
-
--yfm-colorify-gray: var(--yfm-color-text-gray);
|
|
18
|
-
--yfm-colorify-yellow: var(--yfm-color-text-yellow);
|
|
19
|
-
--yfm-colorify-orange: var(--yfm-color-text-orange);
|
|
20
|
-
--yfm-colorify-red: var(--yfm-color-text-red);
|
|
21
|
-
--yfm-colorify-green: var(--yfm-color-text-green);
|
|
22
|
-
--yfm-colorify-blue: var(--yfm-color-text-blue);
|
|
23
|
-
--yfm-colorify-violet: var(--yfm-color-text-violet);
|
|
24
|
-
}
|