@atlaskit/editor-plugin-placeholder 1.1.4 → 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,154 +1,160 @@
1
1
  # @atlaskit/editor-plugin-placeholder
2
2
 
3
+ ## 1.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.1.4
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - Updated dependencies
13
+ - Updated dependencies
8
14
 
9
15
  ## 1.1.3
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - Updated dependencies
19
+ - Updated dependencies
14
20
 
15
21
  ## 1.1.2
16
22
 
17
23
  ### Patch Changes
18
24
 
19
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
20
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
21
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
22
- language triggering composition on an empty line.This was fixed in a patch bump of
23
- 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
24
30
 
25
31
  ## 1.1.1
26
32
 
27
33
  ### Patch Changes
28
34
 
29
- - Updated dependencies
35
+ - Updated dependencies
30
36
 
31
37
  ## 1.1.0
32
38
 
33
39
  ### Minor Changes
34
40
 
35
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
36
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
37
- 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
38
44
 
39
45
  ### Patch Changes
40
46
 
41
- - Updated dependencies
47
+ - Updated dependencies
42
48
 
43
49
  ## 1.0.3
44
50
 
45
51
  ### Patch Changes
46
52
 
47
- - [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247)
48
- [`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) -
49
- 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.
50
56
 
51
57
  ## 1.0.2
52
58
 
53
59
  ### Patch Changes
54
60
 
55
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
56
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
57
- 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`
58
64
 
59
65
  ## 1.0.1
60
66
 
61
67
  ### Patch Changes
62
68
 
63
- - Updated dependencies
69
+ - Updated dependencies
64
70
 
65
71
  ## 1.0.0
66
72
 
67
73
  ### Major Changes
68
74
 
69
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
70
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
71
- This changeset exists to bump all editor plugins that currently don't have a major version. This
72
- 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.
73
79
 
74
80
  ### Patch Changes
75
81
 
76
- - Updated dependencies
82
+ - Updated dependencies
77
83
 
78
84
  ## 0.1.12
79
85
 
80
86
  ### Patch Changes
81
87
 
82
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
83
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
84
- 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
85
91
 
86
92
  ## 0.1.11
87
93
 
88
94
  ### Patch Changes
89
95
 
90
- - Updated dependencies
96
+ - Updated dependencies
91
97
 
92
98
  ## 0.1.10
93
99
 
94
100
  ### Patch Changes
95
101
 
96
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
97
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
98
- [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
99
105
 
100
106
  ## 0.1.9
101
107
 
102
108
  ### Patch Changes
103
109
 
104
- - Updated dependencies
110
+ - Updated dependencies
105
111
 
106
112
  ## 0.1.8
107
113
 
108
114
  ### Patch Changes
109
115
 
110
- - Updated dependencies
116
+ - Updated dependencies
111
117
 
112
118
  ## 0.1.7
113
119
 
114
120
  ### Patch Changes
115
121
 
116
- - [#41637](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41637)
117
- [`76579fdc832`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76579fdc832) - Move
118
- 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
119
125
 
120
126
  ## 0.1.6
121
127
 
122
128
  ### Patch Changes
123
129
 
124
- - Updated dependencies
130
+ - Updated dependencies
125
131
 
126
132
  ## 0.1.5
127
133
 
128
134
  ### Patch Changes
129
135
 
130
- - Updated dependencies
136
+ - Updated dependencies
131
137
 
132
138
  ## 0.1.4
133
139
 
134
140
  ### Patch Changes
135
141
 
136
- - Updated dependencies
142
+ - Updated dependencies
137
143
 
138
144
  ## 0.1.3
139
145
 
140
146
  ### Patch Changes
141
147
 
142
- - Updated dependencies
148
+ - Updated dependencies
143
149
 
144
150
  ## 0.1.2
145
151
 
146
152
  ### Patch Changes
147
153
 
148
- - Updated dependencies
154
+ - Updated dependencies
149
155
 
150
156
  ## 0.1.1
151
157
 
152
158
  ### Patch Changes
153
159
 
154
- - 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.4",
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,7 +32,7 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/editor-common": "^81.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
38
  "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
@@ -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