@atlaskit/editor-plugin-limited-mode 8.0.13 → 8.0.15

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,17 @@
1
1
  # @atlaskit/editor-plugin-limited-mode
2
2
 
3
+ ## 8.0.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.14
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 8.0.13
4
16
 
5
17
  ### Patch Changes
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/entry-points/limited-mode-plugin.js",
5
5
  "module:es2019": "../dist/es2019/entry-points/limited-mode-plugin.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/entry-points/limited-mode-plugin.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/entry-points/limited-mode-plugin.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/entry-points/limited-mode-plugin.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/entry-points/limited-mode-plugin-type.js",
5
5
  "module:es2019": "../dist/es2019/entry-points/limited-mode-plugin-type.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/entry-points/limited-mode-plugin-type.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/entry-points/limited-mode-plugin-type.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/entry-points/limited-mode-plugin-type.d.ts"
15
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-limited-mode",
3
- "version": "8.0.13",
3
+ "version": "8.0.15",
4
4
  "description": "LimitedMode 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-prosemirror": "^7.3.0",
32
32
  "@atlaskit/platform-feature-flags": "^1.1.0",
33
- "@atlaskit/tmp-editor-statsig": "^101.0.0",
33
+ "@atlaskit/tmp-editor-statsig": "^103.0.0",
34
34
  "@babel/runtime": "^7.0.0",
35
35
  "bind-event-listener": "^3.0.0"
36
36
  },
@@ -1 +0,0 @@
1
- export type { LimitedModePlugin, LimitedModePluginState, LimitedModePluginOptions, } from '../limitedModePluginType';
@@ -1 +0,0 @@
1
- export { limitedModePlugin } from '../limitedModePlugin';
@@ -1,2 +0,0 @@
1
- export { limitedModePlugin } from './limitedModePlugin';
2
- export type { LimitedModePlugin, LimitedModePluginState, LimitedModePluginOptions, } from './limitedModePluginType';
@@ -1,2 +0,0 @@
1
- import type { LimitedModePlugin } from './limitedModePluginType';
2
- export declare const limitedModePlugin: LimitedModePlugin;
@@ -1,22 +0,0 @@
1
- import type React from 'react';
2
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
- import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
4
- export type LimitedModePluginState = {
5
- documentSizeBreachesThreshold: boolean;
6
- };
7
- export type LimitedModePlugin = NextEditorPlugin<'limitedMode', {
8
- pluginConfiguration: LimitedModePluginOptions | undefined;
9
- sharedState: {
10
- enabled: boolean;
11
- limitedModePluginKey: PluginKey<LimitedModePluginState>;
12
- };
13
- }>;
14
- export type LimitedModePluginOptions = {
15
- contentId?: string;
16
- killSwitchEnabled?: boolean;
17
- showFlag?: (props: {
18
- close: string;
19
- description: React.ReactNode;
20
- title: string;
21
- }) => void;
22
- };
@@ -1,5 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
3
- import type { LimitedModePluginState } from '../limitedModePluginType';
4
- export declare const limitedModePluginKey: PluginKey;
5
- export declare const createPlugin: () => SafePlugin<LimitedModePluginState>;