@skbkontur/markdown 2.5.1 → 2.5.2
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/README.md +12 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
| hideActionsOptions | object (HideActionsOptions) | undefined | Скрыть отдельные кнопки на панели действий |
|
|
30
30
|
| showActionHints | boolean | true | Показывать подсказки к действиям |
|
|
31
31
|
| showShortKeys | boolean | true | Показывать сочетания клавиш для действия в хинте |
|
|
32
|
+
| onChangeViewMode? | (mode: ViewMode) => void | true | Callback изменения режима редактирования или просмотра |
|
|
32
33
|
|
|
33
34
|
#### MarkdownApi
|
|
34
35
|
|
|
@@ -58,11 +59,14 @@
|
|
|
58
59
|
|
|
59
60
|
#### ColorScheme
|
|
60
61
|
|
|
61
|
-
| prop
|
|
62
|
-
|
|
63
|
-
| brand
|
|
64
|
-
| disabledButton
|
|
65
|
-
| grayDefault
|
|
66
|
-
| link
|
|
67
|
-
| panelBg
|
|
68
|
-
|
|
|
62
|
+
| prop | type | description |
|
|
63
|
+
|-------------------------------|--------|------------------------------------------------------------------------|
|
|
64
|
+
| brand | string | Цвет сервиса |
|
|
65
|
+
| disabledButton | string | Цвет текста кнопки для переменной btnDisabledTextColor |
|
|
66
|
+
| grayDefault | string | Основной серый цвет, используется в кнопках, чекбоксах, иконках и т.д. |
|
|
67
|
+
| link | string | Цвет ссылок |
|
|
68
|
+
| panelBg | string | Цвет панели, в режиме panel |
|
|
69
|
+
| text | string | Цвет текста |
|
|
70
|
+
| textInverse | string | Инвертированный цвет текста (text: black --> inverseText: white) |
|
|
71
|
+
| emojiPickerBackgroundRGBColor | string | Цвет фона emoji-picker (RGB) |
|
|
72
|
+
| emojiPickerBackgroundRGBColor | string | Цвет фона emoji-picker (RGB) |
|