@dialpad/dialtone-vue 2.137.0 → 2.139.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.
Files changed (28) hide show
  1. package/dist/lib/callbar-button-with-popover.cjs +16 -1
  2. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  3. package/dist/lib/callbar-button-with-popover.js +16 -1
  4. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  5. package/dist/lib/input.cjs +1 -1
  6. package/dist/lib/input.cjs.map +1 -1
  7. package/dist/lib/input.js +1 -1
  8. package/dist/lib/input.js.map +1 -1
  9. package/dist/lib/message-input.cjs +109 -80
  10. package/dist/lib/message-input.cjs.map +1 -1
  11. package/dist/lib/message-input.js +109 -80
  12. package/dist/lib/message-input.js.map +1 -1
  13. package/dist/lib/rich-text-editor.cjs +37 -14
  14. package/dist/lib/rich-text-editor.cjs.map +1 -1
  15. package/dist/lib/rich-text-editor.js +37 -14
  16. package/dist/lib/rich-text-editor.js.map +1 -1
  17. package/dist/style.css +64 -6
  18. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +39 -4
  19. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  20. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +31 -0
  21. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  22. package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts +47 -0
  23. package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts.map +1 -0
  24. package/dist/types/recipes/conversation_view/message_input/meeting_pill/meeting_pill.d.ts +4 -0
  25. package/dist/types/recipes/conversation_view/message_input/meeting_pill/meeting_pill.d.ts.map +1 -0
  26. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +17 -3
  27. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  28. package/package.json +2 -2
@@ -34,6 +34,21 @@ declare const _default: import("vue").DefineComponent<{
34
34
  type: StringConstructor;
35
35
  default: string;
36
36
  };
37
+ /**
38
+ * Displaces the content box from its anchor element
39
+ * by the specified number of pixels.
40
+ * <a
41
+ * class="d-link"
42
+ * href="https://atomiks.github.io/tippyjs/v6/all-props/#offset"
43
+ * target="_blank"
44
+ * >
45
+ * Tippy.js docs
46
+ * </a>
47
+ */
48
+ offset: {
49
+ type: ArrayConstructor;
50
+ default: () => number[];
51
+ };
37
52
  /**
38
53
  * The element that is focused when the popover is opened. This can be an
39
54
  * HTMLElement within the popover, a string starting with '#' which will
@@ -171,6 +186,21 @@ declare const _default: import("vue").DefineComponent<{
171
186
  type: StringConstructor;
172
187
  default: string;
173
188
  };
189
+ /**
190
+ * Displaces the content box from its anchor element
191
+ * by the specified number of pixels.
192
+ * <a
193
+ * class="d-link"
194
+ * href="https://atomiks.github.io/tippyjs/v6/all-props/#offset"
195
+ * target="_blank"
196
+ * >
197
+ * Tippy.js docs
198
+ * </a>
199
+ */
200
+ offset: {
201
+ type: ArrayConstructor;
202
+ default: () => number[];
203
+ };
174
204
  /**
175
205
  * The element that is focused when the popover is opened. This can be an
176
206
  * HTMLElement within the popover, a string starting with '#' which will
@@ -267,6 +297,7 @@ declare const _default: import("vue").DefineComponent<{
267
297
  danger: boolean;
268
298
  disabled: boolean;
269
299
  contentClass: string | Record<string, any> | unknown[];
300
+ offset: unknown[];
270
301
  placement: string;
271
302
  showCloseButton: boolean;
272
303
  initialFocusElement: string;
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAQH;;OAEG;;;;;;IASH;;OAEG;;;;;;IASH;;;;;;;OAOG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;IAeH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;IA9IH;;OAEG;;;;;IAQH;;OAEG;;;;;;IASH;;OAEG;;;;;;IASH;;;;;;;OAOG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;IAeH;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAQH;;OAEG;;;;;;IASH;;OAEG;;;;;;IASH;;;;;;;OAOG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;IAeH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;IA9JH;;OAEG;;;;;IAQH;;OAEG;;;;;;IASH;;OAEG;;;;;;IASH;;;;;;;OAOG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;IAeH;;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" | "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;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;;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": "2.137.0",
3
+ "version": "2.139.0",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "files": [
6
6
  "dist"
@@ -33,7 +33,7 @@
33
33
  "regex-combined-emojis": "1.6.0",
34
34
  "tippy.js": "6.3.7",
35
35
  "@dialpad/dialtone-emojis": "1.0.7",
36
- "@dialpad/dialtone-icons": "4.17.1"
36
+ "@dialpad/dialtone-icons": "4.18.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@percy/cli": "1.28.2",