@atlaskit/editor-plugin-user-preferences 4.0.3 → 4.0.4
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-user-preferences
|
|
2
2
|
|
|
3
|
+
## 4.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) -
|
|
8
|
+
tsignores added for help-center local consumpton removed
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.0.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -26,14 +26,11 @@ var createPlugin = exports.createPlugin = function createPlugin(pluginOptions, _
|
|
|
26
26
|
return new _safePlugin.SafePlugin({
|
|
27
27
|
key: userPreferencesPluginKey,
|
|
28
28
|
state: {
|
|
29
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
30
29
|
init: function init() {
|
|
31
30
|
return {
|
|
32
31
|
preferences: (userPreferencesProvider === null || userPreferencesProvider === void 0 ? void 0 : userPreferencesProvider.getPreferences()) || getInitialUserPreferences()
|
|
33
32
|
};
|
|
34
33
|
},
|
|
35
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
36
|
-
|
|
37
34
|
apply: function apply(tr, currentPluginState) {
|
|
38
35
|
var meta = tr.getMeta(userPreferencesPluginKey);
|
|
39
36
|
if (meta !== null && meta !== void 0 && meta.preferences) {
|
|
@@ -18,15 +18,11 @@ export const createPlugin = (pluginOptions, _api) => {
|
|
|
18
18
|
return new SafePlugin({
|
|
19
19
|
key: userPreferencesPluginKey,
|
|
20
20
|
state: {
|
|
21
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
22
|
-
|
|
23
21
|
init() {
|
|
24
22
|
return {
|
|
25
23
|
preferences: (userPreferencesProvider === null || userPreferencesProvider === void 0 ? void 0 : userPreferencesProvider.getPreferences()) || getInitialUserPreferences()
|
|
26
24
|
};
|
|
27
25
|
},
|
|
28
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
29
|
-
|
|
30
26
|
apply: (tr, currentPluginState) => {
|
|
31
27
|
const meta = tr.getMeta(userPreferencesPluginKey);
|
|
32
28
|
if (meta !== null && meta !== void 0 && meta.preferences) {
|
|
@@ -19,14 +19,11 @@ export var createPlugin = function createPlugin(pluginOptions, _api) {
|
|
|
19
19
|
return new SafePlugin({
|
|
20
20
|
key: userPreferencesPluginKey,
|
|
21
21
|
state: {
|
|
22
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
23
22
|
init: function init() {
|
|
24
23
|
return {
|
|
25
24
|
preferences: (userPreferencesProvider === null || userPreferencesProvider === void 0 ? void 0 : userPreferencesProvider.getPreferences()) || getInitialUserPreferences()
|
|
26
25
|
};
|
|
27
26
|
},
|
|
28
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
29
|
-
|
|
30
27
|
apply: function apply(tr, currentPluginState) {
|
|
31
28
|
var meta = tr.getMeta(userPreferencesPluginKey);
|
|
32
29
|
if (meta !== null && meta !== void 0 && meta.preferences) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-user-preferences",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "UserPreferences plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
32
32
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
33
|
-
"@atlaskit/tmp-editor-statsig": "^14.
|
|
33
|
+
"@atlaskit/tmp-editor-statsig": "^14.2.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"bind-event-listener": "^3.0.0"
|
|
36
36
|
},
|