@uzum-tech/ui 2.4.0 → 2.4.1
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 +92 -34
- package/dist/index.mjs +92 -34
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +1 -2
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +2 -1
- package/es/chat/src/styles/index.cssr.mjs +11 -12
- package/es/chat/styles/light.mjs +2 -1
- package/es/components.d.ts +83 -0
- 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 +11 -1
- 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 +9 -0
- package/es/message-bubble/src/MessageBubble.mjs +9 -8
- package/es/message-bubble/src/interface.d.ts +5 -1
- package/es/message-bubble/src/interface.mjs +4 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +2 -2
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +2 -2
- package/lib/chat/src/styles/index.cssr.js +11 -12
- package/lib/chat/styles/light.js +3 -1
- package/lib/components.d.ts +83 -0
- package/lib/config-provider/src/ConfigProvider.js +7 -4
- package/lib/editor/index.d.ts +1 -1
- package/lib/editor/src/Editor.d.ts +26 -0
- package/lib/editor/src/Editor.js +9 -1
- 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 +9 -0
- package/lib/message-bubble/src/MessageBubble.js +12 -7
- package/lib/message-bubble/src/interface.d.ts +5 -1
- package/lib/message-bubble/src/interface.js +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +20 -3
|
@@ -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: 'Зачёркнутый',
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.resolveDateLocale = resolveDateLocale;
|
|
7
|
+
const enUS_1 = __importDefault(require("../date/enUS"));
|
|
8
|
+
const ruRU_1 = __importDefault(require("../date/ruRU"));
|
|
9
|
+
const uzUZ_1 = __importDefault(require("../date/uzUZ"));
|
|
10
|
+
const zhCN_1 = __importDefault(require("../date/zhCN"));
|
|
11
|
+
const dateLocales = [enUS_1.default, ruRU_1.default, uzUZ_1.default, zhCN_1.default];
|
|
12
|
+
function resolveDateLocale(name) {
|
|
13
|
+
return dateLocales.find(dateLocale => dateLocale.name === name);
|
|
14
|
+
}
|
|
@@ -34,6 +34,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
readonly type: import("vue").PropType<import("../../_utils/markdown").MarkdownOptions>;
|
|
35
35
|
readonly default: undefined;
|
|
36
36
|
};
|
|
37
|
+
readonly markdownProps: {
|
|
38
|
+
readonly type: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
39
|
+
readonly default: undefined;
|
|
40
|
+
};
|
|
37
41
|
readonly timestamp: {
|
|
38
42
|
readonly type: import("vue").PropType<string | number | Date | (() => VNodeChild)>;
|
|
39
43
|
readonly default: undefined;
|
|
@@ -221,6 +225,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
225
|
readonly type: import("vue").PropType<import("../../_utils/markdown").MarkdownOptions>;
|
|
222
226
|
readonly default: undefined;
|
|
223
227
|
};
|
|
228
|
+
readonly markdownProps: {
|
|
229
|
+
readonly type: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
230
|
+
readonly default: undefined;
|
|
231
|
+
};
|
|
224
232
|
readonly timestamp: {
|
|
225
233
|
readonly type: import("vue").PropType<string | number | Date | (() => VNodeChild)>;
|
|
226
234
|
readonly default: undefined;
|
|
@@ -380,6 +388,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
380
388
|
readonly isOwn: boolean;
|
|
381
389
|
readonly markdown: boolean;
|
|
382
390
|
readonly markdownOptions: import("../../_utils/markdown").MarkdownOptions;
|
|
391
|
+
readonly markdownProps: import("vue").HTMLAttributes;
|
|
383
392
|
readonly timestamp: string | number | Date | (() => VNodeChild);
|
|
384
393
|
readonly attachments: MessageBubbleAttachment | MessageBubbleAttachment[];
|
|
385
394
|
readonly uploadProps: Partial<import("../../upload").UploadProps>;
|
|
@@ -207,7 +207,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
207
207
|
return uploadComponent;
|
|
208
208
|
};
|
|
209
209
|
const renderMessage = () => {
|
|
210
|
-
var _a;
|
|
210
|
+
var _a, _b;
|
|
211
211
|
const hasBubbleActionsSlot = slots.bubbleActions !== undefined;
|
|
212
212
|
const hasBubbleActionsConfig = Boolean(props.actions && props.actions.length > 0);
|
|
213
213
|
const hasTitle = Boolean(props.title || slots.title);
|
|
@@ -232,10 +232,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
232
232
|
: resolveRenderContent(props.title))),
|
|
233
233
|
normalizedAttachmentsRef.value.length > 0 && renderAttachment(true),
|
|
234
234
|
(hasVisibleTextContent || slots.default)
|
|
235
|
-
&& (slots.default ? ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default(messagePayloadRef.value))) : markdownHtmlRef.value !== null ? ((0, vue_1.h)("div", { class: [
|
|
235
|
+
&& (slots.default ? ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default(messagePayloadRef.value))) : markdownHtmlRef.value !== null ? ((0, vue_1.h)("div", Object.assign({}, props.markdownProps, { class: [
|
|
236
236
|
`${mergedClsPrefixRef.value}-message-bubble__text`,
|
|
237
|
-
`${mergedClsPrefixRef.value}-message-bubble__markdown
|
|
238
|
-
|
|
237
|
+
`${mergedClsPrefixRef.value}-message-bubble__markdown`,
|
|
238
|
+
(_a = props.markdownProps) === null || _a === void 0 ? void 0 : _a.class
|
|
239
|
+
], innerHTML: markdownHtmlRef.value }))) : ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, resolveRenderContent(props.content)))),
|
|
239
240
|
hasAfterContent && ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-message-bubble__after-content` }, afterContentSlot === null || afterContentSlot === void 0 ? void 0 : afterContentSlot(messagePayloadRef.value))))) : normalizedAttachmentsRef.value.length === 1 ? (renderAttachment()) : null;
|
|
240
241
|
return ((0, vue_1.h)("div", { class: [
|
|
241
242
|
`${mergedClsPrefixRef.value}-message-bubble__message`,
|
|
@@ -255,8 +256,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
255
256
|
void (0, vue_1.nextTick)().then(() => {
|
|
256
257
|
contextMenuShow.value = true;
|
|
257
258
|
});
|
|
258
|
-
} }, (
|
|
259
|
-
|
|
259
|
+
} }, (_b = slots.bubbleActions) === null || _b === void 0 ? void 0 :
|
|
260
|
+
_b.call(slots, messagePayloadRef.value),
|
|
260
261
|
messageBubbleContent)) : hasBubbleActionsConfig ? ((0, vue_1.h)(dropdown_1.UDropdown, { show: contextMenuShow.value, trigger: "manual", placement: "bottom-start", options: messageContextMenuOptions.value, onSelect: handleContextMenuSelect, onUpdateShow: (show) => {
|
|
261
262
|
contextMenuShow.value = show;
|
|
262
263
|
}, onClickoutside: () => {
|
|
@@ -287,6 +288,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
287
288
|
], theme: themeRef.value.peers.StatusIcon, themeOverrides: themeRef.value.peerOverrides.StatusIcon }))))))))));
|
|
288
289
|
};
|
|
289
290
|
const renderService = () => {
|
|
291
|
+
var _a;
|
|
290
292
|
if (slots.service) {
|
|
291
293
|
return slots.service(props.serviceVariant);
|
|
292
294
|
}
|
|
@@ -297,7 +299,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
297
299
|
`${mergedClsPrefixRef.value}-message-bubble__service`,
|
|
298
300
|
`${mergedClsPrefixRef.value}-message-bubble__service--${props.serviceVariant}`
|
|
299
301
|
] }, displayMarkdown
|
|
300
|
-
? markdownHtmlRef.value && ((0, vue_1.h)("span", {
|
|
302
|
+
? markdownHtmlRef.value && ((0, vue_1.h)("span", Object.assign({}, props.markdownProps, { class: [
|
|
303
|
+
`${mergedClsPrefixRef.value}-message-bubble__markdown`,
|
|
304
|
+
(_a = props.markdownProps) === null || _a === void 0 ? void 0 : _a.class
|
|
305
|
+
], innerHTML: markdownHtmlRef.value })))
|
|
301
306
|
: props.content && ((0, vue_1.h)("span", null, resolveRenderContent(props.content)))));
|
|
302
307
|
};
|
|
303
308
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Component, PropType, VNodeChild } from 'vue';
|
|
1
|
+
import type { Component, HTMLAttributes, PropType, VNodeChild } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
import type { MarkdownOptions } from '../../_utils/markdown';
|
|
4
4
|
import type { UploadFileInfo, UploadProps } from '../../upload';
|
|
@@ -99,6 +99,10 @@ export declare const messageBubbleProps: {
|
|
|
99
99
|
readonly type: PropType<MarkdownOptions>;
|
|
100
100
|
readonly default: undefined;
|
|
101
101
|
};
|
|
102
|
+
readonly markdownProps: {
|
|
103
|
+
readonly type: PropType<HTMLAttributes>;
|
|
104
|
+
readonly default: undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly timestamp: {
|
|
103
107
|
readonly type: PropType<string | number | Date | (() => VNodeChild)>;
|
|
104
108
|
readonly default: undefined;
|
|
@@ -59,6 +59,9 @@ exports.messageBubbleProps = Object.assign(Object.assign({}, _mixins_1.useTheme.
|
|
|
59
59
|
}, markdownOptions: {
|
|
60
60
|
type: Object,
|
|
61
61
|
default: undefined
|
|
62
|
+
}, markdownProps: {
|
|
63
|
+
type: Object,
|
|
64
|
+
default: undefined
|
|
62
65
|
}, timestamp: {
|
|
63
66
|
type: [String, Number, Date, Function],
|
|
64
67
|
default: undefined
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.4.
|
|
1
|
+
declare const _default: "2.4.1";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "2.4.
|
|
5
|
+
"version": "2.4.1",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -5528,8 +5528,8 @@
|
|
|
5528
5528
|
"name": "placeholder",
|
|
5529
5529
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
|
|
5530
5530
|
"type": "string",
|
|
5531
|
-
"description": "Hint shown while the editor is empty.
|
|
5532
|
-
"default": "
|
|
5531
|
+
"description": "Hint shown while the editor is empty. Reactive: follows both the prop and the locale of the config provider.",
|
|
5532
|
+
"default": "locale",
|
|
5533
5533
|
"description-sections": {
|
|
5534
5534
|
"since": "2.4.0"
|
|
5535
5535
|
}
|
|
@@ -5634,6 +5634,16 @@
|
|
|
5634
5634
|
"since": "2.4.0"
|
|
5635
5635
|
}
|
|
5636
5636
|
},
|
|
5637
|
+
{
|
|
5638
|
+
"name": "node-props",
|
|
5639
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
|
|
5640
|
+
"type": "{ bulletList?: HTMLAttributes, orderedList?: HTMLAttributes }",
|
|
5641
|
+
"description": "Attributes put on the list elements of the document, most notably `class`, so the content can be styled from the outside. _At creation._",
|
|
5642
|
+
"default": "undefined",
|
|
5643
|
+
"description-sections": {
|
|
5644
|
+
"since": "2.4.1"
|
|
5645
|
+
}
|
|
5646
|
+
},
|
|
5637
5647
|
{
|
|
5638
5648
|
"name": "toolbar-button-props",
|
|
5639
5649
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/editor",
|
|
@@ -10892,6 +10902,13 @@
|
|
|
10892
10902
|
"description": "Options to customize Markdown rendering — see MarkdownOptions Type below.",
|
|
10893
10903
|
"default": "undefined"
|
|
10894
10904
|
},
|
|
10905
|
+
{
|
|
10906
|
+
"name": "markdown-props",
|
|
10907
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10908
|
+
"type": "HTMLAttributes",
|
|
10909
|
+
"description": "Attributes for the Markdown container, most notably `class`. A selector rooted in that class — `.your-class ul { padding-inline-start: 24px }` — outweighs the tag rules of the library. List indentation itself is left to the browser default, so a project with a CSS reset should set it this way.",
|
|
10910
|
+
"default": "undefined"
|
|
10911
|
+
},
|
|
10895
10912
|
{
|
|
10896
10913
|
"name": "timestamp",
|
|
10897
10914
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|