@dialpad/dialtone-vue 2.138.0 → 2.139.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.
@@ -14,6 +14,13 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
16
16
  };
17
+ /**
18
+ * Prevents the user from typing any further. Deleting text will still work.
19
+ */
20
+ preventTyping: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
17
24
  /**
18
25
  * Whether the input allows for line breaks to be introduced in the text.
19
26
  */
@@ -137,6 +144,7 @@ declare const _default: import("vue").DefineComponent<{
137
144
  * of the parameters that command can take.
138
145
  *
139
146
  * When null, it does not add the plugin.
147
+ * Note that slash commands only work when they are the first word in the input.
140
148
  */
141
149
  slashCommandSuggestion: {
142
150
  type: ObjectConstructor;
@@ -191,11 +199,21 @@ declare const _default: import("vue").DefineComponent<{
191
199
  type: BooleanConstructor;
192
200
  default: boolean;
193
201
  };
202
+ /**
203
+ * Additional TipTap extensions to be added to the editor.
204
+ */
205
+ additionalExtensions: {
206
+ type: ArrayConstructor;
207
+ default: () => never[];
208
+ };
194
209
  }, {}, {
195
210
  editor: null;
196
- popoverOpened: boolean;
197
- internalValue: any;
198
211
  }, {
212
+ editorListeners(): {
213
+ input: () => void;
214
+ focus: () => void;
215
+ blur: () => void;
216
+ };
199
217
  extensions(): import("@tiptap/vue-2").Node<any, any>[];
200
218
  inputAttrs(): {
201
219
  'aria-label': any;
@@ -203,7 +221,6 @@ declare const _default: import("vue").DefineComponent<{
203
221
  role: string;
204
222
  };
205
223
  }, {
206
- onSelectedCommand(command: any): void;
207
224
  createEditor(): void;
208
225
  destroyEditor(): void;
209
226
  /**
@@ -215,7 +232,7 @@ declare const _default: import("vue").DefineComponent<{
215
232
  getExtension(extension: any, options: any): any;
216
233
  updateEditorAttributes(attributes: any): void;
217
234
  focusEditor(): void;
218
- }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "focus" | "blur" | "selected-command" | "update:value")[], string, Readonly<import("vue").ExtractPropTypes<{
235
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "focus" | "blur" | "update:value")[], string, Readonly<import("vue").ExtractPropTypes<{
219
236
  /**
220
237
  * Value of the input. The object format should match TipTap's JSON
221
238
  * document structure: https://tiptap.dev/guide/output#option-1-json
@@ -231,6 +248,13 @@ declare const _default: import("vue").DefineComponent<{
231
248
  type: BooleanConstructor;
232
249
  default: boolean;
233
250
  };
251
+ /**
252
+ * Prevents the user from typing any further. Deleting text will still work.
253
+ */
254
+ preventTyping: {
255
+ type: BooleanConstructor;
256
+ default: boolean;
257
+ };
234
258
  /**
235
259
  * Whether the input allows for line breaks to be introduced in the text.
236
260
  */
@@ -354,6 +378,7 @@ declare const _default: import("vue").DefineComponent<{
354
378
  * of the parameters that command can take.
355
379
  *
356
380
  * When null, it does not add the plugin.
381
+ * Note that slash commands only work when they are the first word in the input.
357
382
  */
358
383
  slashCommandSuggestion: {
359
384
  type: ObjectConstructor;
@@ -408,6 +433,13 @@ declare const _default: import("vue").DefineComponent<{
408
433
  type: BooleanConstructor;
409
434
  default: boolean;
410
435
  };
436
+ /**
437
+ * Additional TipTap extensions to be added to the editor.
438
+ */
439
+ additionalExtensions: {
440
+ type: ArrayConstructor;
441
+ default: () => never[];
442
+ };
411
443
  }>>, {
412
444
  link: boolean | Record<string, any>;
413
445
  value: string | Record<string, any>;
@@ -417,6 +449,7 @@ declare const _default: import("vue").DefineComponent<{
417
449
  channelSuggestion: Record<string, any>;
418
450
  slashCommandSuggestion: Record<string, any>;
419
451
  editable: boolean;
452
+ preventTyping: boolean;
420
453
  allowLineBreaks: boolean;
421
454
  autoFocus: string | number | boolean;
422
455
  outputFormat: string;
@@ -428,6 +461,7 @@ declare const _default: import("vue").DefineComponent<{
428
461
  allowStrike: boolean;
429
462
  allowUnderline: boolean;
430
463
  allowCodeblock: boolean;
464
+ additionalExtensions: unknown[];
431
465
  }>;
432
466
  export default _default;
433
467
  //# sourceMappingURL=rich_text_editor.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue.js"],"names":[],"mappings":";IA2CI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;IAuPH;;;OAGG;;;;;;;IA/cH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue.js"],"names":[],"mappings":";IA2CI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;OAaG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;IAuPH;;;OAGG;;;;;;;IAheH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;OAaG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
@@ -0,0 +1,47 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ editor: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/core").Editor>;
3
+ node: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import(".pnpm/prosemirror-model@1.20.0/node_modules/prosemirror-model").Node>;
4
+ decorations: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").DecorationWithType[]>;
5
+ selected: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<boolean>;
6
+ extension: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").Node<any, any>>;
7
+ getPos: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").PropOptions<() => number> & {
8
+ required: true;
9
+ } & {
10
+ default?: (() => () => number) | undefined;
11
+ };
12
+ updateAttributes: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").PropOptions<(attributes: Record<string, any>) => void> & {
13
+ required: true;
14
+ } & {
15
+ default?: (() => (attributes: Record<string, any>) => void) | undefined;
16
+ };
17
+ deleteNode: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").PropOptions<() => void> & {
18
+ required: true;
19
+ } & {
20
+ default?: (() => () => void) | undefined;
21
+ };
22
+ }, {}, {}, {}, {
23
+ close(e: any): void;
24
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "meeting-pill-close"[], string, Readonly<import("vue").ExtractPropTypes<{
25
+ editor: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/core").Editor>;
26
+ node: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import(".pnpm/prosemirror-model@1.20.0/node_modules/prosemirror-model").Node>;
27
+ decorations: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").DecorationWithType[]>;
28
+ selected: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<boolean>;
29
+ extension: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").Node<any, any>>;
30
+ getPos: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").PropOptions<() => number> & {
31
+ required: true;
32
+ } & {
33
+ default?: (() => () => number) | undefined;
34
+ };
35
+ updateAttributes: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").PropOptions<(attributes: Record<string, any>) => void> & {
36
+ required: true;
37
+ } & {
38
+ default?: (() => (attributes: Record<string, any>) => void) | undefined;
39
+ };
40
+ deleteNode: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.15/node_modules/vue-ts-types/dist/types").PropOptions<() => void> & {
41
+ required: true;
42
+ } & {
43
+ default?: (() => () => void) | undefined;
44
+ };
45
+ }>>, {}>;
46
+ export default _default;
47
+ //# sourceMappingURL=MeetingPill.vue.d.ts.map
@@ -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,4 @@
1
+ declare const _default: Node<any, any>;
2
+ export default _default;
3
+ import { Node } from '@tiptap/core';
4
+ //# sourceMappingURL=meeting_pill.d.ts.map
@@ -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
  }, {}, {
256
+ additionalExtensions: import("@tiptap/core").Node<any, any>[];
249
257
  internalInputValue: 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/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "focus" | "submit" | "blur" | "cancel" | "selected-emoji" | "skin-tone" | "selected-command" | "update:value" | "select-media" | "add-media" | "paste-media")[], string, Readonly<import("vue").ExtractPropTypes<{
285
+ }, never, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("submit" | "cancel" | "selected-emoji" | "skin-tone" | "selected-command" | "update:value" | "meeting-pill-close" | "select-media" | "add-media" | "paste-media")[], string, 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,
@@ -534,6 +547,7 @@ declare const _default: import("vue").DefineComponent<{
534
547
  slashCommandSuggestion: Record<string, any>;
535
548
  editable: boolean;
536
549
  inputAriaLabel: string;
550
+ preventTyping: boolean;
537
551
  autoFocus: string | number | boolean;
538
552
  outputFormat: string;
539
553
  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":";IAiCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAlRH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;IAYH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAOH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;;;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": "2.138.0",
3
+ "version": "2.139.1",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "files": [
6
6
  "dist"
@@ -32,8 +32,8 @@
32
32
  "emoji-toolkit": "8.0.0",
33
33
  "regex-combined-emojis": "1.6.0",
34
34
  "tippy.js": "6.3.7",
35
- "@dialpad/dialtone-emojis": "1.0.7",
36
- "@dialpad/dialtone-icons": "4.17.1"
35
+ "@dialpad/dialtone-icons": "4.18.0",
36
+ "@dialpad/dialtone-emojis": "1.0.7"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@percy/cli": "1.28.2",