@dialpad/dialtone 9.31.1 → 9.33.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 (89) hide show
  1. package/README.md +6 -0
  2. package/dist/css/dialtone.css +11 -2
  3. package/dist/css/dialtone.min.css +1 -1
  4. package/dist/tokens/css/variables-dark.css +1 -1
  5. package/dist/tokens/css/variables-expressive-dark.css +1 -1
  6. package/dist/tokens/css/variables-expressive-light.css +1 -1
  7. package/dist/tokens/css/variables-expressive-sm-dark.css +1 -1
  8. package/dist/tokens/css/variables-expressive-sm-light.css +1 -1
  9. package/dist/tokens/css/variables-light.css +1 -1
  10. package/dist/tokens/css/variables-tmo-dark.css +1 -1
  11. package/dist/tokens/css/variables-tmo-light.css +1 -1
  12. package/dist/tokens/less/variables-dark.less +1 -1
  13. package/dist/tokens/less/variables-expressive-dark.less +1 -1
  14. package/dist/tokens/less/variables-expressive-light.less +1 -1
  15. package/dist/tokens/less/variables-expressive-sm-dark.less +1 -1
  16. package/dist/tokens/less/variables-expressive-sm-light.less +1 -1
  17. package/dist/tokens/less/variables-light.less +1 -1
  18. package/dist/tokens/less/variables-tmo-dark.less +1 -1
  19. package/dist/tokens/less/variables-tmo-light.less +1 -1
  20. package/dist/vue2/common/utils.cjs +8 -1
  21. package/dist/vue2/common/utils.cjs.map +1 -1
  22. package/dist/vue2/common/utils.js +8 -1
  23. package/dist/vue2/common/utils.js.map +1 -1
  24. package/dist/vue2/component-documentation.json +1 -1
  25. package/dist/vue2/lib/message-input.cjs +37 -3
  26. package/dist/vue2/lib/message-input.cjs.map +1 -1
  27. package/dist/vue2/lib/message-input.js +37 -3
  28. package/dist/vue2/lib/message-input.js.map +1 -1
  29. package/dist/vue2/lib/notice.cjs +10 -1
  30. package/dist/vue2/lib/notice.cjs.map +1 -1
  31. package/dist/vue2/lib/notice.js +10 -1
  32. package/dist/vue2/lib/notice.js.map +1 -1
  33. package/dist/vue2/lib/rich-text-editor.cjs +462 -66
  34. package/dist/vue2/lib/rich-text-editor.cjs.map +1 -1
  35. package/dist/vue2/lib/rich-text-editor.js +463 -67
  36. package/dist/vue2/lib/rich-text-editor.js.map +1 -1
  37. package/dist/vue2/types/common/utils/index.d.ts.map +1 -1
  38. package/dist/vue2/types/components/notice/notice.vue.d.ts +19 -0
  39. package/dist/vue2/types/components/notice/notice.vue.d.ts.map +1 -1
  40. package/dist/vue2/types/components/rich_text_editor/extensions/channels/channel.d.ts +2 -1
  41. package/dist/vue2/types/components/rich_text_editor/extensions/channels/channel.d.ts.map +1 -1
  42. package/dist/vue2/types/components/rich_text_editor/extensions/emoji/emoji.d.ts +1 -0
  43. package/dist/vue2/types/components/rich_text_editor/extensions/emoji/emoji.d.ts.map +1 -1
  44. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/mention.d.ts +2 -1
  45. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/mention.d.ts.map +1 -1
  46. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +47 -0
  47. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts.map +1 -0
  48. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts +17 -0
  49. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts.map +1 -0
  50. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts +2 -0
  51. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -0
  52. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/suggestion.d.ts +12 -0
  53. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/suggestion.d.ts.map +1 -0
  54. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +48 -1
  55. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  56. package/dist/vue2/types/components/rich_text_editor/slash_command_suggestion.d.ts +15 -0
  57. package/dist/vue2/types/components/rich_text_editor/slash_command_suggestion.d.ts.map +1 -0
  58. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +38 -2
  59. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  60. package/dist/vue3/common/utils.cjs +8 -1
  61. package/dist/vue3/common/utils.cjs.map +1 -1
  62. package/dist/vue3/common/utils.js +8 -1
  63. package/dist/vue3/common/utils.js.map +1 -1
  64. package/dist/vue3/component-documentation.json +1 -1
  65. package/dist/vue3/lib/message-input.cjs +8 -1
  66. package/dist/vue3/lib/message-input.cjs.map +1 -1
  67. package/dist/vue3/lib/message-input.js +8 -1
  68. package/dist/vue3/lib/message-input.js.map +1 -1
  69. package/dist/vue3/lib/notice.cjs +10 -1
  70. package/dist/vue3/lib/notice.cjs.map +1 -1
  71. package/dist/vue3/lib/notice.js +10 -1
  72. package/dist/vue3/lib/notice.js.map +1 -1
  73. package/dist/vue3/lib/rich-text-editor.cjs +172 -10
  74. package/dist/vue3/lib/rich-text-editor.cjs.map +1 -1
  75. package/dist/vue3/lib/rich-text-editor.js +173 -11
  76. package/dist/vue3/lib/rich-text-editor.js.map +1 -1
  77. package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
  78. package/dist/vue3/types/components/notice/notice.vue.d.ts +19 -0
  79. package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
  80. package/dist/vue3/types/components/rich_text_editor/extensions/channels/channel.d.ts +2 -1
  81. package/dist/vue3/types/components/rich_text_editor/extensions/channels/channel.d.ts.map +1 -1
  82. package/dist/vue3/types/components/rich_text_editor/extensions/emoji/emoji.d.ts +1 -0
  83. package/dist/vue3/types/components/rich_text_editor/extensions/emoji/emoji.d.ts.map +1 -1
  84. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/mention.d.ts +2 -1
  85. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/mention.d.ts.map +1 -1
  86. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +12 -1
  87. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  88. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +3 -2
  89. package/package.json +70 -68
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../common/utils/index.js"],"names":[],"mappings":"AAyBA,yDAEC;AAED;;;;;;GAMG;AACH,mDAJW,MAAM,OAWhB;AAED;;;;;;;;;;;;;;GAcG;AACH,kCAHW,MAAM,GACL,MAAM,CASjB;AAED;;;;GAIG;AACH,kCAHW,MAAM,GACJ,MAAM,CAIlB;AAED,mDAeC;AAED,qEAQC;AAOD,0EAgBC;AAED,yFAMC;AAED,0DAEC;AAqBD,+DAcC;AAoCD,4DAGC;AAED;;;;;GAKG;AAEH,yCAJY,WAAW,GACX,MAAM,CAejB;AAoED;;;;;GAKG;AACH,gDAJW,MAAM,cACN,MAAM,GACJ,MAAM,CAmBlB;AAeD;;;;GAIG;AACH,qCAHW,MAAM,GAAC,MAAM,GACX,OAAO,CAMnB;AAED;;;;GAIG;AACH,6BAHW,MAAM,GACJ,OAAO,CAMnB;AAED;;;;GAIG;AACH,sCAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,2DAEC;AAED;;;;;GAKG;AACH,2CAJW,MAAM,WACN,MAAM,UAKhB;AArPM;;GAEN;AAEM,8CAIN;AA4BM,oDAFM,MAAM,CAOlB;AAOM,oDAFM,MAAM,CAMlB;AAEM;;EAIN;AA+HD,+BAQE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../common/utils/index.js"],"names":[],"mappings":"AAyBA,yDAEC;AAED;;;;;;GAMG;AACH,mDAJW,MAAM,OAWhB;AAED;;;;;;;;;;;;;;GAcG;AACH,kCAHW,MAAM,GACL,MAAM,CASjB;AAED;;;;GAIG;AACH,kCAHW,MAAM,GACJ,MAAM,CAIlB;AAED,mDAeC;AAED,qEAQC;AAOD,0EAgBC;AAED,yFAMC;AAED,0DAEC;AAqBD,+DAcC;AAoCD,4DAGC;AAED;;;;;GAKG;AAEH,yCAJY,WAAW,GACX,MAAM,CAejB;AAoED;;;;;GAKG;AACH,gDAJW,MAAM,cACN,MAAM,GACJ,MAAM,CAuBlB;AAeD;;;;GAIG;AACH,qCAHW,MAAM,GAAC,MAAM,GACX,OAAO,CAMnB;AAED;;;;GAIG;AACH,6BAHW,MAAM,GACJ,OAAO,CAMnB;AAED;;;;GAIG;AACH,sCAHW,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,2DAEC;AAED;;;;;GAKG;AACH,2CAJW,MAAM,WACN,MAAM,UAKhB;AAzPM;;GAEN;AAEM,8CAIN;AA4BM,oDAFM,MAAM,CAOlB;AAOM,oDAFM,MAAM,CAMlB;AAEM;;EAIN;AAmID,+BAQE"}
@@ -82,6 +82,15 @@ declare const _default: import("vue").DefineComponent<{
82
82
  type: BooleanConstructor;
83
83
  default: boolean;
84
84
  };
85
+ /**
86
+ * Truncates the content instead of wrapping.
87
+ * Used when the notice needs to have a fixed height.
88
+ * @values true, false
89
+ */
90
+ truncateText: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
85
94
  }, any, any, {
86
95
  noticeClass(): any[];
87
96
  }, {}, {
@@ -192,6 +201,15 @@ declare const _default: import("vue").DefineComponent<{
192
201
  type: BooleanConstructor;
193
202
  default: boolean;
194
203
  };
204
+ /**
205
+ * Truncates the content instead of wrapping.
206
+ * Used when the notice needs to have a fixed height.
207
+ * @values true, false
208
+ */
209
+ truncateText: {
210
+ type: BooleanConstructor;
211
+ default: boolean;
212
+ };
195
213
  }>> & {
196
214
  onClick?: ((...args: any[]) => any) | undefined;
197
215
  onClose?: ((...args: any[]) => any) | undefined;
@@ -206,6 +224,7 @@ declare const _default: import("vue").DefineComponent<{
206
224
  hideAction: boolean;
207
225
  important: boolean;
208
226
  hideIcon: boolean;
227
+ truncateText: boolean;
209
228
  }, {}>;
210
229
  export default _default;
211
230
  //# sourceMappingURL=notice.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notice.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA3FH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"notice.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArGH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;OAIG"}
@@ -1,2 +1,3 @@
1
- export const ChannelPlugin: import("@tiptap/vue-3").Node<import("@tiptap/extension-mention").MentionOptions, any>;
1
+ export const channelRegex: RegExp;
2
+ export const ChannelPlugin: import("@tiptap/core").Node<import("@tiptap/extension-mention").MentionOptions, any>;
2
3
  //# sourceMappingURL=channel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/channels/channel.js"],"names":[],"mappings":"AAQA,kHA0CG"}
1
+ {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/channels/channel.js"],"names":[],"mappings":"AAQA,kCAAgD;AA6BhD,iHAqEG"}
@@ -1,4 +1,5 @@
1
1
  export const EmojiPluginKey: PluginKey<any>;
2
+ export const emojiShortCodeRegex: RegExp;
2
3
  export const Emoji: Node<any, any>;
3
4
  import { PluginKey } from '@tiptap/pm/state';
4
5
  import { Node } from '@tiptap/core';
@@ -1 +1 @@
1
- {"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/emoji/emoji.js"],"names":[],"mappings":"AASA,4CAAqD;AAkCrD,mCAiHG;0BAxJuB,kBAAkB;qBAJwB,cAAc"}
1
+ {"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/emoji/emoji.js"],"names":[],"mappings":"AASA,4CAAqD;AAGrD,yCAA4C;AA+B5C,mCAiHG;0BAxJuB,kBAAkB;qBAJwB,cAAc"}
@@ -1,2 +1,3 @@
1
- export const MentionPlugin: import("@tiptap/vue-3").Node<import("@tiptap/extension-mention").MentionOptions, any>;
1
+ export const mentionRegex: RegExp;
2
+ export const MentionPlugin: import("@tiptap/core").Node<import("@tiptap/extension-mention").MentionOptions, any>;
2
3
  //# 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":"AAOA,kHAmCG"}
1
+ {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/mentions/mention.js"],"names":[],"mappings":"AAQA,kCAAkD;AA6BlD,iHAkEG"}
@@ -153,6 +153,7 @@ declare const _default: import("vue").DefineComponent<{
153
153
  }, any, {
154
154
  editor: null;
155
155
  popoverOpened: boolean;
156
+ internalValue: string | Record<string, any>;
156
157
  }, {
157
158
  extensions(): import("@tiptap/vue-3").Node<any, any>[];
158
159
  inputAttrs(): {
@@ -162,6 +163,16 @@ declare const _default: import("vue").DefineComponent<{
162
163
  };
163
164
  }, {
164
165
  createEditor(): void;
166
+ /**
167
+ * This function is necessary as tiptap doesn't render the content passed
168
+ * directly through `editor.commands.setContent` the content passed down to it
169
+ * should be already parsed. So We're parsing the elements into it's corresponding
170
+ * HTML version before setting it.
171
+ */
172
+ insertContent(): void;
173
+ parseEmojis(): void;
174
+ parseChannels(): void;
175
+ parseMentions(): void;
165
176
  destroyEditor(): void;
166
177
  /**
167
178
  * The Editor exposes event hooks that we have to map our emits into. See
@@ -334,12 +345,12 @@ declare const _default: import("vue").DefineComponent<{
334
345
  modelValue: string | Record<string, any>;
335
346
  inputClass: string;
336
347
  placeholder: string;
348
+ mentionSuggestion: Record<string, any>;
337
349
  channelSuggestion: Record<string, any>;
338
350
  editable: boolean;
339
351
  allowLineBreaks: boolean;
340
352
  autoFocus: string | number | boolean;
341
353
  outputFormat: string;
342
- mentionSuggestion: Record<string, any>;
343
354
  allowBlockquote: boolean;
344
355
  allowBold: boolean;
345
356
  allowBulletList: boolean;
@@ -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":";IAyCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;IA4NH;;;OAGG;;;;;;;IAxYH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;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":";IA4CI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;IA0NH;;;;;OAKG;;;;;;IA2DH;;;OAGG;;;;;;;IAtcH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
@@ -251,7 +251,7 @@ declare const _default: import("vue").DefineComponent<{
251
251
  onFocus(event: any): void;
252
252
  onBlur(event: any): void;
253
253
  onInput(event: any): void;
254
- }, never, import("vue").ComponentOptionsMixin, ("input" | "focus" | "submit" | "blur" | "cancel" | "selected-emoji" | "skin-tone" | "select-media" | "add-media" | "paste-media")[], "input" | "focus" | "submit" | "blur" | "cancel" | "selected-emoji" | "skin-tone" | "select-media" | "add-media" | "paste-media", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
254
+ }, never, import("vue").ComponentOptionsMixin, ("input" | "focus" | "submit" | "blur" | "cancel" | "update:modelValue" | "selected-emoji" | "skin-tone" | "select-media" | "add-media" | "paste-media")[], "input" | "focus" | "submit" | "blur" | "cancel" | "update:modelValue" | "selected-emoji" | "skin-tone" | "select-media" | "add-media" | "paste-media", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
255
255
  /**
256
256
  * Value of the input. The object format should match TipTap's JSON
257
257
  * document structure: https://tiptap.dev/guide/output#option-1-json
@@ -479,6 +479,7 @@ declare const _default: import("vue").DefineComponent<{
479
479
  onBlur?: ((...args: any[]) => any) | undefined;
480
480
  onInput?: ((...args: any[]) => any) | undefined;
481
481
  onSubmit?: ((...args: any[]) => any) | undefined;
482
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
482
483
  onCancel?: ((...args: any[]) => any) | undefined;
483
484
  "onSelected-emoji"?: ((...args: any[]) => any) | undefined;
484
485
  "onSkin-tone"?: ((...args: any[]) => any) | undefined;
@@ -491,12 +492,12 @@ declare const _default: import("vue").DefineComponent<{
491
492
  modelValue: string | Record<string, any>;
492
493
  inputClass: string;
493
494
  placeholder: string;
495
+ mentionSuggestion: Record<string, any>;
494
496
  channelSuggestion: Record<string, any>;
495
497
  editable: boolean;
496
498
  inputAriaLabel: string;
497
499
  autoFocus: string | number | boolean;
498
500
  outputFormat: string;
499
- mentionSuggestion: Record<string, any>;
500
501
  allowBlockquote: boolean;
501
502
  allowBold: boolean;
502
503
  allowBulletList: boolean;
package/package.json CHANGED
@@ -1,7 +1,70 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone",
3
- "version": "9.31.1",
3
+ "version": "9.33.0",
4
4
  "description": "Dialpad's Dialtone design system monorepo",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "exports": {
9
+ "./CHANGELOG.json": "./CHANGELOG.json",
10
+ "./css": "./dist/css/dialtone.min.css",
11
+ "./tokens/*.css": "./dist/tokens/css/*.css",
12
+ "./tokens/*.less": "./dist/tokens/less/*.less",
13
+ "./vue2": {
14
+ "types": "./dist/vue2/types/index.d.ts",
15
+ "import": "./dist/vue2/dialtone-vue.js",
16
+ "require": "./dist/vue2/dialtone-vue.cjs"
17
+ },
18
+ "./vue2/css": "./dist/vue2/style.css",
19
+ "./vue2/*": {
20
+ "types": "./dist/vue2/types/index.d.ts",
21
+ "import": "./dist/vue2/*.js",
22
+ "require": "./dist/vue2/*.cjs"
23
+ },
24
+ "./vue3": {
25
+ "types": "./dist/vue3/types/index.d.ts",
26
+ "import": "./dist/vue3/dialtone-vue.js",
27
+ "require": "./dist/vue3/dialtone-vue.cjs"
28
+ },
29
+ "./vue3/css": "./dist/vue3/style.css",
30
+ "./vue3/*": {
31
+ "types": "./dist/vue3/types/index.d.ts",
32
+ "import": "./dist/vue3/*.js",
33
+ "require": "./dist/vue3/*.cjs"
34
+ },
35
+ "./*": "./dist/*"
36
+ },
37
+ "dependencies": {
38
+ "@tiptap/core": "2.3.0",
39
+ "@tiptap/extension-blockquote": "2.3.0",
40
+ "@tiptap/extension-bold": "2.3.0",
41
+ "@tiptap/extension-bullet-list": "2.3.0",
42
+ "@tiptap/extension-code-block": "2.3.0",
43
+ "@tiptap/extension-document": "2.3.0",
44
+ "@tiptap/extension-hard-break": "2.3.0",
45
+ "@tiptap/extension-italic": "2.3.0",
46
+ "@tiptap/extension-link": "2.3.0",
47
+ "@tiptap/extension-list-item": "2.3.0",
48
+ "@tiptap/extension-mention": "2.3.0",
49
+ "@tiptap/extension-ordered-list": "2.3.0",
50
+ "@tiptap/extension-paragraph": "2.3.0",
51
+ "@tiptap/extension-placeholder": "2.3.0",
52
+ "@tiptap/extension-strike": "2.3.0",
53
+ "@tiptap/extension-text": "2.3.0",
54
+ "@tiptap/extension-text-align": "2.3.0",
55
+ "@tiptap/extension-underline": "2.3.0",
56
+ "@tiptap/pm": "2.3.0",
57
+ "@tiptap/suggestion": "2.3.0",
58
+ "date-fns": "2.30.0",
59
+ "docopt": "0.6.2",
60
+ "emoji-regex": "10.3.0",
61
+ "emoji-toolkit": "8.0.0",
62
+ "requireindex": "1.2.0",
63
+ "stylelint": "15.11.0",
64
+ "tippy.js": "6.3.7",
65
+ "@dialpad/dialtone-emojis": "1.0.2",
66
+ "@dialpad/dialtone-icons": "4.14.0"
67
+ },
5
68
  "devDependencies": {
6
69
  "@commitlint/cli": "^18.4.3",
7
70
  "@commitlint/config-conventional": "^17.6.6",
@@ -45,75 +108,11 @@
45
108
  "vue-docgen-api": "^4.75.0",
46
109
  "wait-on": "^7.2.0"
47
110
  },
48
- "files": [
49
- "dist"
50
- ],
51
- "exports": {
52
- "./CHANGELOG.json": "./CHANGELOG.json",
53
- "./css": "./dist/css/dialtone.min.css",
54
- "./tokens/*.css": "./dist/tokens/css/*.css",
55
- "./tokens/*.less": "./dist/tokens/less/*.less",
56
- "./vue2": {
57
- "types": "./dist/vue2/types/index.d.ts",
58
- "import": "./dist/vue2/dialtone-vue.js",
59
- "require": "./dist/vue2/dialtone-vue.cjs"
60
- },
61
- "./vue2/css": "./dist/vue2/style.css",
62
- "./vue2/*": {
63
- "types": "./dist/vue2/types/index.d.ts",
64
- "import": "./dist/vue2/*.js",
65
- "require": "./dist/vue2/*.cjs"
66
- },
67
- "./vue3": {
68
- "types": "./dist/vue3/types/index.d.ts",
69
- "import": "./dist/vue3/dialtone-vue.js",
70
- "require": "./dist/vue3/dialtone-vue.cjs"
71
- },
72
- "./vue3/css": "./dist/vue3/style.css",
73
- "./vue3/*": {
74
- "types": "./dist/vue3/types/index.d.ts",
75
- "import": "./dist/vue3/*.js",
76
- "require": "./dist/vue3/*.cjs"
77
- },
78
- "./*": "./dist/*"
79
- },
80
- "resolutions": {
81
- "@dialpad/dialtone-css>postcss-preset-env": "^7.0.0",
82
- "@dialpad/dialtone-css>stylelint": "^15.10.1"
83
- },
84
111
  "peerDependencies": {
85
112
  "@linusborg/vue-simple-portal": "0.1.5",
86
- "@tiptap/core": "2.2.6",
87
- "@tiptap/extension-blockquote": "2.2.6",
88
- "@tiptap/extension-bold": "2.2.6",
89
- "@tiptap/extension-bullet-list": "2.2.6",
90
- "@tiptap/extension-code-block": "2.2.6",
91
- "@tiptap/extension-document": "2.2.6",
92
- "@tiptap/extension-hard-break": "2.2.6",
93
- "@tiptap/extension-italic": "2.2.6",
94
- "@tiptap/extension-link": "2.2.6",
95
- "@tiptap/extension-list-item": "2.2.6",
96
- "@tiptap/extension-mention": "2.2.6",
97
- "@tiptap/extension-ordered-list": "2.2.6",
98
- "@tiptap/extension-paragraph": "2.2.6",
99
- "@tiptap/extension-placeholder": "2.2.6",
100
- "@tiptap/extension-strike": "2.2.6",
101
- "@tiptap/extension-text": "2.2.6",
102
- "@tiptap/extension-text-align": "2.2.6",
103
- "@tiptap/extension-underline": "2.2.6",
104
- "@tiptap/pm": "2.2.6",
105
- "@tiptap/suggestion": "2.2.6",
106
- "@tiptap/vue-2": "2.2.6",
107
- "@tiptap/vue-3": "2.2.6",
108
- "date-fns": "2.30.0",
109
- "docopt": "0.6.2",
110
- "emoji-regex": "10.3.0",
111
- "emoji-toolkit": "8.0.0",
112
- "requireindex": "1.2.0",
113
- "stylelint": "15.11.0",
114
- "tippy.js": "6.3.7",
115
- "@dialpad/dialtone-emojis": "1.0.2",
116
- "@dialpad/dialtone-icons": "4.13.1"
113
+ "@tiptap/vue-2": "2.3.0",
114
+ "@tiptap/vue-3": "2.3.0",
115
+ "vue": "^2 || ^3"
117
116
  },
118
117
  "peerDependenciesMeta": {
119
118
  "@linusborg/vue-simple-portal": {
@@ -142,6 +141,9 @@
142
141
  "type": "git",
143
142
  "url": "git+ssh://git@github.com/dialpad/dialtone.git"
144
143
  },
144
+ "publishConfig": {
145
+ "access": "public"
146
+ },
145
147
  "scripts": {
146
148
  "test:all": "nx run-many --target=test",
147
149
  "build:all": "nx run-many --target=build",