@uzum-tech/ui 2.4.0 → 2.4.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/dist/index.js +173 -76
- package/dist/index.mjs +174 -77
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.mjs +1 -1
- package/es/_utils/markdown/constants.d.ts +1 -0
- package/es/_utils/markdown/constants.mjs +1 -0
- package/es/_utils/markdown/index.d.ts +1 -1
- package/es/_utils/markdown/index.mjs +1 -1
- package/es/_utils/markdown/render-markdown.d.ts +3 -0
- package/es/_utils/markdown/render-markdown.mjs +18 -3
- package/es/_utils/vue/index.d.ts +1 -0
- package/es/_utils/vue/index.mjs +1 -0
- package/es/_utils/vue/resolve-reactive.d.ts +3 -0
- package/es/_utils/vue/resolve-reactive.mjs +9 -0
- package/es/chat/src/ChatListItems.mjs +16 -11
- package/es/chat/src/ChatMainArea.mjs +2 -1
- package/es/chat/src/ChatMessages.d.ts +1 -1
- package/es/chat/src/ChatMessages.mjs +6 -5
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +1 -2
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +2 -1
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +3 -6
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +2 -1
- package/es/chat/src/interface.d.ts +17 -34
- package/es/chat/src/styles/index.cssr.mjs +11 -12
- package/es/chat/styles/light.mjs +2 -1
- package/es/chat/tests/utils/constants.d.ts +12 -0
- package/es/chat/tests/utils/constants.mjs +12 -0
- package/es/chat/tests/utils/create-chat-item-mock.d.ts +2 -0
- package/es/chat/tests/utils/create-chat-item-mock.mjs +9 -0
- package/es/chat/tests/utils/create-chat-message-mock.d.ts +2 -0
- package/es/chat/tests/utils/create-chat-message-mock.mjs +13 -0
- package/es/components.d.ts +87 -4
- package/es/config-provider/src/ConfigProvider.mjs +6 -2
- package/es/editor/index.d.ts +1 -1
- package/es/editor/src/Editor.d.ts +26 -0
- package/es/editor/src/Editor.mjs +25 -3
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +24 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +12 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +24 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +12 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.mjs +3 -1
- package/es/editor/src/composables/use-editor-css-vars.mjs +8 -0
- package/es/editor/src/extensions.d.ts +1 -1
- package/es/editor/src/extensions.mjs +8 -2
- package/es/editor/src/interface.d.ts +19 -1
- package/es/editor/src/interface.mjs +1 -0
- package/es/editor/src/styles/index.cssr.mjs +14 -2
- package/es/editor/styles/dark.d.ts +4 -0
- package/es/editor/styles/light.d.ts +8 -0
- package/es/editor/styles/light.mjs +4 -0
- package/es/locales/common/enUS.d.ts +1 -0
- package/es/locales/common/enUS.mjs +1 -0
- package/es/locales/common/ruRU.mjs +6 -7
- package/es/locales/common/uzUZ.mjs +1 -0
- package/es/locales/common/zhCN.mjs +1 -0
- package/es/locales/utils/date-locale.d.ts +2 -0
- package/es/locales/utils/date-locale.mjs +8 -0
- package/es/message-bubble/src/MessageBubble.d.ts +19 -10
- package/es/message-bubble/src/MessageBubble.mjs +21 -24
- package/es/message-bubble/src/interface.d.ts +9 -5
- package/es/message-bubble/src/interface.mjs +7 -3
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +3 -1
- package/lib/_utils/markdown/constants.d.ts +1 -0
- package/lib/_utils/markdown/constants.js +2 -1
- package/lib/_utils/markdown/index.d.ts +1 -1
- package/lib/_utils/markdown/index.js +4 -1
- package/lib/_utils/markdown/render-markdown.d.ts +3 -0
- package/lib/_utils/markdown/render-markdown.js +20 -2
- package/lib/_utils/vue/index.d.ts +1 -0
- package/lib/_utils/vue/index.js +4 -1
- package/lib/_utils/vue/resolve-reactive.d.ts +3 -0
- package/lib/_utils/vue/resolve-reactive.js +17 -0
- package/lib/chat/src/ChatListItems.js +20 -17
- package/lib/chat/src/ChatMainArea.js +2 -2
- package/lib/chat/src/ChatMessages.d.ts +1 -1
- package/lib/chat/src/ChatMessages.js +6 -5
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +2 -2
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +4 -1
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +2 -2
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +2 -2
- package/lib/chat/src/interface.d.ts +17 -34
- package/lib/chat/src/styles/index.cssr.js +11 -12
- package/lib/chat/styles/light.js +3 -1
- package/lib/chat/tests/utils/constants.d.ts +12 -0
- package/lib/chat/tests/utils/constants.js +15 -0
- package/lib/chat/tests/utils/create-chat-item-mock.d.ts +2 -0
- package/lib/chat/tests/utils/create-chat-item-mock.js +10 -0
- package/lib/chat/tests/utils/create-chat-message-mock.d.ts +2 -0
- package/lib/chat/tests/utils/create-chat-message-mock.js +14 -0
- package/lib/components.d.ts +87 -4
- package/lib/config-provider/src/ConfigProvider.js +7 -4
- package/lib/editor/index.d.ts +1 -1
- package/lib/editor/src/Editor.d.ts +28 -2
- package/lib/editor/src/Editor.js +22 -2
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +24 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +12 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +24 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +1 -1
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +12 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.js +1 -1
- package/lib/editor/src/composables/use-editor-css-vars.js +5 -1
- package/lib/editor/src/extensions.d.ts +1 -1
- package/lib/editor/src/extensions.js +8 -3
- package/lib/editor/src/interface.d.ts +19 -1
- package/lib/editor/src/interface.js +1 -1
- package/lib/editor/src/styles/index.cssr.js +14 -2
- package/lib/editor/styles/dark.d.ts +4 -0
- package/lib/editor/styles/light.d.ts +8 -0
- package/lib/editor/styles/light.js +4 -0
- package/lib/locales/common/enUS.d.ts +1 -0
- package/lib/locales/common/enUS.js +1 -0
- package/lib/locales/common/ruRU.js +6 -7
- package/lib/locales/common/uzUZ.js +1 -0
- package/lib/locales/common/zhCN.js +1 -0
- package/lib/locales/utils/date-locale.d.ts +2 -0
- package/lib/locales/utils/date-locale.js +14 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +19 -10
- package/lib/message-bubble/src/MessageBubble.js +26 -25
- package/lib/message-bubble/src/interface.d.ts +9 -5
- package/lib/message-bubble/src/interface.js +6 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +26 -9
|
@@ -27,6 +27,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
toolbarDividerColor: string;
|
|
28
28
|
toolbarButtonColorActive: string;
|
|
29
29
|
toolbarButtonColorHover: string;
|
|
30
|
+
toolbarButtonRippleColor: string;
|
|
31
|
+
toolbarButtonWaveOpacity: string;
|
|
30
32
|
toolbarIconColorDisabled: string;
|
|
31
33
|
toolbarIconColorActive: string;
|
|
32
34
|
toolbarIconColorHover: string;
|
|
@@ -36,6 +38,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
38
|
placeholderColor: string;
|
|
37
39
|
sendButtonColor: string;
|
|
38
40
|
sendButtonColorDisabled: string;
|
|
41
|
+
sendButtonRippleColor: string;
|
|
42
|
+
sendButtonWaveOpacity: string;
|
|
39
43
|
sendButtonIconSize: string;
|
|
40
44
|
blockTypeTriggerHeight: string;
|
|
41
45
|
blockTypeTriggerPadding: string;
|
|
@@ -655,6 +659,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
655
659
|
toolbarDividerColor: string;
|
|
656
660
|
toolbarButtonColorActive: string;
|
|
657
661
|
toolbarButtonColorHover: string;
|
|
662
|
+
toolbarButtonRippleColor: string;
|
|
663
|
+
toolbarButtonWaveOpacity: string;
|
|
658
664
|
toolbarIconColorDisabled: string;
|
|
659
665
|
toolbarIconColorActive: string;
|
|
660
666
|
toolbarIconColorHover: string;
|
|
@@ -664,6 +670,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
664
670
|
placeholderColor: string;
|
|
665
671
|
sendButtonColor: string;
|
|
666
672
|
sendButtonColorDisabled: string;
|
|
673
|
+
sendButtonRippleColor: string;
|
|
674
|
+
sendButtonWaveOpacity: string;
|
|
667
675
|
sendButtonIconSize: string;
|
|
668
676
|
blockTypeTriggerHeight: string;
|
|
669
677
|
blockTypeTriggerPadding: string;
|
|
@@ -1283,6 +1291,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1283
1291
|
toolbarDividerColor: string;
|
|
1284
1292
|
toolbarButtonColorActive: string;
|
|
1285
1293
|
toolbarButtonColorHover: string;
|
|
1294
|
+
toolbarButtonRippleColor: string;
|
|
1295
|
+
toolbarButtonWaveOpacity: string;
|
|
1286
1296
|
toolbarIconColorDisabled: string;
|
|
1287
1297
|
toolbarIconColorActive: string;
|
|
1288
1298
|
toolbarIconColorHover: string;
|
|
@@ -1292,6 +1302,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1292
1302
|
placeholderColor: string;
|
|
1293
1303
|
sendButtonColor: string;
|
|
1294
1304
|
sendButtonColorDisabled: string;
|
|
1305
|
+
sendButtonRippleColor: string;
|
|
1306
|
+
sendButtonWaveOpacity: string;
|
|
1295
1307
|
sendButtonIconSize: string;
|
|
1296
1308
|
blockTypeTriggerHeight: string;
|
|
1297
1309
|
blockTypeTriggerPadding: string;
|
|
@@ -2194,6 +2206,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2194
2206
|
toolbarDividerColor: string;
|
|
2195
2207
|
toolbarButtonColorActive: string;
|
|
2196
2208
|
toolbarButtonColorHover: string;
|
|
2209
|
+
toolbarButtonRippleColor: string;
|
|
2210
|
+
toolbarButtonWaveOpacity: string;
|
|
2197
2211
|
toolbarIconColorDisabled: string;
|
|
2198
2212
|
toolbarIconColorActive: string;
|
|
2199
2213
|
toolbarIconColorHover: string;
|
|
@@ -2203,6 +2217,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2203
2217
|
placeholderColor: string;
|
|
2204
2218
|
sendButtonColor: string;
|
|
2205
2219
|
sendButtonColorDisabled: string;
|
|
2220
|
+
sendButtonRippleColor: string;
|
|
2221
|
+
sendButtonWaveOpacity: string;
|
|
2206
2222
|
sendButtonIconSize: string;
|
|
2207
2223
|
blockTypeTriggerHeight: string;
|
|
2208
2224
|
blockTypeTriggerPadding: string;
|
|
@@ -2822,6 +2838,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2822
2838
|
toolbarDividerColor: string;
|
|
2823
2839
|
toolbarButtonColorActive: string;
|
|
2824
2840
|
toolbarButtonColorHover: string;
|
|
2841
|
+
toolbarButtonRippleColor: string;
|
|
2842
|
+
toolbarButtonWaveOpacity: string;
|
|
2825
2843
|
toolbarIconColorDisabled: string;
|
|
2826
2844
|
toolbarIconColorActive: string;
|
|
2827
2845
|
toolbarIconColorHover: string;
|
|
@@ -2831,6 +2849,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2831
2849
|
placeholderColor: string;
|
|
2832
2850
|
sendButtonColor: string;
|
|
2833
2851
|
sendButtonColorDisabled: string;
|
|
2852
|
+
sendButtonRippleColor: string;
|
|
2853
|
+
sendButtonWaveOpacity: string;
|
|
2834
2854
|
sendButtonIconSize: string;
|
|
2835
2855
|
blockTypeTriggerHeight: string;
|
|
2836
2856
|
blockTypeTriggerPadding: string;
|
|
@@ -3450,6 +3470,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3450
3470
|
toolbarDividerColor: string;
|
|
3451
3471
|
toolbarButtonColorActive: string;
|
|
3452
3472
|
toolbarButtonColorHover: string;
|
|
3473
|
+
toolbarButtonRippleColor: string;
|
|
3474
|
+
toolbarButtonWaveOpacity: string;
|
|
3453
3475
|
toolbarIconColorDisabled: string;
|
|
3454
3476
|
toolbarIconColorActive: string;
|
|
3455
3477
|
toolbarIconColorHover: string;
|
|
@@ -3459,6 +3481,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3459
3481
|
placeholderColor: string;
|
|
3460
3482
|
sendButtonColor: string;
|
|
3461
3483
|
sendButtonColorDisabled: string;
|
|
3484
|
+
sendButtonRippleColor: string;
|
|
3485
|
+
sendButtonWaveOpacity: string;
|
|
3462
3486
|
sendButtonIconSize: string;
|
|
3463
3487
|
blockTypeTriggerHeight: string;
|
|
3464
3488
|
blockTypeTriggerPadding: string;
|
|
@@ -27,6 +27,8 @@ export declare const editorContentProps: {
|
|
|
27
27
|
toolbarDividerColor: string;
|
|
28
28
|
toolbarButtonColorActive: string;
|
|
29
29
|
toolbarButtonColorHover: string;
|
|
30
|
+
toolbarButtonRippleColor: string;
|
|
31
|
+
toolbarButtonWaveOpacity: string;
|
|
30
32
|
toolbarIconColorDisabled: string;
|
|
31
33
|
toolbarIconColorActive: string;
|
|
32
34
|
toolbarIconColorHover: string;
|
|
@@ -36,6 +38,8 @@ export declare const editorContentProps: {
|
|
|
36
38
|
placeholderColor: string;
|
|
37
39
|
sendButtonColor: string;
|
|
38
40
|
sendButtonColorDisabled: string;
|
|
41
|
+
sendButtonRippleColor: string;
|
|
42
|
+
sendButtonWaveOpacity: string;
|
|
39
43
|
sendButtonIconSize: string;
|
|
40
44
|
blockTypeTriggerHeight: string;
|
|
41
45
|
blockTypeTriggerPadding: string;
|
|
@@ -655,6 +659,8 @@ export declare const editorContentProps: {
|
|
|
655
659
|
toolbarDividerColor: string;
|
|
656
660
|
toolbarButtonColorActive: string;
|
|
657
661
|
toolbarButtonColorHover: string;
|
|
662
|
+
toolbarButtonRippleColor: string;
|
|
663
|
+
toolbarButtonWaveOpacity: string;
|
|
658
664
|
toolbarIconColorDisabled: string;
|
|
659
665
|
toolbarIconColorActive: string;
|
|
660
666
|
toolbarIconColorHover: string;
|
|
@@ -664,6 +670,8 @@ export declare const editorContentProps: {
|
|
|
664
670
|
placeholderColor: string;
|
|
665
671
|
sendButtonColor: string;
|
|
666
672
|
sendButtonColorDisabled: string;
|
|
673
|
+
sendButtonRippleColor: string;
|
|
674
|
+
sendButtonWaveOpacity: string;
|
|
667
675
|
sendButtonIconSize: string;
|
|
668
676
|
blockTypeTriggerHeight: string;
|
|
669
677
|
blockTypeTriggerPadding: string;
|
|
@@ -1283,6 +1291,8 @@ export declare const editorContentProps: {
|
|
|
1283
1291
|
toolbarDividerColor: string;
|
|
1284
1292
|
toolbarButtonColorActive: string;
|
|
1285
1293
|
toolbarButtonColorHover: string;
|
|
1294
|
+
toolbarButtonRippleColor: string;
|
|
1295
|
+
toolbarButtonWaveOpacity: string;
|
|
1286
1296
|
toolbarIconColorDisabled: string;
|
|
1287
1297
|
toolbarIconColorActive: string;
|
|
1288
1298
|
toolbarIconColorHover: string;
|
|
@@ -1292,6 +1302,8 @@ export declare const editorContentProps: {
|
|
|
1292
1302
|
placeholderColor: string;
|
|
1293
1303
|
sendButtonColor: string;
|
|
1294
1304
|
sendButtonColorDisabled: string;
|
|
1305
|
+
sendButtonRippleColor: string;
|
|
1306
|
+
sendButtonWaveOpacity: string;
|
|
1295
1307
|
sendButtonIconSize: string;
|
|
1296
1308
|
blockTypeTriggerHeight: string;
|
|
1297
1309
|
blockTypeTriggerPadding: string;
|
|
@@ -27,6 +27,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
toolbarDividerColor: string;
|
|
28
28
|
toolbarButtonColorActive: string;
|
|
29
29
|
toolbarButtonColorHover: string;
|
|
30
|
+
toolbarButtonRippleColor: string;
|
|
31
|
+
toolbarButtonWaveOpacity: string;
|
|
30
32
|
toolbarIconColorDisabled: string;
|
|
31
33
|
toolbarIconColorActive: string;
|
|
32
34
|
toolbarIconColorHover: string;
|
|
@@ -36,6 +38,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
38
|
placeholderColor: string;
|
|
37
39
|
sendButtonColor: string;
|
|
38
40
|
sendButtonColorDisabled: string;
|
|
41
|
+
sendButtonRippleColor: string;
|
|
42
|
+
sendButtonWaveOpacity: string;
|
|
39
43
|
sendButtonIconSize: string;
|
|
40
44
|
blockTypeTriggerHeight: string;
|
|
41
45
|
blockTypeTriggerPadding: string;
|
|
@@ -655,6 +659,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
655
659
|
toolbarDividerColor: string;
|
|
656
660
|
toolbarButtonColorActive: string;
|
|
657
661
|
toolbarButtonColorHover: string;
|
|
662
|
+
toolbarButtonRippleColor: string;
|
|
663
|
+
toolbarButtonWaveOpacity: string;
|
|
658
664
|
toolbarIconColorDisabled: string;
|
|
659
665
|
toolbarIconColorActive: string;
|
|
660
666
|
toolbarIconColorHover: string;
|
|
@@ -664,6 +670,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
664
670
|
placeholderColor: string;
|
|
665
671
|
sendButtonColor: string;
|
|
666
672
|
sendButtonColorDisabled: string;
|
|
673
|
+
sendButtonRippleColor: string;
|
|
674
|
+
sendButtonWaveOpacity: string;
|
|
667
675
|
sendButtonIconSize: string;
|
|
668
676
|
blockTypeTriggerHeight: string;
|
|
669
677
|
blockTypeTriggerPadding: string;
|
|
@@ -1283,6 +1291,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1283
1291
|
toolbarDividerColor: string;
|
|
1284
1292
|
toolbarButtonColorActive: string;
|
|
1285
1293
|
toolbarButtonColorHover: string;
|
|
1294
|
+
toolbarButtonRippleColor: string;
|
|
1295
|
+
toolbarButtonWaveOpacity: string;
|
|
1286
1296
|
toolbarIconColorDisabled: string;
|
|
1287
1297
|
toolbarIconColorActive: string;
|
|
1288
1298
|
toolbarIconColorHover: string;
|
|
@@ -1292,6 +1302,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1292
1302
|
placeholderColor: string;
|
|
1293
1303
|
sendButtonColor: string;
|
|
1294
1304
|
sendButtonColorDisabled: string;
|
|
1305
|
+
sendButtonRippleColor: string;
|
|
1306
|
+
sendButtonWaveOpacity: string;
|
|
1295
1307
|
sendButtonIconSize: string;
|
|
1296
1308
|
blockTypeTriggerHeight: string;
|
|
1297
1309
|
blockTypeTriggerPadding: string;
|
|
@@ -2698,6 +2710,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2698
2710
|
toolbarDividerColor: string;
|
|
2699
2711
|
toolbarButtonColorActive: string;
|
|
2700
2712
|
toolbarButtonColorHover: string;
|
|
2713
|
+
toolbarButtonRippleColor: string;
|
|
2714
|
+
toolbarButtonWaveOpacity: string;
|
|
2701
2715
|
toolbarIconColorDisabled: string;
|
|
2702
2716
|
toolbarIconColorActive: string;
|
|
2703
2717
|
toolbarIconColorHover: string;
|
|
@@ -2707,6 +2721,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2707
2721
|
placeholderColor: string;
|
|
2708
2722
|
sendButtonColor: string;
|
|
2709
2723
|
sendButtonColorDisabled: string;
|
|
2724
|
+
sendButtonRippleColor: string;
|
|
2725
|
+
sendButtonWaveOpacity: string;
|
|
2710
2726
|
sendButtonIconSize: string;
|
|
2711
2727
|
blockTypeTriggerHeight: string;
|
|
2712
2728
|
blockTypeTriggerPadding: string;
|
|
@@ -3326,6 +3342,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3326
3342
|
toolbarDividerColor: string;
|
|
3327
3343
|
toolbarButtonColorActive: string;
|
|
3328
3344
|
toolbarButtonColorHover: string;
|
|
3345
|
+
toolbarButtonRippleColor: string;
|
|
3346
|
+
toolbarButtonWaveOpacity: string;
|
|
3329
3347
|
toolbarIconColorDisabled: string;
|
|
3330
3348
|
toolbarIconColorActive: string;
|
|
3331
3349
|
toolbarIconColorHover: string;
|
|
@@ -3335,6 +3353,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3335
3353
|
placeholderColor: string;
|
|
3336
3354
|
sendButtonColor: string;
|
|
3337
3355
|
sendButtonColorDisabled: string;
|
|
3356
|
+
sendButtonRippleColor: string;
|
|
3357
|
+
sendButtonWaveOpacity: string;
|
|
3338
3358
|
sendButtonIconSize: string;
|
|
3339
3359
|
blockTypeTriggerHeight: string;
|
|
3340
3360
|
blockTypeTriggerPadding: string;
|
|
@@ -3954,6 +3974,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3954
3974
|
toolbarDividerColor: string;
|
|
3955
3975
|
toolbarButtonColorActive: string;
|
|
3956
3976
|
toolbarButtonColorHover: string;
|
|
3977
|
+
toolbarButtonRippleColor: string;
|
|
3978
|
+
toolbarButtonWaveOpacity: string;
|
|
3957
3979
|
toolbarIconColorDisabled: string;
|
|
3958
3980
|
toolbarIconColorActive: string;
|
|
3959
3981
|
toolbarIconColorHover: string;
|
|
@@ -3963,6 +3985,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3963
3985
|
placeholderColor: string;
|
|
3964
3986
|
sendButtonColor: string;
|
|
3965
3987
|
sendButtonColorDisabled: string;
|
|
3988
|
+
sendButtonRippleColor: string;
|
|
3989
|
+
sendButtonWaveOpacity: string;
|
|
3966
3990
|
sendButtonIconSize: string;
|
|
3967
3991
|
blockTypeTriggerHeight: string;
|
|
3968
3992
|
blockTypeTriggerPadding: string;
|
package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js
CHANGED
|
@@ -20,7 +20,7 @@ function useEditorToolbarCustomization() {
|
|
|
20
20
|
borderRadiusTiny: '4px'
|
|
21
21
|
};
|
|
22
22
|
function createToolbarButtonThemeOverrides(themeVars, active) {
|
|
23
|
-
return Object.assign(Object.assign({}, TOOLBAR_BUTTON_SIZE_OVERRIDES), { color: active ? themeVars.toolbarButtonColorActive : 'transparent', colorHover: themeVars.toolbarButtonColorHover, colorPressed: themeVars.toolbarButtonColorActive, colorFocus: active ? themeVars.toolbarButtonColorActive : 'transparent', colorDisabled: 'transparent', textColor: active
|
|
23
|
+
return Object.assign(Object.assign({}, TOOLBAR_BUTTON_SIZE_OVERRIDES), { color: active ? themeVars.toolbarButtonColorActive : 'transparent', colorHover: themeVars.toolbarButtonColorHover, colorPressed: themeVars.toolbarButtonColorActive, colorFocus: active ? themeVars.toolbarButtonColorActive : 'transparent', colorDisabled: 'transparent', rippleColor: themeVars.toolbarButtonRippleColor, waveOpacity: themeVars.toolbarButtonWaveOpacity, textColor: active
|
|
24
24
|
? themeVars.toolbarIconColorActive
|
|
25
25
|
: themeVars.toolbarIconColor, textColorHover: active
|
|
26
26
|
? themeVars.toolbarIconColorActive
|
|
@@ -33,6 +33,8 @@ export declare const editorToolbarProps: {
|
|
|
33
33
|
toolbarDividerColor: string;
|
|
34
34
|
toolbarButtonColorActive: string;
|
|
35
35
|
toolbarButtonColorHover: string;
|
|
36
|
+
toolbarButtonRippleColor: string;
|
|
37
|
+
toolbarButtonWaveOpacity: string;
|
|
36
38
|
toolbarIconColorDisabled: string;
|
|
37
39
|
toolbarIconColorActive: string;
|
|
38
40
|
toolbarIconColorHover: string;
|
|
@@ -42,6 +44,8 @@ export declare const editorToolbarProps: {
|
|
|
42
44
|
placeholderColor: string;
|
|
43
45
|
sendButtonColor: string;
|
|
44
46
|
sendButtonColorDisabled: string;
|
|
47
|
+
sendButtonRippleColor: string;
|
|
48
|
+
sendButtonWaveOpacity: string;
|
|
45
49
|
sendButtonIconSize: string;
|
|
46
50
|
blockTypeTriggerHeight: string;
|
|
47
51
|
blockTypeTriggerPadding: string;
|
|
@@ -661,6 +665,8 @@ export declare const editorToolbarProps: {
|
|
|
661
665
|
toolbarDividerColor: string;
|
|
662
666
|
toolbarButtonColorActive: string;
|
|
663
667
|
toolbarButtonColorHover: string;
|
|
668
|
+
toolbarButtonRippleColor: string;
|
|
669
|
+
toolbarButtonWaveOpacity: string;
|
|
664
670
|
toolbarIconColorDisabled: string;
|
|
665
671
|
toolbarIconColorActive: string;
|
|
666
672
|
toolbarIconColorHover: string;
|
|
@@ -670,6 +676,8 @@ export declare const editorToolbarProps: {
|
|
|
670
676
|
placeholderColor: string;
|
|
671
677
|
sendButtonColor: string;
|
|
672
678
|
sendButtonColorDisabled: string;
|
|
679
|
+
sendButtonRippleColor: string;
|
|
680
|
+
sendButtonWaveOpacity: string;
|
|
673
681
|
sendButtonIconSize: string;
|
|
674
682
|
blockTypeTriggerHeight: string;
|
|
675
683
|
blockTypeTriggerPadding: string;
|
|
@@ -1289,6 +1297,8 @@ export declare const editorToolbarProps: {
|
|
|
1289
1297
|
toolbarDividerColor: string;
|
|
1290
1298
|
toolbarButtonColorActive: string;
|
|
1291
1299
|
toolbarButtonColorHover: string;
|
|
1300
|
+
toolbarButtonRippleColor: string;
|
|
1301
|
+
toolbarButtonWaveOpacity: string;
|
|
1292
1302
|
toolbarIconColorDisabled: string;
|
|
1293
1303
|
toolbarIconColorActive: string;
|
|
1294
1304
|
toolbarIconColorHover: string;
|
|
@@ -1298,6 +1308,8 @@ export declare const editorToolbarProps: {
|
|
|
1298
1308
|
placeholderColor: string;
|
|
1299
1309
|
sendButtonColor: string;
|
|
1300
1310
|
sendButtonColorDisabled: string;
|
|
1311
|
+
sendButtonRippleColor: string;
|
|
1312
|
+
sendButtonWaveOpacity: string;
|
|
1301
1313
|
sendButtonIconSize: string;
|
|
1302
1314
|
blockTypeTriggerHeight: string;
|
|
1303
1315
|
blockTypeTriggerPadding: string;
|
|
@@ -23,7 +23,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
23
23
|
},
|
|
24
24
|
render() {
|
|
25
25
|
return ((0, vue_1.h)(button_1.UxButton, Object.assign({ class: `${this.mergedClsPrefix}-editor__send-button`, size: "tiny", bordered: false, builtinThemeOverrides: this.buttonThemeOverrides, disabled: this.disabled, "aria-label": this.tooltip, onClick: this.handleClick }, this.buttonProps), {
|
|
26
|
-
icon: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({}, this.iconProps), {
|
|
26
|
+
icon: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({}, this.iconProps, { size: 20 }), {
|
|
27
27
|
default: () => { var _a, _b, _c; return (_c = (_b = (_a = this.$slots).icon) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (0, vue_1.h)(icons_1.SendFilled, null); }
|
|
28
28
|
}))
|
|
29
29
|
}));
|
|
@@ -5,7 +5,7 @@ const vue_1 = require("vue");
|
|
|
5
5
|
function useEditorCssVars(themeRef, themeVarsRef) {
|
|
6
6
|
return (0, vue_1.computed)(() => {
|
|
7
7
|
const { common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
8
|
-
const { backgroundColor, borderColor, borderRadius, toolbarBackgroundColor, toolbarDividerColor, toolbarButtonColorActive, toolbarButtonColorHover, toolbarIconColorDisabled, toolbarIconColorActive, toolbarIconColorHover, toolbarIconColor, contentBackgroundColor, contentTextColor, placeholderColor, sendButtonColor, blockTypeMenuWidth, blockTypeMenuColor, blockTypeMenuBorderColor, blockTypeMenuBorderRadius, blockTypeMenuBoxShadow, markdownQuoteBorderColor, markdownQuoteTextColor, markdownQuoteBackgroundColor, markdownQuoteMarkerColor, markdownDividerColor, markdownH1FontSize, markdownH2FontSize, markdownH3FontSize, markdownTextFontSize, markdownH1LineHeight, markdownH2LineHeight, markdownH3LineHeight, markdownTextLineHeight } = themeVarsRef.value;
|
|
8
|
+
const { backgroundColor, borderColor, borderRadius, toolbarBackgroundColor, toolbarDividerColor, toolbarButtonColorActive, toolbarButtonColorHover, toolbarButtonRippleColor, toolbarButtonWaveOpacity, toolbarIconColorDisabled, toolbarIconColorActive, toolbarIconColorHover, toolbarIconColor, contentBackgroundColor, contentTextColor, placeholderColor, sendButtonColor, sendButtonRippleColor, sendButtonWaveOpacity, blockTypeMenuWidth, blockTypeMenuColor, blockTypeMenuBorderColor, blockTypeMenuBorderRadius, blockTypeMenuBoxShadow, markdownQuoteBorderColor, markdownQuoteTextColor, markdownQuoteBackgroundColor, markdownQuoteMarkerColor, markdownDividerColor, markdownH1FontSize, markdownH2FontSize, markdownH3FontSize, markdownTextFontSize, markdownH1LineHeight, markdownH2LineHeight, markdownH3LineHeight, markdownTextLineHeight } = themeVarsRef.value;
|
|
9
9
|
return {
|
|
10
10
|
'--u-bezier': cubicBezierEaseInOut,
|
|
11
11
|
'--u-editor-background-color': backgroundColor,
|
|
@@ -15,6 +15,8 @@ function useEditorCssVars(themeRef, themeVarsRef) {
|
|
|
15
15
|
'--u-editor-toolbar-divider-color': toolbarDividerColor,
|
|
16
16
|
'--u-editor-toolbar-button-color-active': toolbarButtonColorActive,
|
|
17
17
|
'--u-editor-toolbar-button-color-hover': toolbarButtonColorHover,
|
|
18
|
+
'--u-editor-toolbar-button-ripple-color': toolbarButtonRippleColor,
|
|
19
|
+
'--u-editor-toolbar-button-wave-opacity': toolbarButtonWaveOpacity,
|
|
18
20
|
'--u-editor-toolbar-icon-color-disabled': toolbarIconColorDisabled,
|
|
19
21
|
'--u-editor-toolbar-icon-color-active': toolbarIconColorActive,
|
|
20
22
|
'--u-editor-toolbar-icon-color-hover': toolbarIconColorHover,
|
|
@@ -23,6 +25,8 @@ function useEditorCssVars(themeRef, themeVarsRef) {
|
|
|
23
25
|
'--u-editor-content-text-color': contentTextColor,
|
|
24
26
|
'--u-editor-placeholder-color': placeholderColor,
|
|
25
27
|
'--u-editor-send-button-color': sendButtonColor,
|
|
28
|
+
'--u-editor-send-button-ripple-color': sendButtonRippleColor,
|
|
29
|
+
'--u-editor-send-button-wave-opacity': sendButtonWaveOpacity,
|
|
26
30
|
'--u-editor-block-type-menu-width': blockTypeMenuWidth,
|
|
27
31
|
'--u-editor-block-type-menu-color': blockTypeMenuColor,
|
|
28
32
|
'--u-editor-block-type-menu-border-color': blockTypeMenuBorderColor,
|
|
@@ -4,4 +4,4 @@ import { Extension } from '@tiptap/core';
|
|
|
4
4
|
export declare const MarkdownSource: Extension<any, any>;
|
|
5
5
|
export declare const SendShortcut: Extension<SendShortcutOptions, any>;
|
|
6
6
|
export declare const MarkdownPaste: Extension<MarkdownPasteOptions, any>;
|
|
7
|
-
export declare function createEditorExtensions({ placeholder, markdownOptions, extensions, maxLength, onSendShortcut }?: CreateEditorExtensionsOptions): Extensions;
|
|
7
|
+
export declare function createEditorExtensions({ placeholder, markdownOptions, extensions, nodeProps, maxLength, onSendShortcut }?: CreateEditorExtensionsOptions): Extensions;
|
|
@@ -99,7 +99,8 @@ exports.MarkdownPaste = core_1.Extension.create({
|
|
|
99
99
|
];
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
-
function createEditorExtensions({ placeholder = '', markdownOptions, extensions = [], maxLength, onSendShortcut } = {}) {
|
|
102
|
+
function createEditorExtensions({ placeholder = '', markdownOptions, extensions = [], nodeProps, maxLength, onSendShortcut } = {}) {
|
|
103
|
+
var _a, _b;
|
|
103
104
|
const normalizedOptions = (0, markdown_1.normalizeOptions)(markdownOptions);
|
|
104
105
|
const features = new Set(normalizedOptions.features);
|
|
105
106
|
const headingLevels = constants_1.EDITOR_HEADING_LEVELS.filter(level => level <= normalizedOptions.maxHeadingLevel);
|
|
@@ -114,8 +115,12 @@ function createEditorExtensions({ placeholder = '', markdownOptions, extensions
|
|
|
114
115
|
italic: features.has('italic') && {},
|
|
115
116
|
strike: features.has('strikethrough') && {},
|
|
116
117
|
heading: features.has('heading') && { levels: headingLevels },
|
|
117
|
-
bulletList: features.has('bulletList') && {
|
|
118
|
-
|
|
118
|
+
bulletList: features.has('bulletList') && {
|
|
119
|
+
HTMLAttributes: (_a = nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps.bulletList) !== null && _a !== void 0 ? _a : {}
|
|
120
|
+
},
|
|
121
|
+
orderedList: features.has('orderedList') && {
|
|
122
|
+
HTMLAttributes: (_b = nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps.orderedList) !== null && _b !== void 0 ? _b : {}
|
|
123
|
+
},
|
|
119
124
|
blockquote: features.has('blockquote') && {},
|
|
120
125
|
horizontalRule: features.has('divider') && {},
|
|
121
126
|
listItem: lists && {},
|
|
@@ -9,10 +9,15 @@ import type { ButtonProps } from '../../button';
|
|
|
9
9
|
import type { IconProps } from '../../icon';
|
|
10
10
|
import type { SelectProps } from '../../select';
|
|
11
11
|
import type { EditorTheme, EditorThemeVars } from '../styles';
|
|
12
|
+
export interface EditorNodeProps {
|
|
13
|
+
bulletList?: HTMLAttributes;
|
|
14
|
+
orderedList?: HTMLAttributes;
|
|
15
|
+
}
|
|
12
16
|
export interface CreateEditorExtensionsOptions {
|
|
13
|
-
placeholder?: string;
|
|
17
|
+
placeholder?: string | (() => string);
|
|
14
18
|
markdownOptions?: MarkdownOptions;
|
|
15
19
|
extensions?: Extensions;
|
|
20
|
+
nodeProps?: EditorNodeProps;
|
|
16
21
|
maxLength?: number;
|
|
17
22
|
onSendShortcut?: VoidFunction;
|
|
18
23
|
}
|
|
@@ -127,6 +132,7 @@ export declare const editorProps: {
|
|
|
127
132
|
readonly type: PropType<Extensions>;
|
|
128
133
|
readonly default: () => never[];
|
|
129
134
|
};
|
|
135
|
+
readonly nodeProps: PropType<EditorNodeProps>;
|
|
130
136
|
readonly onSend: PropType<MaybeArray<(value: string) => void>>;
|
|
131
137
|
readonly onFocus: PropType<MaybeArray<(event: FocusEvent) => void>>;
|
|
132
138
|
readonly onBlur: PropType<MaybeArray<(event: FocusEvent) => void>>;
|
|
@@ -140,6 +146,8 @@ export declare const editorProps: {
|
|
|
140
146
|
toolbarDividerColor: string;
|
|
141
147
|
toolbarButtonColorActive: string;
|
|
142
148
|
toolbarButtonColorHover: string;
|
|
149
|
+
toolbarButtonRippleColor: string;
|
|
150
|
+
toolbarButtonWaveOpacity: string;
|
|
143
151
|
toolbarIconColorDisabled: string;
|
|
144
152
|
toolbarIconColorActive: string;
|
|
145
153
|
toolbarIconColorHover: string;
|
|
@@ -149,6 +157,8 @@ export declare const editorProps: {
|
|
|
149
157
|
placeholderColor: string;
|
|
150
158
|
sendButtonColor: string;
|
|
151
159
|
sendButtonColorDisabled: string;
|
|
160
|
+
sendButtonRippleColor: string;
|
|
161
|
+
sendButtonWaveOpacity: string;
|
|
152
162
|
sendButtonIconSize: string;
|
|
153
163
|
blockTypeTriggerHeight: string;
|
|
154
164
|
blockTypeTriggerPadding: string;
|
|
@@ -768,6 +778,8 @@ export declare const editorProps: {
|
|
|
768
778
|
toolbarDividerColor: string;
|
|
769
779
|
toolbarButtonColorActive: string;
|
|
770
780
|
toolbarButtonColorHover: string;
|
|
781
|
+
toolbarButtonRippleColor: string;
|
|
782
|
+
toolbarButtonWaveOpacity: string;
|
|
771
783
|
toolbarIconColorDisabled: string;
|
|
772
784
|
toolbarIconColorActive: string;
|
|
773
785
|
toolbarIconColorHover: string;
|
|
@@ -777,6 +789,8 @@ export declare const editorProps: {
|
|
|
777
789
|
placeholderColor: string;
|
|
778
790
|
sendButtonColor: string;
|
|
779
791
|
sendButtonColorDisabled: string;
|
|
792
|
+
sendButtonRippleColor: string;
|
|
793
|
+
sendButtonWaveOpacity: string;
|
|
780
794
|
sendButtonIconSize: string;
|
|
781
795
|
blockTypeTriggerHeight: string;
|
|
782
796
|
blockTypeTriggerPadding: string;
|
|
@@ -1396,6 +1410,8 @@ export declare const editorProps: {
|
|
|
1396
1410
|
toolbarDividerColor: string;
|
|
1397
1411
|
toolbarButtonColorActive: string;
|
|
1398
1412
|
toolbarButtonColorHover: string;
|
|
1413
|
+
toolbarButtonRippleColor: string;
|
|
1414
|
+
toolbarButtonWaveOpacity: string;
|
|
1399
1415
|
toolbarIconColorDisabled: string;
|
|
1400
1416
|
toolbarIconColorActive: string;
|
|
1401
1417
|
toolbarIconColorHover: string;
|
|
@@ -1405,6 +1421,8 @@ export declare const editorProps: {
|
|
|
1405
1421
|
placeholderColor: string;
|
|
1406
1422
|
sendButtonColor: string;
|
|
1407
1423
|
sendButtonColorDisabled: string;
|
|
1424
|
+
sendButtonRippleColor: string;
|
|
1425
|
+
sendButtonWaveOpacity: string;
|
|
1408
1426
|
sendButtonIconSize: string;
|
|
1409
1427
|
blockTypeTriggerHeight: string;
|
|
1410
1428
|
blockTypeTriggerPadding: string;
|
|
@@ -19,4 +19,4 @@ exports.editorProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
|
|
|
19
19
|
}, disabled: Boolean, readonly: Boolean, autofocus: Boolean, maxLength: Number, maxRows: Number, toolbarButtonProps: Object, toolbarIconProps: Object, toolbarDropdownProps: Object, sendButtonProps: Object, sendIconProps: Object, contentProps: Object, extensions: {
|
|
20
20
|
type: Array,
|
|
21
21
|
default: () => []
|
|
22
|
-
}, onSend: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array] });
|
|
22
|
+
}, nodeProps: Object, onSend: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array] });
|
|
@@ -14,6 +14,8 @@ const cssr_1 = require("../../../_utils/cssr");
|
|
|
14
14
|
// --u-editor-toolbar-divider-color
|
|
15
15
|
// --u-editor-toolbar-button-color-active
|
|
16
16
|
// --u-editor-toolbar-button-color-hover
|
|
17
|
+
// --u-editor-toolbar-button-ripple-color
|
|
18
|
+
// --u-editor-toolbar-button-wave-opacity
|
|
17
19
|
// --u-editor-toolbar-icon-color-disabled
|
|
18
20
|
// --u-editor-toolbar-icon-color-active
|
|
19
21
|
// --u-editor-toolbar-icon-color-hover
|
|
@@ -22,6 +24,8 @@ const cssr_1 = require("../../../_utils/cssr");
|
|
|
22
24
|
// --u-editor-content-text-color
|
|
23
25
|
// --u-editor-placeholder-color
|
|
24
26
|
// --u-editor-send-button-color
|
|
27
|
+
// --u-editor-send-button-ripple-color
|
|
28
|
+
// --u-editor-send-button-wave-opacity
|
|
25
29
|
// --u-editor-block-type-menu-width
|
|
26
30
|
// --u-editor-block-type-menu-color
|
|
27
31
|
// --u-editor-block-type-menu-border-color
|
|
@@ -58,10 +62,14 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('editor', `
|
|
|
58
62
|
`), (0, cssr_1.cE)('toolbar-block-type', `
|
|
59
63
|
width: 71px;
|
|
60
64
|
`)]), (0, cssr_1.cE)('content-wrapper', `
|
|
65
|
+
position: relative;
|
|
66
|
+
box-sizing: border-box;
|
|
61
67
|
display: flex;
|
|
62
|
-
align-items:
|
|
68
|
+
align-items: center;
|
|
63
69
|
gap: 8px;
|
|
64
|
-
|
|
70
|
+
min-height: 40px;
|
|
71
|
+
padding: 6px 10px;
|
|
72
|
+
padding-right: 24px;
|
|
65
73
|
border: 2px solid var(--u-editor-border-color);
|
|
66
74
|
border-bottom-left-radius: 12px;
|
|
67
75
|
border-bottom-right-radius: 12px;
|
|
@@ -70,6 +78,10 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('editor', `
|
|
|
70
78
|
min-width: 0;
|
|
71
79
|
height: auto;
|
|
72
80
|
`), (0, cssr_1.cE)('send-button', `
|
|
81
|
+
position: absolute;
|
|
82
|
+
align-items: flex-start;
|
|
83
|
+
right: 6px;
|
|
84
|
+
top: 6px;
|
|
73
85
|
flex-shrink: 0;
|
|
74
86
|
`)]), (0, cssr_1.cE)('content', `
|
|
75
87
|
white-space: normal;
|
|
@@ -6,6 +6,8 @@ declare const editorDark: import("../../_mixins").Theme<"Editor", {
|
|
|
6
6
|
toolbarDividerColor: string;
|
|
7
7
|
toolbarButtonColorActive: string;
|
|
8
8
|
toolbarButtonColorHover: string;
|
|
9
|
+
toolbarButtonRippleColor: string;
|
|
10
|
+
toolbarButtonWaveOpacity: string;
|
|
9
11
|
toolbarIconColorDisabled: string;
|
|
10
12
|
toolbarIconColorActive: string;
|
|
11
13
|
toolbarIconColorHover: string;
|
|
@@ -15,6 +17,8 @@ declare const editorDark: import("../../_mixins").Theme<"Editor", {
|
|
|
15
17
|
placeholderColor: string;
|
|
16
18
|
sendButtonColor: string;
|
|
17
19
|
sendButtonColorDisabled: string;
|
|
20
|
+
sendButtonRippleColor: string;
|
|
21
|
+
sendButtonWaveOpacity: string;
|
|
18
22
|
sendButtonIconSize: string;
|
|
19
23
|
blockTypeTriggerHeight: string;
|
|
20
24
|
blockTypeTriggerPadding: string;
|
|
@@ -7,6 +7,8 @@ export declare function self(vars: ThemeCommonVars): {
|
|
|
7
7
|
toolbarDividerColor: string;
|
|
8
8
|
toolbarButtonColorActive: string;
|
|
9
9
|
toolbarButtonColorHover: string;
|
|
10
|
+
toolbarButtonRippleColor: string;
|
|
11
|
+
toolbarButtonWaveOpacity: string;
|
|
10
12
|
toolbarIconColorDisabled: string;
|
|
11
13
|
toolbarIconColorActive: string;
|
|
12
14
|
toolbarIconColorHover: string;
|
|
@@ -16,6 +18,8 @@ export declare function self(vars: ThemeCommonVars): {
|
|
|
16
18
|
placeholderColor: string;
|
|
17
19
|
sendButtonColor: string;
|
|
18
20
|
sendButtonColorDisabled: string;
|
|
21
|
+
sendButtonRippleColor: string;
|
|
22
|
+
sendButtonWaveOpacity: string;
|
|
19
23
|
sendButtonIconSize: string;
|
|
20
24
|
blockTypeTriggerHeight: string;
|
|
21
25
|
blockTypeTriggerPadding: string;
|
|
@@ -52,6 +56,8 @@ declare const editorLight: import("../../_mixins").Theme<"Editor", {
|
|
|
52
56
|
toolbarDividerColor: string;
|
|
53
57
|
toolbarButtonColorActive: string;
|
|
54
58
|
toolbarButtonColorHover: string;
|
|
59
|
+
toolbarButtonRippleColor: string;
|
|
60
|
+
toolbarButtonWaveOpacity: string;
|
|
55
61
|
toolbarIconColorDisabled: string;
|
|
56
62
|
toolbarIconColorActive: string;
|
|
57
63
|
toolbarIconColorHover: string;
|
|
@@ -61,6 +67,8 @@ declare const editorLight: import("../../_mixins").Theme<"Editor", {
|
|
|
61
67
|
placeholderColor: string;
|
|
62
68
|
sendButtonColor: string;
|
|
63
69
|
sendButtonColorDisabled: string;
|
|
70
|
+
sendButtonRippleColor: string;
|
|
71
|
+
sendButtonWaveOpacity: string;
|
|
64
72
|
sendButtonIconSize: string;
|
|
65
73
|
blockTypeTriggerHeight: string;
|
|
66
74
|
blockTypeTriggerPadding: string;
|
|
@@ -18,6 +18,8 @@ function self(vars) {
|
|
|
18
18
|
toolbarDividerColor: elementsQuaternary,
|
|
19
19
|
toolbarButtonColorActive: elementsQuaternary,
|
|
20
20
|
toolbarButtonColorHover: elementsQuaternary,
|
|
21
|
+
toolbarButtonRippleColor: elementsQuaternary,
|
|
22
|
+
toolbarButtonWaveOpacity: '0.6',
|
|
21
23
|
toolbarIconColorDisabled: elementsQuinary,
|
|
22
24
|
toolbarIconColorActive: brandPrimary500,
|
|
23
25
|
toolbarIconColorHover: textPrimary,
|
|
@@ -27,6 +29,8 @@ function self(vars) {
|
|
|
27
29
|
placeholderColor: textTertiary,
|
|
28
30
|
sendButtonColor: brandPrimary400,
|
|
29
31
|
sendButtonColorDisabled: elementsQuinary,
|
|
32
|
+
sendButtonRippleColor: brandPrimary400,
|
|
33
|
+
sendButtonWaveOpacity: '0.6',
|
|
30
34
|
sendButtonIconSize: iconMedium,
|
|
31
35
|
blockTypeTriggerHeight: heightMini,
|
|
32
36
|
blockTypeTriggerPadding: '0 8px 0 0',
|
|
@@ -39,17 +39,15 @@ const ruRu = {
|
|
|
39
39
|
datePlaceholder: 'Выбрать дату',
|
|
40
40
|
datetimePlaceholder: 'Выбрать дату и время',
|
|
41
41
|
monthPlaceholder: 'Выберите месяц',
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
weekPlaceholder: 'Select Week',
|
|
42
|
+
yearPlaceholder: 'Выберите год',
|
|
43
|
+
quarterPlaceholder: 'Выберите квартал',
|
|
44
|
+
weekPlaceholder: 'Выберите неделю',
|
|
46
45
|
startDatePlaceholder: 'Дата начала',
|
|
47
46
|
endDatePlaceholder: 'Дата окончания',
|
|
48
47
|
startDatetimePlaceholder: 'Дата и время начала',
|
|
49
48
|
endDatetimePlaceholder: 'Дата и время окончания',
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
endMonthPlaceholder: 'End Month',
|
|
49
|
+
startMonthPlaceholder: 'Месяц начала',
|
|
50
|
+
endMonthPlaceholder: 'Месяц окончания',
|
|
53
51
|
monthBeforeYear: true,
|
|
54
52
|
firstDayOfWeek: 0,
|
|
55
53
|
today: 'Сегодня'
|
|
@@ -143,6 +141,7 @@ const ruRu = {
|
|
|
143
141
|
uploading: 'Загружается'
|
|
144
142
|
},
|
|
145
143
|
Editor: {
|
|
144
|
+
placeholder: 'Написать сообщение...',
|
|
146
145
|
sendTooltip: 'Отправить',
|
|
147
146
|
boldTooltip: 'Жирный',
|
|
148
147
|
strikethroughTooltip: 'Зачёркнутый',
|