@gravity-ui/markdown-editor 13.5.3 → 13.6.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.
Files changed (122) hide show
  1. package/build/cjs/bundle/Editor.js +8 -5
  2. package/build/cjs/bundle/config/icons.d.ts +1 -1
  3. package/build/cjs/bundle/config/icons.js +1 -0
  4. package/build/cjs/bundle/config/wysiwyg.d.ts +2 -1
  5. package/build/cjs/bundle/config/wysiwyg.js +13 -2
  6. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeading.d.ts +12 -0
  7. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeading.js +22 -0
  8. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/FoldingHeadingSpecs.d.ts +2 -0
  9. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/FoldingHeadingSpecs.js +9 -0
  10. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/const.d.ts +11 -0
  11. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/const.js +5 -0
  12. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/index.d.ts +1 -0
  13. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/index.js +4 -0
  14. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/md/skip-heading-sections.d.ts +3 -0
  15. package/build/cjs/extensions/yfm/FoldingHeading/FoldingHeadingSpec/md/skip-heading-sections.js +17 -0
  16. package/build/cjs/extensions/yfm/FoldingHeading/actions.d.ts +2 -0
  17. package/build/cjs/extensions/yfm/FoldingHeading/actions.js +10 -0
  18. package/build/cjs/extensions/yfm/FoldingHeading/commands/index.d.ts +3 -0
  19. package/build/cjs/extensions/yfm/FoldingHeading/commands/index.js +6 -0
  20. package/build/cjs/extensions/yfm/FoldingHeading/commands/openHeadingAndCreateParagraphAfterIfCursorAtEndOfHeading.d.ts +2 -0
  21. package/build/cjs/extensions/yfm/FoldingHeading/commands/openHeadingAndCreateParagraphAfterIfCursorAtEndOfHeading.js +27 -0
  22. package/build/cjs/extensions/yfm/FoldingHeading/commands/removeFoldingIfCursorAtStartOfHeading.d.ts +2 -0
  23. package/build/cjs/extensions/yfm/FoldingHeading/commands/removeFoldingIfCursorAtStartOfHeading.js +17 -0
  24. package/build/cjs/extensions/yfm/FoldingHeading/commands/toggleFoldingOfHeading.d.ts +2 -0
  25. package/build/cjs/extensions/yfm/FoldingHeading/commands/toggleFoldingOfHeading.js +26 -0
  26. package/build/cjs/extensions/yfm/FoldingHeading/const.d.ts +1 -0
  27. package/build/cjs/extensions/yfm/FoldingHeading/const.js +6 -0
  28. package/build/cjs/extensions/yfm/FoldingHeading/index.d.ts +1 -0
  29. package/build/cjs/extensions/yfm/FoldingHeading/index.js +5 -0
  30. package/build/cjs/extensions/yfm/FoldingHeading/input-rules.d.ts +4 -0
  31. package/build/cjs/extensions/yfm/FoldingHeading/input-rules.js +31 -0
  32. package/build/cjs/extensions/yfm/FoldingHeading/plugins/Folding.d.ts +3 -0
  33. package/build/cjs/extensions/yfm/FoldingHeading/plugins/Folding.js +167 -0
  34. package/build/cjs/extensions/yfm/FoldingHeading/utils.d.ts +10 -0
  35. package/build/cjs/extensions/yfm/FoldingHeading/utils.js +30 -0
  36. package/build/cjs/extensions/yfm/YfmHeading/YfmHeadingSpecs/const.d.ts +1 -1
  37. package/build/cjs/extensions/yfm/YfmHeading/YfmHeadingSpecs/const.js +1 -1
  38. package/build/cjs/extensions/yfm/YfmHeading/YfmHeadingSpecs/index.js +4 -4
  39. package/build/cjs/extensions/yfm/YfmHeading/YfmHeadingSpecs/utils.js +9 -1
  40. package/build/cjs/i18n/menubar/en.json +2 -0
  41. package/build/cjs/i18n/menubar/index.d.ts +3 -1
  42. package/build/cjs/i18n/menubar/ru.json +2 -0
  43. package/build/cjs/icons/index.d.ts +1 -1
  44. package/build/cjs/icons/index.js +2 -1
  45. package/build/cjs/version.js +1 -1
  46. package/build/esm/bundle/Editor.js +8 -5
  47. package/build/esm/bundle/config/icons.d.ts +1 -1
  48. package/build/esm/bundle/config/icons.js +2 -1
  49. package/build/esm/bundle/config/wysiwyg.d.ts +2 -1
  50. package/build/esm/bundle/config/wysiwyg.js +12 -1
  51. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeading.d.ts +12 -0
  52. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeading.js +18 -0
  53. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/FoldingHeadingSpecs.d.ts +2 -0
  54. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/FoldingHeadingSpecs.js +5 -0
  55. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/const.d.ts +11 -0
  56. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/const.js +2 -0
  57. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/index.d.ts +1 -0
  58. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/index.js +1 -0
  59. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/md/skip-heading-sections.d.ts +3 -0
  60. package/build/esm/extensions/yfm/FoldingHeading/FoldingHeadingSpec/md/skip-heading-sections.js +13 -0
  61. package/build/esm/extensions/yfm/FoldingHeading/actions.d.ts +2 -0
  62. package/build/esm/extensions/yfm/FoldingHeading/actions.js +7 -0
  63. package/build/esm/extensions/yfm/FoldingHeading/commands/index.d.ts +3 -0
  64. package/build/esm/extensions/yfm/FoldingHeading/commands/index.js +3 -0
  65. package/build/esm/extensions/yfm/FoldingHeading/commands/openHeadingAndCreateParagraphAfterIfCursorAtEndOfHeading.d.ts +2 -0
  66. package/build/esm/extensions/yfm/FoldingHeading/commands/openHeadingAndCreateParagraphAfterIfCursorAtEndOfHeading.js +23 -0
  67. package/build/esm/extensions/yfm/FoldingHeading/commands/removeFoldingIfCursorAtStartOfHeading.d.ts +2 -0
  68. package/build/esm/extensions/yfm/FoldingHeading/commands/removeFoldingIfCursorAtStartOfHeading.js +13 -0
  69. package/build/esm/extensions/yfm/FoldingHeading/commands/toggleFoldingOfHeading.d.ts +2 -0
  70. package/build/esm/extensions/yfm/FoldingHeading/commands/toggleFoldingOfHeading.js +22 -0
  71. package/build/esm/extensions/yfm/FoldingHeading/const.d.ts +1 -0
  72. package/build/esm/extensions/yfm/FoldingHeading/const.js +1 -0
  73. package/build/esm/extensions/yfm/FoldingHeading/index.d.ts +1 -0
  74. package/build/esm/extensions/yfm/FoldingHeading/index.js +1 -0
  75. package/build/esm/extensions/yfm/FoldingHeading/input-rules.d.ts +4 -0
  76. package/build/esm/extensions/yfm/FoldingHeading/input-rules.js +27 -0
  77. package/build/esm/extensions/yfm/FoldingHeading/plugins/Folding.d.ts +4 -0
  78. package/build/esm/extensions/yfm/FoldingHeading/plugins/Folding.js +164 -0
  79. package/build/esm/extensions/yfm/FoldingHeading/utils.d.ts +10 -0
  80. package/build/esm/extensions/yfm/FoldingHeading/utils.js +19 -0
  81. package/build/esm/extensions/yfm/YfmHeading/YfmHeadingSpecs/const.d.ts +1 -1
  82. package/build/esm/extensions/yfm/YfmHeading/YfmHeadingSpecs/const.js +1 -1
  83. package/build/esm/extensions/yfm/YfmHeading/YfmHeadingSpecs/index.js +4 -4
  84. package/build/esm/extensions/yfm/YfmHeading/YfmHeadingSpecs/utils.js +9 -1
  85. package/build/esm/i18n/menubar/en.json +2 -0
  86. package/build/esm/i18n/menubar/index.d.ts +3 -1
  87. package/build/esm/i18n/menubar/ru.json +2 -0
  88. package/build/esm/icons/index.d.ts +1 -1
  89. package/build/esm/icons/index.js +1 -1
  90. package/build/esm/version.js +1 -1
  91. package/build/styles.css +0 -381
  92. package/package.json +10 -5
  93. package/build/cjs/extensions/markdown/CodeBlock/CodeBlockHighlight/TooltipPlugin/TooltipView.css +0 -26
  94. package/build/cjs/extensions/markdown/Table/plugins/TableCellContextPlugin/floating.css +0 -11
  95. package/build/cjs/extensions/yfm/ImgSize/ImagePaste/skeleton.css +0 -8
  96. package/build/cjs/extensions/yfm/ImgSize/ImageWidget/view.css +0 -12
  97. package/build/cjs/extensions/yfm/ImgSize/plugins/ImgSizeNodeView/ImageForm/ImageForm.css +0 -8
  98. package/build/cjs/extensions/yfm/ImgSize/plugins/ImgSizeNodeView/ImgNodeView.css +0 -4
  99. package/build/cjs/extensions/yfm/Mermaid/MermaidNodeView/Mermaid.css +0 -33
  100. package/build/cjs/extensions/yfm/YfmCut/nodeviews/yfm-cut-title.css +0 -3
  101. package/build/cjs/extensions/yfm/YfmFile/YfmFilePaste/skeleton.css +0 -8
  102. package/build/cjs/extensions/yfm/YfmFile/YfmFileWidget/view.css +0 -7
  103. package/build/cjs/extensions/yfm/YfmHtmlBlock/YfmHtmlBlockNodeView/YfmHtmlBlock.css +0 -66
  104. package/build/cjs/extensions/yfm/YfmNote/plugins/YfmNoteTooltipPlugin/index.css +0 -66
  105. package/build/cjs/extensions/yfm/YfmTable/plugins/YfmTableControls/view.css +0 -83
  106. package/build/cjs/extensions/yfm/YfmTable/plugins/YfmTableControls/yfmTableCellView.css +0 -37
  107. package/build/cjs/markup/codemirror/search-plugin/view/SearchPopup.css +0 -9
  108. package/build/esm/extensions/markdown/CodeBlock/CodeBlockHighlight/TooltipPlugin/TooltipView.css +0 -26
  109. package/build/esm/extensions/markdown/Table/plugins/TableCellContextPlugin/floating.css +0 -11
  110. package/build/esm/extensions/yfm/ImgSize/ImagePaste/skeleton.css +0 -8
  111. package/build/esm/extensions/yfm/ImgSize/ImageWidget/view.css +0 -12
  112. package/build/esm/extensions/yfm/ImgSize/plugins/ImgSizeNodeView/ImageForm/ImageForm.css +0 -8
  113. package/build/esm/extensions/yfm/ImgSize/plugins/ImgSizeNodeView/ImgNodeView.css +0 -4
  114. package/build/esm/extensions/yfm/Mermaid/MermaidNodeView/Mermaid.css +0 -33
  115. package/build/esm/extensions/yfm/YfmCut/nodeviews/yfm-cut-title.css +0 -3
  116. package/build/esm/extensions/yfm/YfmFile/YfmFilePaste/skeleton.css +0 -8
  117. package/build/esm/extensions/yfm/YfmFile/YfmFileWidget/view.css +0 -7
  118. package/build/esm/extensions/yfm/YfmHtmlBlock/YfmHtmlBlockNodeView/YfmHtmlBlock.css +0 -66
  119. package/build/esm/extensions/yfm/YfmNote/plugins/YfmNoteTooltipPlugin/index.css +0 -66
  120. package/build/esm/extensions/yfm/YfmTable/plugins/YfmTableControls/view.css +0 -83
  121. package/build/esm/extensions/yfm/YfmTable/plugins/YfmTableControls/yfmTableCellView.css +0 -37
  122. package/build/esm/markup/codemirror/search-plugin/view/SearchPopup.css +0 -9
@@ -1,33 +0,0 @@
1
- .g-md-Mermaid {
2
- display: flex;
3
- justify-content: space-between;
4
- margin-bottom: 15px;
5
- padding: 2px;
6
- border: 1px solid var(--g-color-line-generic);
7
- border-radius: var(--g-border-radius-m);
8
- }
9
- .g-md-Mermaid_edit {
10
- display: flex;
11
- }
12
- .g-md-Mermaid__Preview {
13
- flex: 1;
14
- }
15
- .g-md-Mermaid__Error {
16
- flex: 1;
17
- font-family: var(--g-font-family-monospace);
18
- color: var(--g-color-text-danger);
19
- }
20
- .g-md-Mermaid__Editor {
21
- flex: 1;
22
- white-space: nowrap;
23
- caret-color: auto;
24
- }
25
- .g-md-Mermaid__EditorPopover {
26
- z-index: 1;
27
- float: right;
28
- }
29
- .g-md-Mermaid__Controls {
30
- display: flex;
31
- justify-content: end;
32
- margin-top: 5px;
33
- }
@@ -1,3 +0,0 @@
1
- .yfm-cut-title .g-md-yfm-cut-title-inner {
2
- cursor: text;
3
- }
@@ -1,8 +0,0 @@
1
- .g-md-file-skeleton {
2
- display: inline-flex;
3
- align-items: center;
4
- }
5
- .g-md-file-skeleton__skeleton {
6
- width: 120px;
7
- height: 20px;
8
- }
@@ -1,7 +0,0 @@
1
- .g-md-file-placeholder {
2
- margin: 0 4px;
3
- pointer-events: none;
4
- }
5
- .g-md-file-placeholder .yfm-file__icon {
6
- margin-right: 8px;
7
- }
@@ -1,66 +0,0 @@
1
- .g-md-yfm-html-block {
2
- position: relative;
3
- display: flex;
4
- justify-content: space-between;
5
- margin-bottom: 15px;
6
- padding-top: 28px;
7
- border: 1px solid var(--g-color-line-generic);
8
- border-radius: var(--g-border-radius-m);
9
- }
10
- .g-md-yfm-html-block_editing {
11
- display: flex;
12
- padding-top: 0;
13
- border: 0;
14
- }
15
- .g-md-yfm-html-block__label {
16
- position: absolute;
17
- top: 8px;
18
- left: 8px;
19
- }
20
- .g-md-yfm-html-block__menu {
21
- position: absolute;
22
- top: 0;
23
- right: 0;
24
- }
25
- .g-md-yfm-html-block__preview {
26
- flex: 1;
27
- }
28
- .g-md-yfm-html-block__error {
29
- flex: 1;
30
- font-family: var(--g-font-family-monospace);
31
- color: var(--g-color-text-danger);
32
- }
33
- .g-md-yfm-html-block__editor {
34
- flex: 1;
35
- width: 50%;
36
- white-space: nowrap;
37
- caret-color: auto;
38
- }
39
- .g-md-yfm-html-block__editor .g-text-area__content {
40
- font-size: 1em;
41
- color: var(--yfm-color-hljs-subst);
42
- border: 0;
43
- border-radius: var(--g-border-radius-m);
44
- background: var(--yfm-color-hljs-background);
45
- font-feature-settings: normal;
46
- }
47
- .g-md-yfm-html-block__editor .g-text-area__control.g-md-YfmHtmlBlockHelper {
48
- font-family: var(--yfm-font-family-monospace);
49
- }
50
- .g-md-yfm-html-block__editor-popover {
51
- z-index: 1;
52
- float: right;
53
- }
54
- .g-md-yfm-html-block__controls {
55
- display: flex;
56
- justify-content: end;
57
- margin-top: 5px;
58
- }
59
- .g-md-yfm-html-block__content {
60
- flex-grow: 1;
61
- }
62
-
63
- .g-root_theme_dark-hc .g-md-yfm-html-block_editing .g-text-area__content,
64
- .g-root_theme_dark .g-md-yfm-html-block_editing .g-text-area__content {
65
- color: var(--g-color-text-primary);
66
- }
@@ -1,66 +0,0 @@
1
- .yfm .yfm-note {
2
- max-width: 1296px;
3
- margin: 20px 0;
4
- padding: 20px 20px 20px 64px;
5
- border-radius: 10px;
6
- }
7
- .yfm .yfm-note .yfm-note-title {
8
- font-weight: 700;
9
- }
10
- .yfm .yfm-note > p {
11
- margin: 0 0 10px 0;
12
- }
13
- .yfm .yfm-note > p:first-child::before {
14
- box-sizing: content-box;
15
- display: block;
16
- width: 24px;
17
- height: 24px;
18
- margin-top: -2px;
19
- margin-left: -44px;
20
- padding-right: 20px;
21
- float: left;
22
- }
23
- .yfm .yfm-note > p:last-child {
24
- margin-bottom: 0;
25
- }
26
- .yfm .yfm-note.yfm-accent-info > p:first-child::before {
27
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(2,123,243)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
28
- }
29
- .yfm .yfm-note.yfm-accent-tip > p:first-child::before {
30
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(86,189,103)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
31
- }
32
- .yfm .yfm-note.yfm-accent-alert > p:first-child::before {
33
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(255,70,69)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
34
- }
35
- .yfm .yfm-note.yfm-accent-warning > p:first-child::before {
36
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(241,149,24)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
37
- }
38
- .yfm .yfm-note.yfm-accent-info {
39
- background: rgba(2, 123, 243, 0.08);
40
- }
41
- .yfm .yfm-note.yfm-accent-tip {
42
- background: rgba(63, 201, 46, 0.1);
43
- }
44
- .yfm .yfm-note.yfm-accent-alert {
45
- background: rgba(235, 50, 38, 0.08);
46
- }
47
- .yfm .yfm-note.yfm-accent-warning {
48
- background: rgba(255, 136, 0, 0.15);
49
- }
50
-
51
- .g-md-yfm-note-toolbar {
52
- margin: 2px 8px;
53
- }
54
-
55
- .g-md-toolbar-group__s-button_id_note-type-tip {
56
- color: #56bd67;
57
- }
58
- .g-md-toolbar-group__s-button_id_note-type-info {
59
- color: #027bf3;
60
- }
61
- .g-md-toolbar-group__s-button_id_note-type-alert {
62
- color: #ff4645;
63
- }
64
- .g-md-toolbar-group__s-button_id_note-type-warning {
65
- color: #f19518;
66
- }
@@ -1,83 +0,0 @@
1
- .g-md-table-view__hack-strip {
2
- position: absolute;
3
- left: -13px;
4
- display: block;
5
- width: 13px;
6
- height: 100%;
7
- background: transparent;
8
- }
9
- .g-md-table-view__wrapper {
10
- position: relative;
11
- display: inline-block;
12
- max-width: calc(100% - 18px);
13
- margin-right: 18px;
14
- /* stylelint-disable declaration-no-important */
15
- margin-bottom: 18px !important;
16
- }
17
- .g-md-table-view__buttons-visible .g-md-table-view__plus-button-controls {
18
- pointer-events: initial;
19
- opacity: 1;
20
- }
21
- .g-md-table-view__plus-button-controls {
22
- pointer-events: none;
23
- opacity: 0;
24
- transition: opacity 150ms ease 50ms;
25
- }
26
- .g-md-table-view__plus-button-controls_right {
27
- position: absolute;
28
- z-index: 100;
29
- top: 0;
30
- right: -18px;
31
- display: flex;
32
- align-items: center;
33
- width: 16px;
34
- height: 100%;
35
- }
36
- .g-md-table-view__plus-button-controls_bottom {
37
- position: absolute;
38
- z-index: 100;
39
- bottom: -18px;
40
- display: flex;
41
- justify-content: center;
42
- width: 100%;
43
- height: 16px;
44
- }
45
- .g-md-table-view__plus-button {
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- height: 100%;
50
- }
51
- .g-md-table-view__plus-button_right {
52
- width: 16px;
53
- height: 100%;
54
- }
55
- .g-md-table-view__plus-button_bottom {
56
- width: 100%;
57
- height: 16px;
58
- }
59
-
60
- .g-md-table-view.g-md-table-view {
61
- z-index: unset;
62
- display: block;
63
- overflow: auto;
64
- box-sizing: content-box;
65
- width: fit-content;
66
- margin: -13px 0 0 -13px;
67
- padding: 13px 0 0 13px;
68
- border: none;
69
- border-radius: 0;
70
- background: transparent !important;
71
- }
72
- .g-md-table-view.g-md-table-view tbody {
73
- display: block;
74
- border-radius: 8px;
75
- background: var(--g-color-base-background);
76
- box-shadow: inset 0 0 0 1px var(--g-color-line-generic);
77
- }
78
-
79
- .g-md-table-wrapper {
80
- display: inline-block;
81
- width: 100%;
82
- margin-right: 2px;
83
- }
@@ -1,37 +0,0 @@
1
- .g-md-table-cell-view__left-button {
2
- position: absolute;
3
- z-index: 110;
4
- top: calc(50% - 14px);
5
- left: -13px;
6
- pointer-events: none;
7
- opacity: 0;
8
- border-radius: var(--g-border-radius-s);
9
- background: var(--g-color-base-background);
10
- }
11
- .g-md-table-cell-view__left-button:hover {
12
- pointer-events: initial;
13
- opacity: 1;
14
- }
15
- .g-md-table-cell-view__upper-button {
16
- position: absolute;
17
- z-index: 110;
18
- top: -13px;
19
- left: calc(50% - 14px);
20
- pointer-events: none;
21
- opacity: 0;
22
- border-radius: var(--g-border-radius-s);
23
- background: var(--g-color-base-background);
24
- transform: rotate(90deg);
25
- }
26
- .g-md-table-cell-view__upper-button:hover {
27
- pointer-events: initial;
28
- opacity: 1;
29
- }
30
- .g-md-table-cell-view__upper-visible .g-md-table-cell-view__upper-button {
31
- pointer-events: initial;
32
- opacity: 1;
33
- }
34
- .g-md-table-cell-view__left-visible .g-md-table-cell-view__left-button {
35
- pointer-events: initial;
36
- opacity: 1;
37
- }
@@ -1,9 +0,0 @@
1
- .g-md-search-card {
2
- padding: var(--g-spacing-2) var(--g-spacing-2) var(--g-spacing-3) var(--g-spacing-4);
3
- }
4
- .g-md-search-card__header {
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
- margin-bottom: var(--g-spacing-1);
9
- }
@@ -1,26 +0,0 @@
1
- .g-md-code-block-toolbar {
2
- margin: 2px 8px;
3
- }
4
-
5
- .g-md-code-tooltip-menu {
6
- min-width: 150px;
7
- border-radius: 4px;
8
- }
9
-
10
- .g-md-code-block__select-popup {
11
- width: 175px;
12
- max-height: 200px;
13
- }
14
- .g-md-code-block__select-popup .g-select-filter {
15
- border-bottom: 1px solid var(--g-color-line-generic);
16
- }
17
- .g-md-code-block__select-popup .g-select-filter .g-text-input__content {
18
- border: none;
19
- }
20
- .g-md-code-block__select-popup .g-md-code-block__select-empty {
21
- margin-left: 4px;
22
- }
23
-
24
- .g-md-code-block__select-button {
25
- margin: auto 0;
26
- }
@@ -1,11 +0,0 @@
1
- .table-cell-floating-button.g-button {
2
- height: 28px;
3
- line-height: 28px;
4
- }
5
- .table-cell-floating-button.g-button .g-button__icon {
6
- width: 12px;
7
- }
8
-
9
- .table-cell-floating-icon {
10
- transform: rotate(90deg);
11
- }
@@ -1,8 +0,0 @@
1
- .g-md-image-skeleton {
2
- vertical-align: middle;
3
- }
4
- .g-md-image-skeleton__skeleton {
5
- width: min(var(--img-skeleton-width) * 1px, 100%);
6
- height: min(var(--img-skeleton-height) * 1px, 700px);
7
- margin-bottom: -5px;
8
- }
@@ -1,12 +0,0 @@
1
- .g-md-image-placeholder {
2
- display: inline-flex;
3
- align-items: center;
4
- column-gap: 8px;
5
- min-width: 300px;
6
- padding: 12px 20px;
7
- border-radius: 4px;
8
- background-color: var(--g-color-base-simple-hover-solid);
9
- font-size: var(--g-text-body-2-font-size);
10
- line-height: var(--g-text-body-2-line-height);
11
- font-weight: var(--g-text-body-font-weight);
12
- }
@@ -1,8 +0,0 @@
1
- .g-md-image-tooltip-form__input_type_width, .g-md-image-tooltip-form__input_type_height {
2
- max-width: 112px;
3
- }
4
- .g-md-image-tooltip-form__size-controls {
5
- display: flex;
6
- align-items: center;
7
- gap: 0 16px;
8
- }
@@ -1,4 +0,0 @@
1
- .g-md-img-size-node-view__wrapper {
2
- position: relative;
3
- display: inline-block;
4
- }
@@ -1,33 +0,0 @@
1
- .g-md-Mermaid {
2
- display: flex;
3
- justify-content: space-between;
4
- margin-bottom: 15px;
5
- padding: 2px;
6
- border: 1px solid var(--g-color-line-generic);
7
- border-radius: var(--g-border-radius-m);
8
- }
9
- .g-md-Mermaid_edit {
10
- display: flex;
11
- }
12
- .g-md-Mermaid__Preview {
13
- flex: 1;
14
- }
15
- .g-md-Mermaid__Error {
16
- flex: 1;
17
- font-family: var(--g-font-family-monospace);
18
- color: var(--g-color-text-danger);
19
- }
20
- .g-md-Mermaid__Editor {
21
- flex: 1;
22
- white-space: nowrap;
23
- caret-color: auto;
24
- }
25
- .g-md-Mermaid__EditorPopover {
26
- z-index: 1;
27
- float: right;
28
- }
29
- .g-md-Mermaid__Controls {
30
- display: flex;
31
- justify-content: end;
32
- margin-top: 5px;
33
- }
@@ -1,3 +0,0 @@
1
- .yfm-cut-title .g-md-yfm-cut-title-inner {
2
- cursor: text;
3
- }
@@ -1,8 +0,0 @@
1
- .g-md-file-skeleton {
2
- display: inline-flex;
3
- align-items: center;
4
- }
5
- .g-md-file-skeleton__skeleton {
6
- width: 120px;
7
- height: 20px;
8
- }
@@ -1,7 +0,0 @@
1
- .g-md-file-placeholder {
2
- margin: 0 4px;
3
- pointer-events: none;
4
- }
5
- .g-md-file-placeholder .yfm-file__icon {
6
- margin-right: 8px;
7
- }
@@ -1,66 +0,0 @@
1
- .g-md-yfm-html-block {
2
- position: relative;
3
- display: flex;
4
- justify-content: space-between;
5
- margin-bottom: 15px;
6
- padding-top: 28px;
7
- border: 1px solid var(--g-color-line-generic);
8
- border-radius: var(--g-border-radius-m);
9
- }
10
- .g-md-yfm-html-block_editing {
11
- display: flex;
12
- padding-top: 0;
13
- border: 0;
14
- }
15
- .g-md-yfm-html-block__label {
16
- position: absolute;
17
- top: 8px;
18
- left: 8px;
19
- }
20
- .g-md-yfm-html-block__menu {
21
- position: absolute;
22
- top: 0;
23
- right: 0;
24
- }
25
- .g-md-yfm-html-block__preview {
26
- flex: 1;
27
- }
28
- .g-md-yfm-html-block__error {
29
- flex: 1;
30
- font-family: var(--g-font-family-monospace);
31
- color: var(--g-color-text-danger);
32
- }
33
- .g-md-yfm-html-block__editor {
34
- flex: 1;
35
- width: 50%;
36
- white-space: nowrap;
37
- caret-color: auto;
38
- }
39
- .g-md-yfm-html-block__editor .g-text-area__content {
40
- font-size: 1em;
41
- color: var(--yfm-color-hljs-subst);
42
- border: 0;
43
- border-radius: var(--g-border-radius-m);
44
- background: var(--yfm-color-hljs-background);
45
- font-feature-settings: normal;
46
- }
47
- .g-md-yfm-html-block__editor .g-text-area__control.g-md-YfmHtmlBlockHelper {
48
- font-family: var(--yfm-font-family-monospace);
49
- }
50
- .g-md-yfm-html-block__editor-popover {
51
- z-index: 1;
52
- float: right;
53
- }
54
- .g-md-yfm-html-block__controls {
55
- display: flex;
56
- justify-content: end;
57
- margin-top: 5px;
58
- }
59
- .g-md-yfm-html-block__content {
60
- flex-grow: 1;
61
- }
62
-
63
- .g-root_theme_dark-hc .g-md-yfm-html-block_editing .g-text-area__content,
64
- .g-root_theme_dark .g-md-yfm-html-block_editing .g-text-area__content {
65
- color: var(--g-color-text-primary);
66
- }
@@ -1,66 +0,0 @@
1
- .yfm .yfm-note {
2
- max-width: 1296px;
3
- margin: 20px 0;
4
- padding: 20px 20px 20px 64px;
5
- border-radius: 10px;
6
- }
7
- .yfm .yfm-note .yfm-note-title {
8
- font-weight: 700;
9
- }
10
- .yfm .yfm-note > p {
11
- margin: 0 0 10px 0;
12
- }
13
- .yfm .yfm-note > p:first-child::before {
14
- box-sizing: content-box;
15
- display: block;
16
- width: 24px;
17
- height: 24px;
18
- margin-top: -2px;
19
- margin-left: -44px;
20
- padding-right: 20px;
21
- float: left;
22
- }
23
- .yfm .yfm-note > p:last-child {
24
- margin-bottom: 0;
25
- }
26
- .yfm .yfm-note.yfm-accent-info > p:first-child::before {
27
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(2,123,243)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
28
- }
29
- .yfm .yfm-note.yfm-accent-tip > p:first-child::before {
30
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(86,189,103)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
31
- }
32
- .yfm .yfm-note.yfm-accent-alert > p:first-child::before {
33
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(255,70,69)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
34
- }
35
- .yfm .yfm-note.yfm-accent-warning > p:first-child::before {
36
- content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(241,149,24)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
37
- }
38
- .yfm .yfm-note.yfm-accent-info {
39
- background: rgba(2, 123, 243, 0.08);
40
- }
41
- .yfm .yfm-note.yfm-accent-tip {
42
- background: rgba(63, 201, 46, 0.1);
43
- }
44
- .yfm .yfm-note.yfm-accent-alert {
45
- background: rgba(235, 50, 38, 0.08);
46
- }
47
- .yfm .yfm-note.yfm-accent-warning {
48
- background: rgba(255, 136, 0, 0.15);
49
- }
50
-
51
- .g-md-yfm-note-toolbar {
52
- margin: 2px 8px;
53
- }
54
-
55
- .g-md-toolbar-group__s-button_id_note-type-tip {
56
- color: #56bd67;
57
- }
58
- .g-md-toolbar-group__s-button_id_note-type-info {
59
- color: #027bf3;
60
- }
61
- .g-md-toolbar-group__s-button_id_note-type-alert {
62
- color: #ff4645;
63
- }
64
- .g-md-toolbar-group__s-button_id_note-type-warning {
65
- color: #f19518;
66
- }
@@ -1,83 +0,0 @@
1
- .g-md-table-view__hack-strip {
2
- position: absolute;
3
- left: -13px;
4
- display: block;
5
- width: 13px;
6
- height: 100%;
7
- background: transparent;
8
- }
9
- .g-md-table-view__wrapper {
10
- position: relative;
11
- display: inline-block;
12
- max-width: calc(100% - 18px);
13
- margin-right: 18px;
14
- /* stylelint-disable declaration-no-important */
15
- margin-bottom: 18px !important;
16
- }
17
- .g-md-table-view__buttons-visible .g-md-table-view__plus-button-controls {
18
- pointer-events: initial;
19
- opacity: 1;
20
- }
21
- .g-md-table-view__plus-button-controls {
22
- pointer-events: none;
23
- opacity: 0;
24
- transition: opacity 150ms ease 50ms;
25
- }
26
- .g-md-table-view__plus-button-controls_right {
27
- position: absolute;
28
- z-index: 100;
29
- top: 0;
30
- right: -18px;
31
- display: flex;
32
- align-items: center;
33
- width: 16px;
34
- height: 100%;
35
- }
36
- .g-md-table-view__plus-button-controls_bottom {
37
- position: absolute;
38
- z-index: 100;
39
- bottom: -18px;
40
- display: flex;
41
- justify-content: center;
42
- width: 100%;
43
- height: 16px;
44
- }
45
- .g-md-table-view__plus-button {
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- height: 100%;
50
- }
51
- .g-md-table-view__plus-button_right {
52
- width: 16px;
53
- height: 100%;
54
- }
55
- .g-md-table-view__plus-button_bottom {
56
- width: 100%;
57
- height: 16px;
58
- }
59
-
60
- .g-md-table-view.g-md-table-view {
61
- z-index: unset;
62
- display: block;
63
- overflow: auto;
64
- box-sizing: content-box;
65
- width: fit-content;
66
- margin: -13px 0 0 -13px;
67
- padding: 13px 0 0 13px;
68
- border: none;
69
- border-radius: 0;
70
- background: transparent !important;
71
- }
72
- .g-md-table-view.g-md-table-view tbody {
73
- display: block;
74
- border-radius: 8px;
75
- background: var(--g-color-base-background);
76
- box-shadow: inset 0 0 0 1px var(--g-color-line-generic);
77
- }
78
-
79
- .g-md-table-wrapper {
80
- display: inline-block;
81
- width: 100%;
82
- margin-right: 2px;
83
- }