@atlaskit/editor-plugin-code-bidi-warning 8.0.26 → 8.0.28

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/editor-plugin-code-bidi-warning
2
2
 
3
+ ## 8.0.28
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.27
10
+
11
+ ### Patch Changes
12
+
13
+ - [`7b7c52dff5d7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b7c52dff5d7d) -
14
+ Fix eslint violations for type import syntax
15
+
3
16
  ## 8.0.26
4
17
 
5
18
  ### Patch Changes
@@ -84,7 +84,7 @@ function createBidiWarningsDecorationSetFromDoc(_ref) {
84
84
  bidiCharacter = _ref4.bidiCharacter;
85
85
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
86
86
  var renderKey = (0, _v.default)();
87
- return _view.Decoration.widget(position, function (el) {
87
+ return _view.Decoration.widget(position, function (_el) {
88
88
  return renderDOM({
89
89
  bidiCharacter: bidiCharacter,
90
90
  codeBidiWarningLabel: codeBidiWarningLabel,
@@ -93,7 +93,7 @@ function createBidiWarningsDecorationSetFromDoc(_ref) {
93
93
  renderKey: renderKey
94
94
  });
95
95
  }, {
96
- destroy: function destroy(el) {
96
+ destroy: function destroy(_el) {
97
97
  // removing portalprovider clean up due to a rendering bug
98
98
  // with this plugin under React 18. This matches the previous
99
99
  // React 16 behaviour which never cleaned up rendering.
@@ -76,14 +76,14 @@ export function createBidiWarningsDecorationSetFromDoc({
76
76
  }) => {
77
77
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
78
78
  const renderKey = uuid();
79
- return Decoration.widget(position, el => renderDOM({
79
+ return Decoration.widget(position, _el => renderDOM({
80
80
  bidiCharacter,
81
81
  codeBidiWarningLabel,
82
82
  tooltipEnabled,
83
83
  nodeViewPortalProviderAPI,
84
84
  renderKey
85
85
  }), {
86
- destroy: el => {
86
+ destroy: _el => {
87
87
  // removing portalprovider clean up due to a rendering bug
88
88
  // with this plugin under React 18. This matches the previous
89
89
  // React 16 behaviour which never cleaned up rendering.
@@ -78,7 +78,7 @@ export function createBidiWarningsDecorationSetFromDoc(_ref) {
78
78
  bidiCharacter = _ref4.bidiCharacter;
79
79
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
80
80
  var renderKey = uuid();
81
- return Decoration.widget(position, function (el) {
81
+ return Decoration.widget(position, function (_el) {
82
82
  return renderDOM({
83
83
  bidiCharacter: bidiCharacter,
84
84
  codeBidiWarningLabel: codeBidiWarningLabel,
@@ -87,7 +87,7 @@ export function createBidiWarningsDecorationSetFromDoc(_ref) {
87
87
  renderKey: renderKey
88
88
  });
89
89
  }, {
90
- destroy: function destroy(el) {
90
+ destroy: function destroy(_el) {
91
91
  // removing portalprovider clean up due to a rendering bug
92
92
  // with this plugin under React 18. This matches the previous
93
93
  // React 16 behaviour which never cleaned up rendering.
@@ -1,5 +1,5 @@
1
1
  import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
2
- import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
+ import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { Command } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { EditorState, Transaction, SafeStateField } from '@atlaskit/editor-prosemirror/state';
@@ -1,5 +1,5 @@
1
1
  import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
2
- import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
+ import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { Command } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { EditorState, Transaction, SafeStateField } from '@atlaskit/editor-prosemirror/state';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-bidi-warning",
3
- "version": "8.0.26",
3
+ "version": "8.0.28",
4
4
  "description": "Code bidi warning plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,12 +31,12 @@
31
31
  "@atlaskit/editor-plugin-limited-mode": "^5.0.0",
32
32
  "@atlaskit/editor-prosemirror": "^7.3.0",
33
33
  "@atlaskit/platform-feature-flags": "^1.1.0",
34
- "@atlaskit/tmp-editor-statsig": "^58.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^59.1.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "uuid": "^3.1.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@atlaskit/editor-common": "^112.19.0",
39
+ "@atlaskit/editor-common": "^112.20.0",
40
40
  "react": "^18.2.0",
41
41
  "react-dom": "^18.2.0"
42
42
  },