@atlaskit/editor-plugin-user-preferences 6.0.12 → 6.0.14
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 +14 -0
- package/dist/types/pm-plugins/commands.d.ts +2 -2
- package/dist/types/ui/useDocumentVisibilityWatcher.d.ts +1 -1
- package/dist/types/ui/useUserPreferencesUpdateListener.d.ts +1 -1
- package/dist/types/userPreferencesPluginType.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/commands.d.ts +2 -2
- package/dist/types-ts4.5/ui/useDocumentVisibilityWatcher.d.ts +1 -1
- package/dist/types-ts4.5/ui/useUserPreferencesUpdateListener.d.ts +1 -1
- package/dist/types-ts4.5/userPreferencesPluginType.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-user-preferences
|
|
2
2
|
|
|
3
|
+
## 6.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.0.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c0a8e9590b919`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c0a8e9590b919) -
|
|
14
|
+
Mechanical type-import autofix for editor lint and metrics packages.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.0.12
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { ResolvedUserPreferences, UserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
|
|
4
4
|
export declare const updateUserPreference: ({ key, value, userPreferencesProvider, editorAnalyticsApi, }: {
|
|
5
5
|
editorAnalyticsApi?: EditorAnalyticsAPI | undefined;
|
|
6
6
|
key: keyof UserPreferences;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
|
|
2
2
|
export declare const useDocumentVisibilityWatcher: (userPreferencesProvider?: UserPreferencesProvider) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ResolvedUserPreferences } from '@atlaskit/editor-common/user-preferences';
|
|
2
|
-
import {
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
export declare const useUserPreferencesUpdateListener: (editorView: EditorView, resolvedUserPreferences: ResolvedUserPreferences | null) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { ResolvedUserPreferences, UserPreferencesProvider, UserPreferences } from '@atlaskit/editor-common/user-preferences';
|
|
3
3
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
4
|
export type UserPreferencesPluginOptions = {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
3
|
-
import {
|
|
3
|
+
import type { ResolvedUserPreferences, UserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
|
|
4
4
|
export declare const updateUserPreference: ({ key, value, userPreferencesProvider, editorAnalyticsApi, }: {
|
|
5
5
|
editorAnalyticsApi?: EditorAnalyticsAPI | undefined;
|
|
6
6
|
key: keyof UserPreferences;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
|
|
2
2
|
export declare const useDocumentVisibilityWatcher: (userPreferencesProvider?: UserPreferencesProvider) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ResolvedUserPreferences } from '@atlaskit/editor-common/user-preferences';
|
|
2
|
-
import {
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
export declare const useUserPreferencesUpdateListener: (editorView: EditorView, resolvedUserPreferences: ResolvedUserPreferences | null) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { ResolvedUserPreferences, UserPreferencesProvider, UserPreferences } from '@atlaskit/editor-common/user-preferences';
|
|
3
3
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
4
|
export type UserPreferencesPluginOptions = {
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-user-preferences",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.14",
|
|
4
4
|
"description": "UserPreferences plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/editor-plugin-analytics": "^8.0.0",
|
|
32
32
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
33
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
33
|
+
"@atlaskit/tmp-editor-statsig": "^47.0.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"bind-event-listener": "^3.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@atlaskit/editor-common": "^112.
|
|
38
|
+
"@atlaskit/editor-common": "^112.10.0",
|
|
39
39
|
"react": "^18.2.0"
|
|
40
40
|
},
|
|
41
41
|
"techstack": {
|