Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
This commit is contained in:
@@ -14,14 +14,14 @@
|
|||||||
"@mvasilkov/outdent": "^1.0.4",
|
"@mvasilkov/outdent": "^1.0.4",
|
||||||
"canvas": "^2.6.1",
|
"canvas": "^2.6.1",
|
||||||
"collect.js": "^4.28.6",
|
"collect.js": "^4.28.6",
|
||||||
"d3": "^6.5.0",
|
"d3": "^6.6.1",
|
||||||
"globby": "^11.0.0",
|
"globby": "^11.0.3",
|
||||||
"gridsome": "0.7.23",
|
"gridsome": "0.7.23",
|
||||||
"iframe-resizer": "^4.3.1",
|
"iframe-resizer": "^4.3.1",
|
||||||
"portal-vue": "^2.1.7",
|
"portal-vue": "^2.1.7",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.1",
|
"react-dom": "^17.0.2",
|
||||||
"remark-container": "^0.1.2",
|
"remark-container": "^0.1.2",
|
||||||
"remark-toc": "^7.2.0",
|
"remark-toc": "^7.2.0",
|
||||||
"remixicon": "^2.5.0",
|
"remixicon": "^2.5.0",
|
||||||
@@ -33,13 +33,13 @@
|
|||||||
"y-prosemirror": "^1.0.7",
|
"y-prosemirror": "^1.0.7",
|
||||||
"y-webrtc": "^10.1.7",
|
"y-webrtc": "^10.1.7",
|
||||||
"y-websocket": "^1.3.11",
|
"y-websocket": "^1.3.11",
|
||||||
"yjs": "^13.5.1"
|
"yjs": "^13.5.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.13.0",
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
||||||
"@babel/plugin-syntax-class-properties": "^7.12.13",
|
"@babel/plugin-syntax-class-properties": "^7.12.13",
|
||||||
"@babel/preset-env": "^7.13.5",
|
"@babel/preset-env": "^7.13.12",
|
||||||
"@babel/preset-react": "^7.12.13",
|
"@babel/preset-react": "^7.12.13",
|
||||||
"html-loader": "^1.3.2",
|
"html-loader": "^1.3.2",
|
||||||
"node-sass": "^5.0.0",
|
"node-sass": "^5.0.0",
|
||||||
|
|||||||
@@ -4,10 +4,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Editor, EditorContent } from '@tiptap/vue-2'
|
import { Editor, EditorContent } from '@tiptap/vue-2'
|
||||||
import Document from '@tiptap/extension-document'
|
import { defaultExtensions } from '@tiptap/starter-kit'
|
||||||
import Paragraph from '@tiptap/extension-paragraph'
|
import Placeholder from '@tiptap/extension-placeholder'
|
||||||
import Text from '@tiptap/extension-text'
|
|
||||||
import Placeholder from './extension/placeholder'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -23,9 +21,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.editor = new Editor({
|
this.editor = new Editor({
|
||||||
extensions: [
|
extensions: [
|
||||||
Document,
|
...defaultExtensions(),
|
||||||
Paragraph,
|
|
||||||
Text,
|
|
||||||
Placeholder,
|
Placeholder,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
@@ -48,7 +44,7 @@ export default {
|
|||||||
|
|
||||||
/* Placeholder */
|
/* Placeholder */
|
||||||
.ProseMirror p.is-editor-empty:first-child::before {
|
.ProseMirror p.is-editor-empty:first-child::before {
|
||||||
content: attr(data-empty-text);
|
content: attr(data-placeholder);
|
||||||
float: left;
|
float: left;
|
||||||
color: #ced4da;
|
color: #ced4da;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@@ -40,10 +40,9 @@ export default {
|
|||||||
this.editor = new Editor({
|
this.editor = new Editor({
|
||||||
extensions: defaultExtensions(),
|
extensions: defaultExtensions(),
|
||||||
content: this.value,
|
content: this.value,
|
||||||
})
|
onUpdate: () => {
|
||||||
|
|
||||||
this.editor.on('update', () => {
|
|
||||||
this.$emit('input', this.editor.getHTML())
|
this.$emit('input', this.editor.getHTML())
|
||||||
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { NodeViewWrapper, NodeViewContent } from '@tiptap/react'
|
|||||||
export default () => {
|
export default () => {
|
||||||
return (
|
return (
|
||||||
<NodeViewWrapper className="react-component-with-content">
|
<NodeViewWrapper className="react-component-with-content">
|
||||||
<span className="label">React Component</span>
|
<span className="label" contenteditable="false">React Component</span>
|
||||||
|
|
||||||
<NodeViewContent className="content" />
|
<NodeViewContent className="content" />
|
||||||
</NodeViewWrapper>
|
</NodeViewWrapper>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<node-view-wrapper class="vue-component">
|
<node-view-wrapper class="vue-component">
|
||||||
<span class="label">Vue Component</span>
|
<span class="label" contenteditable="false">Vue Component</span>
|
||||||
|
|
||||||
<node-view-content class="content" />
|
<node-view-content class="content" />
|
||||||
</node-view-wrapper>
|
</node-view-wrapper>
|
||||||
|
|||||||
@@ -1,299 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
import React, { useState } from 'react'
|
|
||||||
import tippy from 'tippy.js'
|
|
||||||
import {
|
|
||||||
useEditor, EditorContent, ReactRenderer, ReactNodeViewRenderer, NodeViewWrapper, NodeViewContent,
|
|
||||||
} from '@tiptap/react'
|
|
||||||
import { defaultExtensions } from '@tiptap/starter-kit'
|
|
||||||
import Heading from '@tiptap/extension-heading'
|
|
||||||
import Paragraph from '@tiptap/extension-paragraph'
|
|
||||||
import Mention from '@tiptap/extension-mention'
|
|
||||||
import './styles.scss'
|
|
||||||
import { render } from 'react-dom'
|
|
||||||
|
|
||||||
const MenuBar = ({ editor }) => {
|
|
||||||
if (!editor) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleBold().run()}
|
|
||||||
className={editor.isActive('bold') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
bold
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleItalic().run()}
|
|
||||||
className={editor.isActive('italic') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
italic
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleStrike().run()}
|
|
||||||
className={editor.isActive('strike') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
strike
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleCode().run()}
|
|
||||||
className={editor.isActive('code') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
code
|
|
||||||
</button>
|
|
||||||
<button onClick={() => editor.chain().focus().unsetAllMarks().run()}>
|
|
||||||
clear marks
|
|
||||||
</button>
|
|
||||||
<button onClick={() => editor.chain().focus().clearNodes().run()}>
|
|
||||||
clear nodes
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().setParagraph().run()}
|
|
||||||
className={editor.isActive('paragraph') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
paragraph
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleHeading({ level: 1 }).run()}
|
|
||||||
className={editor.isActive('heading', { level: 1 }) ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
h1
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleHeading({ level: 2 }).run()}
|
|
||||||
className={editor.isActive('heading', { level: 2 }) ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
h2
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleHeading({ level: 3 }).run()}
|
|
||||||
className={editor.isActive('heading', { level: 3 }) ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
h3
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleHeading({ level: 4 }).run()}
|
|
||||||
className={editor.isActive('heading', { level: 4 }) ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
h4
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleHeading({ level: 5 }).run()}
|
|
||||||
className={editor.isActive('heading', { level: 5 }) ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
h5
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleHeading({ level: 6 }).run()}
|
|
||||||
className={editor.isActive('heading', { level: 6 }) ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
h6
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleBulletList().run()}
|
|
||||||
className={editor.isActive('bulletList') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
bullet list
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleOrderedList().run()}
|
|
||||||
className={editor.isActive('orderedList') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
ordered list
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleCodeBlock().run()}
|
|
||||||
className={editor.isActive('codeBlock') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
code block
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
onClick={() => editor.chain().focus().toggleBlockquote().run()}
|
|
||||||
className={editor.isActive('blockquote') ? 'is-active' : ''}
|
|
||||||
>
|
|
||||||
blockquote
|
|
||||||
</button>
|
|
||||||
<button onClick={() => editor.chain().focus().setHorizontalRule().run()}>
|
|
||||||
horizontal rule
|
|
||||||
</button>
|
|
||||||
<button onClick={() => editor.chain().focus().setHardBreak().run()}>
|
|
||||||
hard break
|
|
||||||
</button>
|
|
||||||
<button onClick={() => editor.chain().focus().undo().run()}>
|
|
||||||
undo
|
|
||||||
</button>
|
|
||||||
<button onClick={() => editor.chain().focus().redo().run()}>
|
|
||||||
redo
|
|
||||||
</button>
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
const MentionList = props => {
|
|
||||||
console.log({ props })
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
mentions
|
|
||||||
{props.items.map(item => (
|
|
||||||
<div>
|
|
||||||
{item}
|
|
||||||
</div>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
class MentionList2 extends React.Component {
|
|
||||||
|
|
||||||
onKeyDown(props) {
|
|
||||||
console.log('onKeyDown', props)
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
mentions
|
|
||||||
{this.props.items.map((item, index) => (
|
|
||||||
<div key={index}>
|
|
||||||
{item}
|
|
||||||
</div>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export default () => {
|
|
||||||
const [isVisible, setVisible] = useState(true)
|
|
||||||
|
|
||||||
const editor = useEditor({
|
|
||||||
// onTransaction({ editor }) {
|
|
||||||
// console.log('anchor', editor.state.selection.anchor)
|
|
||||||
// },
|
|
||||||
extensions: [
|
|
||||||
...defaultExtensions().filter(item => item.config.name !== 'heading'),
|
|
||||||
Heading.extend({
|
|
||||||
draggable: true,
|
|
||||||
addNodeView() {
|
|
||||||
return ReactNodeViewRenderer(props => {
|
|
||||||
return (
|
|
||||||
<NodeViewWrapper>
|
|
||||||
<div className="heading">
|
|
||||||
<span
|
|
||||||
data-drag-handle
|
|
||||||
contentEditable={false}
|
|
||||||
draggable={true}
|
|
||||||
suppressContentEditableWarning={true}
|
|
||||||
>⠿</span>
|
|
||||||
level: {props.node.attrs.level}
|
|
||||||
<button onClick={() => props.updateAttributes({ level: 1 })}>
|
|
||||||
set level 1
|
|
||||||
</button>
|
|
||||||
<NodeViewContent />
|
|
||||||
</div>
|
|
||||||
</NodeViewWrapper>
|
|
||||||
)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
Mention.configure({
|
|
||||||
suggestion: {
|
|
||||||
items: query => {
|
|
||||||
return [
|
|
||||||
'Lea Thompson', 'Cyndi Lauper', 'Tom Cruise', 'Madonna', 'Jerry Hall', 'Joan Collins', 'Winona Ryder', 'Christina Applegate', 'Alyssa Milano', 'Molly Ringwald', 'Ally Sheedy', 'Debbie Harry', 'Olivia Newton-John', 'Elton John', 'Michael J. Fox', 'Axl Rose', 'Emilio Estevez', 'Ralph Macchio', 'Rob Lowe', 'Jennifer Grey', 'Mickey Rourke', 'John Cusack', 'Matthew Broderick', 'Justine Bateman', 'Lisa Bonet',
|
|
||||||
].filter(item => item.toLowerCase().startsWith(query.toLowerCase())).slice(0, 10)
|
|
||||||
},
|
|
||||||
render: () => {
|
|
||||||
let reactRenderer
|
|
||||||
let popup
|
|
||||||
|
|
||||||
return {
|
|
||||||
onStart: props => {
|
|
||||||
reactRenderer = new ReactRenderer(MentionList2, {
|
|
||||||
props,
|
|
||||||
editor: props.editor,
|
|
||||||
})
|
|
||||||
|
|
||||||
popup = tippy('body', {
|
|
||||||
getReferenceClientRect: props.clientRect,
|
|
||||||
appendTo: () => document.body,
|
|
||||||
content: reactRenderer.element,
|
|
||||||
showOnCreate: true,
|
|
||||||
interactive: true,
|
|
||||||
trigger: 'manual',
|
|
||||||
placement: 'bottom-start',
|
|
||||||
})
|
|
||||||
},
|
|
||||||
onUpdate(props) {
|
|
||||||
reactRenderer.updateProps(props)
|
|
||||||
|
|
||||||
popup[0].setProps({
|
|
||||||
getReferenceClientRect: props.clientRect,
|
|
||||||
})
|
|
||||||
},
|
|
||||||
onKeyDown(props) {
|
|
||||||
return reactRenderer.ref?.onKeyDown(props)
|
|
||||||
},
|
|
||||||
onExit() {
|
|
||||||
popup[0].destroy()
|
|
||||||
reactRenderer.destroy()
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
content: `
|
|
||||||
<h1>heading</h1>
|
|
||||||
<h2>heading</h2>
|
|
||||||
<p>paragraph</p>
|
|
||||||
`,
|
|
||||||
// content: `
|
|
||||||
// <h2>
|
|
||||||
// Hi there,
|
|
||||||
// </h2>
|
|
||||||
// <p>
|
|
||||||
// this is a basic <em>basic</em> example of <strong>tiptap</strong>. Sure, there are all kind of basic text styles you’d probably expect from a text editor. But wait until you see the lists:
|
|
||||||
// </p>
|
|
||||||
// <ul>
|
|
||||||
// <li>
|
|
||||||
// That’s a bullet list with one …
|
|
||||||
// </li>
|
|
||||||
// <li>
|
|
||||||
// … or two list items.
|
|
||||||
// </li>
|
|
||||||
// </ul>
|
|
||||||
// <p>
|
|
||||||
// Isn’t that great? And all of that is editable. But wait, there’s more. Let’s try a code block:
|
|
||||||
// </p>
|
|
||||||
// <pre><code class="language-css">body {
|
|
||||||
// display: none;
|
|
||||||
// }</code></pre>
|
|
||||||
// <p>
|
|
||||||
// I know, I know, this is impressive. It’s only the tip of the iceberg though. Give it a try and click a little bit around. Don’t forget to check the other examples too.
|
|
||||||
// </p>
|
|
||||||
// <blockquote>
|
|
||||||
// Wow, that’s amazing. Good work, boy! 👏
|
|
||||||
// <br />
|
|
||||||
// — Mom
|
|
||||||
// </blockquote>
|
|
||||||
// `,
|
|
||||||
})
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<button onClick={() => setVisible(true)}>visible</button>
|
|
||||||
<button onClick={() => setVisible(false)}>hidden</button>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<button onClick={() => editor.setEditable(true)}>editable</button>
|
|
||||||
<button onClick={() => editor.setEditable(false)}>readonly</button>
|
|
||||||
</div>
|
|
||||||
<MenuBar editor={editor} />
|
|
||||||
{isVisible && <EditorContent editor={editor} />}
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
context('/demos/Examples/Default/React', () => {
|
|
||||||
before(() => {
|
|
||||||
cy.visit('/demos/Examples/Default/React')
|
|
||||||
})
|
|
||||||
|
|
||||||
beforeEach(() => {
|
|
||||||
cy.get('.ProseMirror').then(([{ editor }]) => {
|
|
||||||
editor.commands.setContent('<h1>Example Text</h1>')
|
|
||||||
cy.get('.ProseMirror').type('{selectall}')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
it('should apply the paragraph style when the keyboard shortcut is pressed', () => {
|
|
||||||
cy.get('.ProseMirror h1').should('exist')
|
|
||||||
cy.get('.ProseMirror p').should('not.exist')
|
|
||||||
|
|
||||||
cy.get('.ProseMirror')
|
|
||||||
.trigger('keydown', { modKey: true, altKey: true, key: '0' })
|
|
||||||
.find('p')
|
|
||||||
.should('contain', 'Example Text')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
/* Basic editor styles */
|
|
||||||
.ProseMirror {
|
|
||||||
> * + * {
|
|
||||||
margin-top: 0.75em;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul,
|
|
||||||
ol {
|
|
||||||
padding: 0 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
line-height: 1.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
background-color: rgba(#616161, 0.1);
|
|
||||||
color: #616161;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
background: #0D0D0D;
|
|
||||||
color: #FFF;
|
|
||||||
font-family: 'JetBrainsMono', monospace;
|
|
||||||
padding: 0.75rem 1rem;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
|
|
||||||
code {
|
|
||||||
color: inherit;
|
|
||||||
background: none;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
padding-left: 1rem;
|
|
||||||
border-left: 2px solid rgba(#0D0D0D, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
border: none;
|
|
||||||
border-top: 2px solid rgba(#0D0D0D, 0.1);
|
|
||||||
margin: 2rem 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
29
docs/src/docPages/api/extensions/placeholder.md
Normal file
29
docs/src/docPages/api/extensions/placeholder.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Placeholder
|
||||||
|
[](https://www.npmjs.com/package/@tiptap/extension-placeholder)
|
||||||
|
[](https://npmcharts.com/compare/@tiptap/extension-placeholder?minimal=true)
|
||||||
|
|
||||||
|
This extension provides placeholder support.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
```bash
|
||||||
|
# with npm
|
||||||
|
npm install @tiptap/extension-placeholder
|
||||||
|
|
||||||
|
# with Yarn
|
||||||
|
yarn add @tiptap/extension-placeholder
|
||||||
|
```
|
||||||
|
|
||||||
|
## Settings
|
||||||
|
| Option | Type | Default | Description |
|
||||||
|
| -------------------- | ------------------- | --------------------- | ----------------------------------------------------------- |
|
||||||
|
| emptyEditorClass | `String` | `'is-editor-empty'` | The added CSS class if the editor is empty. |
|
||||||
|
| emptyNodeClass | `String` | `'is-empty'` | The added CSS class if the node is empty. |
|
||||||
|
| placeholder | `String | Function` | `'Write something …'` | The placeholder text added as `data-placeholder` attribute. |
|
||||||
|
| showOnlyWhenEditable | `Boolean` | `true` | Show decorations only when editor is editable. |
|
||||||
|
| showOnlyCurrent | `Boolean` | `true` | Show decorations only in currently selected node. |
|
||||||
|
|
||||||
|
## Source code
|
||||||
|
[packages/extension-placeholder/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-placeholder/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
<demo name="Extensions/Placeholder" />
|
||||||
@@ -8,6 +8,3 @@ Congratulations! You’ve found our playground with a list of experiments. Be aw
|
|||||||
* [@tiptap/extension-iframe?](/experiments/embeds)
|
* [@tiptap/extension-iframe?](/experiments/embeds)
|
||||||
* [@tiptap/extension-toggle-list?](/experiments/details)
|
* [@tiptap/extension-toggle-list?](/experiments/details)
|
||||||
* [@tiptap/extension-collaboration-annotation](/experiments/collaboration-annotation)
|
* [@tiptap/extension-collaboration-annotation](/experiments/collaboration-annotation)
|
||||||
|
|
||||||
## Waiting for approval
|
|
||||||
* [@tiptap/extension-placeholder](/experiments/placeholder)
|
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ export default {
|
|||||||
NodeViewContent,
|
NodeViewContent,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
You don’t need to add those `class` attributes, feel free to remove them or pass other class names. Try it out in the following example:
|
You don’t need to add those `class` attributes, feel free to remove them or pass other class names. Try it out in the following example:
|
||||||
|
|||||||
@@ -173,10 +173,9 @@ export default {
|
|||||||
this.editor = new Editor({
|
this.editor = new Editor({
|
||||||
content: this.modelValue,
|
content: this.modelValue,
|
||||||
extensions: defaultExtensions(),
|
extensions: defaultExtensions(),
|
||||||
})
|
onUpdate: () => {
|
||||||
|
|
||||||
this.editor.on('update', () => {
|
|
||||||
this.$emit('update:modelValue', this.editor.getHTML())
|
this.$emit('update:modelValue', this.editor.getHTML())
|
||||||
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -213,6 +213,8 @@
|
|||||||
link: /api/extensions/gapcursor
|
link: /api/extensions/gapcursor
|
||||||
- title: History
|
- title: History
|
||||||
link: /api/extensions/history
|
link: /api/extensions/history
|
||||||
|
- title: Placeholder
|
||||||
|
link: /api/extensions/placeholder
|
||||||
- title: TextAlign
|
- title: TextAlign
|
||||||
link: /api/extensions/text-align
|
link: /api/extensions/text-align
|
||||||
- title: Typography
|
- title: Typography
|
||||||
|
|||||||
14
package.json
14
package.json
@@ -28,8 +28,8 @@
|
|||||||
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
||||||
"@babel/core": "^7.13.1",
|
"@babel/core": "^7.13.1",
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.0",
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.0",
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.13.0",
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
||||||
"@babel/preset-env": "^7.13.5",
|
"@babel/preset-env": "^7.13.12",
|
||||||
"@babel/preset-react": "^7.12.13",
|
"@babel/preset-react": "^7.12.13",
|
||||||
"@lerna/batch-packages": "^3.16.0",
|
"@lerna/batch-packages": "^3.16.0",
|
||||||
"@lerna/filter-packages": "^3.18.0",
|
"@lerna/filter-packages": "^3.18.0",
|
||||||
@@ -37,18 +37,18 @@
|
|||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"@rollup/plugin-commonjs": "^17.0.0",
|
"@rollup/plugin-commonjs": "^17.0.0",
|
||||||
"@rollup/plugin-node-resolve": "^11.2.0",
|
"@rollup/plugin-node-resolve": "^11.2.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
||||||
"@typescript-eslint/parser": "^4.18.0",
|
"@typescript-eslint/parser": "^4.19.0",
|
||||||
"cypress": "^6.7.1",
|
"cypress": "^6.8.0",
|
||||||
"eslint": "^7.22.0",
|
"eslint": "^7.22.0",
|
||||||
"eslint-config-airbnb-base": "^14.2.0",
|
"eslint-config-airbnb-base": "^14.2.0",
|
||||||
"eslint-plugin-cypress": "^2.11.2",
|
"eslint-plugin-cypress": "^2.11.2",
|
||||||
"eslint-plugin-html": "^6.1.0",
|
"eslint-plugin-html": "^6.1.0",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-vue": "^7.6.0",
|
"eslint-plugin-vue": "^7.8.0",
|
||||||
"lerna": "^3.22.1",
|
"lerna": "^3.22.1",
|
||||||
"minimist": "^1.2.5",
|
"minimist": "^1.2.5",
|
||||||
"rollup": "^2.41.4",
|
"rollup": "^2.42.4",
|
||||||
"rollup-plugin-auto-external": "^2.0.0",
|
"rollup-plugin-auto-external": "^2.0.0",
|
||||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.5...@tiptap/core@2.0.0-beta.6) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/core
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.4...@tiptap/core@2.0.0-beta.5) (2021-03-18)
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.4...@tiptap/core@2.0.0-beta.5) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/core
|
**Note:** Version bump only for package @tiptap/core
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/core",
|
"name": "@tiptap/core",
|
||||||
"description": "headless rich text editor",
|
"description": "headless rich text editor",
|
||||||
"version": "2.0.0-beta.5",
|
"version": "2.0.0-beta.6",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import getMarkAttributes from './helpers/getMarkAttributes'
|
|||||||
import isActive from './helpers/isActive'
|
import isActive from './helpers/isActive'
|
||||||
import removeElement from './utilities/removeElement'
|
import removeElement from './utilities/removeElement'
|
||||||
import getHTMLFromFragment from './helpers/getHTMLFromFragment'
|
import getHTMLFromFragment from './helpers/getHTMLFromFragment'
|
||||||
|
import isNodeEmpty from './helpers/isNodeEmpty'
|
||||||
import createStyleTag from './utilities/createStyleTag'
|
import createStyleTag from './utilities/createStyleTag'
|
||||||
import CommandManager from './CommandManager'
|
import CommandManager from './CommandManager'
|
||||||
import ExtensionManager from './ExtensionManager'
|
import ExtensionManager from './ExtensionManager'
|
||||||
@@ -415,11 +416,8 @@ export class Editor extends EventEmitter {
|
|||||||
/**
|
/**
|
||||||
* Check if there is no content.
|
* Check if there is no content.
|
||||||
*/
|
*/
|
||||||
public isEmpty(): boolean {
|
public get isEmpty(): boolean {
|
||||||
const defaultContent = this.state.doc.type.createAndFill()?.toJSON()
|
return isNodeEmpty(this.state.doc)
|
||||||
const content = this.getJSON()
|
|
||||||
|
|
||||||
return JSON.stringify(defaultContent) === JSON.stringify(content)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
8
packages/core/src/helpers/isNodeEmpty.ts
Normal file
8
packages/core/src/helpers/isNodeEmpty.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import { Node as ProseMirrorNode } from 'prosemirror-model'
|
||||||
|
|
||||||
|
export default function isNodeEmpty(node: ProseMirrorNode): boolean {
|
||||||
|
const defaultContent = node.type.createAndFill()?.toJSON()
|
||||||
|
const content = node.toJSON()
|
||||||
|
|
||||||
|
return JSON.stringify(defaultContent) === JSON.stringify(content)
|
||||||
|
}
|
||||||
@@ -18,6 +18,7 @@ export { default as getMarkAttributes } from './helpers/getMarkAttributes'
|
|||||||
export { default as isActive } from './helpers/isActive'
|
export { default as isActive } from './helpers/isActive'
|
||||||
export { default as isMarkActive } from './helpers/isMarkActive'
|
export { default as isMarkActive } from './helpers/isMarkActive'
|
||||||
export { default as isNodeActive } from './helpers/isNodeActive'
|
export { default as isNodeActive } from './helpers/isNodeActive'
|
||||||
|
export { default as isNodeEmpty } from './helpers/isNodeEmpty'
|
||||||
export { default as isNodeSelection } from './helpers/isNodeSelection'
|
export { default as isNodeSelection } from './helpers/isNodeSelection'
|
||||||
export { default as isTextSelection } from './helpers/isTextSelection'
|
export { default as isTextSelection } from './helpers/isTextSelection'
|
||||||
export { default as findParentNodeClosestToPos } from './helpers/findParentNodeClosestToPos'
|
export { default as findParentNodeClosestToPos } from './helpers/findParentNodeClosestToPos'
|
||||||
|
|||||||
@@ -3,6 +3,22 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@2.0.0-beta.3...@tiptap/extension-focus@2.0.0-beta.4) (2021-03-25)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/extension-focus
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-beta.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@2.0.0-beta.2...@tiptap/extension-focus@2.0.0-beta.3) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/extension-focus
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@2.0.0-beta.1...@tiptap/extension-focus@2.0.0-beta.2) (2021-03-18)
|
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@2.0.0-beta.1...@tiptap/extension-focus@2.0.0-beta.2) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/extension-focus
|
**Note:** Version bump only for package @tiptap/extension-focus
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-focus",
|
"name": "@tiptap/extension-focus",
|
||||||
"description": "focus extension for tiptap",
|
"description": "focus extension for tiptap",
|
||||||
"version": "2.0.0-beta.2",
|
"version": "2.0.0-beta.4",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
|
|||||||
@@ -31,13 +31,15 @@ export const FocusClasses = Extension.create<FocusOptions>({
|
|||||||
|
|
||||||
// Maximum Levels
|
// Maximum Levels
|
||||||
let maxLevels = 0
|
let maxLevels = 0
|
||||||
|
|
||||||
if (this.options.mode === 'deepest') {
|
if (this.options.mode === 'deepest') {
|
||||||
doc.descendants((node, pos) => {
|
doc.descendants((node, pos) => {
|
||||||
if (node.isText) {
|
if (node.isText) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const isCurrent = anchor >= pos && anchor <= (pos + node.nodeSize)
|
const isCurrent = anchor >= pos && anchor <= (pos + node.nodeSize - 1)
|
||||||
|
|
||||||
if (!isCurrent) {
|
if (!isCurrent) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@@ -48,12 +50,14 @@ export const FocusClasses = Extension.create<FocusOptions>({
|
|||||||
|
|
||||||
// Loop through current
|
// Loop through current
|
||||||
let currentLevel = 0
|
let currentLevel = 0
|
||||||
|
|
||||||
doc.descendants((node, pos) => {
|
doc.descendants((node, pos) => {
|
||||||
if (node.isText) {
|
if (node.isText) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
const isCurrent = anchor >= pos && anchor <= (pos + node.nodeSize)
|
const isCurrent = anchor >= pos && anchor <= (pos + node.nodeSize - 1)
|
||||||
|
|
||||||
if (!isCurrent) {
|
if (!isCurrent) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.5...@tiptap/extension-mention@2.0.0-beta.6) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/extension-mention
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.4...@tiptap/extension-mention@2.0.0-beta.5) (2021-03-18)
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.4...@tiptap/extension-mention@2.0.0-beta.5) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/extension-mention
|
**Note:** Version bump only for package @tiptap/extension-mention
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-mention",
|
"name": "@tiptap/extension-mention",
|
||||||
"description": "mention extension for tiptap",
|
"description": "mention extension for tiptap",
|
||||||
"version": "2.0.0-beta.5",
|
"version": "2.0.0-beta.6",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@@ -25,6 +25,6 @@
|
|||||||
"@tiptap/core": "^2.0.0-beta.1"
|
"@tiptap/core": "^2.0.0-beta.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tiptap/suggestion": "^2.0.0-beta.5"
|
"@tiptap/suggestion": "^2.0.0-beta.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
8
packages/extension-placeholder/CHANGELOG.md
Normal file
8
packages/extension-placeholder/CHANGELOG.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Change Log
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# 2.0.0-beta.1 (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/extension-placeholder
|
||||||
14
packages/extension-placeholder/README.md
Normal file
14
packages/extension-placeholder/README.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# @tiptap/extension-placeholder
|
||||||
|
[](https://www.npmjs.com/package/@tiptap/extension-placeholder)
|
||||||
|
[](https://npmcharts.com/compare/tiptap?minimal=true)
|
||||||
|
[](https://www.npmjs.com/package/@tiptap/extension-placeholder)
|
||||||
|
[](https://github.com/sponsors/ueberdosis)
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*.
|
||||||
|
|
||||||
|
## Offical Documentation
|
||||||
|
Documentation can be found on the [tiptap website](https://tiptap.dev).
|
||||||
|
|
||||||
|
## License
|
||||||
|
tiptap is open-sourced software licensed under the [MIT license](https://github.com/ueberdosis/tiptap-next/blob/main/LICENSE.md).
|
||||||
31
packages/extension-placeholder/package.json
Normal file
31
packages/extension-placeholder/package.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"name": "@tiptap/extension-placeholder",
|
||||||
|
"description": "placeholder extension for tiptap",
|
||||||
|
"version": "2.0.0-beta.1",
|
||||||
|
"homepage": "https://tiptap.dev",
|
||||||
|
"keywords": [
|
||||||
|
"tiptap",
|
||||||
|
"tiptap extension"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ueberdosis"
|
||||||
|
},
|
||||||
|
"main": "dist/tiptap-extension-placeholder.cjs.js",
|
||||||
|
"umd": "dist/tiptap-extension-placeholder.umd.js",
|
||||||
|
"module": "dist/tiptap-extension-placeholder.esm.js",
|
||||||
|
"unpkg": "dist/tiptap-extension-placeholder.bundle.umd.min.js",
|
||||||
|
"types": "dist/packages/extension-placeholder/src/index.d.ts",
|
||||||
|
"files": [
|
||||||
|
"src",
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"peerDependencies": {
|
||||||
|
"@tiptap/core": "^2.0.0-beta.1"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"prosemirror-state": "^1.3.4",
|
||||||
|
"prosemirror-view": "^1.18.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
5
packages/extension-placeholder/src/index.ts
Normal file
5
packages/extension-placeholder/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import { Placeholder } from './placeholder'
|
||||||
|
|
||||||
|
export * from './placeholder'
|
||||||
|
|
||||||
|
export default Placeholder
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Extension } from '@tiptap/core'
|
import { Extension, isNodeEmpty } from '@tiptap/core'
|
||||||
import { Decoration, DecorationSet } from 'prosemirror-view'
|
import { Decoration, DecorationSet } from 'prosemirror-view'
|
||||||
import { Plugin } from 'prosemirror-state'
|
import { Plugin } from 'prosemirror-state'
|
||||||
|
|
||||||
@@ -10,10 +10,10 @@ export interface PlaceholderOptions {
|
|||||||
showOnlyCurrent: boolean,
|
showOnlyCurrent: boolean,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Extension.create({
|
export const Placeholder = Extension.create<PlaceholderOptions>({
|
||||||
name: 'placeholder',
|
name: 'placeholder',
|
||||||
|
|
||||||
defaultOptions: <PlaceholderOptions>{
|
defaultOptions: {
|
||||||
emptyEditorClass: 'is-editor-empty',
|
emptyEditorClass: 'is-editor-empty',
|
||||||
emptyNodeClass: 'is-empty',
|
emptyNodeClass: 'is-empty',
|
||||||
placeholder: 'Write something …',
|
placeholder: 'Write something …',
|
||||||
@@ -29,7 +29,6 @@ export default Extension.create({
|
|||||||
const active = this.editor.isEditable || !this.options.showOnlyWhenEditable
|
const active = this.editor.isEditable || !this.options.showOnlyWhenEditable
|
||||||
const { anchor } = selection
|
const { anchor } = selection
|
||||||
const decorations: Decoration[] = []
|
const decorations: Decoration[] = []
|
||||||
const isEditorEmpty = doc.textContent.length === 0
|
|
||||||
|
|
||||||
if (!active) {
|
if (!active) {
|
||||||
return
|
return
|
||||||
@@ -37,22 +36,22 @@ export default Extension.create({
|
|||||||
|
|
||||||
doc.descendants((node, pos) => {
|
doc.descendants((node, pos) => {
|
||||||
const hasAnchor = anchor >= pos && anchor <= (pos + node.nodeSize)
|
const hasAnchor = anchor >= pos && anchor <= (pos + node.nodeSize)
|
||||||
// TODO: should be false for image nodes (without text content), is true though
|
const isEmpty = !node.isLeaf && isNodeEmpty(node)
|
||||||
const isNodeEmpty = node.content.size === 0
|
|
||||||
|
|
||||||
if ((hasAnchor || !this.options.showOnlyCurrent) && isNodeEmpty) {
|
if ((hasAnchor || !this.options.showOnlyCurrent) && isEmpty) {
|
||||||
const classes = [this.options.emptyNodeClass]
|
const classes = [this.options.emptyNodeClass]
|
||||||
|
|
||||||
if (isEditorEmpty) {
|
if (this.editor.isEmpty) {
|
||||||
classes.push(this.options.emptyEditorClass)
|
classes.push(this.options.emptyEditorClass)
|
||||||
}
|
}
|
||||||
|
|
||||||
const decoration = Decoration.node(pos, pos + node.nodeSize, {
|
const decoration = Decoration.node(pos, pos + node.nodeSize, {
|
||||||
class: classes.join(' '),
|
class: classes.join(' '),
|
||||||
'data-empty-text': typeof this.options.placeholder === 'function'
|
'data-placeholder': typeof this.options.placeholder === 'function'
|
||||||
? this.options.placeholder(node)
|
? this.options.placeholder(node)
|
||||||
: this.options.placeholder,
|
: this.options.placeholder,
|
||||||
})
|
})
|
||||||
|
|
||||||
decorations.push(decoration)
|
decorations.push(decoration)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table@2.0.0-beta.2...@tiptap/extension-table@2.0.0-beta.3) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/extension-table
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table@2.0.0-beta.1...@tiptap/extension-table@2.0.0-beta.2) (2021-03-18)
|
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table@2.0.0-beta.1...@tiptap/extension-table@2.0.0-beta.2) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/extension-table
|
**Note:** Version bump only for package @tiptap/extension-table
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-table",
|
"name": "@tiptap/extension-table",
|
||||||
"description": "table extension for tiptap",
|
"description": "table extension for tiptap",
|
||||||
"version": "2.0.0-beta.2",
|
"version": "2.0.0-beta.3",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.5...@tiptap/html@2.0.0-beta.6) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.4...@tiptap/html@2.0.0-beta.5) (2021-03-18)
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.4...@tiptap/html@2.0.0-beta.5) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/html
|
**Note:** Version bump only for package @tiptap/html
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/html",
|
"name": "@tiptap/html",
|
||||||
"description": "utility package to render tiptap JSON as HTML",
|
"description": "utility package to render tiptap JSON as HTML",
|
||||||
"version": "2.0.0-beta.5",
|
"version": "2.0.0-beta.6",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tiptap/core": "^2.0.0-beta.5",
|
"@tiptap/core": "^2.0.0-beta.6",
|
||||||
"hostic-dom": "^0.8.6",
|
"hostic-dom": "^0.8.6",
|
||||||
"prosemirror-model": "^1.13.3"
|
"prosemirror-model": "^1.13.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.4...@tiptap/react@2.0.0-beta.5) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/react
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.3...@tiptap/react@2.0.0-beta.4) (2021-03-18)
|
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.3...@tiptap/react@2.0.0-beta.4) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/react
|
**Note:** Version bump only for package @tiptap/react
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/react",
|
"name": "@tiptap/react",
|
||||||
"description": "React components for tiptap",
|
"description": "React components for tiptap",
|
||||||
"version": "2.0.0-beta.4",
|
"version": "2.0.0-beta.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@@ -30,6 +30,6 @@
|
|||||||
"prosemirror-view": "^1.18.1"
|
"prosemirror-view": "^1.18.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react-dom": "^17.0.1"
|
"@types/react-dom": "^17.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.5...@tiptap/suggestion@2.0.0-beta.6) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/suggestion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.4...@tiptap/suggestion@2.0.0-beta.5) (2021-03-18)
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.4...@tiptap/suggestion@2.0.0-beta.5) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/suggestion
|
**Note:** Version bump only for package @tiptap/suggestion
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/suggestion",
|
"name": "@tiptap/suggestion",
|
||||||
"description": "suggestion plugin for tiptap",
|
"description": "suggestion plugin for tiptap",
|
||||||
"version": "2.0.0-beta.5",
|
"version": "2.0.0-beta.6",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tiptap/core": "^2.0.0-beta.5",
|
"@tiptap/core": "^2.0.0-beta.6",
|
||||||
"prosemirror-model": "^1.13.3",
|
"prosemirror-model": "^1.13.3",
|
||||||
"prosemirror-state": "^1.3.4",
|
"prosemirror-state": "^1.3.4",
|
||||||
"prosemirror-view": "^1.18.1"
|
"prosemirror-view": "^1.18.1"
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-2@2.0.0-beta.4...@tiptap/vue-2@2.0.0-beta.5) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/vue-2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-2@2.0.0-beta.3...@tiptap/vue-2@2.0.0-beta.4) (2021-03-18)
|
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-2@2.0.0-beta.3...@tiptap/vue-2@2.0.0-beta.4) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/vue-2
|
**Note:** Version bump only for package @tiptap/vue-2
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/vue-2",
|
"name": "@tiptap/vue-2",
|
||||||
"description": "Vue components for tiptap",
|
"description": "Vue components for tiptap",
|
||||||
"version": "2.0.0-beta.4",
|
"version": "2.0.0-beta.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-3@2.0.0-beta.5...@tiptap/vue-3@2.0.0-beta.6) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/vue-3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-3@2.0.0-beta.4...@tiptap/vue-3@2.0.0-beta.5) (2021-03-18)
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-3@2.0.0-beta.4...@tiptap/vue-3@2.0.0-beta.5) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/vue-3
|
**Note:** Version bump only for package @tiptap/vue-3
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/vue-3",
|
"name": "@tiptap/vue-3",
|
||||||
"description": "Vue components for tiptap",
|
"description": "Vue components for tiptap",
|
||||||
"version": "2.0.0-beta.5",
|
"version": "2.0.0-beta.6",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-starter-kit@2.0.0-beta.5...@tiptap/vue-starter-kit@2.0.0-beta.6) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/vue-starter-kit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-starter-kit@2.0.0-beta.4...@tiptap/vue-starter-kit@2.0.0-beta.5) (2021-03-18)
|
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-starter-kit@2.0.0-beta.4...@tiptap/vue-starter-kit@2.0.0-beta.5) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/vue-starter-kit
|
**Note:** Version bump only for package @tiptap/vue-starter-kit
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/vue-starter-kit",
|
"name": "@tiptap/vue-starter-kit",
|
||||||
"description": "Vue starter kit for tiptap",
|
"description": "Vue starter kit for tiptap",
|
||||||
"version": "2.0.0-beta.5",
|
"version": "2.0.0-beta.6",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@@ -23,6 +23,6 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tiptap/starter-kit": "^2.0.0-beta.4",
|
"@tiptap/starter-kit": "^2.0.0-beta.4",
|
||||||
"@tiptap/vue": "^2.0.0-beta.2"
|
"@tiptap/vue": "^2.0.0-beta.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,14 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
# [2.0.0-beta.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue@2.0.0-beta.2...@tiptap/vue@2.0.0-beta.3) (2021-03-24)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @tiptap/vue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue@2.0.0-beta.1...@tiptap/vue@2.0.0-beta.2) (2021-03-18)
|
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue@2.0.0-beta.1...@tiptap/vue@2.0.0-beta.2) (2021-03-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @tiptap/vue
|
**Note:** Version bump only for package @tiptap/vue
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/vue",
|
"name": "@tiptap/vue",
|
||||||
"description": "Vue components for tiptap",
|
"description": "Vue components for tiptap",
|
||||||
"version": "2.0.0-beta.2",
|
"version": "2.0.0-beta.3",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
|
|||||||
281
yarn.lock
281
yarn.lock
@@ -30,6 +30,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.8.tgz#5b783b9808f15cef71547f1b691f34f8ff6003a6"
|
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.8.tgz#5b783b9808f15cef71547f1b691f34f8ff6003a6"
|
||||||
integrity sha512-EaI33z19T4qN3xLXsGf48M2cDqa6ei9tPZlfLdb2HC+e/cFtREiRd8hdSqDbwdLB0/+gLwqJmCYASH0z2bUdog==
|
integrity sha512-EaI33z19T4qN3xLXsGf48M2cDqa6ei9tPZlfLdb2HC+e/cFtREiRd8hdSqDbwdLB0/+gLwqJmCYASH0z2bUdog==
|
||||||
|
|
||||||
|
"@babel/compat-data@^7.13.12":
|
||||||
|
version "7.13.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.12.tgz#a8a5ccac19c200f9dd49624cac6e19d7be1236a1"
|
||||||
|
integrity sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ==
|
||||||
|
|
||||||
"@babel/core@^7.0.0", "@babel/core@^7.11.0", "@babel/core@^7.13.1":
|
"@babel/core@^7.0.0", "@babel/core@^7.11.0", "@babel/core@^7.13.1":
|
||||||
version "7.13.10"
|
version "7.13.10"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.10.tgz#07de050bbd8193fcd8a3c27918c0890613a94559"
|
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.10.tgz#07de050bbd8193fcd8a3c27918c0890613a94559"
|
||||||
@@ -274,6 +279,15 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.10.tgz#8f8f9bf7b3afa3eabd061f7a5bcdf4fec3c48409"
|
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.10.tgz#8f8f9bf7b3afa3eabd061f7a5bcdf4fec3c48409"
|
||||||
integrity sha512-0s7Mlrw9uTWkYua7xWr99Wpk2bnGa0ANleKfksYAES8LpWH4gW1OUr42vqKNf0us5UQNfru2wPqMqRITzq/SIQ==
|
integrity sha512-0s7Mlrw9uTWkYua7xWr99Wpk2bnGa0ANleKfksYAES8LpWH4gW1OUr42vqKNf0us5UQNfru2wPqMqRITzq/SIQ==
|
||||||
|
|
||||||
|
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12":
|
||||||
|
version "7.13.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a"
|
||||||
|
integrity sha512-d0u3zWKcoZf379fOeJdr1a5WPDny4aOFZ6hlfKivgK0LY7ZxNfoaHL2fWwdGtHyVvra38FC+HVYkO+byfSA8AQ==
|
||||||
|
dependencies:
|
||||||
|
"@babel/helper-plugin-utils" "^7.13.0"
|
||||||
|
"@babel/helper-skip-transparent-expression-wrappers" "^7.12.1"
|
||||||
|
"@babel/plugin-proposal-optional-chaining" "^7.13.12"
|
||||||
|
|
||||||
"@babel/plugin-proposal-async-generator-functions@^7.13.8":
|
"@babel/plugin-proposal-async-generator-functions@^7.13.8":
|
||||||
version "7.13.8"
|
version "7.13.8"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.8.tgz#87aacb574b3bc4b5603f6fe41458d72a5a2ec4b1"
|
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.8.tgz#87aacb574b3bc4b5603f6fe41458d72a5a2ec4b1"
|
||||||
@@ -367,7 +381,16 @@
|
|||||||
"@babel/helper-plugin-utils" "^7.13.0"
|
"@babel/helper-plugin-utils" "^7.13.0"
|
||||||
"@babel/plugin-syntax-optional-catch-binding" "^7.8.3"
|
"@babel/plugin-syntax-optional-catch-binding" "^7.8.3"
|
||||||
|
|
||||||
"@babel/plugin-proposal-optional-chaining@^7.13.0", "@babel/plugin-proposal-optional-chaining@^7.13.8":
|
"@babel/plugin-proposal-optional-chaining@^7.13.12":
|
||||||
|
version "7.13.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.12.tgz#ba9feb601d422e0adea6760c2bd6bbb7bfec4866"
|
||||||
|
integrity sha512-fcEdKOkIB7Tf4IxrgEVeFC4zeJSTr78no9wTdBuZZbqF64kzllU0ybo2zrzm7gUQfxGhBgq4E39oRs8Zx/RMYQ==
|
||||||
|
dependencies:
|
||||||
|
"@babel/helper-plugin-utils" "^7.13.0"
|
||||||
|
"@babel/helper-skip-transparent-expression-wrappers" "^7.12.1"
|
||||||
|
"@babel/plugin-syntax-optional-chaining" "^7.8.3"
|
||||||
|
|
||||||
|
"@babel/plugin-proposal-optional-chaining@^7.13.8":
|
||||||
version "7.13.8"
|
version "7.13.8"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.8.tgz#e39df93efe7e7e621841babc197982e140e90756"
|
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.8.tgz#e39df93efe7e7e621841babc197982e140e90756"
|
||||||
integrity sha512-hpbBwbTgd7Cz1QryvwJZRo1U0k1q8uyBmeXOSQUjdg/A2TASkhR/rz7AyqZ/kS8kbpsNA80rOYbxySBJAqmhhQ==
|
integrity sha512-hpbBwbTgd7Cz1QryvwJZRo1U0k1q8uyBmeXOSQUjdg/A2TASkhR/rz7AyqZ/kS8kbpsNA80rOYbxySBJAqmhhQ==
|
||||||
@@ -783,7 +806,7 @@
|
|||||||
"@babel/helper-create-regexp-features-plugin" "^7.12.13"
|
"@babel/helper-create-regexp-features-plugin" "^7.12.13"
|
||||||
"@babel/helper-plugin-utils" "^7.12.13"
|
"@babel/helper-plugin-utils" "^7.12.13"
|
||||||
|
|
||||||
"@babel/preset-env@^7.0.0", "@babel/preset-env@^7.11.0", "@babel/preset-env@^7.13.5":
|
"@babel/preset-env@^7.0.0", "@babel/preset-env@^7.11.0":
|
||||||
version "7.13.10"
|
version "7.13.10"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.13.10.tgz#b5cde31d5fe77ab2a6ab3d453b59041a1b3a5252"
|
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.13.10.tgz#b5cde31d5fe77ab2a6ab3d453b59041a1b3a5252"
|
||||||
integrity sha512-nOsTScuoRghRtUsRr/c69d042ysfPHcu+KOB4A9aAO9eJYqrkat+LF8G1yp1HD18QiwixT2CisZTr/0b3YZPXQ==
|
integrity sha512-nOsTScuoRghRtUsRr/c69d042ysfPHcu+KOB4A9aAO9eJYqrkat+LF8G1yp1HD18QiwixT2CisZTr/0b3YZPXQ==
|
||||||
@@ -857,6 +880,81 @@
|
|||||||
core-js-compat "^3.9.0"
|
core-js-compat "^3.9.0"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
|
"@babel/preset-env@^7.13.12":
|
||||||
|
version "7.13.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.13.12.tgz#6dff470478290582ac282fb77780eadf32480237"
|
||||||
|
integrity sha512-JzElc6jk3Ko6zuZgBtjOd01pf9yYDEIH8BcqVuYIuOkzOwDesoa/Nz4gIo4lBG6K861KTV9TvIgmFuT6ytOaAA==
|
||||||
|
dependencies:
|
||||||
|
"@babel/compat-data" "^7.13.12"
|
||||||
|
"@babel/helper-compilation-targets" "^7.13.10"
|
||||||
|
"@babel/helper-plugin-utils" "^7.13.0"
|
||||||
|
"@babel/helper-validator-option" "^7.12.17"
|
||||||
|
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.13.12"
|
||||||
|
"@babel/plugin-proposal-async-generator-functions" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-class-properties" "^7.13.0"
|
||||||
|
"@babel/plugin-proposal-dynamic-import" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-export-namespace-from" "^7.12.13"
|
||||||
|
"@babel/plugin-proposal-json-strings" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-logical-assignment-operators" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-numeric-separator" "^7.12.13"
|
||||||
|
"@babel/plugin-proposal-object-rest-spread" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-optional-catch-binding" "^7.13.8"
|
||||||
|
"@babel/plugin-proposal-optional-chaining" "^7.13.12"
|
||||||
|
"@babel/plugin-proposal-private-methods" "^7.13.0"
|
||||||
|
"@babel/plugin-proposal-unicode-property-regex" "^7.12.13"
|
||||||
|
"@babel/plugin-syntax-async-generators" "^7.8.4"
|
||||||
|
"@babel/plugin-syntax-class-properties" "^7.12.13"
|
||||||
|
"@babel/plugin-syntax-dynamic-import" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-export-namespace-from" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-json-strings" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-logical-assignment-operators" "^7.10.4"
|
||||||
|
"@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-numeric-separator" "^7.10.4"
|
||||||
|
"@babel/plugin-syntax-object-rest-spread" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-optional-catch-binding" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-optional-chaining" "^7.8.3"
|
||||||
|
"@babel/plugin-syntax-top-level-await" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-arrow-functions" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-async-to-generator" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-block-scoped-functions" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-block-scoping" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-classes" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-computed-properties" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-destructuring" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-dotall-regex" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-duplicate-keys" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-exponentiation-operator" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-for-of" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-function-name" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-literals" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-member-expression-literals" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-modules-amd" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-modules-commonjs" "^7.13.8"
|
||||||
|
"@babel/plugin-transform-modules-systemjs" "^7.13.8"
|
||||||
|
"@babel/plugin-transform-modules-umd" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-named-capturing-groups-regex" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-new-target" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-object-super" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-parameters" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-property-literals" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-regenerator" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-reserved-words" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-shorthand-properties" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-spread" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-sticky-regex" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-template-literals" "^7.13.0"
|
||||||
|
"@babel/plugin-transform-typeof-symbol" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-unicode-escapes" "^7.12.13"
|
||||||
|
"@babel/plugin-transform-unicode-regex" "^7.12.13"
|
||||||
|
"@babel/preset-modules" "^0.1.4"
|
||||||
|
"@babel/types" "^7.13.12"
|
||||||
|
babel-plugin-polyfill-corejs2 "^0.1.4"
|
||||||
|
babel-plugin-polyfill-corejs3 "^0.1.3"
|
||||||
|
babel-plugin-polyfill-regenerator "^0.1.2"
|
||||||
|
core-js-compat "^3.9.0"
|
||||||
|
semver "^6.3.0"
|
||||||
|
|
||||||
"@babel/preset-modules@^0.1.4":
|
"@babel/preset-modules@^0.1.4":
|
||||||
version "0.1.4"
|
version "0.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e"
|
resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e"
|
||||||
@@ -919,6 +1017,15 @@
|
|||||||
lodash "^4.17.19"
|
lodash "^4.17.19"
|
||||||
to-fast-properties "^2.0.0"
|
to-fast-properties "^2.0.0"
|
||||||
|
|
||||||
|
"@babel/types@^7.13.12":
|
||||||
|
version "7.13.12"
|
||||||
|
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.12.tgz#edbf99208ef48852acdff1c8a681a1e4ade580cd"
|
||||||
|
integrity sha512-K4nY2xFN4QMvQwkQ+zmBDp6ANMbVNw6BbxWmYA4qNjhR9W+Lj/8ky5MEY2Me5r+B2c6/v6F53oMndG+f9s3IiA==
|
||||||
|
dependencies:
|
||||||
|
"@babel/helper-validator-identifier" "^7.12.11"
|
||||||
|
lodash "^4.17.19"
|
||||||
|
to-fast-properties "^2.0.0"
|
||||||
|
|
||||||
"@cypress/listr-verbose-renderer@^0.4.1":
|
"@cypress/listr-verbose-renderer@^0.4.1":
|
||||||
version "0.4.1"
|
version "0.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a"
|
resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a"
|
||||||
@@ -2314,10 +2421,10 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24"
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24"
|
||||||
integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==
|
integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==
|
||||||
|
|
||||||
"@types/react-dom@^17.0.1":
|
"@types/react-dom@^17.0.3":
|
||||||
version "17.0.2"
|
version "17.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.2.tgz#35654cf6c49ae162d5bc90843d5437dc38008d43"
|
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.3.tgz#7fdf37b8af9d6d40127137865bb3fff8871d7ee1"
|
||||||
integrity sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==
|
integrity sha512-4NnJbCeWE+8YBzupn/YrJxZ8VnjcJq5iR1laqQ1vkpQgBiA7bwk0Rp24fxsdNinzJY2U+HHS4dJJDPdoMjdJ7w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/react" "*"
|
"@types/react" "*"
|
||||||
|
|
||||||
@@ -2382,13 +2489,13 @@
|
|||||||
"@types/unist" "*"
|
"@types/unist" "*"
|
||||||
"@types/vfile-message" "*"
|
"@types/vfile-message" "*"
|
||||||
|
|
||||||
"@typescript-eslint/eslint-plugin@^4.18.0":
|
"@typescript-eslint/eslint-plugin@^4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.18.0.tgz#50fbce93211b5b690895d20ebec6fe8db48af1f6"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.19.0.tgz#56f8da9ee118fe9763af34d6a526967234f6a7f0"
|
||||||
integrity sha512-Lzkc/2+7EoH7+NjIWLS2lVuKKqbEmJhtXe3rmfA8cyiKnZm3IfLf51irnBcmow8Q/AptVV0XBZmBJKuUJTe6cQ==
|
integrity sha512-CRQNQ0mC2Pa7VLwKFbrGVTArfdVDdefS+gTw0oC98vSI98IX5A8EVH4BzJ2FOB0YlCmm8Im36Elad/Jgtvveaw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/experimental-utils" "4.18.0"
|
"@typescript-eslint/experimental-utils" "4.19.0"
|
||||||
"@typescript-eslint/scope-manager" "4.18.0"
|
"@typescript-eslint/scope-manager" "4.19.0"
|
||||||
debug "^4.1.1"
|
debug "^4.1.1"
|
||||||
functional-red-black-tree "^1.0.1"
|
functional-red-black-tree "^1.0.1"
|
||||||
lodash "^4.17.15"
|
lodash "^4.17.15"
|
||||||
@@ -2396,60 +2503,60 @@
|
|||||||
semver "^7.3.2"
|
semver "^7.3.2"
|
||||||
tsutils "^3.17.1"
|
tsutils "^3.17.1"
|
||||||
|
|
||||||
"@typescript-eslint/experimental-utils@4.18.0":
|
"@typescript-eslint/experimental-utils@4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.18.0.tgz#ed6c955b940334132b17100d2917449b99a91314"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.19.0.tgz#9ca379919906dc72cb0fcd817d6cb5aa2d2054c6"
|
||||||
integrity sha512-92h723Kblt9JcT2RRY3QS2xefFKar4ZQFVs3GityOKWQYgtajxt/tuXIzL7sVCUlM1hgreiV5gkGYyBpdOwO6A==
|
integrity sha512-9/23F1nnyzbHKuoTqFN1iXwN3bvOm/PRIXSBR3qFAYotK/0LveEOHr5JT1WZSzcD6BESl8kPOG3OoDRKO84bHA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/json-schema" "^7.0.3"
|
"@types/json-schema" "^7.0.3"
|
||||||
"@typescript-eslint/scope-manager" "4.18.0"
|
"@typescript-eslint/scope-manager" "4.19.0"
|
||||||
"@typescript-eslint/types" "4.18.0"
|
"@typescript-eslint/types" "4.19.0"
|
||||||
"@typescript-eslint/typescript-estree" "4.18.0"
|
"@typescript-eslint/typescript-estree" "4.19.0"
|
||||||
eslint-scope "^5.0.0"
|
eslint-scope "^5.0.0"
|
||||||
eslint-utils "^2.0.0"
|
eslint-utils "^2.0.0"
|
||||||
|
|
||||||
"@typescript-eslint/parser@^4.18.0":
|
"@typescript-eslint/parser@^4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.18.0.tgz#a211edb14a69fc5177054bec04c95b185b4dde21"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.19.0.tgz#4ae77513b39f164f1751f21f348d2e6cb2d11128"
|
||||||
integrity sha512-W3z5S0ZbecwX3PhJEAnq4mnjK5JJXvXUDBYIYGoweCyWyuvAKfGHvzmpUzgB5L4cRBb+cTu9U/ro66dx7dIimA==
|
integrity sha512-/uabZjo2ZZhm66rdAu21HA8nQebl3lAIDcybUoOxoI7VbZBYavLIwtOOmykKCJy+Xq6Vw6ugkiwn8Js7D6wieA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/scope-manager" "4.18.0"
|
"@typescript-eslint/scope-manager" "4.19.0"
|
||||||
"@typescript-eslint/types" "4.18.0"
|
"@typescript-eslint/types" "4.19.0"
|
||||||
"@typescript-eslint/typescript-estree" "4.18.0"
|
"@typescript-eslint/typescript-estree" "4.19.0"
|
||||||
debug "^4.1.1"
|
debug "^4.1.1"
|
||||||
|
|
||||||
"@typescript-eslint/scope-manager@4.18.0":
|
"@typescript-eslint/scope-manager@4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.18.0.tgz#d75b55234c35d2ff6ac945758d6d9e53be84a427"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.19.0.tgz#5e0b49eca4df7684205d957c9856f4e720717a4f"
|
||||||
integrity sha512-olX4yN6rvHR2eyFOcb6E4vmhDPsfdMyfQ3qR+oQNkAv8emKKlfxTWUXU5Mqxs2Fwe3Pf1BoPvrwZtwngxDzYzQ==
|
integrity sha512-GGy4Ba/hLXwJXygkXqMzduqOMc+Na6LrJTZXJWVhRrSuZeXmu8TAnniQVKgj8uTRKe4igO2ysYzH+Np879G75g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/types" "4.18.0"
|
"@typescript-eslint/types" "4.19.0"
|
||||||
"@typescript-eslint/visitor-keys" "4.18.0"
|
"@typescript-eslint/visitor-keys" "4.19.0"
|
||||||
|
|
||||||
"@typescript-eslint/types@4.18.0":
|
"@typescript-eslint/types@4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.19.0.tgz#5181d5d2afd02e5b8f149ebb37ffc8bd7b07a568"
|
||||||
integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A==
|
integrity sha512-A4iAlexVvd4IBsSTNxdvdepW0D4uR/fwxDrKUa+iEY9UWvGREu2ZyB8ylTENM1SH8F7bVC9ac9+si3LWNxcBuA==
|
||||||
|
|
||||||
"@typescript-eslint/typescript-estree@4.18.0":
|
"@typescript-eslint/typescript-estree@4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.19.0.tgz#8a709ffa400284ab72df33376df085e2e2f61147"
|
||||||
integrity sha512-wt4xvF6vvJI7epz+rEqxmoNQ4ZADArGQO9gDU+cM0U5fdVv7N+IAuVoVAoZSOZxzGHBfvE3XQMLdy+scsqFfeg==
|
integrity sha512-3xqArJ/A62smaQYRv2ZFyTA+XxGGWmlDYrsfZG68zJeNbeqRScnhf81rUVa6QG4UgzHnXw5VnMT5cg75dQGDkA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/types" "4.18.0"
|
"@typescript-eslint/types" "4.19.0"
|
||||||
"@typescript-eslint/visitor-keys" "4.18.0"
|
"@typescript-eslint/visitor-keys" "4.19.0"
|
||||||
debug "^4.1.1"
|
debug "^4.1.1"
|
||||||
globby "^11.0.1"
|
globby "^11.0.1"
|
||||||
is-glob "^4.0.1"
|
is-glob "^4.0.1"
|
||||||
semver "^7.3.2"
|
semver "^7.3.2"
|
||||||
tsutils "^3.17.1"
|
tsutils "^3.17.1"
|
||||||
|
|
||||||
"@typescript-eslint/visitor-keys@4.18.0":
|
"@typescript-eslint/visitor-keys@4.19.0":
|
||||||
version "4.18.0"
|
version "4.19.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.19.0.tgz#cbea35109cbd9b26e597644556be4546465d8f7f"
|
||||||
integrity sha512-Q9t90JCvfYaN0OfFUgaLqByOfz8yPeTAdotn/XYNm5q9eHax90gzdb+RJ6E9T5s97Kv/UHWKERTmqA0jTKAEHw==
|
integrity sha512-aGPS6kz//j7XLSlgpzU2SeTqHPsmRYxFztj2vPuMMFJXZudpRSehE3WCV+BaxwZFvfAqMoSd86TEuM0PQ59E/A==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/types" "4.18.0"
|
"@typescript-eslint/types" "4.19.0"
|
||||||
eslint-visitor-keys "^2.0.0"
|
eslint-visitor-keys "^2.0.0"
|
||||||
|
|
||||||
"@vue/babel-helper-vue-jsx-merge-props@^1.2.1":
|
"@vue/babel-helper-vue-jsx-merge-props@^1.2.1":
|
||||||
@@ -4980,10 +5087,10 @@ cyclist@^1.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
|
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
|
||||||
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
|
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
|
||||||
|
|
||||||
cypress@^6.7.1:
|
cypress@^6.8.0:
|
||||||
version "6.7.1"
|
version "6.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/cypress/-/cypress-6.7.1.tgz#6b8e1ba9badbded284ddc8575873b64211250ea6"
|
resolved "https://registry.yarnpkg.com/cypress/-/cypress-6.8.0.tgz#8338f39212a8f71e91ff8c017a1b6e22d823d8c1"
|
||||||
integrity sha512-MC9yt1GqpL4WVDQ0STI89K+PdLeC3T3NuAb2N61d6vYGR9pJy8w3Fqe0OWZwaRTJtg9eAyHXPGmFsyKeNQ3tmg==
|
integrity sha512-W2e9Oqi7DmF48QtOD0LfsOLVq6ef2hcXZvJXI/E3PgFNmZXEVwBefhAxVCW9yTPortjYA2XkM20KyC4HRkOm9w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cypress/listr-verbose-renderer" "^0.4.1"
|
"@cypress/listr-verbose-renderer" "^0.4.1"
|
||||||
"@cypress/request" "^2.88.5"
|
"@cypress/request" "^2.88.5"
|
||||||
@@ -5232,10 +5339,10 @@ d3-zoom@2:
|
|||||||
d3-selection "2"
|
d3-selection "2"
|
||||||
d3-transition "2"
|
d3-transition "2"
|
||||||
|
|
||||||
d3@^6.5.0:
|
d3@^6.6.1:
|
||||||
version "6.6.0"
|
version "6.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/d3/-/d3-6.6.0.tgz#0722c03b0ad5a479b54080c00e5daa6b809a83c7"
|
resolved "https://registry.yarnpkg.com/d3/-/d3-6.6.1.tgz#b3c381cae3f8ad7d8ce77f087ce0430f73ea9824"
|
||||||
integrity sha512-fWyMfZDSOLksXeYuiHM/uHap7pKgypUnOGY8jiTfmmAWH1HM6ErPtnHiKEdqs7DtZqbombUgaKwq3B5Pjm7GOQ==
|
integrity sha512-JzCj5GtMYoGCTD+8k1VwKzxTz1KScwHLQHuop8dne5uOc+WtqWEe2smqQrlMyfiCy9ohaD33LFGNTO5Xq3Mtiw==
|
||||||
dependencies:
|
dependencies:
|
||||||
d3-array "2"
|
d3-array "2"
|
||||||
d3-axis "2"
|
d3-axis "2"
|
||||||
@@ -6079,10 +6186,10 @@ eslint-plugin-import@^2.22.1:
|
|||||||
resolve "^1.17.0"
|
resolve "^1.17.0"
|
||||||
tsconfig-paths "^3.9.0"
|
tsconfig-paths "^3.9.0"
|
||||||
|
|
||||||
eslint-plugin-vue@^7.6.0:
|
eslint-plugin-vue@^7.8.0:
|
||||||
version "7.7.0"
|
version "7.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.7.0.tgz#a90df4595e670821bf243bd2750ededdb74948b8"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.8.0.tgz#cb0e85d65b65fa8d15e783fbb03c049d2c4cfdae"
|
||||||
integrity sha512-mYz4bpLGv5jx6YG/GvKkqbGSfV7uma2u1P3mLA41Q5vQl8W1MeuTneB8tfsLq6xxxesFubcrOC0BZBJ5R+eaCQ==
|
integrity sha512-OGrnPz+PuYL2HmVyBHxm4mRjxW2kfFCQE6Hw9G6qOHs/Pcu0srOlCCW0FMa8SLzIEqxl8WuKoBSPcMnrjUG2vw==
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint-utils "^2.1.0"
|
eslint-utils "^2.1.0"
|
||||||
natural-compare "^1.4.0"
|
natural-compare "^1.4.0"
|
||||||
@@ -7174,7 +7281,7 @@ globby@10.0.0:
|
|||||||
merge2 "^1.2.3"
|
merge2 "^1.2.3"
|
||||||
slash "^3.0.0"
|
slash "^3.0.0"
|
||||||
|
|
||||||
globby@^11.0.0, globby@^11.0.1:
|
globby@^11.0.1:
|
||||||
version "11.0.2"
|
version "11.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83"
|
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83"
|
||||||
integrity sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og==
|
integrity sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og==
|
||||||
@@ -7186,6 +7293,18 @@ globby@^11.0.0, globby@^11.0.1:
|
|||||||
merge2 "^1.3.0"
|
merge2 "^1.3.0"
|
||||||
slash "^3.0.0"
|
slash "^3.0.0"
|
||||||
|
|
||||||
|
globby@^11.0.3:
|
||||||
|
version "11.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb"
|
||||||
|
integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==
|
||||||
|
dependencies:
|
||||||
|
array-union "^2.1.0"
|
||||||
|
dir-glob "^3.0.1"
|
||||||
|
fast-glob "^3.1.1"
|
||||||
|
ignore "^5.1.4"
|
||||||
|
merge2 "^1.3.0"
|
||||||
|
slash "^3.0.0"
|
||||||
|
|
||||||
globby@^8.0.1:
|
globby@^8.0.1:
|
||||||
version "8.0.2"
|
version "8.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.2.tgz#5697619ccd95c5275dbb2d6faa42087c1a941d8d"
|
resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.2.tgz#5697619ccd95c5275dbb2d6faa42087c1a941d8d"
|
||||||
@@ -12078,19 +12197,19 @@ rc@^1.2.7, rc@^1.2.8:
|
|||||||
minimist "^1.2.0"
|
minimist "^1.2.0"
|
||||||
strip-json-comments "~2.0.1"
|
strip-json-comments "~2.0.1"
|
||||||
|
|
||||||
react-dom@^17.0.1:
|
react-dom@^17.0.2:
|
||||||
version "17.0.1"
|
version "17.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.1.tgz#1de2560474ec9f0e334285662ede52dbc5426fc6"
|
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
|
||||||
integrity sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==
|
integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==
|
||||||
dependencies:
|
dependencies:
|
||||||
loose-envify "^1.1.0"
|
loose-envify "^1.1.0"
|
||||||
object-assign "^4.1.1"
|
object-assign "^4.1.1"
|
||||||
scheduler "^0.20.1"
|
scheduler "^0.20.2"
|
||||||
|
|
||||||
react@^17.0.1:
|
react@^17.0.2:
|
||||||
version "17.0.1"
|
version "17.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127"
|
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
|
||||||
integrity sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==
|
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
|
||||||
dependencies:
|
dependencies:
|
||||||
loose-envify "^1.1.0"
|
loose-envify "^1.1.0"
|
||||||
object-assign "^4.1.1"
|
object-assign "^4.1.1"
|
||||||
@@ -12709,10 +12828,10 @@ rollup-pluginutils@^2.8.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
estree-walker "^0.6.1"
|
estree-walker "^0.6.1"
|
||||||
|
|
||||||
rollup@^2.41.4:
|
rollup@^2.42.4:
|
||||||
version "2.41.4"
|
version "2.42.4"
|
||||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.41.4.tgz#2a674d64db4322482d440699acb060dc6dd9e65f"
|
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.42.4.tgz#97c910a48bd0db6aaa4271dd48745870cbbbf970"
|
||||||
integrity sha512-f9IHfMO8p2Y8OdisI7Oj3oKkPuaQ6cgSwYqAi0TDvP3w2p+oX1VejX/w28a1h8WTnrapzfO5d4Uqhww+gL0b0g==
|
integrity sha512-Zqv3EvNfcllBHyyEUM754npqsZw82VIjK34cDQMwrQ1d6aqxzeYu5yFb7smGkPU4C1Bj7HupIMeT6WU7uIdnMw==
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents "~2.3.1"
|
fsevents "~2.3.1"
|
||||||
|
|
||||||
@@ -12822,10 +12941,10 @@ sax@^1.2.4, sax@~1.2.4:
|
|||||||
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
|
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
|
||||||
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
|
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
|
||||||
|
|
||||||
scheduler@^0.20.1:
|
scheduler@^0.20.2:
|
||||||
version "0.20.1"
|
version "0.20.2"
|
||||||
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.1.tgz#da0b907e24026b01181ecbc75efdc7f27b5a000c"
|
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
|
||||||
integrity sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw==
|
integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
loose-envify "^1.1.0"
|
loose-envify "^1.1.0"
|
||||||
object-assign "^4.1.1"
|
object-assign "^4.1.1"
|
||||||
@@ -15416,9 +15535,9 @@ yauzl@^2.10.0, yauzl@^2.4.2:
|
|||||||
buffer-crc32 "~0.2.3"
|
buffer-crc32 "~0.2.3"
|
||||||
fd-slicer "~1.1.0"
|
fd-slicer "~1.1.0"
|
||||||
|
|
||||||
yjs@^13.5.1:
|
yjs@^13.5.3:
|
||||||
version "13.5.2"
|
version "13.5.3"
|
||||||
resolved "https://registry.yarnpkg.com/yjs/-/yjs-13.5.2.tgz#b518be0df84164591f4cc774aa24468d288e0e75"
|
resolved "https://registry.yarnpkg.com/yjs/-/yjs-13.5.3.tgz#0efc5983ec287d24f4471f8f4184f9df80780835"
|
||||||
integrity sha512-X5vscuAhQIYf77xuNeJSlEiQZq0aUVtvs3x2X3//ZGpDqcWiR3D0H1XMDfEnNzdTMzuhfDBMMxSl70klD+0OXw==
|
integrity sha512-LlkmCr68LCfkmoic6rBjDaD01vbdMhy07dXYo65sQ0wOYh8eylrU1b0lTo3YT/BmcyH5Jn4KewDxyJMsDwvERw==
|
||||||
dependencies:
|
dependencies:
|
||||||
lib0 "^0.2.38"
|
lib0 "^0.2.38"
|
||||||
|
|||||||
Reference in New Issue
Block a user