@dialpad/dialtone 9.122.0 → 9.123.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.
- package/dist/css/dialtone-default-theme.css +28 -28
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone-docs.json +1 -1
- package/dist/css/dialtone.css +28 -28
- package/dist/css/dialtone.min.css +1 -1
- package/dist/tokens/doc.json +30809 -30809
- package/dist/vue2/_plugin-vue2_normalizer-CeySl7Fu.js +11 -0
- package/dist/vue2/_plugin-vue2_normalizer-CeySl7Fu.js.map +1 -0
- package/dist/vue2/_plugin-vue2_normalizer-yXi3ZRRD.cjs +2 -0
- package/dist/vue2/_plugin-vue2_normalizer-yXi3ZRRD.cjs.map +1 -0
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +17 -8
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue2/lib/avatar/avatar.cjs +1 -1
- package/dist/vue2/lib/avatar/avatar.js +5 -2
- package/dist/vue2/lib/avatar/avatar.js.map +1 -1
- package/dist/vue2/lib/badge/badge.cjs +1 -1
- package/dist/vue2/lib/badge/badge.js +7 -4
- package/dist/vue2/lib/badge/badge.js.map +1 -1
- package/dist/vue2/lib/banner/banner.cjs +2 -2
- package/dist/vue2/lib/banner/banner.js +9 -6
- package/dist/vue2/lib/banner/banner.js.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumb-item.cjs +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumb-item.js +7 -4
- package/dist/vue2/lib/breadcrumbs/breadcrumb-item.js.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +5 -2
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue2/lib/button/button.cjs +1 -1
- package/dist/vue2/lib/button/button.js +5 -2
- package/dist/vue2/lib/button/button.js.map +1 -1
- package/dist/vue2/lib/button-group/button-group.cjs +1 -1
- package/dist/vue2/lib/button-group/button-group.js +11 -8
- package/dist/vue2/lib/button-group/button-group.js.map +1 -1
- package/dist/vue2/lib/button-group/buttons-decorator.cjs +1 -1
- package/dist/vue2/lib/button-group/buttons-decorator.js +7 -4
- package/dist/vue2/lib/button-group/buttons-decorator.js.map +1 -1
- package/dist/vue2/lib/callbar-button/callbar-button.cjs +1 -1
- package/dist/vue2/lib/callbar-button/callbar-button.js +10 -7
- package/dist/vue2/lib/callbar-button/callbar-button.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +5 -2
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +12 -9
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/callbox/callbox.cjs +1 -1
- package/dist/vue2/lib/callbox/callbox.js +5 -2
- package/dist/vue2/lib/callbox/callbox.js.map +1 -1
- package/dist/vue2/lib/card/card.cjs +1 -1
- package/dist/vue2/lib/card/card.js +7 -4
- package/dist/vue2/lib/card/card.js.map +1 -1
- package/dist/vue2/lib/checkbox/checkbox.cjs +1 -1
- package/dist/vue2/lib/checkbox/checkbox.js +5 -2
- package/dist/vue2/lib/checkbox/checkbox.js.map +1 -1
- package/dist/vue2/lib/checkbox-group/checkbox-group.cjs +1 -1
- package/dist/vue2/lib/checkbox-group/checkbox-group.js +8 -5
- package/dist/vue2/lib/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/vue2/lib/checkbox-group/checkboxes-decorator.cjs +1 -1
- package/dist/vue2/lib/checkbox-group/checkboxes-decorator.js +12 -9
- package/dist/vue2/lib/checkbox-group/checkboxes-decorator.js.map +1 -1
- package/dist/vue2/lib/chip/chip.cjs +1 -1
- package/dist/vue2/lib/chip/chip.js +11 -8
- package/dist/vue2/lib/chip/chip.js.map +1 -1
- package/dist/vue2/lib/codeblock/codeblock.cjs +2 -2
- package/dist/vue2/lib/codeblock/codeblock.js +11 -8
- package/dist/vue2/lib/codeblock/codeblock.js.map +1 -1
- package/dist/vue2/lib/collapsible/collapsible-lazy-show.cjs +1 -1
- package/dist/vue2/lib/collapsible/collapsible-lazy-show.js +5 -2
- package/dist/vue2/lib/collapsible/collapsible-lazy-show.js.map +1 -1
- package/dist/vue2/lib/collapsible/collapsible.cjs +1 -1
- package/dist/vue2/lib/collapsible/collapsible.js +7 -4
- package/dist/vue2/lib/collapsible/collapsible.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox-empty-list.cjs +1 -1
- package/dist/vue2/lib/combobox/combobox-empty-list.js +10 -7
- package/dist/vue2/lib/combobox/combobox-empty-list.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox-loading-list.cjs +1 -1
- package/dist/vue2/lib/combobox/combobox-loading-list.js +10 -7
- package/dist/vue2/lib/combobox/combobox-loading-list.js.map +1 -1
- package/dist/vue2/lib/combobox/combobox.cjs +2 -2
- package/dist/vue2/lib/combobox/combobox.js +5 -2
- package/dist/vue2/lib/combobox/combobox.js.map +1 -1
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js +9 -6
- package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js +5 -2
- package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +9 -6
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue2/lib/contact-info/contact-info.cjs +1 -1
- package/dist/vue2/lib/contact-info/contact-info.js +8 -5
- package/dist/vue2/lib/contact-info/contact-info.js.map +1 -1
- package/dist/vue2/lib/contact-row/contact-row.cjs +1 -1
- package/dist/vue2/lib/contact-row/contact-row.js +5 -2
- package/dist/vue2/lib/contact-row/contact-row.js.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.js +13 -4
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/description-list/description-list.cjs +1 -1
- package/dist/vue2/lib/description-list/description-list.js +13 -10
- package/dist/vue2/lib/description-list/description-list.js.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown-list.cjs +1 -1
- package/dist/vue2/lib/dropdown/dropdown-list.js +8 -5
- package/dist/vue2/lib/dropdown/dropdown-list.js.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown-separator.cjs +1 -1
- package/dist/vue2/lib/dropdown/dropdown-separator.js +7 -4
- package/dist/vue2/lib/dropdown/dropdown-separator.js.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue2/lib/dropdown/dropdown.js +5 -2
- package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue2/lib/editor/editor.cjs +1 -1
- package/dist/vue2/lib/editor/editor.js +49 -46
- package/dist/vue2/lib/editor/editor.js.map +1 -1
- package/dist/vue2/lib/emoji/emoji.cjs +1 -1
- package/dist/vue2/lib/emoji/emoji.js +10 -7
- package/dist/vue2/lib/emoji/emoji.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.js +34 -13
- package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.js +6 -3
- package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.cjs +1 -1
- package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.js +9 -6
- package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -1
- package/dist/vue2/lib/empty-state/empty-state.cjs +1 -1
- package/dist/vue2/lib/empty-state/empty-state.js +9 -6
- package/dist/vue2/lib/empty-state/empty-state.js.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +14 -11
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue2/lib/feed-item-row/feed-item-row.cjs +1 -1
- package/dist/vue2/lib/feed-item-row/feed-item-row.js +9 -6
- package/dist/vue2/lib/feed-item-row/feed-item-row.js.map +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs +1 -1
- package/dist/vue2/lib/general-row/general-row.js +5 -2
- package/dist/vue2/lib/general-row/general-row.js.map +1 -1
- package/dist/vue2/lib/general-row/leftbar-general-row-icon.cjs +1 -1
- package/dist/vue2/lib/general-row/leftbar-general-row-icon.js +10 -7
- package/dist/vue2/lib/general-row/leftbar-general-row-icon.js.map +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs +1 -1
- package/dist/vue2/lib/group-row/group-row.js +7 -4
- package/dist/vue2/lib/group-row/group-row.js.map +1 -1
- package/dist/vue2/lib/grouped-chip/grouped-chip.cjs +1 -1
- package/dist/vue2/lib/grouped-chip/grouped-chip.js +7 -4
- package/dist/vue2/lib/grouped-chip/grouped-chip.js.map +1 -1
- package/dist/vue2/lib/hovercard/hovercard.cjs +1 -1
- package/dist/vue2/lib/hovercard/hovercard.js +9 -6
- package/dist/vue2/lib/hovercard/hovercard.js.map +1 -1
- package/dist/vue2/lib/icon/icon.cjs +1 -1
- package/dist/vue2/lib/icon/icon.js +12 -9
- package/dist/vue2/lib/icon/icon.js.map +1 -1
- package/dist/vue2/lib/illustration/illustration.cjs +1 -1
- package/dist/vue2/lib/illustration/illustration.js +13 -10
- package/dist/vue2/lib/illustration/illustration.js.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.js +9 -6
- package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue2/lib/input/input.cjs +1 -1
- package/dist/vue2/lib/input/input.js +5 -2
- package/dist/vue2/lib/input/input.js.map +1 -1
- package/dist/vue2/lib/input-group/input-group.cjs +1 -1
- package/dist/vue2/lib/input-group/input-group.js +9 -6
- package/dist/vue2/lib/input-group/input-group.js.map +1 -1
- package/dist/vue2/lib/item-layout/item-layout.cjs +2 -2
- package/dist/vue2/lib/item-layout/item-layout.js +7 -4
- package/dist/vue2/lib/item-layout/item-layout.js.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.js +14 -11
- package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.cjs +1 -1
- package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.js +13 -10
- package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/vue2/lib/lazy-show/lazy-show.cjs +1 -1
- package/dist/vue2/lib/lazy-show/lazy-show.js +5 -2
- package/dist/vue2/lib/lazy-show/lazy-show.js.map +1 -1
- package/dist/vue2/lib/link/link.cjs +1 -1
- package/dist/vue2/lib/link/link.js +9 -6
- package/dist/vue2/lib/link/link.js.map +1 -1
- package/dist/vue2/lib/list-item/list-item.cjs +1 -1
- package/dist/vue2/lib/list-item/list-item.js +25 -22
- package/dist/vue2/lib/list-item/list-item.js.map +1 -1
- package/dist/vue2/lib/list-item-group/list-item-group.cjs +1 -1
- package/dist/vue2/lib/list-item-group/list-item-group.js +11 -8
- package/dist/vue2/lib/list-item-group/list-item-group.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-button.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-button.js +7 -4
- package/dist/vue2/lib/message-input/message-input-button.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-link.js +5 -2
- package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.js +5 -2
- package/dist/vue2/lib/message-input/message-input-topbar.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input.js +23 -9
- package/dist/vue2/lib/message-input/message-input.js.map +1 -1
- package/dist/vue2/lib/modal/modal.cjs +2 -2
- package/dist/vue2/lib/modal/modal.js +5 -2
- package/dist/vue2/lib/modal/modal.js.map +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs +1 -1
- package/dist/vue2/lib/notice/notice-action.js +7 -4
- package/dist/vue2/lib/notice/notice-action.js.map +1 -1
- package/dist/vue2/lib/notice/notice-content.cjs +1 -1
- package/dist/vue2/lib/notice/notice-content.js +5 -2
- package/dist/vue2/lib/notice/notice-content.js.map +1 -1
- package/dist/vue2/lib/notice/notice-icon.cjs +1 -1
- package/dist/vue2/lib/notice/notice-icon.js +16 -13
- package/dist/vue2/lib/notice/notice-icon.js.map +1 -1
- package/dist/vue2/lib/notice/notice.cjs +1 -1
- package/dist/vue2/lib/notice/notice.js +10 -7
- package/dist/vue2/lib/notice/notice.js.map +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs +1 -1
- package/dist/vue2/lib/pagination/pagination.js +9 -6
- package/dist/vue2/lib/pagination/pagination.js.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.js +8 -5
- package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue2/lib/popover/popover.cjs +1 -1
- package/dist/vue2/lib/popover/popover.js +5 -2
- package/dist/vue2/lib/popover/popover.js.map +1 -1
- package/dist/vue2/lib/presence/presence.cjs +1 -1
- package/dist/vue2/lib/presence/presence.js +7 -4
- package/dist/vue2/lib/presence/presence.js.map +1 -1
- package/dist/vue2/lib/radio/radio.cjs +1 -1
- package/dist/vue2/lib/radio/radio.js +8 -5
- package/dist/vue2/lib/radio/radio.js.map +1 -1
- package/dist/vue2/lib/radio-group/radio-group.cjs +1 -1
- package/dist/vue2/lib/radio-group/radio-group.js +5 -2
- package/dist/vue2/lib/radio-group/radio-group.js.map +1 -1
- package/dist/vue2/lib/radio-group/radios-decorator.cjs +1 -1
- package/dist/vue2/lib/radio-group/radios-decorator.js +9 -6
- package/dist/vue2/lib/radio-group/radios-decorator.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/mention-suggestion.cjs +1 -1
- package/dist/vue2/lib/rich-text-editor/mention-suggestion.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/mention-suggestion.js +33 -14
- package/dist/vue2/lib/rich-text-editor/mention-suggestion.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +4 -4
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +364 -315
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/root-layout/root-layout.cjs +1 -1
- package/dist/vue2/lib/root-layout/root-layout.js +8 -5
- package/dist/vue2/lib/root-layout/root-layout.js.map +1 -1
- package/dist/vue2/lib/select-menu/select-menu.cjs +1 -1
- package/dist/vue2/lib/select-menu/select-menu.js +5 -2
- package/dist/vue2/lib/select-menu/select-menu.js.map +1 -1
- package/dist/vue2/lib/settings-menu-button/settings-menu-button.cjs +1 -1
- package/dist/vue2/lib/settings-menu-button/settings-menu-button.js +7 -4
- package/dist/vue2/lib/settings-menu-button/settings-menu-button.js.map +1 -1
- package/dist/vue2/lib/skeleton/skeleton-list-item.cjs +1 -1
- package/dist/vue2/lib/skeleton/skeleton-list-item.js +5 -2
- package/dist/vue2/lib/skeleton/skeleton-list-item.js.map +1 -1
- package/dist/vue2/lib/skeleton/skeleton-paragraph.cjs +1 -1
- package/dist/vue2/lib/skeleton/skeleton-paragraph.js +8 -5
- package/dist/vue2/lib/skeleton/skeleton-paragraph.js.map +1 -1
- package/dist/vue2/lib/skeleton/skeleton-shape.cjs +1 -1
- package/dist/vue2/lib/skeleton/skeleton-shape.js +7 -4
- package/dist/vue2/lib/skeleton/skeleton-shape.js.map +1 -1
- package/dist/vue2/lib/skeleton/skeleton-text.cjs +1 -1
- package/dist/vue2/lib/skeleton/skeleton-text.js +14 -11
- package/dist/vue2/lib/skeleton/skeleton-text.js.map +1 -1
- package/dist/vue2/lib/skeleton/skeleton.cjs +1 -1
- package/dist/vue2/lib/skeleton/skeleton.js +9 -6
- package/dist/vue2/lib/skeleton/skeleton.js.map +1 -1
- package/dist/vue2/lib/split-button/split-button-alpha.cjs +1 -1
- package/dist/vue2/lib/split-button/split-button-alpha.js +12 -9
- package/dist/vue2/lib/split-button/split-button-alpha.js.map +1 -1
- package/dist/vue2/lib/split-button/split-button-omega.cjs +1 -1
- package/dist/vue2/lib/split-button/split-button-omega.js +9 -6
- package/dist/vue2/lib/split-button/split-button-omega.js.map +1 -1
- package/dist/vue2/lib/split-button/split-button.cjs +1 -1
- package/dist/vue2/lib/split-button/split-button.js +9 -6
- package/dist/vue2/lib/split-button/split-button.js.map +1 -1
- package/dist/vue2/lib/stack/stack.cjs +1 -1
- package/dist/vue2/lib/stack/stack.js +15 -12
- package/dist/vue2/lib/stack/stack.js.map +1 -1
- package/dist/vue2/lib/tab/tab-group.cjs +1 -1
- package/dist/vue2/lib/tab/tab-group.js +5 -2
- package/dist/vue2/lib/tab/tab-group.js.map +1 -1
- package/dist/vue2/lib/tab/tab-panel.cjs +1 -1
- package/dist/vue2/lib/tab/tab-panel.js +11 -8
- package/dist/vue2/lib/tab/tab-panel.js.map +1 -1
- package/dist/vue2/lib/tab/tab.cjs +1 -1
- package/dist/vue2/lib/tab/tab.js +10 -7
- package/dist/vue2/lib/tab/tab.js.map +1 -1
- package/dist/vue2/lib/time-pill/time-pill.cjs +1 -1
- package/dist/vue2/lib/time-pill/time-pill.js +8 -5
- package/dist/vue2/lib/time-pill/time-pill.js.map +1 -1
- package/dist/vue2/lib/toast/toast.cjs +1 -1
- package/dist/vue2/lib/toast/toast.cjs.map +1 -1
- package/dist/vue2/lib/toast/toast.js +17 -5
- package/dist/vue2/lib/toast/toast.js.map +1 -1
- package/dist/vue2/lib/toggle/toggle.cjs +1 -1
- package/dist/vue2/lib/toggle/toggle.js +5 -2
- package/dist/vue2/lib/toggle/toggle.js.map +1 -1
- package/dist/vue2/lib/tooltip/tooltip.cjs +1 -1
- package/dist/vue2/lib/tooltip/tooltip.js +9 -6
- package/dist/vue2/lib/tooltip/tooltip.js.map +1 -1
- package/dist/vue2/lib/top-banner-info/top-banner-info.cjs +1 -1
- package/dist/vue2/lib/top-banner-info/top-banner-info.js +5 -2
- package/dist/vue2/lib/top-banner-info/top-banner-info.js.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.js +8 -5
- package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue2/lib/validation-messages/validation-messages.cjs +1 -1
- package/dist/vue2/lib/validation-messages/validation-messages.js +10 -7
- package/dist/vue2/lib/validation-messages/validation-messages.js.map +1 -1
- package/dist/vue2/node_modules/@tiptap/vue-2.cjs +1 -1
- package/dist/vue2/node_modules/@tiptap/vue-2.cjs.map +1 -1
- package/dist/vue2/node_modules/@tiptap/vue-2.js +191 -149
- package/dist/vue2/node_modules/@tiptap/vue-2.js.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue2/shared/sr_only_close_button.js +12 -9
- package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue2/style.css +1 -0
- package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +16 -16
- package/dist/vue2/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +16 -16
- package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +16 -16
- package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +5 -0
- package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +16 -16
- package/dist/vue2/types/components/rich_text_editor/mention_suggestion.d.ts +23 -3
- package/dist/vue2/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +16 -16
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +4 -3
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.js +518 -415
- package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/mention-suggestion.cjs +1 -1
- package/dist/vue3/lib/rich-text-editor/mention-suggestion.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/mention-suggestion.js +34 -15
- package/dist/vue3/lib/rich-text-editor/mention-suggestion.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +264 -212
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/node_modules/@tiptap/vue-3.cjs +1 -1
- package/dist/vue3/node_modules/@tiptap/vue-3.cjs.map +1 -1
- package/dist/vue3/node_modules/@tiptap/vue-3.js +165 -115
- package/dist/vue3/node_modules/@tiptap/vue-3.js.map +1 -1
- package/dist/vue3/style.css +1 -0
- package/dist/vue3/types/components/emoji_picker/emoji_picker.vue.d.ts +1 -1
- package/dist/vue3/types/components/emoji_picker/emoji_picker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +1 -0
- package/dist/vue3/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +1 -1
- package/dist/vue3/types/components/emoji_picker/modules/emoji_selector.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +26 -2
- package/dist/vue3/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +26 -2
- package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +26 -2
- package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +5 -0
- package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +26 -2
- package/dist/vue3/types/components/rich_text_editor/mention_suggestion.d.ts +23 -3
- package/dist/vue3/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +26 -2
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
- package/package.json +32 -32
- package/dist/vue2/_plugin-vue2_normalizer-DSLOjnn3.js +0 -11
- package/dist/vue2/_plugin-vue2_normalizer-DSLOjnn3.js.map +0 -1
- package/dist/vue2/_plugin-vue2_normalizer-e_CkxkSV.cjs +0 -2
- package/dist/vue2/_plugin-vue2_normalizer-e_CkxkSV.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-3.js","sources":["../../../../../node_modules/.pnpm/@tiptap+vue-3@2.6.6_@tiptap+core@2.6.6_@tiptap+pm@2.6.6__@tiptap+pm@2.6.6_vue@3.4.15_typescript@5.6.3_/node_modules/@tiptap/vue-3/dist/index.js"],"sourcesContent":["import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu';\nimport { defineComponent, ref, onMounted, onBeforeUnmount, h, markRaw, customRef, getCurrentInstance, watchEffect, nextTick, unref, shallowRef, reactive, render, provide } from 'vue';\nimport { Editor as Editor$1, NodeView } from '@tiptap/core';\nexport * from '@tiptap/core';\nimport { FloatingMenuPlugin } from '@tiptap/extension-floating-menu';\n\nconst BubbleMenu = defineComponent({\n name: 'BubbleMenu',\n props: {\n pluginKey: {\n type: [String, Object],\n default: 'bubbleMenu',\n },\n editor: {\n type: Object,\n required: true,\n },\n updateDelay: {\n type: Number,\n default: undefined,\n },\n tippyOptions: {\n type: Object,\n default: () => ({}),\n },\n shouldShow: {\n type: Function,\n default: null,\n },\n },\n setup(props, { slots }) {\n const root = ref(null);\n onMounted(() => {\n const { updateDelay, editor, pluginKey, shouldShow, tippyOptions, } = props;\n editor.registerPlugin(BubbleMenuPlugin({\n updateDelay,\n editor,\n element: root.value,\n pluginKey,\n shouldShow,\n tippyOptions,\n }));\n });\n onBeforeUnmount(() => {\n const { pluginKey, editor } = props;\n editor.unregisterPlugin(pluginKey);\n });\n return () => { var _a; return h('div', { ref: root }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)); };\n },\n});\n\n/* eslint-disable react-hooks/rules-of-hooks */\nfunction useDebouncedRef(value) {\n return customRef((track, trigger) => {\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n // update state\n value = newValue;\n // update view as soon as possible\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n trigger();\n });\n });\n },\n };\n });\n}\nclass Editor extends Editor$1 {\n constructor(options = {}) {\n super(options);\n this.contentComponent = null;\n this.appContext = null;\n this.reactiveState = useDebouncedRef(this.view.state);\n this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);\n this.on('beforeTransaction', ({ nextState }) => {\n this.reactiveState.value = nextState;\n this.reactiveExtensionStorage.value = this.extensionStorage;\n });\n return markRaw(this); // eslint-disable-line\n }\n get state() {\n return this.reactiveState ? this.reactiveState.value : this.view.state;\n }\n get storage() {\n return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage;\n }\n /**\n * Register a ProseMirror plugin.\n */\n registerPlugin(plugin, handlePlugins) {\n super.registerPlugin(plugin, handlePlugins);\n this.reactiveState.value = this.view.state;\n }\n /**\n * Unregister a ProseMirror plugin.\n */\n unregisterPlugin(nameOrPluginKey) {\n super.unregisterPlugin(nameOrPluginKey);\n this.reactiveState.value = this.view.state;\n }\n}\n\nconst EditorContent = defineComponent({\n name: 'EditorContent',\n props: {\n editor: {\n default: null,\n type: Object,\n },\n },\n setup(props) {\n const rootEl = ref();\n const instance = getCurrentInstance();\n watchEffect(() => {\n const editor = props.editor;\n if (editor && editor.options.element && rootEl.value) {\n nextTick(() => {\n if (!rootEl.value || !editor.options.element.firstChild) {\n return;\n }\n const element = unref(rootEl.value);\n rootEl.value.append(...editor.options.element.childNodes);\n // @ts-ignore\n editor.contentComponent = instance.ctx._;\n if (instance) {\n editor.appContext = {\n ...instance.appContext,\n // Vue internally uses prototype chain to forward/shadow injects across the entire component chain\n // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext\n // @ts-expect-error forward instance's 'provides' into appContext\n provides: instance.provides,\n };\n }\n editor.setOptions({\n element,\n });\n editor.createNodeViews();\n });\n }\n });\n onBeforeUnmount(() => {\n const editor = props.editor;\n if (!editor) {\n return;\n }\n // destroy nodeviews before vue removes dom element\n if (!editor.isDestroyed) {\n editor.view.setProps({\n nodeViews: {},\n });\n }\n editor.contentComponent = null;\n editor.appContext = null;\n if (!editor.options.element.firstChild) {\n return;\n }\n const newElement = document.createElement('div');\n newElement.append(...editor.options.element.childNodes);\n editor.setOptions({\n element: newElement,\n });\n });\n return { rootEl };\n },\n render() {\n return h('div', {\n ref: (el) => { this.rootEl = el; },\n });\n },\n});\n\nconst FloatingMenu = defineComponent({\n name: 'FloatingMenu',\n props: {\n pluginKey: {\n // TODO: TypeScript breaks :(\n // type: [String, Object as PropType<Exclude<FloatingMenuPluginProps['pluginKey'], string>>],\n type: null,\n default: 'floatingMenu',\n },\n editor: {\n type: Object,\n required: true,\n },\n tippyOptions: {\n type: Object,\n default: () => ({}),\n },\n shouldShow: {\n type: Function,\n default: null,\n },\n },\n setup(props, { slots }) {\n const root = ref(null);\n onMounted(() => {\n const { pluginKey, editor, tippyOptions, shouldShow, } = props;\n editor.registerPlugin(FloatingMenuPlugin({\n pluginKey,\n editor,\n element: root.value,\n tippyOptions,\n shouldShow,\n }));\n });\n onBeforeUnmount(() => {\n const { pluginKey, editor } = props;\n editor.unregisterPlugin(pluginKey);\n });\n return () => { var _a; return h('div', { ref: root }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)); };\n },\n});\n\nconst NodeViewContent = defineComponent({\n name: 'NodeViewContent',\n props: {\n as: {\n type: String,\n default: 'div',\n },\n },\n render() {\n return h(this.as, {\n style: {\n whiteSpace: 'pre-wrap',\n },\n 'data-node-view-content': '',\n });\n },\n});\n\nconst NodeViewWrapper = defineComponent({\n name: 'NodeViewWrapper',\n props: {\n as: {\n type: String,\n default: 'div',\n },\n },\n inject: ['onDragStart', 'decorationClasses'],\n render() {\n var _a, _b;\n return h(this.as, {\n // @ts-ignore\n class: this.decorationClasses,\n style: {\n whiteSpace: 'normal',\n },\n 'data-node-view-wrapper': '',\n // @ts-ignore (https://github.com/vuejs/vue-next/issues/3031)\n onDragstart: this.onDragStart,\n }, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a));\n },\n});\n\nconst useEditor = (options = {}) => {\n const editor = shallowRef();\n onMounted(() => {\n editor.value = new Editor(options);\n });\n onBeforeUnmount(() => {\n var _a;\n (_a = editor.value) === null || _a === void 0 ? void 0 : _a.destroy();\n });\n return editor;\n};\n\n/**\n * This class is used to render Vue components inside the editor.\n */\nclass VueRenderer {\n constructor(component, { props = {}, editor }) {\n this.editor = editor;\n this.component = markRaw(component);\n this.el = document.createElement('div');\n this.props = reactive(props);\n this.renderedComponent = this.renderComponent();\n }\n get element() {\n return this.renderedComponent.el;\n }\n get ref() {\n var _a, _b, _c, _d;\n // Composition API\n if ((_b = (_a = this.renderedComponent.vNode) === null || _a === void 0 ? void 0 : _a.component) === null || _b === void 0 ? void 0 : _b.exposed) {\n return this.renderedComponent.vNode.component.exposed;\n }\n // Option API\n return (_d = (_c = this.renderedComponent.vNode) === null || _c === void 0 ? void 0 : _c.component) === null || _d === void 0 ? void 0 : _d.proxy;\n }\n renderComponent() {\n let vNode = h(this.component, this.props);\n if (this.editor.appContext) {\n vNode.appContext = this.editor.appContext;\n }\n if (typeof document !== 'undefined' && this.el) {\n render(vNode, this.el);\n }\n const destroy = () => {\n if (this.el) {\n render(null, this.el);\n }\n this.el = null;\n vNode = null;\n };\n return { vNode, destroy, el: this.el ? this.el.firstElementChild : null };\n }\n updateProps(props = {}) {\n Object.entries(props).forEach(([key, value]) => {\n this.props[key] = value;\n });\n this.renderComponent();\n }\n destroy() {\n this.renderedComponent.destroy();\n }\n}\n\nconst nodeViewProps = {\n editor: {\n type: Object,\n required: true,\n },\n node: {\n type: Object,\n required: true,\n },\n decorations: {\n type: Object,\n required: true,\n },\n selected: {\n type: Boolean,\n required: true,\n },\n extension: {\n type: Object,\n required: true,\n },\n getPos: {\n type: Function,\n required: true,\n },\n updateAttributes: {\n type: Function,\n required: true,\n },\n deleteNode: {\n type: Function,\n required: true,\n },\n};\nclass VueNodeView extends NodeView {\n mount() {\n const props = {\n editor: this.editor,\n node: this.node,\n decorations: this.decorations,\n selected: false,\n extension: this.extension,\n getPos: () => this.getPos(),\n updateAttributes: (attributes = {}) => this.updateAttributes(attributes),\n deleteNode: () => this.deleteNode(),\n };\n const onDragStart = this.onDragStart.bind(this);\n this.decorationClasses = ref(this.getDecorationClasses());\n const extendedComponent = defineComponent({\n extends: { ...this.component },\n props: Object.keys(props),\n template: this.component.template,\n setup: reactiveProps => {\n var _a, _b;\n provide('onDragStart', onDragStart);\n provide('decorationClasses', this.decorationClasses);\n return (_b = (_a = this.component).setup) === null || _b === void 0 ? void 0 : _b.call(_a, reactiveProps, {\n expose: () => undefined,\n });\n },\n // add support for scoped styles\n // @ts-ignore\n // eslint-disable-next-line\n __scopeId: this.component.__scopeId,\n // add support for CSS Modules\n // @ts-ignore\n // eslint-disable-next-line\n __cssModules: this.component.__cssModules,\n // add support for vue devtools\n // @ts-ignore\n // eslint-disable-next-line\n __name: this.component.__name,\n // @ts-ignore\n // eslint-disable-next-line\n __file: this.component.__file,\n });\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props,\n });\n }\n get dom() {\n if (!this.renderer.element || !this.renderer.element.hasAttribute('data-node-view-wrapper')) {\n throw Error('Please use the NodeViewWrapper component for your node view.');\n }\n return this.renderer.element;\n }\n get contentDOM() {\n if (this.node.isLeaf) {\n return null;\n }\n return this.dom.querySelector('[data-node-view-content]');\n }\n update(node, decorations) {\n const updateProps = (props) => {\n this.decorationClasses.value = this.getDecorationClasses();\n this.renderer.updateProps(props);\n };\n if (typeof this.options.update === 'function') {\n const oldNode = this.node;\n const oldDecorations = this.decorations;\n this.node = node;\n this.decorations = decorations;\n return this.options.update({\n oldNode,\n oldDecorations,\n newNode: node,\n newDecorations: decorations,\n updateProps: () => updateProps({ node, decorations }),\n });\n }\n if (node.type !== this.node.type) {\n return false;\n }\n if (node === this.node && this.decorations === decorations) {\n return true;\n }\n this.node = node;\n this.decorations = decorations;\n updateProps({ node, decorations });\n return true;\n }\n selectNode() {\n this.renderer.updateProps({\n selected: true,\n });\n if (this.renderer.element) {\n this.renderer.element.classList.add('ProseMirror-selectednode');\n }\n }\n deselectNode() {\n this.renderer.updateProps({\n selected: false,\n });\n if (this.renderer.element) {\n this.renderer.element.classList.remove('ProseMirror-selectednode');\n }\n }\n getDecorationClasses() {\n return (this.decorations\n // @ts-ignore\n .map(item => item.type.attrs.class)\n .flat()\n .join(' '));\n }\n destroy() {\n this.renderer.destroy();\n }\n}\nfunction VueNodeViewRenderer(component, options) {\n return (props) => {\n // try to get the parent component\n // this is important for vue devtools to show the component hierarchy correctly\n // maybe it’s `undefined` because <editor-content> isn’t rendered yet\n if (!props.editor.contentComponent) {\n return {};\n }\n // check for class-component and normalize if neccessary\n const normalizedComponent = typeof component === 'function' && '__vccOpts' in component\n // eslint-disable-next-line no-underscore-dangle\n ? component.__vccOpts\n : component;\n return new VueNodeView(normalizedComponent, props, options);\n };\n}\n\nexport { BubbleMenu, Editor, EditorContent, FloatingMenu, NodeViewContent, NodeViewWrapper, VueNodeViewRenderer, VueRenderer, nodeViewProps, useEditor };\n//# sourceMappingURL=index.js.map\n"],"names":["BubbleMenu","defineComponent","props","slots","root","ref","onMounted","updateDelay","editor","pluginKey","shouldShow","tippyOptions","BubbleMenuPlugin","onBeforeUnmount","_a","h","useDebouncedRef","value","customRef","track","trigger","newValue","Editor","Editor$1","options","nextState","markRaw","plugin","handlePlugins","nameOrPluginKey","EditorContent","rootEl","instance","getCurrentInstance","watchEffect","nextTick","element","unref","newElement","el","FloatingMenu","FloatingMenuPlugin","NodeViewContent","NodeViewWrapper","_b","useEditor","shallowRef","VueRenderer","component","reactive","_c","_d","vNode","render","key","nodeViewProps","VueNodeView","NodeView","attributes","onDragStart","extendedComponent","reactiveProps","provide","node","decorations","updateProps","oldNode","oldDecorations","item","VueNodeViewRenderer","normalizedComponent"],"mappings":";;;;;AAMK,MAACA,IAAaC,EAAgB;AAAA,EAC/B,MAAM;AAAA,EACN,OAAO;AAAA,IACH,WAAW;AAAA,MACP,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,IACZ;AAAA,IACD,QAAQ;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA,IACb;AAAA,IACD,aAAa;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACZ;AAAA,IACD,cAAc;AAAA,MACV,MAAM;AAAA,MACN,SAAS,OAAO,CAAA;AAAA,IACnB;AAAA,IACD,YAAY;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACZ;AAAA,EACJ;AAAA,EACD,MAAMC,GAAO,EAAE,OAAAC,KAAS;AACpB,UAAMC,IAAOC,EAAI,IAAI;AACrB,WAAAC,EAAU,MAAM;AACZ,YAAM,EAAE,aAAAC,GAAa,QAAAC,GAAQ,WAAAC,GAAW,YAAAC,GAAY,cAAAC,EAAe,IAA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AAW,CAAE;AAAA,MACpE,CAAa;AAAA,IACJ;AACD,WAAID,EAAK,SAAS,KAAK,KAAK,OACjB,MAEPA,MAAS,KAAK,QAAQ,KAAK,gBAAgBC,MAG/C,KAAK,OAAOD,GACZ,KAAK,cAAcC,GACnBC,EAAY,EAAE,MAAAF,GAAM,aAAAC,EAAW,CAAE,IAC1B;AAAA,EACV;AAAA,EACD,aAAa;AACT,SAAK,SAAS,YAAY;AAAA,MACtB,UAAU;AAAA,IACtB,CAAS,GACG,KAAK,SAAS,WACd,KAAK,SAAS,QAAQ,UAAU,IAAI,0BAA0B;AAAA,EAErE;AAAA,EACD,eAAe;AACX,SAAK,SAAS,YAAY;AAAA,MACtB,UAAU;AAAA,IACtB,CAAS,GACG,KAAK,SAAS,WACd,KAAK,SAAS,QAAQ,UAAU,OAAO,0BAA0B;AAAA,EAExE;AAAA,EACD,uBAAuB;AACnB,WAAQ,KAAK,YAER,IAAI,CAAAI,MAAQA,EAAK,KAAK,MAAM,KAAK,EACjC,KAAM,EACN,KAAK,GAAG;AAAA,EAChB;AAAA,EACD,UAAU;AACN,SAAK,SAAS;EACjB;AACL;AACA,SAASC,EAAoBrB,GAAWxB,GAAS;AAC7C,SAAO,CAACtB,MAAU;AAId,QAAI,CAACA,EAAM,OAAO;AACd,aAAO;AAGX,UAAMoE,IAAsB,OAAOtB,KAAc,cAAc,eAAeA,IAExEA,EAAU,YACVA;AACN,WAAO,IAAIQ,EAAYc,GAAqBpE,GAAOsB,CAAO;AAAA,EAClE;AACA;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"vue-3.js","sources":["../../../../../node_modules/.pnpm/@tiptap+vue-3@2.12.0_@tiptap+core@2.12.0_@tiptap+pm@2.12.0__@tiptap+pm@2.12.0_vue@3.4.15_typescript@5.6.3_/node_modules/@tiptap/vue-3/dist/index.js"],"sourcesContent":["import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu';\nimport { defineComponent, ref, onMounted, onBeforeUnmount, h, markRaw, customRef, getCurrentInstance, watchEffect, nextTick, unref, shallowRef, reactive, render, provide } from 'vue';\nimport { Editor as Editor$1, NodeView } from '@tiptap/core';\nexport * from '@tiptap/core';\nimport { FloatingMenuPlugin } from '@tiptap/extension-floating-menu';\n\nconst BubbleMenu = defineComponent({\n name: 'BubbleMenu',\n props: {\n pluginKey: {\n type: [String, Object],\n default: 'bubbleMenu',\n },\n editor: {\n type: Object,\n required: true,\n },\n updateDelay: {\n type: Number,\n default: undefined,\n },\n tippyOptions: {\n type: Object,\n default: () => ({}),\n },\n shouldShow: {\n type: Function,\n default: null,\n },\n },\n setup(props, { slots }) {\n const root = ref(null);\n onMounted(() => {\n const { updateDelay, editor, pluginKey, shouldShow, tippyOptions, } = props;\n editor.registerPlugin(BubbleMenuPlugin({\n updateDelay,\n editor,\n element: root.value,\n pluginKey,\n shouldShow,\n tippyOptions,\n }));\n });\n onBeforeUnmount(() => {\n const { pluginKey, editor } = props;\n editor.unregisterPlugin(pluginKey);\n });\n return () => { var _a; return h('div', { ref: root }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)); };\n },\n});\n\n/* eslint-disable react-hooks/rules-of-hooks */\nfunction useDebouncedRef(value) {\n return customRef((track, trigger) => {\n return {\n get() {\n track();\n return value;\n },\n set(newValue) {\n // update state\n value = newValue;\n // update view as soon as possible\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n trigger();\n });\n });\n },\n };\n });\n}\nclass Editor extends Editor$1 {\n constructor(options = {}) {\n super(options);\n this.contentComponent = null;\n this.appContext = null;\n this.reactiveState = useDebouncedRef(this.view.state);\n this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);\n this.on('beforeTransaction', ({ nextState }) => {\n this.reactiveState.value = nextState;\n this.reactiveExtensionStorage.value = this.extensionStorage;\n });\n return markRaw(this); // eslint-disable-line\n }\n get state() {\n return this.reactiveState ? this.reactiveState.value : this.view.state;\n }\n get storage() {\n return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage;\n }\n /**\n * Register a ProseMirror plugin.\n */\n registerPlugin(plugin, handlePlugins) {\n const nextState = super.registerPlugin(plugin, handlePlugins);\n if (this.reactiveState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n /**\n * Unregister a ProseMirror plugin.\n */\n unregisterPlugin(nameOrPluginKey) {\n const nextState = super.unregisterPlugin(nameOrPluginKey);\n if (this.reactiveState && nextState) {\n this.reactiveState.value = nextState;\n }\n return nextState;\n }\n}\n\nconst EditorContent = defineComponent({\n name: 'EditorContent',\n props: {\n editor: {\n default: null,\n type: Object,\n },\n },\n setup(props) {\n const rootEl = ref();\n const instance = getCurrentInstance();\n watchEffect(() => {\n const editor = props.editor;\n if (editor && editor.options.element && rootEl.value) {\n nextTick(() => {\n if (!rootEl.value || !editor.options.element.firstChild) {\n return;\n }\n const element = unref(rootEl.value);\n rootEl.value.append(...editor.options.element.childNodes);\n // @ts-ignore\n editor.contentComponent = instance.ctx._;\n if (instance) {\n editor.appContext = {\n ...instance.appContext,\n // Vue internally uses prototype chain to forward/shadow injects across the entire component chain\n // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext\n // @ts-expect-error forward instance's 'provides' into appContext\n provides: instance.provides,\n };\n }\n editor.setOptions({\n element,\n });\n editor.createNodeViews();\n });\n }\n });\n onBeforeUnmount(() => {\n const editor = props.editor;\n if (!editor) {\n return;\n }\n editor.contentComponent = null;\n editor.appContext = null;\n });\n return { rootEl };\n },\n render() {\n return h('div', {\n ref: (el) => { this.rootEl = el; },\n });\n },\n});\n\nconst FloatingMenu = defineComponent({\n name: 'FloatingMenu',\n props: {\n pluginKey: {\n // TODO: TypeScript breaks :(\n // type: [String, Object as PropType<Exclude<FloatingMenuPluginProps['pluginKey'], string>>],\n type: null,\n default: 'floatingMenu',\n },\n editor: {\n type: Object,\n required: true,\n },\n tippyOptions: {\n type: Object,\n default: () => ({}),\n },\n shouldShow: {\n type: Function,\n default: null,\n },\n },\n setup(props, { slots }) {\n const root = ref(null);\n onMounted(() => {\n const { pluginKey, editor, tippyOptions, shouldShow, } = props;\n editor.registerPlugin(FloatingMenuPlugin({\n pluginKey,\n editor,\n element: root.value,\n tippyOptions,\n shouldShow,\n }));\n });\n onBeforeUnmount(() => {\n const { pluginKey, editor } = props;\n editor.unregisterPlugin(pluginKey);\n });\n return () => { var _a; return h('div', { ref: root }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)); };\n },\n});\n\nconst NodeViewContent = defineComponent({\n name: 'NodeViewContent',\n props: {\n as: {\n type: String,\n default: 'div',\n },\n },\n render() {\n return h(this.as, {\n style: {\n whiteSpace: 'pre-wrap',\n },\n 'data-node-view-content': '',\n });\n },\n});\n\nconst NodeViewWrapper = defineComponent({\n name: 'NodeViewWrapper',\n props: {\n as: {\n type: String,\n default: 'div',\n },\n },\n inject: ['onDragStart', 'decorationClasses'],\n render() {\n var _a, _b;\n return h(this.as, {\n // @ts-ignore\n class: this.decorationClasses,\n style: {\n whiteSpace: 'normal',\n },\n 'data-node-view-wrapper': '',\n // @ts-ignore (https://github.com/vuejs/vue-next/issues/3031)\n onDragstart: this.onDragStart,\n }, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a));\n },\n});\n\nconst useEditor = (options = {}) => {\n const editor = shallowRef();\n onMounted(() => {\n editor.value = new Editor(options);\n });\n onBeforeUnmount(() => {\n var _a, _b, _c;\n // Cloning root node (and its children) to avoid content being lost by destroy\n const nodes = (_a = editor.value) === null || _a === void 0 ? void 0 : _a.options.element;\n const newEl = nodes === null || nodes === void 0 ? void 0 : nodes.cloneNode(true);\n (_b = nodes === null || nodes === void 0 ? void 0 : nodes.parentNode) === null || _b === void 0 ? void 0 : _b.replaceChild(newEl, nodes);\n (_c = editor.value) === null || _c === void 0 ? void 0 : _c.destroy();\n });\n return editor;\n};\n\n/**\n * This class is used to render Vue components inside the editor.\n */\nclass VueRenderer {\n constructor(component, { props = {}, editor }) {\n this.editor = editor;\n this.component = markRaw(component);\n this.el = document.createElement('div');\n this.props = reactive(props);\n this.renderedComponent = this.renderComponent();\n }\n get element() {\n return this.renderedComponent.el;\n }\n get ref() {\n var _a, _b, _c, _d;\n // Composition API\n if ((_b = (_a = this.renderedComponent.vNode) === null || _a === void 0 ? void 0 : _a.component) === null || _b === void 0 ? void 0 : _b.exposed) {\n return this.renderedComponent.vNode.component.exposed;\n }\n // Option API\n return (_d = (_c = this.renderedComponent.vNode) === null || _c === void 0 ? void 0 : _c.component) === null || _d === void 0 ? void 0 : _d.proxy;\n }\n renderComponent() {\n let vNode = h(this.component, this.props);\n if (this.editor.appContext) {\n vNode.appContext = this.editor.appContext;\n }\n if (typeof document !== 'undefined' && this.el) {\n render(vNode, this.el);\n }\n const destroy = () => {\n if (this.el) {\n render(null, this.el);\n }\n this.el = null;\n vNode = null;\n };\n return { vNode, destroy, el: this.el ? this.el.firstElementChild : null };\n }\n updateProps(props = {}) {\n Object.entries(props).forEach(([key, value]) => {\n this.props[key] = value;\n });\n this.renderComponent();\n }\n destroy() {\n this.renderedComponent.destroy();\n }\n}\n\n/* eslint-disable no-underscore-dangle */\nconst nodeViewProps = {\n editor: {\n type: Object,\n required: true,\n },\n node: {\n type: Object,\n required: true,\n },\n decorations: {\n type: Object,\n required: true,\n },\n selected: {\n type: Boolean,\n required: true,\n },\n extension: {\n type: Object,\n required: true,\n },\n getPos: {\n type: Function,\n required: true,\n },\n updateAttributes: {\n type: Function,\n required: true,\n },\n deleteNode: {\n type: Function,\n required: true,\n },\n view: {\n type: Object,\n required: true,\n },\n innerDecorations: {\n type: Object,\n required: true,\n },\n HTMLAttributes: {\n type: Object,\n required: true,\n },\n};\nclass VueNodeView extends NodeView {\n mount() {\n const props = {\n editor: this.editor,\n node: this.node,\n decorations: this.decorations,\n innerDecorations: this.innerDecorations,\n view: this.view,\n selected: false,\n extension: this.extension,\n HTMLAttributes: this.HTMLAttributes,\n getPos: () => this.getPos(),\n updateAttributes: (attributes = {}) => this.updateAttributes(attributes),\n deleteNode: () => this.deleteNode(),\n };\n const onDragStart = this.onDragStart.bind(this);\n this.decorationClasses = ref(this.getDecorationClasses());\n const extendedComponent = defineComponent({\n extends: { ...this.component },\n props: Object.keys(props),\n template: this.component.template,\n setup: reactiveProps => {\n var _a, _b;\n provide('onDragStart', onDragStart);\n provide('decorationClasses', this.decorationClasses);\n return (_b = (_a = this.component).setup) === null || _b === void 0 ? void 0 : _b.call(_a, reactiveProps, {\n expose: () => undefined,\n });\n },\n // add support for scoped styles\n // @ts-ignore\n // eslint-disable-next-line\n __scopeId: this.component.__scopeId,\n // add support for CSS Modules\n // @ts-ignore\n // eslint-disable-next-line\n __cssModules: this.component.__cssModules,\n // add support for vue devtools\n // @ts-ignore\n // eslint-disable-next-line\n __name: this.component.__name,\n // @ts-ignore\n // eslint-disable-next-line\n __file: this.component.__file,\n });\n this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this);\n this.editor.on('selectionUpdate', this.handleSelectionUpdate);\n this.renderer = new VueRenderer(extendedComponent, {\n editor: this.editor,\n props,\n });\n }\n /**\n * Return the DOM element.\n * This is the element that will be used to display the node view.\n */\n get dom() {\n if (!this.renderer.element || !this.renderer.element.hasAttribute('data-node-view-wrapper')) {\n throw Error('Please use the NodeViewWrapper component for your node view.');\n }\n return this.renderer.element;\n }\n /**\n * Return the content DOM element.\n * This is the element that will be used to display the rich-text content of the node.\n */\n get contentDOM() {\n if (this.node.isLeaf) {\n return null;\n }\n return this.dom.querySelector('[data-node-view-content]');\n }\n /**\n * On editor selection update, check if the node is selected.\n * If it is, call `selectNode`, otherwise call `deselectNode`.\n */\n handleSelectionUpdate() {\n const { from, to } = this.editor.state.selection;\n const pos = this.getPos();\n if (typeof pos !== 'number') {\n return;\n }\n if (from <= pos && to >= pos + this.node.nodeSize) {\n if (this.renderer.props.selected) {\n return;\n }\n this.selectNode();\n }\n else {\n if (!this.renderer.props.selected) {\n return;\n }\n this.deselectNode();\n }\n }\n /**\n * On update, update the React component.\n * To prevent unnecessary updates, the `update` option can be used.\n */\n update(node, decorations, innerDecorations) {\n const rerenderComponent = (props) => {\n this.decorationClasses.value = this.getDecorationClasses();\n this.renderer.updateProps(props);\n };\n if (typeof this.options.update === 'function') {\n const oldNode = this.node;\n const oldDecorations = this.decorations;\n const oldInnerDecorations = this.innerDecorations;\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n return this.options.update({\n oldNode,\n oldDecorations,\n newNode: node,\n newDecorations: decorations,\n oldInnerDecorations,\n innerDecorations,\n updateProps: () => rerenderComponent({ node, decorations, innerDecorations }),\n });\n }\n if (node.type !== this.node.type) {\n return false;\n }\n if (node === this.node && this.decorations === decorations && this.innerDecorations === innerDecorations) {\n return true;\n }\n this.node = node;\n this.decorations = decorations;\n this.innerDecorations = innerDecorations;\n rerenderComponent({ node, decorations, innerDecorations });\n return true;\n }\n /**\n * Select the node.\n * Add the `selected` prop and the `ProseMirror-selectednode` class.\n */\n selectNode() {\n this.renderer.updateProps({\n selected: true,\n });\n if (this.renderer.element) {\n this.renderer.element.classList.add('ProseMirror-selectednode');\n }\n }\n /**\n * Deselect the node.\n * Remove the `selected` prop and the `ProseMirror-selectednode` class.\n */\n deselectNode() {\n this.renderer.updateProps({\n selected: false,\n });\n if (this.renderer.element) {\n this.renderer.element.classList.remove('ProseMirror-selectednode');\n }\n }\n getDecorationClasses() {\n return (this.decorations\n // @ts-ignore\n .map(item => item.type.attrs.class)\n .flat()\n .join(' '));\n }\n destroy() {\n this.renderer.destroy();\n this.editor.off('selectionUpdate', this.handleSelectionUpdate);\n }\n}\nfunction VueNodeViewRenderer(component, options) {\n return props => {\n // try to get the parent component\n // this is important for vue devtools to show the component hierarchy correctly\n // maybe it’s `undefined` because <editor-content> isn’t rendered yet\n if (!props.editor.contentComponent) {\n return {};\n }\n // check for class-component and normalize if neccessary\n const normalizedComponent = typeof component === 'function' && '__vccOpts' in component\n ? component.__vccOpts\n : component;\n return new VueNodeView(normalizedComponent, props, options);\n };\n}\n\nexport { BubbleMenu, Editor, EditorContent, FloatingMenu, NodeViewContent, NodeViewWrapper, VueNodeViewRenderer, VueRenderer, nodeViewProps, useEditor };\n//# sourceMappingURL=index.js.map\n"],"names":["BubbleMenu","defineComponent","props","slots","root","ref","onMounted","updateDelay","editor","pluginKey","shouldShow","tippyOptions","BubbleMenuPlugin","onBeforeUnmount","_a","h","useDebouncedRef","value","customRef","track","trigger","newValue","Editor","Editor$1","options","nextState","markRaw","plugin","handlePlugins","nameOrPluginKey","EditorContent","rootEl","instance","getCurrentInstance","watchEffect","nextTick","element","unref","el","FloatingMenu","FloatingMenuPlugin","NodeViewContent","NodeViewWrapper","_b","useEditor","shallowRef","_c","nodes","newEl","VueRenderer","component","reactive","_d","vNode","render","key","nodeViewProps","VueNodeView","NodeView","attributes","onDragStart","extendedComponent","reactiveProps","provide","from","to","pos","node","decorations","innerDecorations","rerenderComponent","oldNode","oldDecorations","oldInnerDecorations","item","VueNodeViewRenderer","normalizedComponent"],"mappings":";;;;;AAMK,MAACA,IAAaC,EAAgB;AAAA,EAC/B,MAAM;AAAA,EACN,OAAO;AAAA,IACH,WAAW;AAAA,MACP,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,IACZ;AAAA,IACD,QAAQ;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA,IACb;AAAA,IACD,aAAa;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACZ;AAAA,IACD,cAAc;AAAA,MACV,MAAM;AAAA,MACN,SAAS,OAAO,CAAA;AAAA,IACnB;AAAA,IACD,YAAY;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACZ;AAAA,EACJ;AAAA,EACD,MAAMC,GAAO,EAAE,OAAAC,KAAS;AACpB,UAAMC,IAAOC,EAAI,IAAI;AACrB,WAAAC,EAAU,MAAM;AACZ,YAAM,EAAE,aAAAC,GAAa,QAAAC,GAAQ,WAAAC,GAAW,YAAAC,GAAY,cAAAC,EAAe,IAA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AA,EACV;AAAA;AAAA;AAAA;AAAA;AAAA,EAKD,aAAa;AACT,SAAK,SAAS,YAAY;AAAA,MACtB,UAAU;AAAA,IACtB,CAAS,GACG,KAAK,SAAS,WACd,KAAK,SAAS,QAAQ,UAAU,IAAI,0BAA0B;AAAA,EAErE;AAAA;AAAA;AAAA;AAAA;AAAA,EAKD,eAAe;AACX,SAAK,SAAS,YAAY;AAAA,MACtB,UAAU;AAAA,IACtB,CAAS,GACG,KAAK,SAAS,WACd,KAAK,SAAS,QAAQ,UAAU,OAAO,0BAA0B;AAAA,EAExE;AAAA,EACD,uBAAuB;AACnB,WAAQ,KAAK,YAER,IAAI,CAAAK,MAAQA,EAAK,KAAK,MAAM,KAAK,EACjC,KAAM,EACN,KAAK,GAAG;AAAA,EAChB;AAAA,EACD,UAAU;AACN,SAAK,SAAS,WACd,KAAK,OAAO,IAAI,mBAAmB,KAAK,qBAAqB;AAAA,EAChE;AACL;AACA,SAASC,EAAoBzB,GAAW1B,GAAS;AAC7C,SAAO,CAAAtB,MAAS;AAIZ,QAAI,CAACA,EAAM,OAAO;AACd,aAAO;AAGX,UAAM0E,IAAsB,OAAO1B,KAAc,cAAc,eAAeA,IACxEA,EAAU,YACVA;AACN,WAAO,IAAIO,EAAYmB,GAAqB1E,GAAOsB,CAAO;AAAA,EAClE;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.d-mention-suggestion__container[data-v-19e00c7c]{width:100%}.d-mention-suggestion__details-container[data-v-19e00c7c]{width:90%}.d-mention-suggestion__presence[data-v-19e00c7c]{min-width:fit-content;margin-left:var(--dt-space-200)}.d-mention-suggestion__status[data-v-19e00c7c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--dt-color-foreground-tertiary);margin-left:var(--dt-space-100)}.d-mention-suggestion__divider[data-v-19e00c7c]{color:var(--dt-color-foreground-tertiary)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
$emit: (event: "close" | "selected-emoji" | "skin-tone", ...args: any[]) => void;
|
|
2
|
+
$emit: (event: "close" | "selected-emoji" | "scroll-bottom-reached" | "skin-tone" | "add-emoji", ...args: any[]) => void;
|
|
3
3
|
$props: {
|
|
4
4
|
readonly [x: string]: any;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji_picker.vue.d.ts","sourceRoot":"","sources":["../../../../components/emoji_picker/emoji_picker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"emoji_picker.vue.d.ts","sourceRoot":"","sources":["../../../../components/emoji_picker/emoji_picker.vue"],"names":[],"mappings":"AA0EA;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
2
|
focusEmojiSelector: typeof focusEmojiSelector;
|
|
3
3
|
focusLastEmoji: typeof focusLastEmoji;
|
|
4
|
-
$emit: (event: "focus-search-input" | "focus-skin-selector" | "highlighted-emoji" | "selected-emoji" | "scroll-into-tab", ...args: any[]) => void;
|
|
4
|
+
$emit: (event: "focus-search-input" | "focus-skin-selector" | "highlighted-emoji" | "selected-emoji" | "scroll-into-tab" | "scroll-bottom-reached", ...args: any[]) => void;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly [x: string]: any;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji_selector.vue.d.ts","sourceRoot":"","sources":["../../../../../components/emoji_picker/modules/emoji_selector.vue"],"names":[],"mappings":"AAqGA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"emoji_selector.vue.d.ts","sourceRoot":"","sources":["../../../../../components/emoji_picker/modules/emoji_selector.vue"],"names":[],"mappings":"AAqGA;;;;;;;;;;AAgmCA,4CAEC;AAED,wCAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emoji_tabset.vue.d.ts","sourceRoot":"","sources":["../../../../../components/emoji_picker/modules/emoji_tabset.vue"],"names":[],"mappings":"AA6BA;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"emoji_tabset.vue.d.ts","sourceRoot":"","sources":["../../../../../components/emoji_picker/modules/emoji_tabset.vue"],"names":[],"mappings":"AA6BA;;;;;;;;;AAuVA,qCAEC"}
|
package/dist/vue3/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
decorations: {
|
|
11
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
11
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
selected: {
|
|
@@ -31,6 +31,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
31
|
type: import('vue').PropType<() => void>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
34
46
|
}, any, any, {
|
|
35
47
|
text(): string;
|
|
36
48
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -43,7 +55,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
55
|
required: true;
|
|
44
56
|
};
|
|
45
57
|
decorations: {
|
|
46
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
58
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
47
59
|
required: true;
|
|
48
60
|
};
|
|
49
61
|
selected: {
|
|
@@ -66,6 +78,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
66
78
|
type: import('vue').PropType<() => void>;
|
|
67
79
|
required: true;
|
|
68
80
|
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
69
93
|
}>>, {}, {}>;
|
|
70
94
|
export default _default;
|
|
71
95
|
//# sourceMappingURL=ChannelComponent.vue.d.ts.map
|
package/dist/vue3/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
decorations: {
|
|
11
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
11
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
selected: {
|
|
@@ -31,6 +31,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
31
|
type: import('vue').PropType<() => void>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
34
46
|
}, any, any, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
47
|
editor: {
|
|
36
48
|
type: import('vue').PropType<import('@tiptap/core').Editor>;
|
|
@@ -41,7 +53,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
41
53
|
required: true;
|
|
42
54
|
};
|
|
43
55
|
decorations: {
|
|
44
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
56
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
45
57
|
required: true;
|
|
46
58
|
};
|
|
47
59
|
selected: {
|
|
@@ -64,6 +76,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
64
76
|
type: import('vue').PropType<() => void>;
|
|
65
77
|
required: true;
|
|
66
78
|
};
|
|
79
|
+
view: {
|
|
80
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
innerDecorations: {
|
|
84
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
HTMLAttributes: {
|
|
88
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
67
91
|
}>>, {}, {}>;
|
|
68
92
|
export default _default;
|
|
69
93
|
//# sourceMappingURL=EmojiComponent.vue.d.ts.map
|
package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
decorations: {
|
|
11
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
11
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
selected: {
|
|
@@ -31,6 +31,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
31
|
type: import('vue').PropType<() => void>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
34
46
|
}, any, any, {
|
|
35
47
|
text(): string;
|
|
36
48
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -43,7 +55,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
55
|
required: true;
|
|
44
56
|
};
|
|
45
57
|
decorations: {
|
|
46
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
58
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
47
59
|
required: true;
|
|
48
60
|
};
|
|
49
61
|
selected: {
|
|
@@ -66,6 +78,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
66
78
|
type: import('vue').PropType<() => void>;
|
|
67
79
|
required: true;
|
|
68
80
|
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
69
93
|
}>>, {}, {}>;
|
|
70
94
|
export default _default;
|
|
71
95
|
//# sourceMappingURL=MentionComponent.vue.d.ts.map
|
package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts
CHANGED
|
@@ -6,6 +6,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
6
6
|
}, any, any, {
|
|
7
7
|
name(): any;
|
|
8
8
|
avatarSrc(): any;
|
|
9
|
+
presence(): any;
|
|
10
|
+
status(): any;
|
|
11
|
+
presenceText(): any;
|
|
12
|
+
presenceFontColorClass(): any;
|
|
13
|
+
showDetails(): any;
|
|
9
14
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
15
|
item: {
|
|
11
16
|
type: ObjectConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MentionSuggestion.vue.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/mentions/MentionSuggestion.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MentionSuggestion.vue.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/mentions/MentionSuggestion.vue"],"names":[],"mappings":"AAmDA;"}
|
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
decorations: {
|
|
11
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
11
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
selected: {
|
|
@@ -31,6 +31,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
31
|
type: import('vue').PropType<() => void>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
34
46
|
}, any, any, {
|
|
35
47
|
text(): string;
|
|
36
48
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "selected-command"[], "selected-command", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -43,7 +55,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
55
|
required: true;
|
|
44
56
|
};
|
|
45
57
|
decorations: {
|
|
46
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
58
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
47
59
|
required: true;
|
|
48
60
|
};
|
|
49
61
|
selected: {
|
|
@@ -66,6 +78,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
66
78
|
type: import('vue').PropType<() => void>;
|
|
67
79
|
required: true;
|
|
68
80
|
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
69
93
|
}>> & {
|
|
70
94
|
"onSelected-command"?: ((...args: any[]) => any) | undefined;
|
|
71
95
|
}, {}, {}>;
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
function items({ query }: {
|
|
3
3
|
query: any;
|
|
4
|
-
}): Promise<{
|
|
4
|
+
}): Promise<({
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
7
|
-
avatarSrc:
|
|
8
|
-
|
|
7
|
+
avatarSrc: any;
|
|
8
|
+
showDetails: boolean;
|
|
9
|
+
presence: string;
|
|
10
|
+
presenceText: string;
|
|
11
|
+
status: string;
|
|
12
|
+
} | {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
avatarSrc: any;
|
|
16
|
+
showDetails: boolean;
|
|
17
|
+
presence: string;
|
|
18
|
+
status: string;
|
|
19
|
+
presenceText?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
avatarSrc: any;
|
|
24
|
+
showDetails?: undefined;
|
|
25
|
+
presence?: undefined;
|
|
26
|
+
presenceText?: undefined;
|
|
27
|
+
status?: undefined;
|
|
28
|
+
})[]>;
|
|
9
29
|
}
|
|
10
30
|
export default _default;
|
|
11
31
|
//# 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":";
|
|
1
|
+
{"version":3,"file":"mention_suggestion.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/mention_suggestion.js"],"names":[],"mappings":";IA6EE;;;;;;;;;;;;;;;;;;;;;;;;;;UAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAo7B0B,cAAc"}
|
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
decorations: {
|
|
11
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
11
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
14
|
selected: {
|
|
@@ -31,6 +31,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
31
|
type: import('vue').PropType<() => void>;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
34
46
|
}, any, any, {}, {
|
|
35
47
|
close(e: any): void;
|
|
36
48
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "meeting-pill-close"[], "meeting-pill-close", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -43,7 +55,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
55
|
required: true;
|
|
44
56
|
};
|
|
45
57
|
decorations: {
|
|
46
|
-
type: import('vue').PropType<import('@tiptap/vue-3').DecorationWithType[]>;
|
|
58
|
+
type: import('vue').PropType<readonly import('@tiptap/vue-3').DecorationWithType[]>;
|
|
47
59
|
required: true;
|
|
48
60
|
};
|
|
49
61
|
selected: {
|
|
@@ -66,6 +78,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
66
78
|
type: import('vue').PropType<() => void>;
|
|
67
79
|
required: true;
|
|
68
80
|
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import('vue').PropType<import('@tiptap/pm/view').EditorView>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import('vue').PropType<import('@tiptap/pm/view').DecorationSource>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import('vue').PropType<Record<string, any>>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
69
93
|
}>> & {
|
|
70
94
|
"onMeeting-pill-close"?: ((...args: any[]) => any) | undefined;
|
|
71
95
|
}, {}, {}>;
|
|
@@ -140,6 +140,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
140
140
|
muted: boolean;
|
|
141
141
|
selected: boolean;
|
|
142
142
|
avatarSrc: string;
|
|
143
|
+
presenceText: string;
|
|
143
144
|
avatarSeed: string;
|
|
144
145
|
noInitials: boolean;
|
|
145
146
|
avatarColor: string;
|
|
@@ -150,7 +151,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
150
151
|
callButtonTooltip: string;
|
|
151
152
|
isTyping: boolean;
|
|
152
153
|
avatarPresence: string;
|
|
153
|
-
presenceText: string;
|
|
154
154
|
userStatus: string;
|
|
155
155
|
}, {}>;
|
|
156
156
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.123.1",
|
|
4
4
|
"description": "Dialpad's Dialtone design system monorepo",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -44,34 +44,34 @@
|
|
|
44
44
|
"./*": "./dist/*"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@tiptap/core": "2.
|
|
48
|
-
"@tiptap/extension-blockquote": "2.
|
|
49
|
-
"@tiptap/extension-bold": "2.
|
|
50
|
-
"@tiptap/extension-bubble-menu": "2.
|
|
51
|
-
"@tiptap/extension-bullet-list": "2.
|
|
52
|
-
"@tiptap/extension-code": "2.
|
|
53
|
-
"@tiptap/extension-code-block": "2.
|
|
54
|
-
"@tiptap/extension-
|
|
55
|
-
"@tiptap/extension-
|
|
56
|
-
"@tiptap/extension-
|
|
57
|
-
"@tiptap/extension-
|
|
58
|
-
"@tiptap/extension-
|
|
59
|
-
"@tiptap/extension-
|
|
60
|
-
"@tiptap/extension-
|
|
61
|
-
"@tiptap/extension-
|
|
62
|
-
"@tiptap/extension-
|
|
63
|
-
"@tiptap/extension-
|
|
64
|
-
"@tiptap/extension-
|
|
65
|
-
"@tiptap/extension-
|
|
66
|
-
"@tiptap/extension-
|
|
67
|
-
"@tiptap/extension-
|
|
68
|
-
"@tiptap/extension-
|
|
69
|
-
"@tiptap/extension-
|
|
70
|
-
"@tiptap/extension-text-
|
|
71
|
-
"@tiptap/extension-
|
|
72
|
-
"@tiptap/extension-
|
|
73
|
-
"@tiptap/pm": "2.
|
|
74
|
-
"@tiptap/suggestion": "2.
|
|
47
|
+
"@tiptap/core": "2.12.0",
|
|
48
|
+
"@tiptap/extension-blockquote": "2.12.0",
|
|
49
|
+
"@tiptap/extension-bold": "2.12.0",
|
|
50
|
+
"@tiptap/extension-bubble-menu": "2.12.0",
|
|
51
|
+
"@tiptap/extension-bullet-list": "2.12.0",
|
|
52
|
+
"@tiptap/extension-code": "2.12.0",
|
|
53
|
+
"@tiptap/extension-code-block": "2.12.0",
|
|
54
|
+
"@tiptap/extension-color": "2.12.0",
|
|
55
|
+
"@tiptap/extension-document": "2.12.0",
|
|
56
|
+
"@tiptap/extension-floating-menu": "2.12.0",
|
|
57
|
+
"@tiptap/extension-font-family": "2.12.0",
|
|
58
|
+
"@tiptap/extension-hard-break": "2.12.0",
|
|
59
|
+
"@tiptap/extension-history": "2.12.0",
|
|
60
|
+
"@tiptap/extension-image": "2.12.0",
|
|
61
|
+
"@tiptap/extension-italic": "2.12.0",
|
|
62
|
+
"@tiptap/extension-link": "2.12.0",
|
|
63
|
+
"@tiptap/extension-list-item": "2.12.0",
|
|
64
|
+
"@tiptap/extension-mention": "2.12.0",
|
|
65
|
+
"@tiptap/extension-ordered-list": "2.12.0",
|
|
66
|
+
"@tiptap/extension-paragraph": "2.12.0",
|
|
67
|
+
"@tiptap/extension-placeholder": "2.12.0",
|
|
68
|
+
"@tiptap/extension-strike": "2.12.0",
|
|
69
|
+
"@tiptap/extension-text": "2.12.0",
|
|
70
|
+
"@tiptap/extension-text-align": "2.12.0",
|
|
71
|
+
"@tiptap/extension-text-style": "2.12.0",
|
|
72
|
+
"@tiptap/extension-underline": "2.12.0",
|
|
73
|
+
"@tiptap/pm": "2.12.0",
|
|
74
|
+
"@tiptap/suggestion": "2.12.0",
|
|
75
75
|
"date-fns": "4.1.0",
|
|
76
76
|
"deep-equal": "2.2.3",
|
|
77
77
|
"docopt": "0.6.2",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"overlayscrollbars": "2.10.0",
|
|
81
81
|
"regex-combined-emojis": "1.6.0",
|
|
82
82
|
"tippy.js": "6.3.7",
|
|
83
|
-
"@dialpad/dialtone-icons": "4.
|
|
84
|
-
"@dialpad/dialtone-
|
|
85
|
-
"@dialpad/dialtone-
|
|
83
|
+
"@dialpad/dialtone-icons": "4.40.0",
|
|
84
|
+
"@dialpad/dialtone-tokens": "1.43.2",
|
|
85
|
+
"@dialpad/dialtone-emojis": "1.1.2"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@commitlint/cli": "^18.4.3",
|