@atlaskit/editor-plugin-quick-insert 8.0.0 → 8.0.1

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,11 @@
1
1
  # @atlaskit/editor-plugin-quick-insert
2
2
 
3
+ ## 8.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 8.0.0
4
10
 
5
11
  ### Patch Changes
@@ -151,4 +151,5 @@ var HelpLink = function HelpLink(url, helpText) {
151
151
  testId: "ModalElementBrowser__help-button"
152
152
  }, helpText);
153
153
  };
154
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(ModalElementBrowser);
154
+ var _default_1 = (0, _reactIntlNext.injectIntl)(ModalElementBrowser);
155
+ var _default = exports.default = _default_1;
@@ -133,4 +133,5 @@ const HelpLink = (url, helpText) => jsx(Button, {
133
133
  target: "_blank",
134
134
  testId: "ModalElementBrowser__help-button"
135
135
  }, helpText);
136
- export default injectIntl(ModalElementBrowser);
136
+ const _default_1 = injectIntl(ModalElementBrowser);
137
+ export default _default_1;
@@ -141,4 +141,5 @@ var HelpLink = function HelpLink(url, helpText) {
141
141
  testId: "ModalElementBrowser__help-button"
142
142
  }, helpText);
143
143
  };
144
- export default injectIntl(ModalElementBrowser);
144
+ var _default_1 = injectIntl(ModalElementBrowser);
145
+ export default _default_1;
@@ -3,4 +3,4 @@ import type { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { Command, EditorCommand } from '@atlaskit/editor-common/types';
4
4
  export declare const openElementBrowserModal: EditorCommand;
5
5
  export declare const closeElementBrowserModal: () => Command;
6
- export declare const createInsertItem: (onInsert?: (item: QuickInsertItem) => void) => (item: QuickInsertItem, source?: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.ELEMENT_BROWSER) => Command;
6
+ export declare const createInsertItem: (onInsert?: (item: QuickInsertItem) => void) => ((item: QuickInsertItem, source?: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.ELEMENT_BROWSER) => Command);
@@ -15,5 +15,5 @@ type QuickInsertOpenExperienceOptions = {
15
15
  * Failure: When 500ms passes without the quick insert menu being added to the DOM
16
16
  * Abort: When user presses escape or backspace
17
17
  */
18
- export declare const getQuickInsertOpenExperiencePlugin: ({ refs, dispatchAnalyticsEvent, }: QuickInsertOpenExperienceOptions) => SafePlugin<any>;
18
+ export declare const getQuickInsertOpenExperiencePlugin: ({ refs, dispatchAnalyticsEvent, }: QuickInsertOpenExperienceOptions) => SafePlugin;
19
19
  export {};
@@ -1,4 +1,9 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ComponentType, type FC } from 'react';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
7
  import type { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
3
8
  import type { EmptyStateHandler } from '@atlaskit/editor-common/types';
4
9
  export declare const MODAL_WRAPPER_PADDING = 16;
@@ -12,7 +17,7 @@ export interface Props {
12
17
  onInsertItem: (item: QuickInsertItem) => void;
13
18
  shouldReturnFocus?: boolean;
14
19
  }
15
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
16
- WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
20
+ declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
21
+ WrappedComponent: ComponentType<Props & WrappedComponentProps>;
17
22
  };
18
- export default _default;
23
+ export default _default_1;
@@ -3,4 +3,4 @@ import type { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { Command, EditorCommand } from '@atlaskit/editor-common/types';
4
4
  export declare const openElementBrowserModal: EditorCommand;
5
5
  export declare const closeElementBrowserModal: () => Command;
6
- export declare const createInsertItem: (onInsert?: (item: QuickInsertItem) => void) => (item: QuickInsertItem, source?: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.ELEMENT_BROWSER) => Command;
6
+ export declare const createInsertItem: (onInsert?: (item: QuickInsertItem) => void) => ((item: QuickInsertItem, source?: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.ELEMENT_BROWSER) => Command);
@@ -15,5 +15,5 @@ type QuickInsertOpenExperienceOptions = {
15
15
  * Failure: When 500ms passes without the quick insert menu being added to the DOM
16
16
  * Abort: When user presses escape or backspace
17
17
  */
18
- export declare const getQuickInsertOpenExperiencePlugin: ({ refs, dispatchAnalyticsEvent, }: QuickInsertOpenExperienceOptions) => SafePlugin<any>;
18
+ export declare const getQuickInsertOpenExperiencePlugin: ({ refs, dispatchAnalyticsEvent, }: QuickInsertOpenExperienceOptions) => SafePlugin;
19
19
  export {};
@@ -1,4 +1,9 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ComponentType, type FC } from 'react';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
7
  import type { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
3
8
  import type { EmptyStateHandler } from '@atlaskit/editor-common/types';
4
9
  export declare const MODAL_WRAPPER_PADDING = 16;
@@ -12,7 +17,7 @@ export interface Props {
12
17
  onInsertItem: (item: QuickInsertItem) => void;
13
18
  shouldReturnFocus?: boolean;
14
19
  }
15
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
16
- WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
20
+ declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
21
+ WrappedComponent: ComponentType<Props & WrappedComponentProps>;
17
22
  };
18
- export default _default;
23
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-quick-insert",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Quick insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/modal-dialog": "^14.11.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
41
  "@atlaskit/theme": "^22.0.0",
42
- "@atlaskit/tmp-editor-statsig": "^35.10.0",
42
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
43
43
  "@atlaskit/tokens": "^11.1.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1"