@uzum-tech/ui 2.3.8 → 2.4.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/dist/index.js +63601 -32546
- package/dist/index.mjs +64856 -33810
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_internal/icons/Bold.d.ts +2 -0
- package/es/_internal/icons/Bold.mjs +29 -0
- package/es/_internal/icons/BulletList.d.ts +2 -0
- package/es/_internal/icons/BulletList.mjs +23 -0
- package/es/_internal/icons/HorizontalRule.d.ts +2 -0
- package/es/_internal/icons/HorizontalRule.mjs +14 -0
- package/es/_internal/icons/Italic.d.ts +2 -0
- package/es/_internal/icons/Italic.mjs +19 -0
- package/es/_internal/icons/NumberedList.d.ts +2 -0
- package/es/_internal/icons/NumberedList.mjs +23 -0
- package/es/_internal/icons/Quote.d.ts +2 -0
- package/es/_internal/icons/Quote.mjs +23 -0
- package/es/_internal/icons/SettingsLine.d.ts +2 -0
- package/es/_internal/icons/SettingsLine.mjs +19 -0
- package/es/_internal/icons/Strikethrough.d.ts +2 -0
- package/es/_internal/icons/Strikethrough.mjs +14 -0
- package/es/_internal/icons/index.d.ts +8 -0
- package/es/_internal/icons/index.mjs +8 -0
- package/es/_styles/markdown/markdown-content.cssr.d.ts +6 -0
- package/es/_styles/markdown/markdown-content.cssr.mjs +22 -0
- package/es/_utils/markdown/index.d.ts +3 -2
- package/es/_utils/markdown/index.mjs +2 -1
- package/es/_utils/markdown/render-markdown.d.ts +2 -1
- package/es/_utils/markdown/render-markdown.mjs +1 -1
- package/es/chat/src/Chat.d.ts +261 -24
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatMainArea.d.ts +81 -8
- package/es/chat/src/ChatMainArea.mjs +111 -355
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +71 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.mjs +19 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +78 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.mjs +15 -0
- package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
- package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.mjs +63 -0
- package/es/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
- package/es/chat/src/ChatParts/ChatEditorInput/interface.mjs +34 -0
- package/es/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
- package/es/chat/src/ChatParts/ChatFooter/ChatFooter.mjs +99 -0
- package/es/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
- package/es/chat/src/ChatParts/ChatFooter/interface.mjs +46 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +219 -0
- package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
- package/es/chat/src/ChatParts/ChatHeader/interface.mjs +67 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +129 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.mjs +27 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.mjs +92 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/interface.mjs +58 -0
- package/es/chat/src/interface.d.ts +7 -0
- package/es/chat/src/interface.mjs +4 -0
- package/es/chat/styles/light.d.ts +4 -0
- package/es/chat/styles/light.mjs +18 -0
- package/es/components.d.ts +12933 -32
- package/es/components.mjs +5 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +220 -0
- package/es/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
- package/es/data-table/src/ColumnSettings/styles.cssr.mjs +25 -0
- package/es/data-table/src/DataTable.d.ts +60 -2
- package/es/data-table/src/DataTable.mjs +99 -23
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
- package/es/data-table/src/interface.d.ts +53 -1
- package/es/data-table/src/interface.mjs +18 -1
- package/es/data-table/src/styles/index.cssr.mjs +17 -1
- package/es/data-table/src/use-column-settings.d.ts +2 -0
- package/es/data-table/src/use-column-settings.mjs +124 -0
- package/es/data-table/src/utils/column-utils.d.ts +2 -1
- package/es/data-table/src/utils/column-utils.mjs +6 -0
- package/es/editor/index.d.ts +10 -0
- package/es/editor/index.mjs +5 -0
- package/es/editor/src/Editor.d.ts +3896 -0
- package/es/editor/src/Editor.mjs +220 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.mjs +63 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/interface.mjs +14 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4078 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +154 -0
- package/es/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
- package/es/editor/src/EditorParts/EditorContent/index.mjs +2 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +1906 -0
- package/es/editor/src/EditorParts/EditorContent/interface.mjs +17 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4582 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.mjs +170 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +54 -0
- package/es/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/index.mjs +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +1912 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.mjs +18 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.mjs +42 -0
- package/es/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
- package/es/editor/src/EditorParts/SendButton/interface.mjs +8 -0
- package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
- package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.mjs +44 -0
- package/es/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
- package/es/editor/src/EditorParts/ToolbarButton/interface.mjs +13 -0
- package/es/editor/src/composables/use-editor-commands.d.ts +8 -0
- package/es/editor/src/composables/use-editor-commands.mjs +69 -0
- package/es/editor/src/composables/use-editor-css-vars.d.ts +4 -0
- package/es/editor/src/composables/use-editor-css-vars.mjs +81 -0
- package/es/editor/src/constants.d.ts +12 -0
- package/es/editor/src/constants.mjs +25 -0
- package/es/editor/src/extensions.d.ts +7 -0
- package/es/editor/src/extensions.mjs +129 -0
- package/es/editor/src/interface.d.ts +2019 -0
- package/es/editor/src/interface.mjs +52 -0
- package/es/editor/src/markdown/constants.d.ts +8 -0
- package/es/editor/src/markdown/constants.mjs +206 -0
- package/es/editor/src/markdown/editor-serializer.d.ts +9 -0
- package/es/editor/src/markdown/editor-serializer.mjs +18 -0
- package/es/editor/src/markdown/escape.d.ts +2 -0
- package/es/editor/src/markdown/escape.mjs +24 -0
- package/es/editor/src/markdown/html.d.ts +1 -0
- package/es/editor/src/markdown/html.mjs +4 -0
- package/es/editor/src/markdown/parser.d.ts +4 -0
- package/es/editor/src/markdown/parser.mjs +36 -0
- package/es/editor/src/markdown/serializer-state.d.ts +10 -0
- package/es/editor/src/markdown/serializer-state.mjs +12 -0
- package/es/editor/src/markdown/serializer.d.ts +3 -0
- package/es/editor/src/markdown/serializer.mjs +8 -0
- package/es/editor/src/styles/index.cssr.d.ts +2 -0
- package/es/editor/src/styles/index.cssr.mjs +119 -0
- package/es/editor/styles/dark.d.ts +630 -0
- package/es/editor/styles/dark.mjs +21 -0
- package/es/editor/styles/index.d.ts +3 -0
- package/es/editor/styles/index.mjs +2 -0
- package/es/editor/styles/light.d.ts +677 -0
- package/es/editor/styles/light.mjs +87 -0
- package/es/editor/tests/fixtures/round-trip.d.ts +12 -0
- package/es/editor/tests/fixtures/round-trip.mjs +98 -0
- package/es/editor/tests/utils.d.ts +7 -0
- package/es/editor/tests/utils.mjs +27 -0
- package/es/locales/common/enUS.d.ts +21 -0
- package/es/locales/common/enUS.mjs +22 -1
- package/es/locales/common/ruRU.mjs +22 -1
- package/es/locales/common/uzUZ.mjs +22 -1
- package/es/locales/common/zhCN.mjs +22 -1
- package/es/message-bubble/src/styles/index.cssr.mjs +4 -17
- package/es/styles.d.ts +1 -0
- package/es/styles.mjs +1 -0
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/icons/Bold.d.ts +2 -0
- package/lib/_internal/icons/Bold.js +13 -0
- package/lib/_internal/icons/BulletList.d.ts +2 -0
- package/lib/_internal/icons/BulletList.js +13 -0
- package/lib/_internal/icons/HorizontalRule.d.ts +2 -0
- package/lib/_internal/icons/HorizontalRule.js +10 -0
- package/lib/_internal/icons/Italic.d.ts +2 -0
- package/lib/_internal/icons/Italic.js +11 -0
- package/lib/_internal/icons/NumberedList.d.ts +2 -0
- package/lib/_internal/icons/NumberedList.js +13 -0
- package/lib/_internal/icons/Quote.d.ts +2 -0
- package/lib/_internal/icons/Quote.js +13 -0
- package/lib/_internal/icons/SettingsLine.d.ts +2 -0
- package/lib/_internal/icons/SettingsLine.js +11 -0
- package/lib/_internal/icons/Strikethrough.d.ts +2 -0
- package/lib/_internal/icons/Strikethrough.js +10 -0
- package/lib/_internal/icons/index.d.ts +8 -0
- package/lib/_internal/icons/index.js +18 -2
- package/lib/_styles/markdown/markdown-content.cssr.d.ts +6 -0
- package/lib/_styles/markdown/markdown-content.cssr.js +28 -0
- package/lib/_utils/markdown/index.d.ts +3 -2
- package/lib/_utils/markdown/index.js +4 -1
- package/lib/_utils/markdown/render-markdown.d.ts +2 -1
- package/lib/_utils/markdown/render-markdown.js +1 -0
- package/lib/chat/src/Chat.d.ts +261 -24
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatMainArea.d.ts +81 -8
- package/lib/chat/src/ChatMainArea.js +93 -223
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +52 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.js +17 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +55 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.js +14 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.js +45 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/interface.js +37 -0
- package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
- package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.js +66 -0
- package/lib/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
- package/lib/chat/src/ChatParts/ChatFooter/interface.js +49 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +164 -0
- package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
- package/lib/chat/src/ChatParts/ChatHeader/interface.js +53 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +98 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.js +23 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.js +49 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/interface.js +61 -0
- package/lib/chat/src/interface.d.ts +7 -0
- package/lib/chat/src/interface.js +3 -0
- package/lib/chat/styles/light.d.ts +4 -0
- package/lib/chat/styles/light.js +19 -0
- package/lib/components.d.ts +12933 -32
- package/lib/components.js +17 -7
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +181 -0
- package/lib/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
- package/lib/data-table/src/ColumnSettings/styles.cssr.js +30 -0
- package/lib/data-table/src/DataTable.d.ts +60 -2
- package/lib/data-table/src/DataTable.js +65 -23
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
- package/lib/data-table/src/interface.d.ts +53 -1
- package/lib/data-table/src/interface.js +17 -2
- package/lib/data-table/src/styles/index.cssr.js +17 -1
- package/lib/data-table/src/use-column-settings.d.ts +2 -0
- package/lib/data-table/src/use-column-settings.js +144 -0
- package/lib/data-table/src/utils/column-utils.d.ts +2 -1
- package/lib/data-table/src/utils/column-utils.js +5 -0
- package/lib/editor/index.d.ts +10 -0
- package/lib/editor/index.js +19 -0
- package/lib/editor/src/Editor.d.ts +3896 -0
- package/lib/editor/src/Editor.js +216 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.js +47 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/interface.js +17 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4078 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +121 -0
- package/lib/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
- package/lib/editor/src/EditorParts/EditorContent/index.js +10 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +1906 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.js +8 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4582 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.js +126 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +52 -0
- package/lib/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
- package/lib/editor/src/EditorParts/EditorToolbar/index.js +10 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +1912 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.js +11 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.js +31 -0
- package/lib/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
- package/lib/editor/src/EditorParts/SendButton/interface.js +11 -0
- package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
- package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.js +34 -0
- package/lib/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
- package/lib/editor/src/EditorParts/ToolbarButton/interface.js +16 -0
- package/lib/editor/src/composables/use-editor-commands.d.ts +8 -0
- package/lib/editor/src/composables/use-editor-commands.js +70 -0
- package/lib/editor/src/composables/use-editor-css-vars.d.ts +4 -0
- package/lib/editor/src/composables/use-editor-css-vars.js +46 -0
- package/lib/editor/src/constants.d.ts +12 -0
- package/lib/editor/src/constants.js +56 -0
- package/lib/editor/src/extensions.d.ts +7 -0
- package/lib/editor/src/extensions.js +136 -0
- package/lib/editor/src/interface.d.ts +2019 -0
- package/lib/editor/src/interface.js +22 -0
- package/lib/editor/src/markdown/constants.d.ts +8 -0
- package/lib/editor/src/markdown/constants.js +201 -0
- package/lib/editor/src/markdown/editor-serializer.d.ts +9 -0
- package/lib/editor/src/markdown/editor-serializer.js +20 -0
- package/lib/editor/src/markdown/escape.d.ts +2 -0
- package/lib/editor/src/markdown/escape.js +31 -0
- package/lib/editor/src/markdown/html.d.ts +1 -0
- package/lib/editor/src/markdown/html.js +9 -0
- package/lib/editor/src/markdown/parser.d.ts +4 -0
- package/lib/editor/src/markdown/parser.js +42 -0
- package/lib/editor/src/markdown/serializer-state.d.ts +10 -0
- package/lib/editor/src/markdown/serializer-state.js +16 -0
- package/lib/editor/src/markdown/serializer.d.ts +3 -0
- package/lib/editor/src/markdown/serializer.js +9 -0
- package/lib/editor/src/styles/index.cssr.d.ts +2 -0
- package/lib/editor/src/styles/index.cssr.js +124 -0
- package/lib/editor/styles/dark.d.ts +630 -0
- package/lib/editor/styles/dark.js +23 -0
- package/lib/editor/styles/index.d.ts +3 -0
- package/lib/editor/styles/index.js +10 -0
- package/lib/editor/styles/light.d.ts +677 -0
- package/lib/editor/styles/light.js +71 -0
- package/lib/editor/tests/fixtures/round-trip.d.ts +12 -0
- package/lib/editor/tests/fixtures/round-trip.js +125 -0
- package/lib/editor/tests/utils.d.ts +7 -0
- package/lib/editor/tests/utils.js +26 -0
- package/lib/locales/common/enUS.d.ts +21 -0
- package/lib/locales/common/enUS.js +22 -1
- package/lib/locales/common/ruRU.js +22 -1
- package/lib/locales/common/uzUZ.js +22 -1
- package/lib/locales/common/zhCN.js +22 -1
- package/lib/message-bubble/src/styles/index.cssr.js +4 -17
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +127 -125
- package/lib/themes/dark.js +136 -134
- package/lib/themes/light.js +136 -134
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -1
- package/volar.d.ts +3 -0
- package/web-types.json +437 -2
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.self = self;
|
|
4
|
+
const _mixins_1 = require("../../_mixins");
|
|
5
|
+
const common_1 = require("../../_styles/common");
|
|
6
|
+
const styles_1 = require("../../button/styles");
|
|
7
|
+
const styles_2 = require("../../divider/styles");
|
|
8
|
+
const styles_3 = require("../../icon/styles");
|
|
9
|
+
const styles_4 = require("../../select/styles");
|
|
10
|
+
const styles_5 = require("../../tooltip/styles");
|
|
11
|
+
function self(vars) {
|
|
12
|
+
const { borderRadiusLarge, containerSecondary, fontBodyMedium, heightMini, iconMedium, iconSmall, lineHeightTitleMedium, lineHeightTitleSmall, lineHeightBodyLarge, lineHeightBodyMedium, surfacePrimary, elementsQuaternary, elementsQuinary, textPrimary, textTertiary, brandPrimary100, brandPrimary400, brandPrimary500 } = vars;
|
|
13
|
+
return {
|
|
14
|
+
backgroundColor: surfacePrimary,
|
|
15
|
+
borderColor: elementsQuaternary,
|
|
16
|
+
borderRadius: borderRadiusLarge,
|
|
17
|
+
toolbarBackgroundColor: containerSecondary,
|
|
18
|
+
toolbarDividerColor: elementsQuaternary,
|
|
19
|
+
toolbarButtonColorActive: elementsQuaternary,
|
|
20
|
+
toolbarButtonColorHover: elementsQuaternary,
|
|
21
|
+
toolbarIconColorDisabled: elementsQuinary,
|
|
22
|
+
toolbarIconColorActive: brandPrimary500,
|
|
23
|
+
toolbarIconColorHover: textPrimary,
|
|
24
|
+
toolbarIconColor: textPrimary,
|
|
25
|
+
contentBackgroundColor: surfacePrimary,
|
|
26
|
+
contentTextColor: textPrimary,
|
|
27
|
+
placeholderColor: textTertiary,
|
|
28
|
+
sendButtonColor: brandPrimary400,
|
|
29
|
+
sendButtonColorDisabled: elementsQuinary,
|
|
30
|
+
sendButtonIconSize: iconMedium,
|
|
31
|
+
blockTypeTriggerHeight: heightMini,
|
|
32
|
+
blockTypeTriggerPadding: '0 8px 0 0',
|
|
33
|
+
blockTypeTriggerColor: 'transparent',
|
|
34
|
+
blockTypeTriggerTextColor: textPrimary,
|
|
35
|
+
blockTypeTriggerFontSize: fontBodyMedium,
|
|
36
|
+
blockTypeTriggerLineHeight: lineHeightBodyMedium,
|
|
37
|
+
blockTypeTriggerArrowSize: iconSmall,
|
|
38
|
+
blockTypeTriggerArrowColor: textPrimary,
|
|
39
|
+
blockTypeMenuWidth: '210px',
|
|
40
|
+
blockTypeMenuColor: surfacePrimary,
|
|
41
|
+
blockTypeMenuBorderColor: elementsQuaternary,
|
|
42
|
+
blockTypeMenuBorderRadius: borderRadiusLarge,
|
|
43
|
+
blockTypeMenuBoxShadow: '0 4px 8px 0 rgba(68, 83, 113, 0.05), 0 0 16px 0 rgba(68, 83, 113, 0.1)',
|
|
44
|
+
markdownQuoteBorderColor: textPrimary,
|
|
45
|
+
markdownQuoteTextColor: textPrimary,
|
|
46
|
+
markdownQuoteBackgroundColor: brandPrimary100,
|
|
47
|
+
markdownQuoteMarkerColor: brandPrimary500,
|
|
48
|
+
markdownDividerColor: textPrimary,
|
|
49
|
+
markdownH1FontSize: '20px',
|
|
50
|
+
markdownH2FontSize: '18px',
|
|
51
|
+
markdownH3FontSize: '16px',
|
|
52
|
+
markdownTextFontSize: '14px',
|
|
53
|
+
markdownH1LineHeight: lineHeightTitleMedium,
|
|
54
|
+
markdownH2LineHeight: lineHeightTitleSmall,
|
|
55
|
+
markdownH3LineHeight: lineHeightBodyLarge,
|
|
56
|
+
markdownTextLineHeight: lineHeightBodyMedium
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
const editorLight = (0, _mixins_1.createTheme)({
|
|
60
|
+
name: 'Editor',
|
|
61
|
+
common: common_1.commonLight,
|
|
62
|
+
peers: {
|
|
63
|
+
Button: styles_1.buttonLight,
|
|
64
|
+
Icon: styles_3.iconLight,
|
|
65
|
+
Select: styles_4.selectLight,
|
|
66
|
+
Tooltip: styles_5.tooltipLight,
|
|
67
|
+
Divider: styles_2.dividerLight
|
|
68
|
+
},
|
|
69
|
+
self
|
|
70
|
+
});
|
|
71
|
+
exports.default = editorLight;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = [
|
|
4
|
+
{
|
|
5
|
+
name: 'single tilde keeps its form',
|
|
6
|
+
input: '~текст~',
|
|
7
|
+
expected: '~текст~'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: 'double tilde keeps its form',
|
|
11
|
+
input: '~~текст~~',
|
|
12
|
+
expected: '~~текст~~'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: 'equals divider keeps its char and length',
|
|
16
|
+
input: '===',
|
|
17
|
+
expected: '==='
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'long equals divider keeps its length',
|
|
21
|
+
input: '=====',
|
|
22
|
+
expected: '====='
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'dash divider keeps its form',
|
|
26
|
+
input: '---',
|
|
27
|
+
expected: '---'
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'asterisk divider keeps its form',
|
|
31
|
+
input: '***',
|
|
32
|
+
expected: '***'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'underscore bold is not rewritten to asterisks',
|
|
36
|
+
input: '__жирный__',
|
|
37
|
+
expected: '__жирный__'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'underscore italic is not rewritten to asterisks',
|
|
41
|
+
input: '_курсив_',
|
|
42
|
+
expected: '_курсив_'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'paren ordered list keeps its delimiter',
|
|
46
|
+
input: '1) пункт',
|
|
47
|
+
expected: '1) пункт'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'dot ordered list keeps its delimiter',
|
|
51
|
+
input: '1. пункт',
|
|
52
|
+
expected: '1. пункт'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'asterisk bullet marker is not rewritten to a dash',
|
|
56
|
+
input: '* пункт',
|
|
57
|
+
expected: '* пункт'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'plus bullet marker is not rewritten to a dash',
|
|
61
|
+
input: '+ пункт',
|
|
62
|
+
expected: '+ пункт'
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'link address survives the round trip',
|
|
66
|
+
input: '[текст](https://example.com)',
|
|
67
|
+
expected: '[текст](https://example.com)'
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'image survives the round trip as literal text',
|
|
71
|
+
input: '',
|
|
72
|
+
expected: ''
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'headings keep their level',
|
|
76
|
+
input: '# H1',
|
|
77
|
+
expected: '# H1'
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'third level heading keeps its level',
|
|
81
|
+
input: '### H3',
|
|
82
|
+
expected: '### H3'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'clamped heading stays a paragraph without extra escaping',
|
|
86
|
+
input: '#### H4',
|
|
87
|
+
expected: '#### H4'
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'blockquote keeps its marker',
|
|
91
|
+
input: '> цитата',
|
|
92
|
+
expected: '> цитата'
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'tables are unsupported and survive as text',
|
|
96
|
+
input: '| a | b |',
|
|
97
|
+
expected: '| a | b |'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'backticks are unsupported and survive as text',
|
|
101
|
+
input: '`код`',
|
|
102
|
+
expected: '`код`'
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'asterisk in the middle of a line gets no escaping',
|
|
106
|
+
input: '5 * 3 = 15',
|
|
107
|
+
expected: '5 * 3 = 15'
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: 'underscore in the middle of a word gets no escaping',
|
|
111
|
+
input: 'snake_case_name',
|
|
112
|
+
expected: 'snake_case_name'
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: 'dash line is parsed as a list and keeps its marker',
|
|
116
|
+
input: '- дефис',
|
|
117
|
+
expected: '- дефис'
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'nested marks inside single tildes',
|
|
121
|
+
input: '~a **b**~',
|
|
122
|
+
expected: '~a **b**~',
|
|
123
|
+
skip: 'u_strikethrough не разбирает вложенную разметку внутри одинарных тильд; включить после исправления бага'
|
|
124
|
+
}
|
|
125
|
+
];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Extensions } from '@tiptap/core';
|
|
2
|
+
import type { ComponentMountingOptions, VueWrapper } from '@vue/test-utils';
|
|
3
|
+
import { Editor } from '@tiptap/vue-3';
|
|
4
|
+
import { UEditor } from '../index';
|
|
5
|
+
export declare function setupProseMirrorRects(): void;
|
|
6
|
+
export declare function mountEditor(props?: Record<string, unknown>, options?: ComponentMountingOptions<typeof UEditor>): VueWrapper<InstanceType<typeof UEditor>>;
|
|
7
|
+
export declare function createStandaloneEditor(content?: string, extensions?: Extensions): Editor;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setupProseMirrorRects = setupProseMirrorRects;
|
|
4
|
+
exports.mountEditor = mountEditor;
|
|
5
|
+
exports.createStandaloneEditor = createStandaloneEditor;
|
|
6
|
+
const vue_3_1 = require("@tiptap/vue-3");
|
|
7
|
+
const test_utils_1 = require("@vue/test-utils");
|
|
8
|
+
const index_1 = require("../index");
|
|
9
|
+
const extensions_1 = require("../src/extensions");
|
|
10
|
+
function setupProseMirrorRects() {
|
|
11
|
+
var _a, _b;
|
|
12
|
+
var _c, _d;
|
|
13
|
+
const emptyRects = () => ({ length: 0, item: () => null });
|
|
14
|
+
const emptyRect = () => new DOMRect();
|
|
15
|
+
(_a = (_c = Range.prototype).getClientRects) !== null && _a !== void 0 ? _a : (_c.getClientRects = emptyRects);
|
|
16
|
+
(_b = (_d = Range.prototype).getBoundingClientRect) !== null && _b !== void 0 ? _b : (_d.getBoundingClientRect = emptyRect);
|
|
17
|
+
}
|
|
18
|
+
function mountEditor(props = {}, options = {}) {
|
|
19
|
+
return (0, test_utils_1.mount)(index_1.UEditor, Object.assign({ props, attachTo: document.body }, options));
|
|
20
|
+
}
|
|
21
|
+
function createStandaloneEditor(content, extensions) {
|
|
22
|
+
return new vue_3_1.Editor({
|
|
23
|
+
extensions: extensions !== null && extensions !== void 0 ? extensions : (0, extensions_1.createEditorExtensions)(),
|
|
24
|
+
content
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -55,6 +55,13 @@ declare const enUS: {
|
|
|
55
55
|
uncheckTableAll: string;
|
|
56
56
|
confirm: string;
|
|
57
57
|
clear: string;
|
|
58
|
+
columnSettingsTitle: string;
|
|
59
|
+
columnSettingsButton: string;
|
|
60
|
+
columnSettingsSubtitle: string;
|
|
61
|
+
columnSettingsSelectAll: string;
|
|
62
|
+
columnSettingsReset: string;
|
|
63
|
+
columnSettingsCancel: string;
|
|
64
|
+
columnSettingsApply: string;
|
|
58
65
|
};
|
|
59
66
|
LegacyTransfer: {
|
|
60
67
|
sourceTitle: string;
|
|
@@ -128,6 +135,20 @@ declare const enUS: {
|
|
|
128
135
|
subtitle: string;
|
|
129
136
|
uploading: string;
|
|
130
137
|
};
|
|
138
|
+
Editor: {
|
|
139
|
+
sendTooltip: string;
|
|
140
|
+
boldTooltip: string;
|
|
141
|
+
strikethroughTooltip: string;
|
|
142
|
+
italicTooltip: string;
|
|
143
|
+
blockquoteTooltip: string;
|
|
144
|
+
dividerTooltip: string;
|
|
145
|
+
bulletListTooltip: string;
|
|
146
|
+
orderedListTooltip: string;
|
|
147
|
+
paragraphText: string;
|
|
148
|
+
heading1Text: string;
|
|
149
|
+
heading2Text: string;
|
|
150
|
+
heading3Text: string;
|
|
151
|
+
};
|
|
131
152
|
Chat: {
|
|
132
153
|
inputPlaceholder: string;
|
|
133
154
|
typingText: string;
|
|
@@ -56,7 +56,14 @@ const enUS = {
|
|
|
56
56
|
checkTableAll: 'Select all in the table',
|
|
57
57
|
uncheckTableAll: 'Unselect all in the table',
|
|
58
58
|
confirm: 'Confirm',
|
|
59
|
-
clear: 'Clear'
|
|
59
|
+
clear: 'Clear',
|
|
60
|
+
columnSettingsTitle: 'Table settings',
|
|
61
|
+
columnSettingsButton: 'Table settings',
|
|
62
|
+
columnSettingsSubtitle: 'Select columns and change their order',
|
|
63
|
+
columnSettingsSelectAll: 'Select all',
|
|
64
|
+
columnSettingsReset: 'Reset',
|
|
65
|
+
columnSettingsCancel: 'Cancel',
|
|
66
|
+
columnSettingsApply: 'Apply'
|
|
60
67
|
},
|
|
61
68
|
LegacyTransfer: {
|
|
62
69
|
sourceTitle: 'Source',
|
|
@@ -131,6 +138,20 @@ const enUS = {
|
|
|
131
138
|
subtitle: 'PDF, PNG, JPEG no more than 100 MB',
|
|
132
139
|
uploading: 'Uploading'
|
|
133
140
|
},
|
|
141
|
+
Editor: {
|
|
142
|
+
sendTooltip: 'Send',
|
|
143
|
+
boldTooltip: 'Bold',
|
|
144
|
+
strikethroughTooltip: 'Strikethrough',
|
|
145
|
+
italicTooltip: 'Italic',
|
|
146
|
+
blockquoteTooltip: 'Quote',
|
|
147
|
+
dividerTooltip: 'Divider',
|
|
148
|
+
bulletListTooltip: 'Bulleted list',
|
|
149
|
+
orderedListTooltip: 'Numbered list',
|
|
150
|
+
paragraphText: 'Text',
|
|
151
|
+
heading1Text: 'Heading 1',
|
|
152
|
+
heading2Text: 'Heading 2',
|
|
153
|
+
heading3Text: 'Heading 3'
|
|
154
|
+
},
|
|
134
155
|
Chat: {
|
|
135
156
|
inputPlaceholder: 'Type a message...',
|
|
136
157
|
typingText: 'Typing...',
|
|
@@ -58,7 +58,14 @@ const ruRu = {
|
|
|
58
58
|
checkTableAll: 'Выбрать все в таблице',
|
|
59
59
|
uncheckTableAll: 'Отменить все в таблице',
|
|
60
60
|
confirm: 'Подтвердить',
|
|
61
|
-
clear: 'Очистить'
|
|
61
|
+
clear: 'Очистить',
|
|
62
|
+
columnSettingsTitle: 'Настройки таблицы',
|
|
63
|
+
columnSettingsButton: 'Настройка таблицы',
|
|
64
|
+
columnSettingsSubtitle: 'Выберите колонки и измените их порядок',
|
|
65
|
+
columnSettingsSelectAll: 'Выбрать все',
|
|
66
|
+
columnSettingsReset: 'Сбросить',
|
|
67
|
+
columnSettingsCancel: 'Отмена',
|
|
68
|
+
columnSettingsApply: 'Применить'
|
|
62
69
|
},
|
|
63
70
|
LegacyTransfer: {
|
|
64
71
|
sourceTitle: 'Источник',
|
|
@@ -135,6 +142,20 @@ const ruRu = {
|
|
|
135
142
|
subtitle: 'PDF, PNG, JPEG не более 100 MB',
|
|
136
143
|
uploading: 'Загружается'
|
|
137
144
|
},
|
|
145
|
+
Editor: {
|
|
146
|
+
sendTooltip: 'Отправить',
|
|
147
|
+
boldTooltip: 'Жирный',
|
|
148
|
+
strikethroughTooltip: 'Зачёркнутый',
|
|
149
|
+
italicTooltip: 'Курсив',
|
|
150
|
+
blockquoteTooltip: 'Цитата',
|
|
151
|
+
dividerTooltip: 'Разделитель',
|
|
152
|
+
bulletListTooltip: 'Маркированный список',
|
|
153
|
+
orderedListTooltip: 'Нумерованный список',
|
|
154
|
+
paragraphText: 'Текст',
|
|
155
|
+
heading1Text: 'Заголовок 1',
|
|
156
|
+
heading2Text: 'Заголовок 2',
|
|
157
|
+
heading3Text: 'Заголовок 3'
|
|
158
|
+
},
|
|
138
159
|
Chat: {
|
|
139
160
|
inputPlaceholder: 'Написать сообщение...',
|
|
140
161
|
typingText: 'Печатает...',
|
|
@@ -56,7 +56,14 @@ const uzUZ = {
|
|
|
56
56
|
checkTableAll: 'Jadvaldagi barchasini tanlash',
|
|
57
57
|
uncheckTableAll: 'Jadvaldagi barcha tanlovni bekor qilish',
|
|
58
58
|
confirm: 'Tasdiqlash',
|
|
59
|
-
clear: 'Tozalash'
|
|
59
|
+
clear: 'Tozalash',
|
|
60
|
+
columnSettingsTitle: 'Jadval sozlamalari',
|
|
61
|
+
columnSettingsButton: 'Jadval sozlamalari',
|
|
62
|
+
columnSettingsSubtitle: 'Ustunlarni tanlang va tartibini o‘zgartiring',
|
|
63
|
+
columnSettingsSelectAll: 'Barchasini tanlash',
|
|
64
|
+
columnSettingsReset: 'Qayta o‘rnatish',
|
|
65
|
+
columnSettingsCancel: 'Bekor qilish',
|
|
66
|
+
columnSettingsApply: 'Qo‘llash'
|
|
60
67
|
},
|
|
61
68
|
LegacyTransfer: {
|
|
62
69
|
sourceTitle: 'Manba',
|
|
@@ -130,6 +137,20 @@ const uzUZ = {
|
|
|
130
137
|
subtitle: 'PDF, PNG, JPEG, 100 MB dan oshmasin',
|
|
131
138
|
uploading: 'Yuklanmoqda'
|
|
132
139
|
},
|
|
140
|
+
Editor: {
|
|
141
|
+
sendTooltip: 'Yuborish',
|
|
142
|
+
boldTooltip: 'Qalin',
|
|
143
|
+
strikethroughTooltip: 'Chizib o\'tilgan',
|
|
144
|
+
italicTooltip: 'Kursiv',
|
|
145
|
+
blockquoteTooltip: 'Iqtibos',
|
|
146
|
+
dividerTooltip: 'Ajratuvchi',
|
|
147
|
+
bulletListTooltip: 'Belgili ro\'yxat',
|
|
148
|
+
orderedListTooltip: 'Raqamli ro\'yxat',
|
|
149
|
+
paragraphText: 'Matn',
|
|
150
|
+
heading1Text: '1-sarlavha',
|
|
151
|
+
heading2Text: '2-sarlavha',
|
|
152
|
+
heading3Text: '3-sarlavha'
|
|
153
|
+
},
|
|
133
154
|
Chat: {
|
|
134
155
|
inputPlaceholder: 'Xabar yozing...',
|
|
135
156
|
typingText: 'Yozmoqda...',
|
|
@@ -56,7 +56,14 @@ const zhCN = {
|
|
|
56
56
|
checkTableAll: '选择全部表格数据',
|
|
57
57
|
uncheckTableAll: '取消选择全部表格数据',
|
|
58
58
|
confirm: '确认',
|
|
59
|
-
clear: '重置'
|
|
59
|
+
clear: '重置',
|
|
60
|
+
columnSettingsTitle: '表格设置',
|
|
61
|
+
columnSettingsButton: '表格设置',
|
|
62
|
+
columnSettingsSubtitle: '选择列并调整顺序',
|
|
63
|
+
columnSettingsSelectAll: '全选',
|
|
64
|
+
columnSettingsReset: '重置',
|
|
65
|
+
columnSettingsCancel: '取消',
|
|
66
|
+
columnSettingsApply: '应用'
|
|
60
67
|
},
|
|
61
68
|
LegacyTransfer: {
|
|
62
69
|
sourceTitle: '源项',
|
|
@@ -130,6 +137,20 @@ const zhCN = {
|
|
|
130
137
|
subtitle: 'PDF、PNG、JPEG,不超过 100 MB',
|
|
131
138
|
uploading: '上传中'
|
|
132
139
|
},
|
|
140
|
+
Editor: {
|
|
141
|
+
sendTooltip: '发送',
|
|
142
|
+
boldTooltip: '加粗',
|
|
143
|
+
strikethroughTooltip: '删除线',
|
|
144
|
+
italicTooltip: '斜体',
|
|
145
|
+
blockquoteTooltip: '引用',
|
|
146
|
+
dividerTooltip: '分割线',
|
|
147
|
+
bulletListTooltip: '无序列表',
|
|
148
|
+
orderedListTooltip: '有序列表',
|
|
149
|
+
paragraphText: '正文',
|
|
150
|
+
heading1Text: '标题 1',
|
|
151
|
+
heading2Text: '标题 2',
|
|
152
|
+
heading3Text: '标题 3'
|
|
153
|
+
},
|
|
133
154
|
Chat: {
|
|
134
155
|
inputPlaceholder: '输入消息...',
|
|
135
156
|
typingText: '正在输入...',
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
const markdown_content_cssr_1 = require("../../../_styles/markdown/markdown-content.cssr");
|
|
6
7
|
const cssr_1 = require("../../../_utils/cssr");
|
|
7
8
|
// vars:
|
|
8
9
|
// --u-bezier
|
|
@@ -85,23 +86,9 @@ exports.default = (0, cssr_1.cB)('message-bubble', `
|
|
|
85
86
|
`), (0, cssr_1.cE)('markdown', `
|
|
86
87
|
white-space: normal;
|
|
87
88
|
font-size: var(--u-message-bubble-markdown-text-font-size);
|
|
88
|
-
`,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
padding: 0 8px;
|
|
92
|
-
margin: 0;
|
|
93
|
-
background-color: var(--u-message-bubble-markdown-quote-background-color);
|
|
94
|
-
color: var(--u-message-bubble-markdown-quote-text-color);
|
|
95
|
-
`, [(0, cssr_1.c)('&::before', `
|
|
96
|
-
content: "";
|
|
97
|
-
width: 2px;
|
|
98
|
-
position: absolute;
|
|
99
|
-
left: 2px;
|
|
100
|
-
top: 2px;
|
|
101
|
-
bottom: 2px;
|
|
102
|
-
border-radius: 30px;
|
|
103
|
-
background-color: var(--u-message-bubble-markdown-quote-marker-color);
|
|
104
|
-
`)]), (0, cssr_1.c)('& > *:first-child', 'margin-top: 0;'), (0, cssr_1.c)('& > *:last-child', 'margin-bottom: 0;')]), (0, cssr_1.cE)('after-content', `
|
|
89
|
+
`, (0, markdown_content_cssr_1.markdownContentStyle)({
|
|
90
|
+
cssVarPrefix: '--u-message-bubble-markdown'
|
|
91
|
+
})), (0, cssr_1.cE)('after-content', `
|
|
105
92
|
white-space: normal;
|
|
106
93
|
`), (0, cssr_1.cE)('meta', `
|
|
107
94
|
display: flex;
|
package/lib/styles.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export { drawerDark, drawerRtl as unstableDrawerRtl } from './drawer/styles';
|
|
|
29
29
|
export { dropdownDark } from './dropdown/styles';
|
|
30
30
|
export { dynamicInputDark, dynamicInputRtl as unstableDynamicInputRtl } from './dynamic-input/styles';
|
|
31
31
|
export { dynamicTagsDark } from './dynamic-tags/styles';
|
|
32
|
+
export { editorDark } from './editor/styles';
|
|
32
33
|
export { elementDark } from './element/styles';
|
|
33
34
|
export { emptyDark } from './empty/styles';
|
|
34
35
|
export { floatButtonGroupDark } from './float-button-group/styles';
|