@atlaskit/editor-plugin-user-preferences 0.1.0 → 0.1.2

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,20 @@
1
1
  # @atlaskit/editor-plugin-user-preferences
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#159043](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159043)
14
+ [`686cfbea13d47`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/686cfbea13d47) -
15
+ ED-28050 [Performance] Disable unnecessary docking preference request on PageVisibilityWatcher
16
+ - Updated dependencies
17
+
3
18
  ## 0.1.0
4
19
 
5
20
  ### Minor Changes
@@ -0,0 +1,30 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../tsDist/@atlaskit__editor-plugin-user-preferences/app",
6
+ "rootDir": "../",
7
+ "composite": true
8
+ },
9
+ "include": [
10
+ "../src/**/*.ts",
11
+ "../src/**/*.tsx"
12
+ ],
13
+ "exclude": [
14
+ "../src/**/__tests__/*",
15
+ "../src/**/*.test.*",
16
+ "../src/**/test.*",
17
+ "../src/**/examples.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../editor-common/afm-jira/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../editor-plugin-analytics/afm-jira/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.post-office.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../post-office/tsDist/@atlaskit__editor-plugin-user-preferences/app",
6
+ "rootDir": "../",
7
+ "composite": true
8
+ },
9
+ "include": [
10
+ "../src/**/*.ts",
11
+ "../src/**/*.tsx"
12
+ ],
13
+ "exclude": [
14
+ "../src/**/__tests__/*",
15
+ "../src/**/*.test.*",
16
+ "../src/**/test.*",
17
+ "../src/**/examples.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../editor-common/afm-post-office/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../editor-plugin-analytics/afm-post-office/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -1,7 +1,7 @@
1
- import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
1
+ import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import type { EditorCommand } from '@atlaskit/editor-common/types';
3
- import { ResolvedUserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
4
- import { PrefKey } from '../userPreferencesPluginType';
3
+ import { type ResolvedUserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
4
+ import type { PrefKey } from '../userPreferencesPluginType';
5
5
  export declare const updateToolbarDockingPosition: ({ key, value, userPreferencesProvider, editorAnalyticsApi, }: {
6
6
  key: PrefKey;
7
7
  value: ResolvedUserPreferences[PrefKey];
@@ -1,8 +1,8 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { ResolvedUserPreferences } from '@atlaskit/editor-common/user-preferences';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { ResolvedUserPreferences } from '@atlaskit/editor-common/user-preferences';
4
4
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
5
- import { Config, UserPreferencesPlugin } from '../userPreferencesPluginType';
5
+ import type { Config, UserPreferencesPlugin } from '../userPreferencesPluginType';
6
6
  export declare const userPreferencesPluginKey: PluginKey<any>;
7
7
  type UserPreferencesPluginState = {
8
8
  preferences: ResolvedUserPreferences;
@@ -1,5 +1,5 @@
1
1
  import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
- import { ResolvedUserPreferences, UserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
2
+ import { type ResolvedUserPreferences, type UserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
3
3
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
4
  export type Config = {
5
5
  userPreferencesProvider: UserPreferencesProvider;
@@ -1,7 +1,7 @@
1
- import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
1
+ import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import type { EditorCommand } from '@atlaskit/editor-common/types';
3
- import { ResolvedUserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
4
- import { PrefKey } from '../userPreferencesPluginType';
3
+ import { type ResolvedUserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
4
+ import type { PrefKey } from '../userPreferencesPluginType';
5
5
  export declare const updateToolbarDockingPosition: ({ key, value, userPreferencesProvider, editorAnalyticsApi, }: {
6
6
  key: PrefKey;
7
7
  value: ResolvedUserPreferences[PrefKey];
@@ -1,8 +1,8 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { ResolvedUserPreferences } from '@atlaskit/editor-common/user-preferences';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { ResolvedUserPreferences } from '@atlaskit/editor-common/user-preferences';
4
4
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
5
- import { Config, UserPreferencesPlugin } from '../userPreferencesPluginType';
5
+ import type { Config, UserPreferencesPlugin } from '../userPreferencesPluginType';
6
6
  export declare const userPreferencesPluginKey: PluginKey<any>;
7
7
  type UserPreferencesPluginState = {
8
8
  preferences: ResolvedUserPreferences;
@@ -1,5 +1,5 @@
1
1
  import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
- import { ResolvedUserPreferences, UserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
2
+ import { type ResolvedUserPreferences, type UserPreferences, UserPreferencesProvider } from '@atlaskit/editor-common/user-preferences';
3
3
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
4
  export type Config = {
5
5
  userPreferencesProvider: UserPreferencesProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-user-preferences",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "UserPreferences 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": "^105.2.0",
35
+ "@atlaskit/editor-common": "^106.0.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
37
37
  "@atlaskit/editor-prosemirror": "7.0.0",
38
38
  "@atlaskit/platform-feature-flags": "^1.1.0",