@atlaskit/prosemirror-input-rules 4.0.65 → 4.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/prosemirror-input-rules
2
2
 
3
+ ## 4.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
14
+ Remove stale API report artifacts from published Platform packages.
15
+
3
16
  ## 4.0.65
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/prosemirror-input-rules",
3
- "version": "4.0.65",
3
+ "version": "4.1.1",
4
4
  "description": "A package that contains helpers to create autoformatting rules for ProseMirror",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,11 +21,11 @@
21
21
  "dependencies": {
22
22
  "@atlaskit/editor-prosemirror": "^8.0.0",
23
23
  "@atlaskit/prosemirror-history": "^1.2.0",
24
- "@atlaskit/tmp-editor-statsig": "^168.0.0",
24
+ "@atlaskit/tmp-editor-statsig": "^169.0.0",
25
25
  "@babel/runtime": "^7.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@atlaskit/editor-common": "^120.7.0"
28
+ "@atlaskit/editor-common": "^120.10.0"
29
29
  },
30
30
  "techstack": {
31
31
  "@atlassian/frontend": {
package/report.api.md DELETED
@@ -1,90 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/prosemirror-input-rules"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import { createRule } from '@atlaskit/editor-common/utils';
20
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
21
- import type { InputRuleHandler } from '@atlaskit/editor-common/types';
22
- import type { InputRuleWrapper } from '@atlaskit/editor-common/types';
23
- import type { OnHandlerApply } from '@atlaskit/editor-common/types';
24
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
25
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
26
-
27
- // @public (undocumented)
28
- export function createInputRulePlugin(
29
- pluginName: string,
30
- rules: InputRuleWrapper[],
31
- options?: Options,
32
- ): SafePlugin;
33
-
34
- // @public (undocumented)
35
- export const createPlugin: (
36
- pluginName: string,
37
- rules: Array<InputRuleWrapper>,
38
- options?: Options_2,
39
- ) => SafePlugin;
40
-
41
- export { createRule };
42
-
43
- export { InputRuleHandler };
44
-
45
- export { InputRuleWrapper };
46
-
47
- // @public (undocumented)
48
- export const leafNodeReplacementCharacter = '\uFFFC';
49
-
50
- // @public (undocumented)
51
- export const MAX_REGEX_MATCH = 500;
52
-
53
- // @public (undocumented)
54
- type OnBeforeRegexMatch = (tr: Transaction) => void;
55
-
56
- export { OnHandlerApply };
57
-
58
- // @public (undocumented)
59
- export type OnInputEvent = (props: { state: EditorState; from: number; to: number }) => boolean;
60
-
61
- // @public (undocumented)
62
- type Options = {
63
- allowInsertTextOnDocument?: boolean;
64
- onInputEvent?: OnInputEvent;
65
- onBeforeRegexMatch?: OnBeforeRegexMatch;
66
- };
67
-
68
- // @public (undocumented)
69
- type Options_2 = {
70
- isBlockNodeRule?: boolean;
71
- allowInsertTextOnDocument?: boolean;
72
- };
73
-
74
- // @public (undocumented)
75
- export const TEXT_INPUT_RULE_TRANSACTION_KEY = 'input_rule_plugin_transaction';
76
-
77
- // (No @packageDocumentation comment for this package)
78
- ```
79
-
80
- <!--SECTION END: Main Entry Types-->
81
-
82
- ### Peer Dependencies
83
-
84
- <!--SECTION START: Peer Dependencies-->
85
-
86
- ```json
87
- {}
88
- ```
89
-
90
- <!--SECTION END: Peer Dependencies-->