@atlaskit/editor-plugin-insert-block 0.2.5 → 0.2.6

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,12 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 0.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#61337](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61337) [`2d827c1d6c40`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2d827c1d6c40) - Remove emojiProvider property from the sharedState of the emoji plugin. This avoids a performance degradation if the provider is not memoised. It can still be retrieved via the provider factory if required internally.
8
+ - Updated dependencies
9
+
3
10
  ## 0.2.5
4
11
 
5
12
  ### Patch Changes
@@ -144,7 +144,7 @@ function ToolbarInsertBlockWithInjectionApi(_ref3) {
144
144
  availableWrapperBlockTypes: blockTypeState && blockTypeState.availableWrapperBlockTypes,
145
145
  linkSupported: !!hyperlinkState,
146
146
  linkDisabled: !hyperlinkState || !hyperlinkState.canInsertLink || !!hyperlinkState.activeLinkMark,
147
- emojiDisabled: !emojiState || !emojiState.emojiProvider,
147
+ emojiDisabled: !emojiState || !providers.emojiProvider,
148
148
  emojiProvider: providers.emojiProvider,
149
149
  nativeStatusSupported: options.nativeStatusSupported,
150
150
  horizontalRuleEnabled: options.horizontalRuleEnabled,
@@ -138,7 +138,7 @@ function ToolbarInsertBlockWithInjectionApi({
138
138
  availableWrapperBlockTypes: blockTypeState && blockTypeState.availableWrapperBlockTypes,
139
139
  linkSupported: !!hyperlinkState,
140
140
  linkDisabled: !hyperlinkState || !hyperlinkState.canInsertLink || !!hyperlinkState.activeLinkMark,
141
- emojiDisabled: !emojiState || !emojiState.emojiProvider,
141
+ emojiDisabled: !emojiState || !providers.emojiProvider,
142
142
  emojiProvider: providers.emojiProvider,
143
143
  nativeStatusSupported: options.nativeStatusSupported,
144
144
  horizontalRuleEnabled: options.horizontalRuleEnabled,
@@ -137,7 +137,7 @@ function ToolbarInsertBlockWithInjectionApi(_ref3) {
137
137
  availableWrapperBlockTypes: blockTypeState && blockTypeState.availableWrapperBlockTypes,
138
138
  linkSupported: !!hyperlinkState,
139
139
  linkDisabled: !hyperlinkState || !hyperlinkState.canInsertLink || !!hyperlinkState.activeLinkMark,
140
- emojiDisabled: !emojiState || !emojiState.emojiProvider,
140
+ emojiDisabled: !emojiState || !providers.emojiProvider,
141
141
  emojiProvider: providers.emojiProvider,
142
142
  nativeStatusSupported: options.nativeStatusSupported,
143
143
  horizontalRuleEnabled: options.horizontalRuleEnabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,12 +31,12 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^76.26.0",
34
+ "@atlaskit/editor-common": "^76.27.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^0.4.0",
36
36
  "@atlaskit/editor-plugin-block-type": "^3.0.0",
37
37
  "@atlaskit/editor-plugin-code-block": "^0.1.0",
38
38
  "@atlaskit/editor-plugin-date": "^0.2.0",
39
- "@atlaskit/editor-plugin-emoji": "^0.4.0",
39
+ "@atlaskit/editor-plugin-emoji": "^1.0.0",
40
40
  "@atlaskit/editor-plugin-expand": "^0.1.0",
41
41
  "@atlaskit/editor-plugin-extension": "^0.4.0",
42
42
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/editor-plugin-quick-insert": "^0.2.0",
51
51
  "@atlaskit/editor-plugin-rule": "^0.1.0",
52
52
  "@atlaskit/editor-plugin-status": "^0.2.0",
53
- "@atlaskit/editor-plugin-table": "^5.5.0",
53
+ "@atlaskit/editor-plugin-table": "^5.6.0",
54
54
  "@atlaskit/editor-plugin-tasks-and-decisions": "^0.2.0",
55
55
  "@atlaskit/editor-plugin-type-ahead": "^0.8.0",
56
56
  "@atlaskit/editor-prosemirror": "1.1.0",