@dialpad/dialtone-vue 2.133.0 → 2.135.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 (195) hide show
  1. package/dist/chunks/index-ODod4Oj_.js +175 -0
  2. package/dist/chunks/index-ODod4Oj_.js.map +1 -0
  3. package/dist/chunks/index-anN_sx1F.js +169 -0
  4. package/dist/chunks/index-anN_sx1F.js.map +1 -0
  5. package/dist/chunks/link_constants-AfTWrr-n.js +35 -0
  6. package/dist/chunks/link_constants-AfTWrr-n.js.map +1 -0
  7. package/dist/chunks/link_constants-x8NwdqmA.js +34 -0
  8. package/dist/chunks/link_constants-x8NwdqmA.js.map +1 -0
  9. package/dist/common/emoji.cjs +40 -163
  10. package/dist/common/emoji.cjs.map +1 -1
  11. package/dist/common/emoji.js +3 -146
  12. package/dist/common/emoji.js.map +1 -1
  13. package/dist/component-documentation.json +1 -1
  14. package/dist/dialtone-vue.cjs +10 -3
  15. package/dist/dialtone-vue.cjs.map +1 -1
  16. package/dist/dialtone-vue.js +10 -3
  17. package/dist/dialtone-vue.js.map +1 -1
  18. package/dist/lib/attachment-carousel.cjs +1 -1
  19. package/dist/lib/attachment-carousel.js +1 -1
  20. package/dist/lib/avatar.cjs.map +1 -1
  21. package/dist/lib/avatar.js.map +1 -1
  22. package/dist/lib/badge.cjs +21 -1
  23. package/dist/lib/badge.cjs.map +1 -1
  24. package/dist/lib/badge.js +21 -1
  25. package/dist/lib/badge.js.map +1 -1
  26. package/dist/lib/banner.cjs +1 -1
  27. package/dist/lib/banner.js +1 -1
  28. package/dist/lib/breadcrumbs.cjs +6 -3
  29. package/dist/lib/breadcrumbs.cjs.map +1 -1
  30. package/dist/lib/breadcrumbs.js +6 -3
  31. package/dist/lib/breadcrumbs.js.map +1 -1
  32. package/dist/lib/button.cjs +1 -1
  33. package/dist/lib/button.js +1 -1
  34. package/dist/lib/callbar-button-with-popover.cjs +1 -1
  35. package/dist/lib/callbar-button-with-popover.js +1 -1
  36. package/dist/lib/callbar-button.cjs +2 -2
  37. package/dist/lib/callbar-button.cjs.map +1 -1
  38. package/dist/lib/callbar-button.js +2 -2
  39. package/dist/lib/callbar-button.js.map +1 -1
  40. package/dist/lib/chip.cjs +1 -1
  41. package/dist/lib/chip.js +1 -1
  42. package/dist/lib/collapsible.cjs +1 -1
  43. package/dist/lib/collapsible.js +1 -1
  44. package/dist/lib/combobox-multi-select.cjs +1 -1
  45. package/dist/lib/combobox-multi-select.js +1 -1
  46. package/dist/lib/combobox-with-popover.cjs +1 -1
  47. package/dist/lib/combobox-with-popover.js +1 -1
  48. package/dist/lib/contact-centers-row.cjs +2 -3
  49. package/dist/lib/contact-centers-row.cjs.map +1 -1
  50. package/dist/lib/contact-centers-row.js +2 -3
  51. package/dist/lib/contact-centers-row.js.map +1 -1
  52. package/dist/lib/contact-row.cjs +2 -3
  53. package/dist/lib/contact-row.cjs.map +1 -1
  54. package/dist/lib/contact-row.js +2 -3
  55. package/dist/lib/contact-row.js.map +1 -1
  56. package/dist/lib/datepicker.cjs +1 -1
  57. package/dist/lib/datepicker.js +1 -1
  58. package/dist/lib/dropdown.cjs +1 -1
  59. package/dist/lib/dropdown.js +1 -1
  60. package/dist/lib/editor.cjs +3 -4
  61. package/dist/lib/editor.cjs.map +1 -1
  62. package/dist/lib/editor.js +3 -4
  63. package/dist/lib/editor.js.map +1 -1
  64. package/dist/lib/emoji-picker.cjs +1 -1
  65. package/dist/lib/emoji-picker.js +1 -1
  66. package/dist/lib/emoji-row.cjs +2 -3
  67. package/dist/lib/emoji-row.cjs.map +1 -1
  68. package/dist/lib/emoji-row.js +2 -3
  69. package/dist/lib/emoji-row.js.map +1 -1
  70. package/dist/lib/emoji-text-wrapper.cjs +1 -2
  71. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  72. package/dist/lib/emoji-text-wrapper.js +1 -2
  73. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  74. package/dist/lib/emoji.cjs +1 -2
  75. package/dist/lib/emoji.cjs.map +1 -1
  76. package/dist/lib/emoji.js +1 -2
  77. package/dist/lib/emoji.js.map +1 -1
  78. package/dist/lib/empty-state.cjs +142 -0
  79. package/dist/lib/empty-state.cjs.map +1 -0
  80. package/dist/lib/empty-state.js +142 -0
  81. package/dist/lib/empty-state.js.map +1 -0
  82. package/dist/lib/feed-pill.cjs +1 -1
  83. package/dist/lib/feed-pill.js +1 -1
  84. package/dist/lib/general-row.cjs +4 -5
  85. package/dist/lib/general-row.cjs.map +1 -1
  86. package/dist/lib/general-row.js +4 -5
  87. package/dist/lib/general-row.js.map +1 -1
  88. package/dist/lib/group-row.cjs +2 -3
  89. package/dist/lib/group-row.cjs.map +1 -1
  90. package/dist/lib/group-row.js +2 -3
  91. package/dist/lib/group-row.js.map +1 -1
  92. package/dist/lib/grouped-chip.cjs +1 -1
  93. package/dist/lib/grouped-chip.js +1 -1
  94. package/dist/lib/hovercard.cjs +1 -1
  95. package/dist/lib/hovercard.js +1 -1
  96. package/dist/lib/illustration.cjs +43 -0
  97. package/dist/lib/illustration.cjs.map +1 -0
  98. package/dist/lib/illustration.js +43 -0
  99. package/dist/lib/illustration.js.map +1 -0
  100. package/dist/lib/image-viewer.cjs +1 -1
  101. package/dist/lib/image-viewer.js +1 -1
  102. package/dist/lib/ivr-node.cjs +1 -1
  103. package/dist/lib/ivr-node.js +1 -1
  104. package/dist/lib/link.cjs +20 -6
  105. package/dist/lib/link.cjs.map +1 -1
  106. package/dist/lib/link.js +20 -6
  107. package/dist/lib/link.js.map +1 -1
  108. package/dist/lib/message-input.cjs +14 -8
  109. package/dist/lib/message-input.cjs.map +1 -1
  110. package/dist/lib/message-input.js +14 -8
  111. package/dist/lib/message-input.js.map +1 -1
  112. package/dist/lib/modal.cjs +1 -1
  113. package/dist/lib/modal.js +1 -1
  114. package/dist/lib/notice.cjs +1 -1
  115. package/dist/lib/notice.js +1 -1
  116. package/dist/lib/pagination.cjs +1 -1
  117. package/dist/lib/pagination.js +1 -1
  118. package/dist/lib/popover.cjs +1 -1
  119. package/dist/lib/popover.js +1 -1
  120. package/dist/lib/rich-text-editor.cjs +64 -200
  121. package/dist/lib/rich-text-editor.cjs.map +1 -1
  122. package/dist/lib/rich-text-editor.js +64 -200
  123. package/dist/lib/rich-text-editor.js.map +1 -1
  124. package/dist/lib/settings-menu-button.cjs +1 -1
  125. package/dist/lib/settings-menu-button.js +1 -1
  126. package/dist/lib/tabs.cjs +1 -1
  127. package/dist/lib/tabs.js +1 -1
  128. package/dist/lib/toast.cjs +1 -1
  129. package/dist/lib/toast.js +1 -1
  130. package/dist/lib/tooltip.cjs +9 -8
  131. package/dist/lib/tooltip.cjs.map +1 -1
  132. package/dist/lib/tooltip.js +9 -8
  133. package/dist/lib/tooltip.js.map +1 -1
  134. package/dist/style.css +15 -11
  135. package/dist/types/common/emoji/index.d.ts +3 -10
  136. package/dist/types/common/emoji/index.d.ts.map +1 -1
  137. package/dist/types/common/storybook_utils.d.ts +6 -0
  138. package/dist/types/common/storybook_utils.d.ts.map +1 -1
  139. package/dist/types/components/badge/badge.vue.d.ts +32 -0
  140. package/dist/types/components/badge/badge.vue.d.ts.map +1 -1
  141. package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts +2 -1
  142. package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +1 -1
  143. package/dist/types/components/empty_state/empty_state.vue.d.ts +3 -0
  144. package/dist/types/components/empty_state/empty_state.vue.d.ts.map +1 -0
  145. package/dist/types/components/empty_state/empty_state_constants.d.ts +10 -0
  146. package/dist/types/components/empty_state/empty_state_constants.d.ts.map +1 -0
  147. package/dist/types/components/empty_state/index.d.ts +3 -0
  148. package/dist/types/components/empty_state/index.d.ts.map +1 -0
  149. package/dist/types/components/illustration/illustration.vue.d.ts +23 -0
  150. package/dist/types/components/illustration/illustration.vue.d.ts.map +1 -0
  151. package/dist/types/components/illustration/illustration_constants.d.ts +6 -0
  152. package/dist/types/components/illustration/illustration_constants.d.ts.map +1 -0
  153. package/dist/types/components/illustration/index.d.ts +3 -0
  154. package/dist/types/components/illustration/index.d.ts.map +1 -0
  155. package/dist/types/components/link/link.vue.d.ts +24 -4
  156. package/dist/types/components/link/link.vue.d.ts.map +1 -1
  157. package/dist/types/components/link/link_constants.d.ts +2 -2
  158. package/dist/types/components/link/link_constants.d.ts.map +1 -1
  159. package/dist/types/components/rich_text_editor/extensions/channels/channel.d.ts +0 -1
  160. package/dist/types/components/rich_text_editor/extensions/channels/channel.d.ts.map +1 -1
  161. package/dist/types/components/rich_text_editor/extensions/custom_link/autolink.d.ts.map +1 -0
  162. package/dist/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts +3 -0
  163. package/dist/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts.map +1 -0
  164. package/dist/types/components/rich_text_editor/extensions/custom_link/index.d.ts +3 -0
  165. package/dist/types/components/rich_text_editor/extensions/custom_link/index.d.ts.map +1 -0
  166. package/dist/types/components/rich_text_editor/extensions/custom_link/utils.d.ts.map +1 -0
  167. package/dist/types/components/rich_text_editor/extensions/emoji/emoji.d.ts.map +1 -1
  168. package/dist/types/components/rich_text_editor/extensions/emoji/suggestion.d.ts +0 -1
  169. package/dist/types/components/rich_text_editor/extensions/emoji/suggestion.d.ts.map +1 -1
  170. package/dist/types/components/rich_text_editor/extensions/mentions/mention.d.ts +0 -1
  171. package/dist/types/components/rich_text_editor/extensions/mentions/mention.d.ts.map +1 -1
  172. package/dist/types/components/rich_text_editor/mention_suggestion.d.ts +2 -2
  173. package/dist/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
  174. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +52 -12
  175. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  176. package/dist/types/components/toggle/toggle.vue.d.ts +1 -1
  177. package/dist/types/components/tooltip/tooltip.vue.d.ts +4 -2
  178. package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  179. package/dist/types/index.d.ts +2 -0
  180. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -0
  181. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  182. package/dist/types/recipes/leftbar/general_row/general_row_constants.d.ts +1 -1
  183. package/package.json +6 -6
  184. package/dist/chunks/link_constants-Huj7D_hm.js +0 -22
  185. package/dist/chunks/link_constants-Huj7D_hm.js.map +0 -1
  186. package/dist/chunks/link_constants-nWVlXQBs.js +0 -23
  187. package/dist/chunks/link_constants-nWVlXQBs.js.map +0 -1
  188. package/dist/types/components/rich_text_editor/extensions/link/autolink.d.ts.map +0 -1
  189. package/dist/types/components/rich_text_editor/extensions/link/index.d.ts +0 -4
  190. package/dist/types/components/rich_text_editor/extensions/link/index.d.ts.map +0 -1
  191. package/dist/types/components/rich_text_editor/extensions/link/link.d.ts +0 -3
  192. package/dist/types/components/rich_text_editor/extensions/link/link.d.ts.map +0 -1
  193. package/dist/types/components/rich_text_editor/extensions/link/utils.d.ts.map +0 -1
  194. /package/dist/types/components/rich_text_editor/extensions/{link → custom_link}/autolink.d.ts +0 -0
  195. /package/dist/types/components/rich_text_editor/extensions/{link → custom_link}/utils.d.ts +0 -0
@@ -1,3 +1,2 @@
1
- export const mentionRegex: RegExp;
2
1
  export const MentionPlugin: import("@tiptap/core").Node<import("@tiptap/extension-mention").MentionOptions, any>;
3
2
  //# sourceMappingURL=mention.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/mentions/mention.js"],"names":[],"mappings":"AAQA,kCAAkD;AA6BlD,iHAqEG"}
1
+ {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/mentions/mention.js"],"names":[],"mappings":"AAQA,iHAyCG"}
@@ -1,11 +1,11 @@
1
1
  declare namespace _default {
2
2
  function items({ query }: {
3
3
  query: any;
4
- }): {
4
+ }): Promise<{
5
5
  id: string;
6
6
  name: string;
7
7
  avatarSrc: string;
8
- }[];
8
+ }[]>;
9
9
  }
10
10
  export default _default;
11
11
  //# sourceMappingURL=mention_suggestion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mention_suggestion.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/mention_suggestion.js"],"names":[],"mappings":";IAEE;;;;;;QAsBC"}
1
+ {"version":3,"file":"mention_suggestion.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/mention_suggestion.js"],"names":[],"mappings":";IA6CE;;;;;;SAMC"}
@@ -72,12 +72,29 @@ declare const _default: import("vue").DefineComponent<{
72
72
  default: string;
73
73
  };
74
74
  /**
75
- * Enables the Link extension and optionally passes configurations to it
75
+ * Enables the TipTap Link extension and optionally passes configurations to it
76
+ *
77
+ * It is not recommended to use this and the custom link extension at the same time.
76
78
  */
77
79
  link: {
78
80
  type: (ObjectConstructor | BooleanConstructor)[];
79
81
  default: boolean;
80
82
  };
83
+ /**
84
+ * Enables the Custom Link extension and optionally passes configurations to it
85
+ *
86
+ * It is not recommended to use this and the built in TipTap link extension at the same time.
87
+ *
88
+ * The custom link does some additional things on top of the built in TipTap link
89
+ * extension such as styling phone numbers and IP adresses as links, and allows you
90
+ * to linkify text without having to type a space after the link. Currently it is missing some
91
+ * functionality such as editing links and will likely require more work to be fully usable,
92
+ * so it is recommended to use the built in TipTap link for now.
93
+ */
94
+ customLink: {
95
+ type: (ObjectConstructor | BooleanConstructor)[];
96
+ default: boolean;
97
+ };
81
98
  /**
82
99
  * suggestion object containing the items query function.
83
100
  * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion
@@ -167,6 +184,13 @@ declare const _default: import("vue").DefineComponent<{
167
184
  type: BooleanConstructor;
168
185
  default: boolean;
169
186
  };
187
+ /**
188
+ * Whether the input allows codeblock to be introduced in the text.
189
+ */
190
+ allowCodeblock: {
191
+ type: BooleanConstructor;
192
+ default: boolean;
193
+ };
170
194
  }, {}, {
171
195
  editor: null;
172
196
  popoverOpened: boolean;
@@ -181,16 +205,6 @@ declare const _default: import("vue").DefineComponent<{
181
205
  }, {
182
206
  onSelectedCommand(command: any): void;
183
207
  createEditor(): void;
184
- /**
185
- * This function is necessary as tiptap doesn't render the content passed
186
- * directly through `editor.commands.setContent` the content passed down to it
187
- * should be already parsed. So We're parsing the elements into it's corresponding
188
- * HTML version before setting it.
189
- */
190
- insertContent(): void;
191
- parseEmojis(): void;
192
- parseChannels(): void;
193
- parseMentions(): void;
194
208
  destroyEditor(): void;
195
209
  /**
196
210
  * The Editor exposes event hooks that we have to map our emits into. See
@@ -275,12 +289,29 @@ declare const _default: import("vue").DefineComponent<{
275
289
  default: string;
276
290
  };
277
291
  /**
278
- * Enables the Link extension and optionally passes configurations to it
292
+ * Enables the TipTap Link extension and optionally passes configurations to it
293
+ *
294
+ * It is not recommended to use this and the custom link extension at the same time.
279
295
  */
280
296
  link: {
281
297
  type: (ObjectConstructor | BooleanConstructor)[];
282
298
  default: boolean;
283
299
  };
300
+ /**
301
+ * Enables the Custom Link extension and optionally passes configurations to it
302
+ *
303
+ * It is not recommended to use this and the built in TipTap link extension at the same time.
304
+ *
305
+ * The custom link does some additional things on top of the built in TipTap link
306
+ * extension such as styling phone numbers and IP adresses as links, and allows you
307
+ * to linkify text without having to type a space after the link. Currently it is missing some
308
+ * functionality such as editing links and will likely require more work to be fully usable,
309
+ * so it is recommended to use the built in TipTap link for now.
310
+ */
311
+ customLink: {
312
+ type: (ObjectConstructor | BooleanConstructor)[];
313
+ default: boolean;
314
+ };
284
315
  /**
285
316
  * suggestion object containing the items query function.
286
317
  * The valid keys passed into this object can be found here: https://tiptap.dev/api/utilities/suggestion
@@ -370,6 +401,13 @@ declare const _default: import("vue").DefineComponent<{
370
401
  type: BooleanConstructor;
371
402
  default: boolean;
372
403
  };
404
+ /**
405
+ * Whether the input allows codeblock to be introduced in the text.
406
+ */
407
+ allowCodeblock: {
408
+ type: BooleanConstructor;
409
+ default: boolean;
410
+ };
373
411
  }>>, {
374
412
  link: boolean | Record<string, any>;
375
413
  value: string | Record<string, any>;
@@ -382,12 +420,14 @@ declare const _default: import("vue").DefineComponent<{
382
420
  allowLineBreaks: boolean;
383
421
  autoFocus: string | number | boolean;
384
422
  outputFormat: string;
423
+ customLink: boolean | Record<string, any>;
385
424
  allowBlockquote: boolean;
386
425
  allowBold: boolean;
387
426
  allowBulletList: boolean;
388
427
  allowItalic: boolean;
389
428
  allowStrike: boolean;
390
429
  allowUnderline: boolean;
430
+ allowCodeblock: boolean;
391
431
  }>;
392
432
  export default _default;
393
433
  //# 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":";IA6CI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;IA4OH;;;;;OAKG;;;;;;IAgEH;;;OAGG;;;;;;;IA/eH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;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;;;;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"}
@@ -150,9 +150,9 @@ declare const _default: import("vue").DefineComponent<{
150
150
  labelClass: string | Record<string, any> | unknown[];
151
151
  disabled: boolean;
152
152
  checked: string | boolean;
153
+ showIcon: boolean;
153
154
  labelChildProps: Record<string, any>;
154
155
  toggleOnClick: boolean;
155
- showIcon: boolean;
156
156
  }>;
157
157
  export default _default;
158
158
  //# sourceMappingURL=toggle.vue.d.ts.map
@@ -178,8 +178,7 @@ declare const _default: import("vue").DefineComponent<{
178
178
  }, {
179
179
  isVisible(): any;
180
180
  tooltipListeners(): {
181
- 'after-leave': () => void;
182
- 'after-enter': () => void;
181
+ [x: string]: Function | Function[];
183
182
  };
184
183
  tippyProps(): {
185
184
  offset: any;
@@ -188,6 +187,9 @@ declare const _default: import("vue").DefineComponent<{
188
187
  sticky: any;
189
188
  theme: string | undefined;
190
189
  animation: string | boolean;
190
+ onShown: () => void;
191
+ onShow: () => void;
192
+ onHidden: () => void;
191
193
  popperOptions: {
192
194
  modifiers: ({
193
195
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IA4BI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;QArLP;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BC;;;mBAGG;;;;;;;;mBAHH;;;mBAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAHH;;;mBAGG;;;;;;;;mBAHH;;;mBAGG;;;;;;;;IA7BH;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IA4BI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;QArLP;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BC;;;mBAGG;;;;;;;;mBAHH;;;mBAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAHH;;;mBAGG;;;;;;;;mBAHH;;;mBAGG;;;;;;;;IA7BH;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
@@ -20,8 +20,10 @@ export * from "./components/dropdown";
20
20
  export * from "./components/emoji";
21
21
  export * from "./components/emoji_picker";
22
22
  export * from "./components/emoji_text_wrapper";
23
+ export * from "./components/empty_state";
23
24
  export * from "./components/hovercard";
24
25
  export * from "./components/icon";
26
+ export * from "./components/illustration";
25
27
  export * from "./components/image_viewer";
26
28
  export * from "./components/input";
27
29
  export * from "./components/input_group";
@@ -238,6 +238,13 @@ declare const _default: import("vue").DefineComponent<{
238
238
  type: BooleanConstructor;
239
239
  default: boolean;
240
240
  };
241
+ /**
242
+ * Whether the input allows codeblock to be introduced in the text.
243
+ */
244
+ allowCodeblock: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
241
248
  }, {}, {
242
249
  internalInputValue: any;
243
250
  hasFocus: boolean;
@@ -509,6 +516,13 @@ declare const _default: import("vue").DefineComponent<{
509
516
  type: BooleanConstructor;
510
517
  default: boolean;
511
518
  };
519
+ /**
520
+ * Whether the input allows codeblock to be introduced in the text.
521
+ */
522
+ allowCodeblock: {
523
+ type: BooleanConstructor;
524
+ default: boolean;
525
+ };
512
526
  }>>, {
513
527
  link: boolean | Record<string, any>;
514
528
  value: string | Record<string, any>;
@@ -528,6 +542,7 @@ declare const _default: import("vue").DefineComponent<{
528
542
  allowItalic: boolean;
529
543
  allowStrike: boolean;
530
544
  allowUnderline: boolean;
545
+ allowCodeblock: boolean;
531
546
  disableSend: boolean;
532
547
  showEmojiPicker: boolean;
533
548
  emojiPickerProps: Record<string, any>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA1QH;;;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"}
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;;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"}
@@ -2,8 +2,8 @@ export namespace LEFTBAR_GENERAL_ROW_TYPES {
2
2
  let INBOX: string;
3
3
  let CONTACTS: string;
4
4
  let CHANNELS: string;
5
- let HOME: string;
6
5
  let THREADS: string;
6
+ let LAUNCHPAD: string;
7
7
  let LOCKED_CHANNEL: string;
8
8
  let CONTACT_CENTER: string;
9
9
  let QUICK_START: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-vue",
3
- "version": "2.133.0",
3
+ "version": "2.135.0",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "files": [
6
6
  "dist"
@@ -29,11 +29,11 @@
29
29
  "@tiptap/suggestion": "2.3.0",
30
30
  "@tiptap/vue-2": "2.3.0",
31
31
  "date-fns": "2.30.0",
32
- "emoji-regex": "10.3.0",
33
32
  "emoji-toolkit": "8.0.0",
33
+ "regex-combined-emojis": "1.6.0",
34
34
  "tippy.js": "6.3.7",
35
- "@dialpad/dialtone-emojis": "1.0.5",
36
- "@dialpad/dialtone-icons": "4.15.3"
35
+ "@dialpad/dialtone-emojis": "1.0.6",
36
+ "@dialpad/dialtone-icons": "4.16.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@percy/cli": "1.28.2",
@@ -81,12 +81,12 @@
81
81
  "vue-tsc": "^1.8.25",
82
82
  "yo": "^5.0.0",
83
83
  "yorkie": "^2.0.0",
84
- "@dialpad/dialtone-css": "8.31.2",
84
+ "@dialpad/dialtone-css": "8.33.0",
85
85
  "@dialpad/generator-dialtone": "0.1.0"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "vue": ">=2.6",
89
- "@dialpad/dialtone-css": "^8.31.2"
89
+ "@dialpad/dialtone-css": "^8.33.0"
90
90
  },
91
91
  "bugs": {
92
92
  "email": "dialtone@dialpad.com"
@@ -1,22 +0,0 @@
1
- "use strict";
2
- const DANGER = "danger";
3
- const WARNING = "warning";
4
- const SUCCESS = "success";
5
- const MUTED = "muted";
6
- const INVERTED = "inverted";
7
- const MENTION = "mention";
8
- const LINK_VARIANTS = ["", DANGER, WARNING, SUCCESS, MUTED, INVERTED, MENTION];
9
- const LINK_KIND_MODIFIERS = {
10
- default: "",
11
- warning: "d-link--warning",
12
- danger: "d-link--danger",
13
- success: "d-link--success",
14
- muted: "d-link--muted",
15
- inverted: "d-link--inverted",
16
- mention: "d-link--mention"
17
- };
18
- exports.INVERTED = INVERTED;
19
- exports.LINK_KIND_MODIFIERS = LINK_KIND_MODIFIERS;
20
- exports.LINK_VARIANTS = LINK_VARIANTS;
21
- exports.MUTED = MUTED;
22
- //# sourceMappingURL=link_constants-Huj7D_hm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link_constants-Huj7D_hm.js","sources":["../../components/link/link_constants.js"],"sourcesContent":["export const DANGER = 'danger';\nexport const WARNING = 'warning';\nexport const SUCCESS = 'success';\nexport const MUTED = 'muted';\nexport const INVERTED = 'inverted';\nexport const MENTION = 'mention';\nexport const LINK_VARIANTS = ['', DANGER, WARNING, SUCCESS, MUTED, INVERTED, MENTION];\n\nexport const LINK_KIND_MODIFIERS = {\n default: '',\n warning: 'd-link--warning',\n danger: 'd-link--danger',\n success: 'd-link--success',\n muted: 'd-link--muted',\n inverted: 'd-link--inverted',\n mention: 'd-link--mention',\n};\n\nexport default {\n LINK_VARIANTS,\n LINK_KIND_MODIFIERS,\n};\n"],"names":[],"mappings":";AAAO,MAAM,SAAS;AACf,MAAM,UAAU;AAChB,MAAM,UAAU;AACX,MAAC,QAAQ;AACT,MAAC,WAAW;AACjB,MAAM,UAAU;AACX,MAAC,gBAAgB,CAAC,IAAI,QAAQ,SAAS,SAAS,OAAO,UAAU,OAAO;AAExE,MAAC,sBAAsB;AAAA,EACjC,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,OAAO;AAAA,EACP,UAAU;AAAA,EACV,SAAS;AACX;;;;;"}
@@ -1,23 +0,0 @@
1
- const DANGER = "danger";
2
- const WARNING = "warning";
3
- const SUCCESS = "success";
4
- const MUTED = "muted";
5
- const INVERTED = "inverted";
6
- const MENTION = "mention";
7
- const LINK_VARIANTS = ["", DANGER, WARNING, SUCCESS, MUTED, INVERTED, MENTION];
8
- const LINK_KIND_MODIFIERS = {
9
- default: "",
10
- warning: "d-link--warning",
11
- danger: "d-link--danger",
12
- success: "d-link--success",
13
- muted: "d-link--muted",
14
- inverted: "d-link--inverted",
15
- mention: "d-link--mention"
16
- };
17
- export {
18
- INVERTED,
19
- LINK_KIND_MODIFIERS,
20
- LINK_VARIANTS,
21
- MUTED
22
- };
23
- //# sourceMappingURL=link_constants-nWVlXQBs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link_constants-nWVlXQBs.js","sources":["../../components/link/link_constants.js"],"sourcesContent":["export const DANGER = 'danger';\nexport const WARNING = 'warning';\nexport const SUCCESS = 'success';\nexport const MUTED = 'muted';\nexport const INVERTED = 'inverted';\nexport const MENTION = 'mention';\nexport const LINK_VARIANTS = ['', DANGER, WARNING, SUCCESS, MUTED, INVERTED, MENTION];\n\nexport const LINK_KIND_MODIFIERS = {\n default: '',\n warning: 'd-link--warning',\n danger: 'd-link--danger',\n success: 'd-link--success',\n muted: 'd-link--muted',\n inverted: 'd-link--inverted',\n mention: 'd-link--mention',\n};\n\nexport default {\n LINK_VARIANTS,\n LINK_KIND_MODIFIERS,\n};\n"],"names":[],"mappings":"AAAO,MAAM,SAAS;AACf,MAAM,UAAU;AAChB,MAAM,UAAU;AACX,MAAC,QAAQ;AACT,MAAC,WAAW;AACjB,MAAM,UAAU;AACX,MAAC,gBAAgB,CAAC,IAAI,QAAQ,SAAS,SAAS,OAAO,UAAU,OAAO;AAExE,MAAC,sBAAsB;AAAA,EACjC,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,OAAO;AAAA,EACP,UAAU;AAAA,EACV,SAAS;AACX;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"autolink.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/link/autolink.js"],"names":[],"mappings":"AAcA;;GAEG;AACH,oDAqEC;uBA9EM,kBAAkB"}
@@ -1,4 +0,0 @@
1
- export * from "./link";
2
- export default Link;
3
- import { Link } from './link';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/link/index.js"],"names":[],"mappings":";;qBAAqB,QAAQ"}
@@ -1,3 +0,0 @@
1
- export const Link: Mark<any, any>;
2
- import { Mark } from '@tiptap/core';
3
- //# sourceMappingURL=link.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/link/link.js"],"names":[],"mappings":"AAaA,kCAwBG;qBAlCI,cAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/link/utils.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH,yFAcC;AAED;;GAEG;AACH,+DAKC;AAED;;;GAGG;AACH,qDAUC;AAED;;;;;GAKG;AACH;;;;EAuBC;AAED;;;;GAIG;AACH;;;;EAuBC;AAED;;GAEG;AACH,4EAYC;AAKD;;GAEG;AACH,4FAwDC"}