@dialpad/dialtone-vue 2.112.2 → 2.114.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 (46) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +25 -0
  3. package/dist/component-documentation.json +1 -1
  4. package/dist/dialtone-vue.cjs +5 -5
  5. package/dist/dialtone-vue.js +1742 -1298
  6. package/dist/directives.cjs +1 -1
  7. package/dist/directives.js +1 -1
  8. package/dist/emoji.cjs +1 -1
  9. package/dist/emoji.js +4 -4
  10. package/dist/emoji_picker-G_dpCtLb.cjs +1 -0
  11. package/dist/emoji_picker-H4Qp2wF5.js +782 -0
  12. package/dist/{emoji_text_wrapper-VgRKbImg.js → emoji_text_wrapper-B6LYaq-4.js} +6 -7
  13. package/dist/emoji_text_wrapper-HXzlY5eZ.cjs +1 -0
  14. package/dist/index-ASOzBdZi.js +139513 -0
  15. package/dist/index-Fi4GXrPf.cjs +1 -0
  16. package/dist/message_input.cjs +1 -92
  17. package/dist/message_input.js +86 -13208
  18. package/dist/rich_text_editor-HGWAxljc.cjs +97 -0
  19. package/dist/rich_text_editor-hvsobGV1.js +16483 -0
  20. package/dist/style.css +1 -1
  21. package/dist/{tooltip-RmgCyjmY.cjs → tooltip-R7LTeOZf.cjs} +5 -5
  22. package/dist/{tooltip-UOWkfPpb.js → tooltip-vREVnN_1.js} +282 -263
  23. package/dist/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  24. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +16 -1
  25. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  26. package/dist/types/components/rich_text_editor/rich_text_editor_constants.d.ts +2 -0
  27. package/dist/types/components/rich_text_editor/rich_text_editor_constants.d.ts.map +1 -1
  28. package/dist/types/components/tooltip/tooltip.vue.d.ts +33 -1
  29. package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  30. package/dist/types/components/tooltip/tooltip_constants.d.ts +2 -0
  31. package/dist/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
  32. package/dist/types/index.d.ts +1 -0
  33. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +518 -0
  34. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -0
  35. package/dist/types/recipes/conversation_view/editor/editor_constants.d.ts +8 -0
  36. package/dist/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -0
  37. package/dist/types/recipes/conversation_view/editor/index.d.ts +2 -0
  38. package/dist/types/recipes/conversation_view/editor/index.d.ts.map +1 -0
  39. package/package.json +14 -4
  40. package/dist/emoji-dxiv7Pn5.cjs +0 -1
  41. package/dist/emoji-eFDb2_CE.js +0 -56678
  42. package/dist/emoji_picker-1wJCa-sD.js +0 -83604
  43. package/dist/emoji_picker-abQkp-dE.cjs +0 -1
  44. package/dist/emoji_text_wrapper-fbV6ZEWh.cjs +0 -1
  45. package/dist/stack-T6wnw8L8.cjs +0 -2
  46. package/dist/stack-ksXg6ONX.js +0 -1852
@@ -1 +1 @@
1
- {"version":3,"file":"emoji_text_wrapper.vue.d.ts","sourceRoot":"","sources":["../../../../components/emoji_text_wrapper/emoji_text_wrapper.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;IAmBH;;;OAGG;yDADU,MAAM,QAAM,MAAM,CAAC;IAgBhC;;;;OAIG;8BADU,SAAO;;IAiBpB;;;;OAIG;mCADU,MAAM,QAAM,MAAM,CAAC,GAAC,MAAM;;IAtEvC;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"emoji_text_wrapper.vue.d.ts","sourceRoot":"","sources":["../../../../components/emoji_text_wrapper/emoji_text_wrapper.vue.js"],"names":[],"mappings":";IAkBI;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;IAmBH;;;OAGG;yDADU,MAAM,QAAM,MAAM,CAAC;IAehC;;;;OAIG;8BADU,SAAO;;IAiBpB;;;;OAIG;mCADU,MAAM,QAAM,MAAM,CAAC,GAAC,MAAM;;IArEvC;;OAEG;;;;;IAMH;;OAEG"}
@@ -14,6 +14,13 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
16
16
  };
17
+ /**
18
+ * Whether the input allows for line breaks to be introduced in the text.
19
+ */
20
+ allowLineBreaks: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
17
24
  /**
18
25
  * Descriptive label for the input element
19
26
  */
@@ -90,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
90
97
  editor: null;
91
98
  popoverOpened: boolean;
92
99
  }, {
93
- extensions(): import("@tiptap/vue-2").Node<any, any>[];
100
+ extensions(): (import("@tiptap/vue-2").Node<any, any> | import("@tiptap/vue-2").Mark<import("@tiptap/extension-bold").BoldOptions, any>)[];
94
101
  inputAttrs(): {
95
102
  'aria-label': any;
96
103
  'aria-multiline': boolean;
@@ -124,6 +131,13 @@ declare const _default: import("vue").DefineComponent<{
124
131
  type: BooleanConstructor;
125
132
  default: boolean;
126
133
  };
134
+ /**
135
+ * Whether the input allows for line breaks to be introduced in the text.
136
+ */
137
+ allowLineBreaks: {
138
+ type: BooleanConstructor;
139
+ default: boolean;
140
+ };
127
141
  /**
128
142
  * Descriptive label for the input element
129
143
  */
@@ -202,6 +216,7 @@ declare const _default: import("vue").DefineComponent<{
202
216
  inputClass: string;
203
217
  placeholder: string;
204
218
  editable: boolean;
219
+ allowLineBreaks: boolean;
205
220
  autoFocus: string | number | boolean;
206
221
  outputFormat: string;
207
222
  mentionSuggestion: Record<string, any>;
@@ -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":";IA2BI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;;;;;;;;;;;;;IA6KH;;;OAGG;;;;;;;IAjRH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG"}
1
+ {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue.js"],"names":[],"mappings":";IAsCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;;;;;;;;;;;;;IA8MH;;;OAGG;;;;;;;IA1TH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG"}
@@ -1,6 +1,8 @@
1
1
  export const RICH_TEXT_EDITOR_OUTPUT_FORMATS: string[];
2
2
  export const RICH_TEXT_EDITOR_AUTOFOCUS_TYPES: string[];
3
+ export const RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS: string[];
3
4
  declare namespace _default {
5
+ export { RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS };
4
6
  export { RICH_TEXT_EDITOR_OUTPUT_FORMATS };
5
7
  export { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES };
6
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"rich_text_editor_constants.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor_constants.js"],"names":[],"mappings":"AAAA,uDAIE;AAEF,wDAIE"}
1
+ {"version":3,"file":"rich_text_editor_constants.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor_constants.js"],"names":[],"mappings":"AAAA,uDAIE;AAEF,wDAIE;AAEF,iEAOE"}
@@ -6,6 +6,19 @@ declare const _default: import("vue").DefineComponent<{
6
6
  type: StringConstructor;
7
7
  default(): string;
8
8
  };
9
+ /**
10
+ * Sets the element to which the popover is going to append to.
11
+ * 'body' will append to the nearest body (supports shadow DOM).
12
+ * @values 'body', 'parent', HTMLElement,
13
+ */
14
+ appendTo: {
15
+ type: (StringConstructor | {
16
+ new (): HTMLElement;
17
+ prototype: HTMLElement;
18
+ })[];
19
+ default: string;
20
+ validator: (appendTo: unknown) => boolean;
21
+ };
9
22
  /**
10
23
  * If the popover does not fit in the direction described by "placement",
11
24
  * it will attempt to change its direction to the "fallbackPlacements"
@@ -156,16 +169,19 @@ declare const _default: import("vue").DefineComponent<{
156
169
  inTimer: null;
157
170
  isShown: boolean;
158
171
  currentPlacement: any;
172
+ anchor: null;
159
173
  }, {
160
174
  isVisible(): any;
161
175
  tooltipListeners(): {
162
176
  'after-leave': () => void;
163
177
  'after-enter': () => void;
164
178
  };
179
+ appendToElement(): any;
165
180
  tippyProps(): {
166
181
  offset: any;
167
182
  interactive: boolean;
168
183
  trigger: string;
184
+ appendTo: any;
169
185
  placement: any;
170
186
  sticky: any;
171
187
  popperOptions: {
@@ -200,7 +216,6 @@ declare const _default: import("vue").DefineComponent<{
200
216
  })[];
201
217
  };
202
218
  };
203
- anchor(): any;
204
219
  }, {
205
220
  calculateAnchorZindex(): 651 | 400;
206
221
  hasVisibleFocus(): any;
@@ -213,10 +228,12 @@ declare const _default: import("vue").DefineComponent<{
213
228
  onEnterTransitionComplete(): void;
214
229
  setProps(): void;
215
230
  onMount(): void;
231
+ onCreate(instance: any): void;
216
232
  initOptions(): {
217
233
  offset: any;
218
234
  interactive: boolean;
219
235
  trigger: string;
236
+ appendTo: any;
220
237
  placement: any;
221
238
  sticky: any;
222
239
  popperOptions: {
@@ -254,6 +271,7 @@ declare const _default: import("vue").DefineComponent<{
254
271
  allowHTML: boolean;
255
272
  zIndex: number;
256
273
  onMount: () => void;
274
+ onCreate: (instance: any) => void;
257
275
  };
258
276
  addExternalAnchorEventListeners(): void;
259
277
  removeExternalAnchorEventListeners(): void;
@@ -265,6 +283,19 @@ declare const _default: import("vue").DefineComponent<{
265
283
  type: StringConstructor;
266
284
  default(): string;
267
285
  };
286
+ /**
287
+ * Sets the element to which the popover is going to append to.
288
+ * 'body' will append to the nearest body (supports shadow DOM).
289
+ * @values 'body', 'parent', HTMLElement,
290
+ */
291
+ appendTo: {
292
+ type: (StringConstructor | {
293
+ new (): HTMLElement;
294
+ prototype: HTMLElement;
295
+ })[];
296
+ default: string;
297
+ validator: (appendTo: unknown) => boolean;
298
+ };
268
299
  /**
269
300
  * If the popover does not fit in the direction described by "placement",
270
301
  * it will attempt to change its direction to the "fallbackPlacements"
@@ -413,6 +444,7 @@ declare const _default: import("vue").DefineComponent<{
413
444
  transition: string;
414
445
  offset: unknown[];
415
446
  fallbackPlacements: unknown[];
447
+ appendTo: string | HTMLElement;
416
448
  delay: boolean;
417
449
  placement: string;
418
450
  sticky: string | boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IA6BI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;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MH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
@@ -1,4 +1,5 @@
1
1
  export const TOOLTIP_DIRECTIONS: string[];
2
+ export const TOOLTIP_APPEND_TO_VALUES: string[];
2
3
  export const TOOLTIP_DELAY_MS: 300;
3
4
  export namespace TOOLTIP_KIND_MODIFIERS {
4
5
  let hover: string;
@@ -10,6 +11,7 @@ export const TOOLTIP_STICKY_VALUES: (string | boolean)[];
10
11
  export const TOOLTIP_HIDE_ON_CLICK_VARIANTS: (string | boolean)[];
11
12
  declare namespace _default {
12
13
  export { TOOLTIP_DIRECTIONS };
14
+ export { TOOLTIP_APPEND_TO_VALUES };
13
15
  export { TOOLTIP_DELAY_MS };
14
16
  export { TOOLTIP_KIND_MODIFIERS };
15
17
  export { TOOLTIP_STICKY_VALUES };
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip_constants.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip_constants.js"],"names":[],"mappings":"AAKA,0CAEE;AAEF,mCAAoC;;;;;;;AASpC,yDAEE;AAEF,kEAAsE"}
1
+ {"version":3,"file":"tooltip_constants.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip_constants.js"],"names":[],"mappings":"AAKA,0CAEE;AACF,gDAA2D;AAC3D,mCAAoC;;;;;;;AASpC,yDAEE;AAEF,kEAAsE"}
@@ -59,6 +59,7 @@ export * from "./recipes/conversation_view/feed_pill";
59
59
  export * from "./recipes/conversation_view/time_pill";
60
60
  export * from "./recipes/conversation_view/emoji_row";
61
61
  export * from "./recipes/conversation_view/attachment_carousel";
62
+ export * from "./recipes/conversation_view/editor";
62
63
  export * from "./recipes/leftbar/callbox";
63
64
  export * from "./common/mixins";
64
65
  export * from "./common/dates";