@atlaskit/editor-plugin-placeholder 1.1.3 → 1.1.5

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/.eslintrc.js CHANGED
@@ -1,14 +1,14 @@
1
1
  module.exports = {
2
- rules: {
3
- '@typescript-eslint/no-duplicate-imports': 'error',
4
- '@typescript-eslint/no-explicit-any': 'error',
5
- },
6
- overrides: [
7
- {
8
- files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
9
- rules: {
10
- '@typescript-eslint/no-explicit-any': 'off',
11
- },
12
- },
13
- ],
2
+ rules: {
3
+ '@typescript-eslint/no-duplicate-imports': 'error',
4
+ '@typescript-eslint/no-explicit-any': 'error',
5
+ },
6
+ overrides: [
7
+ {
8
+ files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
9
+ rules: {
10
+ '@typescript-eslint/no-explicit-any': 'off',
11
+ },
12
+ },
13
+ ],
14
14
  };
package/CHANGELOG.md CHANGED
@@ -1,148 +1,160 @@
1
1
  # @atlaskit/editor-plugin-placeholder
2
2
 
3
+ ## 1.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.1.3
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - Updated dependencies
19
+ - Updated dependencies
8
20
 
9
21
  ## 1.1.2
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
14
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
15
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
16
- language triggering composition on an empty line.This was fixed in a patch bump of
17
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
25
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
26
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
27
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
28
+ language triggering composition on an empty line.This was fixed in a patch bump of
29
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
18
30
 
19
31
  ## 1.1.1
20
32
 
21
33
  ### Patch Changes
22
34
 
23
- - Updated dependencies
35
+ - Updated dependencies
24
36
 
25
37
  ## 1.1.0
26
38
 
27
39
  ### Minor Changes
28
40
 
29
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
30
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
31
- bumped editor-prosemirror version to 4.0.0
41
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
42
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
43
+ bumped editor-prosemirror version to 4.0.0
32
44
 
33
45
  ### Patch Changes
34
46
 
35
- - Updated dependencies
47
+ - Updated dependencies
36
48
 
37
49
  ## 1.0.3
38
50
 
39
51
  ### Patch Changes
40
52
 
41
- - [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247)
42
- [`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) -
43
- The internal composition of this package has changed. There is no expected change in behavior.
53
+ - [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247)
54
+ [`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) -
55
+ The internal composition of this package has changed. There is no expected change in behavior.
44
56
 
45
57
  ## 1.0.2
46
58
 
47
59
  ### Patch Changes
48
60
 
49
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
50
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
51
- Upgrade Typescript from `4.9.5` to `5.4.2`
61
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
62
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
63
+ Upgrade Typescript from `4.9.5` to `5.4.2`
52
64
 
53
65
  ## 1.0.1
54
66
 
55
67
  ### Patch Changes
56
68
 
57
- - Updated dependencies
69
+ - Updated dependencies
58
70
 
59
71
  ## 1.0.0
60
72
 
61
73
  ### Major Changes
62
74
 
63
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
64
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
65
- This changeset exists to bump all editor plugins that currently don't have a major version. This
66
- is to address an issue with Jira plugin consumption.
75
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
76
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
77
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
78
+ is to address an issue with Jira plugin consumption.
67
79
 
68
80
  ### Patch Changes
69
81
 
70
- - Updated dependencies
82
+ - Updated dependencies
71
83
 
72
84
  ## 0.1.12
73
85
 
74
86
  ### Patch Changes
75
87
 
76
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
77
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
78
- Upgrading @atlaskit/editor-prosemirror dependency
88
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
89
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
90
+ Upgrading @atlaskit/editor-prosemirror dependency
79
91
 
80
92
  ## 0.1.11
81
93
 
82
94
  ### Patch Changes
83
95
 
84
- - Updated dependencies
96
+ - Updated dependencies
85
97
 
86
98
  ## 0.1.10
87
99
 
88
100
  ### Patch Changes
89
101
 
90
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
91
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
92
- [ED-21835] Change EditorAPI type to always union with undefined
102
+ - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
103
+ [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
104
+ [ED-21835] Change EditorAPI type to always union with undefined
93
105
 
94
106
  ## 0.1.9
95
107
 
96
108
  ### Patch Changes
97
109
 
98
- - Updated dependencies
110
+ - Updated dependencies
99
111
 
100
112
  ## 0.1.8
101
113
 
102
114
  ### Patch Changes
103
115
 
104
- - Updated dependencies
116
+ - Updated dependencies
105
117
 
106
118
  ## 0.1.7
107
119
 
108
120
  ### Patch Changes
109
121
 
110
- - [#41637](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41637)
111
- [`76579fdc832`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76579fdc832) - Move
112
- placeholder tests into placeholder package from editor-core
122
+ - [#41637](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41637)
123
+ [`76579fdc832`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76579fdc832) - Move
124
+ placeholder tests into placeholder package from editor-core
113
125
 
114
126
  ## 0.1.6
115
127
 
116
128
  ### Patch Changes
117
129
 
118
- - Updated dependencies
130
+ - Updated dependencies
119
131
 
120
132
  ## 0.1.5
121
133
 
122
134
  ### Patch Changes
123
135
 
124
- - Updated dependencies
136
+ - Updated dependencies
125
137
 
126
138
  ## 0.1.4
127
139
 
128
140
  ### Patch Changes
129
141
 
130
- - Updated dependencies
142
+ - Updated dependencies
131
143
 
132
144
  ## 0.1.3
133
145
 
134
146
  ### Patch Changes
135
147
 
136
- - Updated dependencies
148
+ - Updated dependencies
137
149
 
138
150
  ## 0.1.2
139
151
 
140
152
  ### Patch Changes
141
153
 
142
- - Updated dependencies
154
+ - Updated dependencies
143
155
 
144
156
  ## 0.1.1
145
157
 
146
158
  ### Patch Changes
147
159
 
148
- - Updated dependencies
160
+ - Updated dependencies
package/LICENSE.md CHANGED
@@ -1,13 +1,11 @@
1
1
  Copyright 2023 Atlassian Pty Ltd
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
6
5
 
7
6
  http://www.apache.org/licenses/LICENSE-2.0
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Placeholder plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,10 +32,10 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/editor-common": "^80.0.0",
35
+ "@atlaskit/editor-common": "^82.0.0",
36
36
  "@atlaskit/editor-plugin-composition": "^1.1.0",
37
37
  "@atlaskit/editor-plugin-focus": "^1.2.0",
38
- "@atlaskit/editor-plugin-type-ahead": "^1.1.0",
38
+ "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
39
39
  "@atlaskit/editor-prosemirror": "4.0.1",
40
40
  "@babel/runtime": "^7.0.0"
41
41
  },
@@ -43,7 +43,6 @@
43
43
  "react": "^16.8.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
47
46
  "@testing-library/react": "^12.1.5",
48
47
  "react-dom": "^16.8.0",
49
48
  "typescript": "~5.4.2"
@@ -80,6 +79,5 @@
80
79
  "import-no-extraneous-disable-for-examples-and-docs"
81
80
  ]
82
81
  }
83
- },
84
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
82
+ }
85
83
  }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-plugin-placeholder"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -22,11 +23,11 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
22
23
 
23
24
  // @public (undocumented)
24
25
  export type PlaceholderPlugin = NextEditorPlugin<
25
- 'placeholder',
26
- {
27
- pluginConfiguration: PlaceholderPluginOptions | undefined;
28
- dependencies: [FocusPlugin, CompositionPlugin, TypeAheadPlugin];
29
- }
26
+ 'placeholder',
27
+ {
28
+ pluginConfiguration: PlaceholderPluginOptions | undefined;
29
+ dependencies: [FocusPlugin, CompositionPlugin, TypeAheadPlugin];
30
+ }
30
31
  >;
31
32
 
32
33
  // @public (undocumented)
@@ -34,10 +35,10 @@ export const placeholderPlugin: PlaceholderPlugin;
34
35
 
35
36
  // @public (undocumented)
36
37
  export interface PlaceholderPluginOptions {
37
- // (undocumented)
38
- placeholder?: string;
39
- // (undocumented)
40
- placeholderBracketHint?: string;
38
+ // (undocumented)
39
+ placeholder?: string;
40
+ // (undocumented)
41
+ placeholderBracketHint?: string;
41
42
  }
42
43
 
43
44
  // (No @packageDocumentation comment for this package)
@@ -51,7 +52,7 @@ export interface PlaceholderPluginOptions {
51
52
 
52
53
  ```json
53
54
  {
54
- "react": "^16.8.0"
55
+ "react": "^16.8.0"
55
56
  }
56
57
  ```
57
58