@dialpad/dialtone-vue 3.131.0 → 3.132.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/lib/input.cjs +2 -0
- package/dist/lib/input.cjs.map +1 -1
- package/dist/lib/input.js +2 -0
- package/dist/lib/input.js.map +1 -1
- package/dist/lib/message-input.cjs +200 -148
- package/dist/lib/message-input.cjs.map +1 -1
- package/dist/lib/message-input.js +203 -151
- package/dist/lib/message-input.js.map +1 -1
- package/dist/lib/rich-text-editor.cjs +39 -17
- package/dist/lib/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor.js +40 -18
- package/dist/lib/rich-text-editor.js.map +1 -1
- package/dist/style.css +64 -6
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +39 -5
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts +73 -0
- package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts.map +1 -0
- package/dist/types/recipes/conversation_view/message_input/meeting_pill/meeting_pill.d.ts +4 -0
- package/dist/types/recipes/conversation_view/message_input/meeting_pill/meeting_pill.d.ts.map +1 -0
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +17 -6
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/core").Editor>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
node: {
|
|
7
|
+
type: import("vue").PropType<import(".pnpm/prosemirror-model@1.20.0/node_modules/prosemirror-model").Node>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import("vue").PropType<import("@tiptap/vue-3").DecorationWithType[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import("vue").PropType<import("@tiptap/vue-3").Node<any, any>>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<() => number>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<(attributes: Record<string, any>) => void>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
deleteNode: {
|
|
31
|
+
type: import("vue").PropType<() => void>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
}, any, any, {}, {
|
|
35
|
+
close(e: any): void;
|
|
36
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "meeting-pill-close"[], "meeting-pill-close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
editor: {
|
|
38
|
+
type: import("vue").PropType<import("@tiptap/core").Editor>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
node: {
|
|
42
|
+
type: import("vue").PropType<import(".pnpm/prosemirror-model@1.20.0/node_modules/prosemirror-model").Node>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
decorations: {
|
|
46
|
+
type: import("vue").PropType<import("@tiptap/vue-3").DecorationWithType[]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
selected: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
extension: {
|
|
54
|
+
type: import("vue").PropType<import("@tiptap/vue-3").Node<any, any>>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
getPos: {
|
|
58
|
+
type: import("vue").PropType<() => number>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
updateAttributes: {
|
|
62
|
+
type: import("vue").PropType<(attributes: Record<string, any>) => void>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
deleteNode: {
|
|
66
|
+
type: import("vue").PropType<() => void>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
}>> & {
|
|
70
|
+
"onMeeting-pill-close"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}, {}, {}>;
|
|
72
|
+
export default _default;
|
|
73
|
+
//# sourceMappingURL=MeetingPill.vue.d.ts.map
|
package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MeetingPill.vue.d.ts","sourceRoot":"","sources":["../../../../../../recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meeting_pill.d.ts","sourceRoot":"","sources":["../../../../../../recipes/conversation_view/message_input/meeting_pill/meeting_pill.js"],"names":[],"mappings":";;qBAAsC,cAAc"}
|
|
@@ -22,6 +22,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
required: true;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Prevents the user from typing any further. Deleting text will still work.
|
|
27
|
+
*/
|
|
28
|
+
preventTyping: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
25
32
|
/**
|
|
26
33
|
* Additional class name for the input element. Only accepts a String value
|
|
27
34
|
* because this is passed to the editor via options. For multiple classes,
|
|
@@ -246,11 +253,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
253
|
default: boolean;
|
|
247
254
|
};
|
|
248
255
|
}, any, {
|
|
256
|
+
additionalExtensions: import("@tiptap/core").Node<any, any>[];
|
|
249
257
|
internalInputValue: string | Record<string, any>;
|
|
250
258
|
hasFocus: boolean;
|
|
251
259
|
imagePickerFocus: boolean;
|
|
252
260
|
emojiPickerFocus: boolean;
|
|
253
|
-
sendButtonFocus: boolean;
|
|
254
261
|
emojiPickerOpened: boolean;
|
|
255
262
|
}, {
|
|
256
263
|
inputLength(): any;
|
|
@@ -267,7 +274,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
274
|
onPaste(e: any): void;
|
|
268
275
|
onSkinTone(skinTone: any): void;
|
|
269
276
|
onSelectEmoji(emoji: any): void;
|
|
270
|
-
onSelectedCommand(command: any): void;
|
|
271
277
|
onSelectImage(): void;
|
|
272
278
|
onImageUpload(): void;
|
|
273
279
|
toggleEmojiPicker(): void;
|
|
@@ -276,7 +282,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
276
282
|
onFocus(event: any): void;
|
|
277
283
|
onBlur(event: any): void;
|
|
278
284
|
onInput(event: any): void;
|
|
279
|
-
}, never, import("vue").ComponentOptionsMixin, ("
|
|
285
|
+
}, never, import("vue").ComponentOptionsMixin, ("submit" | "cancel" | "update:modelValue" | "selected-emoji" | "skin-tone" | "selected-command" | "select-media" | "add-media" | "paste-media")[], "submit" | "cancel" | "update:modelValue" | "selected-emoji" | "skin-tone" | "selected-command" | "select-media" | "add-media" | "paste-media", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
280
286
|
/**
|
|
281
287
|
* Value of the input. The object format should match TipTap's JSON
|
|
282
288
|
* document structure: https://tiptap.dev/guide/output#option-1-json
|
|
@@ -300,6 +306,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
300
306
|
required: true;
|
|
301
307
|
default: string;
|
|
302
308
|
};
|
|
309
|
+
/**
|
|
310
|
+
* Prevents the user from typing any further. Deleting text will still work.
|
|
311
|
+
*/
|
|
312
|
+
preventTyping: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: boolean;
|
|
315
|
+
};
|
|
303
316
|
/**
|
|
304
317
|
* Additional class name for the input element. Only accepts a String value
|
|
305
318
|
* because this is passed to the editor via options. For multiple classes,
|
|
@@ -524,9 +537,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
524
537
|
default: boolean;
|
|
525
538
|
};
|
|
526
539
|
}>> & {
|
|
527
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
528
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
529
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
530
540
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
531
541
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
532
542
|
"onSelected-command"?: ((...args: any[]) => any) | undefined;
|
|
@@ -547,6 +557,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
547
557
|
slashCommandSuggestion: Record<string, any>;
|
|
548
558
|
editable: boolean;
|
|
549
559
|
inputAriaLabel: string;
|
|
560
|
+
preventTyping: boolean;
|
|
550
561
|
autoFocus: string | number | boolean;
|
|
551
562
|
outputFormat: string;
|
|
552
563
|
allowBlockquote: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue.js"],"names":[],"mappings":";IAkCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;IAYH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;IAWH;;OAEG;;;;;;;IAMH;;OAEG;;;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA1RH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;IAYH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;IAWH;;OAEG;;;;;;;IAMH;;OAEG;;;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.132.0",
|
|
4
4
|
"description": "Vue component library for Dialpad's design system Dialtone",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"regex-combined-emojis": "1.6.0",
|
|
33
33
|
"tippy.js": "6.3.7",
|
|
34
34
|
"@dialpad/dialtone-emojis": "1.0.7",
|
|
35
|
-
"@dialpad/dialtone-icons": "4.
|
|
35
|
+
"@dialpad/dialtone-icons": "4.18.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@percy/cli": "1.28.2",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"vue-tsc": "^1.8.25",
|
|
80
80
|
"yo": "^5.0.0",
|
|
81
81
|
"yorkie": "^2.0.0",
|
|
82
|
-
"@dialpad/dialtone
|
|
83
|
-
"@dialpad/
|
|
82
|
+
"@dialpad/generator-dialtone": "0.1.0",
|
|
83
|
+
"@dialpad/dialtone-css": "8.36.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"vue": ">=3.2",
|