@atlaskit/editor-plugin-extension 3.1.1 → 3.1.3

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-extension
2
2
 
3
+ ## 3.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.1.1
4
16
 
5
17
  ### Patch Changes
@@ -3,7 +3,7 @@ import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
3
  import type { ExtensionManifest, FieldDefinition, OnSaveCallback, Parameters } from '@atlaskit/editor-common/extensions';
4
4
  import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
5
5
  import type { ExtensionPlugin, RejectSave } from '../../extensionPluginType';
6
- declare const result: React.ForwardRefExoticComponent<Pick<Omit<{
6
+ declare const result: React.ForwardRefExoticComponent<Omit<Omit<{
7
7
  extensionManifest?: ExtensionManifest | undefined;
8
8
  fields?: FieldDefinition[] | undefined;
9
9
  parameters?: Parameters | undefined;
@@ -17,5 +17,5 @@ declare const result: React.ForwardRefExoticComponent<Pick<Omit<{
17
17
  isLoading?: boolean | undefined;
18
18
  featureFlags?: FeatureFlags | undefined;
19
19
  api: ExtractInjectionAPI<ExtensionPlugin> | undefined;
20
- }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "autoSaveReject" | "featureFlags" | "api" | "parameters" | "key" | "onChange" | "errorMessage" | "analyticsContext" | "fields" | "extensionManifest" | "isLoading" | "onCancel" | "autoSaveTrigger" | "showHeader" | "closeOnEsc"> & React.RefAttributes<any>>;
20
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
21
21
  export default result;
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
3
+ type Props = {
4
4
  errorMessage: string;
5
- } & WrappedComponentProps>> & {
6
- WrappedComponent: React.ComponentType<{
7
- errorMessage: string;
8
- } & WrappedComponentProps>;
5
+ } & WrappedComponentProps;
6
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
7
+ WrappedComponent: React.ComponentType<Props>;
9
8
  };
10
9
  export default _default;
@@ -5,15 +5,12 @@
5
5
  import React from 'react';
6
6
  import type { WrappedComponentProps } from 'react-intl-next';
7
7
  import type { FieldDefinition } from '@atlaskit/editor-common/extensions';
8
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
8
+ type Props = {
9
9
  field: FieldDefinition;
10
10
  children: React.ReactNode;
11
- isExpanded?: boolean | undefined;
12
- } & WrappedComponentProps>> & {
13
- WrappedComponent: React.ComponentType<{
14
- field: FieldDefinition;
15
- children: React.ReactNode;
16
- isExpanded?: boolean | undefined;
17
- } & WrappedComponentProps>;
11
+ isExpanded?: boolean;
12
+ } & WrappedComponentProps;
13
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
14
+ WrappedComponent: React.ComponentType<Props>;
18
15
  };
19
16
  export default _default;
@@ -5,13 +5,11 @@
5
5
  import React from 'react';
6
6
  import type { WrappedComponentProps } from 'react-intl-next';
7
7
  import type { TabField, TabGroupField } from '@atlaskit/editor-common/extensions';
8
- declare const TabGroup: React.FC<import("react-intl-next").WithIntlProps<{
8
+ type Props = {
9
9
  field: TabGroupField;
10
10
  renderPanel: (tabField: TabField) => JSX.Element;
11
- } & WrappedComponentProps>> & {
12
- WrappedComponent: React.ComponentType<{
13
- field: TabGroupField;
14
- renderPanel: (tabField: TabField) => JSX.Element;
15
- } & WrappedComponentProps>;
11
+ } & WrappedComponentProps;
12
+ declare const TabGroup: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
13
+ WrappedComponent: React.ComponentType<Props>;
16
14
  };
17
15
  export default TabGroup;
@@ -12,7 +12,7 @@ interface Props {
12
12
  export declare const FormErrorBoundaryImpl: React.FC<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps>> & {
13
13
  WrappedComponent: React.ComponentType<Props & WithAnalyticsEventsProps & WrappedComponentProps>;
14
14
  };
15
- export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<Omit<Props & WithAnalyticsEventsProps & WrappedComponentProps, "intl"> & {
15
+ export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Omit<Omit<Omit<Props & WithAnalyticsEventsProps & WrappedComponentProps, "intl"> & {
16
16
  forwardedRef?: React.Ref<any> | undefined;
17
- }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "analyticsContext" | "forwardedRef" | keyof Props> & React.RefAttributes<any>>;
17
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
18
18
  export {};
@@ -1,23 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { Icon } from '@atlaskit/editor-common/extensions';
4
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<{
4
+ type Props = {
5
5
  title: string;
6
- description?: string | undefined;
7
- summary?: string | undefined;
8
- documentationUrl?: string | undefined;
9
- enableHelpCTA?: boolean | undefined;
6
+ description?: string;
7
+ summary?: string;
8
+ documentationUrl?: string;
9
+ enableHelpCTA?: boolean;
10
10
  icon: Icon;
11
11
  onClose: () => void;
12
- } & WrappedComponentProps>> & {
13
- WrappedComponent: import("react").ComponentType<{
14
- title: string;
15
- description?: string | undefined;
16
- summary?: string | undefined;
17
- documentationUrl?: string | undefined;
18
- enableHelpCTA?: boolean | undefined;
19
- icon: Icon;
20
- onClose: () => void;
21
- } & WrappedComponentProps>;
12
+ } & WrappedComponentProps;
13
+ declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props>> & {
14
+ WrappedComponent: import("react").ComponentType<Props>;
22
15
  };
23
16
  export default _default;
@@ -4,19 +4,14 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import type { WrappedComponentProps } from 'react-intl-next';
7
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
7
+ type Props = {
8
8
  name: string;
9
- onClickRemove?: ((fieldName: string) => void) | undefined;
10
- canRemoveField?: boolean | undefined;
11
- children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
- className?: string | undefined;
13
- } & WrappedComponentProps>> & {
14
- WrappedComponent: React.ComponentType<{
15
- name: string;
16
- onClickRemove?: ((fieldName: string) => void) | undefined;
17
- canRemoveField?: boolean | undefined;
18
- children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
19
- className?: string | undefined;
20
- } & WrappedComponentProps>;
9
+ onClickRemove?: (fieldName: string) => void;
10
+ canRemoveField?: boolean;
11
+ children: React.ReactElement;
12
+ className?: string;
13
+ } & WrappedComponentProps;
14
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
15
+ WrappedComponent: React.ComponentType<Props>;
21
16
  };
22
17
  export default _default;
@@ -3,7 +3,7 @@ import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
3
  import type { ExtensionManifest, FieldDefinition, OnSaveCallback, Parameters } from '@atlaskit/editor-common/extensions';
4
4
  import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
5
5
  import type { ExtensionPlugin, RejectSave } from '../../extensionPluginType';
6
- declare const result: React.ForwardRefExoticComponent<Pick<Omit<{
6
+ declare const result: React.ForwardRefExoticComponent<Omit<Omit<{
7
7
  extensionManifest?: ExtensionManifest | undefined;
8
8
  fields?: FieldDefinition[] | undefined;
9
9
  parameters?: Parameters | undefined;
@@ -17,5 +17,5 @@ declare const result: React.ForwardRefExoticComponent<Pick<Omit<{
17
17
  isLoading?: boolean | undefined;
18
18
  featureFlags?: FeatureFlags | undefined;
19
19
  api: ExtractInjectionAPI<ExtensionPlugin> | undefined;
20
- }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "autoSaveReject" | "featureFlags" | "api" | "parameters" | "key" | "onChange" | "errorMessage" | "analyticsContext" | "fields" | "extensionManifest" | "isLoading" | "onCancel" | "autoSaveTrigger" | "showHeader" | "closeOnEsc"> & React.RefAttributes<any>>;
20
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
21
21
  export default result;
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
3
+ type Props = {
4
4
  errorMessage: string;
5
- } & WrappedComponentProps>> & {
6
- WrappedComponent: React.ComponentType<{
7
- errorMessage: string;
8
- } & WrappedComponentProps>;
5
+ } & WrappedComponentProps;
6
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
7
+ WrappedComponent: React.ComponentType<Props>;
9
8
  };
10
9
  export default _default;
@@ -5,15 +5,12 @@
5
5
  import React from 'react';
6
6
  import type { WrappedComponentProps } from 'react-intl-next';
7
7
  import type { FieldDefinition } from '@atlaskit/editor-common/extensions';
8
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
8
+ type Props = {
9
9
  field: FieldDefinition;
10
10
  children: React.ReactNode;
11
- isExpanded?: boolean | undefined;
12
- } & WrappedComponentProps>> & {
13
- WrappedComponent: React.ComponentType<{
14
- field: FieldDefinition;
15
- children: React.ReactNode;
16
- isExpanded?: boolean | undefined;
17
- } & WrappedComponentProps>;
11
+ isExpanded?: boolean;
12
+ } & WrappedComponentProps;
13
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
14
+ WrappedComponent: React.ComponentType<Props>;
18
15
  };
19
16
  export default _default;
@@ -5,13 +5,11 @@
5
5
  import React from 'react';
6
6
  import type { WrappedComponentProps } from 'react-intl-next';
7
7
  import type { TabField, TabGroupField } from '@atlaskit/editor-common/extensions';
8
- declare const TabGroup: React.FC<import("react-intl-next").WithIntlProps<{
8
+ type Props = {
9
9
  field: TabGroupField;
10
10
  renderPanel: (tabField: TabField) => JSX.Element;
11
- } & WrappedComponentProps>> & {
12
- WrappedComponent: React.ComponentType<{
13
- field: TabGroupField;
14
- renderPanel: (tabField: TabField) => JSX.Element;
15
- } & WrappedComponentProps>;
11
+ } & WrappedComponentProps;
12
+ declare const TabGroup: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
13
+ WrappedComponent: React.ComponentType<Props>;
16
14
  };
17
15
  export default TabGroup;
@@ -12,7 +12,7 @@ interface Props {
12
12
  export declare const FormErrorBoundaryImpl: React.FC<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps>> & {
13
13
  WrappedComponent: React.ComponentType<Props & WithAnalyticsEventsProps & WrappedComponentProps>;
14
14
  };
15
- export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<Omit<Props & WithAnalyticsEventsProps & WrappedComponentProps, "intl"> & {
15
+ export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Omit<Omit<Omit<Props & WithAnalyticsEventsProps & WrappedComponentProps, "intl"> & {
16
16
  forwardedRef?: React.Ref<any> | undefined;
17
- }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "analyticsContext" | "forwardedRef" | keyof Props> & React.RefAttributes<any>>;
17
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
18
18
  export {};
@@ -1,23 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  import type { WrappedComponentProps } from 'react-intl-next';
3
3
  import type { Icon } from '@atlaskit/editor-common/extensions';
4
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<{
4
+ type Props = {
5
5
  title: string;
6
- description?: string | undefined;
7
- summary?: string | undefined;
8
- documentationUrl?: string | undefined;
9
- enableHelpCTA?: boolean | undefined;
6
+ description?: string;
7
+ summary?: string;
8
+ documentationUrl?: string;
9
+ enableHelpCTA?: boolean;
10
10
  icon: Icon;
11
11
  onClose: () => void;
12
- } & WrappedComponentProps>> & {
13
- WrappedComponent: import("react").ComponentType<{
14
- title: string;
15
- description?: string | undefined;
16
- summary?: string | undefined;
17
- documentationUrl?: string | undefined;
18
- enableHelpCTA?: boolean | undefined;
19
- icon: Icon;
20
- onClose: () => void;
21
- } & WrappedComponentProps>;
12
+ } & WrappedComponentProps;
13
+ declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props>> & {
14
+ WrappedComponent: import("react").ComponentType<Props>;
22
15
  };
23
16
  export default _default;
@@ -4,19 +4,14 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import type { WrappedComponentProps } from 'react-intl-next';
7
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
7
+ type Props = {
8
8
  name: string;
9
- onClickRemove?: ((fieldName: string) => void) | undefined;
10
- canRemoveField?: boolean | undefined;
11
- children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
- className?: string | undefined;
13
- } & WrappedComponentProps>> & {
14
- WrappedComponent: React.ComponentType<{
15
- name: string;
16
- onClickRemove?: ((fieldName: string) => void) | undefined;
17
- canRemoveField?: boolean | undefined;
18
- children: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
19
- className?: string | undefined;
20
- } & WrappedComponentProps>;
9
+ onClickRemove?: (fieldName: string) => void;
10
+ canRemoveField?: boolean;
11
+ children: React.ReactElement;
12
+ className?: string;
13
+ } & WrappedComponentProps;
14
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props>> & {
15
+ WrappedComponent: React.ComponentType<Props>;
21
16
  };
22
17
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,42 +24,42 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/adf-schema": "^46.1.0",
27
- "@atlaskit/adf-utils": "^19.17.0",
28
- "@atlaskit/analytics-next": "^10.2.0",
29
- "@atlaskit/avatar": "^21.17.0",
30
- "@atlaskit/button": "^20.3.0",
31
- "@atlaskit/checkbox": "^15.2.0",
32
- "@atlaskit/datetime-picker": "^15.11.0",
33
- "@atlaskit/editor-common": "^99.5.0",
34
- "@atlaskit/editor-json-transformer": "^8.21.0",
27
+ "@atlaskit/adf-utils": "^19.18.0",
28
+ "@atlaskit/analytics-next": "^10.3.0",
29
+ "@atlaskit/avatar": "^21.18.0",
30
+ "@atlaskit/button": "^20.4.0",
31
+ "@atlaskit/checkbox": "^15.3.0",
32
+ "@atlaskit/datetime-picker": "^15.12.0",
33
+ "@atlaskit/editor-common": "^99.6.0",
34
+ "@atlaskit/editor-json-transformer": "^8.22.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^1.11.0",
36
36
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
37
- "@atlaskit/editor-plugin-context-panel": "^1.4.0",
38
- "@atlaskit/editor-plugin-decorations": "^1.3.0",
37
+ "@atlaskit/editor-plugin-context-panel": "^1.5.0",
38
+ "@atlaskit/editor-plugin-decorations": "^1.4.0",
39
39
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
40
40
  "@atlaskit/editor-plugin-width": "^2.0.0",
41
41
  "@atlaskit/editor-prosemirror": "6.2.1",
42
42
  "@atlaskit/editor-shared-styles": "^3.2.0",
43
43
  "@atlaskit/editor-tables": "^2.8.0",
44
- "@atlaskit/empty-state": "^8.1.0",
45
- "@atlaskit/form": "^11.0.0",
46
- "@atlaskit/heading": "4.0.1",
47
- "@atlaskit/icon": "^23.4.0",
44
+ "@atlaskit/empty-state": "^8.2.0",
45
+ "@atlaskit/form": "^11.1.0",
46
+ "@atlaskit/heading": "4.1.0",
47
+ "@atlaskit/icon": "^23.5.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.3.0",
49
- "@atlaskit/primitives": "^13.3.0",
50
- "@atlaskit/radio": "^7.0.0",
51
- "@atlaskit/section-message": "^6.8.0",
52
- "@atlaskit/select": "^18.9.0",
53
- "@atlaskit/smart-user-picker": "^6.11.0",
54
- "@atlaskit/spinner": "^17.0.0",
55
- "@atlaskit/tabs": "^17.1.0",
56
- "@atlaskit/textarea": "^5.7.0",
57
- "@atlaskit/textfield": "^6.7.0",
58
- "@atlaskit/theme": "^14.0.0",
49
+ "@atlaskit/primitives": "^13.4.0",
50
+ "@atlaskit/radio": "^7.2.0",
51
+ "@atlaskit/section-message": "^6.9.0",
52
+ "@atlaskit/select": "^18.10.0",
53
+ "@atlaskit/smart-user-picker": "^7.0.0",
54
+ "@atlaskit/spinner": "^17.1.0",
55
+ "@atlaskit/tabs": "^17.2.0",
56
+ "@atlaskit/textarea": "^5.8.0",
57
+ "@atlaskit/textfield": "^6.8.0",
58
+ "@atlaskit/theme": "^14.1.0",
59
59
  "@atlaskit/tmp-editor-statsig": "^2.41.0",
60
- "@atlaskit/toggle": "^14.0.0",
61
- "@atlaskit/tokens": "^3.2.0",
62
- "@atlaskit/tooltip": "^19.0.0",
60
+ "@atlaskit/toggle": "^14.1.0",
61
+ "@atlaskit/tokens": "^3.3.0",
62
+ "@atlaskit/tooltip": "^19.1.0",
63
63
  "@babel/runtime": "^7.0.0",
64
64
  "@emotion/react": "^11.7.1",
65
65
  "bind-event-listener": "^3.0.0",