prosemirror-suggest
Advanced tools
Comparing version 0.0.0-pr706.5 to 0.0.0-pr706.6
@@ -28,3 +28,29 @@ 'use strict'; | ||
*/ | ||
/** | ||
* A function for checking whether the next selection is valid. | ||
* | ||
* It is called for all registered suggesters before any of the onChange | ||
* handlers are fired. | ||
* | ||
* @param $pos - the next valid position that supports text selections. | ||
* @param tr - the transaction that can be mutated when `appendTransaction` is | ||
* set to true. | ||
* @param matches - the possibly undefined exit and change matcher names. These | ||
* can be used to check if the name matches the current suggester. | ||
*/ | ||
/** | ||
* A function that can be used to determine whether the decoration should be set | ||
* or not. | ||
* | ||
* @param match - the current active match | ||
* @param resolvedRange - the range of the match with each position resolved. | ||
*/ | ||
/** | ||
* The potential reasons for an exit of a mention. | ||
*/ | ||
exports.ExitReason = void 0; | ||
/** | ||
* The potential reason for changes | ||
@@ -44,2 +70,4 @@ */ | ||
})(exports.ExitReason || (exports.ExitReason = {})); | ||
exports.ChangeReason = void 0; | ||
/** | ||
@@ -46,0 +74,0 @@ * The parameters needed for the [[`SuggestIgnoreProps.addIgnored`]] action |
@@ -1,2 +0,2 @@ | ||
import { TextSelection, PluginKey, Selection, Plugin } from 'prosemirror-state'; | ||
import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state'; | ||
import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper'; | ||
@@ -3,0 +3,0 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; |
@@ -28,3 +28,29 @@ 'use strict'; | ||
*/ | ||
/** | ||
* A function for checking whether the next selection is valid. | ||
* | ||
* It is called for all registered suggesters before any of the onChange | ||
* handlers are fired. | ||
* | ||
* @param $pos - the next valid position that supports text selections. | ||
* @param tr - the transaction that can be mutated when `appendTransaction` is | ||
* set to true. | ||
* @param matches - the possibly undefined exit and change matcher names. These | ||
* can be used to check if the name matches the current suggester. | ||
*/ | ||
/** | ||
* A function that can be used to determine whether the decoration should be set | ||
* or not. | ||
* | ||
* @param match - the current active match | ||
* @param resolvedRange - the range of the match with each position resolved. | ||
*/ | ||
/** | ||
* The potential reasons for an exit of a mention. | ||
*/ | ||
exports.ExitReason = void 0; | ||
/** | ||
* The potential reason for changes | ||
@@ -44,2 +70,4 @@ */ | ||
})(exports.ExitReason || (exports.ExitReason = {})); | ||
exports.ChangeReason = void 0; | ||
/** | ||
@@ -46,0 +74,0 @@ * The parameters needed for the [[`SuggestIgnoreProps.addIgnored`]] action |
@@ -28,3 +28,29 @@ 'use strict'; | ||
*/ | ||
/** | ||
* A function for checking whether the next selection is valid. | ||
* | ||
* It is called for all registered suggesters before any of the onChange | ||
* handlers are fired. | ||
* | ||
* @param $pos - the next valid position that supports text selections. | ||
* @param tr - the transaction that can be mutated when `appendTransaction` is | ||
* set to true. | ||
* @param matches - the possibly undefined exit and change matcher names. These | ||
* can be used to check if the name matches the current suggester. | ||
*/ | ||
/** | ||
* A function that can be used to determine whether the decoration should be set | ||
* or not. | ||
* | ||
* @param match - the current active match | ||
* @param resolvedRange - the range of the match with each position resolved. | ||
*/ | ||
/** | ||
* The potential reasons for an exit of a mention. | ||
*/ | ||
exports.ExitReason = void 0; | ||
/** | ||
* The potential reason for changes | ||
@@ -44,2 +70,4 @@ */ | ||
})(exports.ExitReason || (exports.ExitReason = {})); | ||
exports.ChangeReason = void 0; | ||
/** | ||
@@ -46,0 +74,0 @@ * The parameters needed for the [[`SuggestIgnoreProps.addIgnored`]] action |
@@ -1,2 +0,2 @@ | ||
import { TextSelection, PluginKey, Selection, Plugin } from 'prosemirror-state'; | ||
import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state'; | ||
import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper'; | ||
@@ -3,0 +3,0 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; |
{ | ||
"name": "prosemirror-suggest", | ||
"version": "0.0.0-pr706.5", | ||
"version": "0.0.0-pr706.6", | ||
"description": "Primitives for building your prosemirror suggestion and autocomplete functionality", | ||
@@ -11,2 +11,3 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/prosemirror-suggest", | ||
], | ||
"sideEffects": false, | ||
"exports": { | ||
@@ -34,7 +35,7 @@ ".": { | ||
"dependencies": { | ||
"@babel/runtime": "^7.12.13", | ||
"@remirror/core-constants": "0.0.0-pr706.5", | ||
"@remirror/core-helpers": "0.0.0-pr706.5", | ||
"@babel/runtime": "^7.13.7", | ||
"@remirror/core-constants": "0.0.0-pr706.6", | ||
"@remirror/core-helpers": "0.0.0-pr706.6", | ||
"escape-string-regexp": "^4.0.0", | ||
"type-fest": "^0.20.2" | ||
"type-fest": "^0.21.2" | ||
}, | ||
@@ -51,8 +52,8 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"@types/prosemirror-model": "^1.7.0", | ||
"@types/prosemirror-state": "^1.2.5", | ||
"@types/prosemirror-view": "^1.15.0", | ||
"prosemirror-model": "^1.11.0", | ||
"prosemirror-state": "^1.3.3", | ||
"prosemirror-view": "^1.14.9" | ||
"@types/prosemirror-model": "^1", | ||
"@types/prosemirror-state": "^1", | ||
"@types/prosemirror-view": "^1", | ||
"prosemirror-model": "^1", | ||
"prosemirror-state": "^1", | ||
"prosemirror-view": "^1" | ||
}, | ||
@@ -59,0 +60,0 @@ "peerDependenciesMeta": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
317404
7947
+ Added@remirror/core-constants@0.0.0-pr706.6(transitive)
+ Added@remirror/core-helpers@0.0.0-pr706.6(transitive)
+ Addedtype-fest@0.21.3(transitive)
- Removed@remirror/core-constants@0.0.0-pr706.5(transitive)
- Removed@remirror/core-helpers@0.0.0-pr706.5(transitive)
- Removedtype-fest@0.20.2(transitive)
Updated@babel/runtime@^7.13.7
Updatedtype-fest@^0.21.2