@atlaskit/editor-plugin-help-dialog 11.0.14 → 11.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,11 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 11.0.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 11.0.14
4
10
 
5
11
  ### Patch Changes
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/commands.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/commands.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/commands.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/helpDialogPlugin.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/helpDialogPlugin.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/helpDialogPlugin.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/helpDialogPluginType.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/helpDialogPluginType.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/helpDialogPluginType.d.ts"
17
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "11.0.14",
3
+ "version": "11.0.15",
4
4
  "description": "Help Dialog plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/modal-dialog": "^15.3.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/primitives": "^19.0.0",
41
- "@atlaskit/tmp-editor-statsig": "^102.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^103.0.0",
42
42
  "@atlaskit/tokens": "^13.4.0",
43
43
  "@atlaskit/tooltip": "^22.6.0",
44
44
  "@babel/runtime": "^7.0.0",
@@ -1 +0,0 @@
1
- export { openHelpCommand as deprecatedOpenHelpCommand } from '../pm-plugins/commands';
@@ -1 +0,0 @@
1
- export { helpDialogPlugin } from '../helpDialogPlugin';
@@ -1 +0,0 @@
1
- export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, HelpDialogDependencies, } from '../helpDialogPluginType';
@@ -1,2 +0,0 @@
1
- import type { HelpDialogPlugin } from './helpDialogPluginType';
2
- export declare const helpDialogPlugin: HelpDialogPlugin;
@@ -1,25 +0,0 @@
1
- import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
- import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
- import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
4
- export interface HelpDialogSharedState {
5
- aiEnabled: boolean;
6
- imageEnabled: boolean;
7
- isVisible: boolean;
8
- }
9
- export type HelpDialogDependencies = [
10
- OptionalPlugin<AnalyticsPlugin>,
11
- OptionalPlugin<QuickInsertPlugin>
12
- ];
13
- export type HelpDialogPluginOptions = boolean | {
14
- aiEnabled?: boolean;
15
- imageUploadProviderExists?: boolean;
16
- };
17
- export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
18
- actions: {
19
- closeHelp(): void;
20
- openHelp(): void;
21
- };
22
- dependencies: HelpDialogDependencies;
23
- pluginConfiguration: HelpDialogPluginOptions;
24
- sharedState: HelpDialogSharedState | null;
25
- }>;
@@ -1,7 +0,0 @@
1
- export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, HelpDialogDependencies, } from './helpDialogPluginType';
2
- export { helpDialogPlugin } from './helpDialogPlugin';
3
- export {
4
- /**
5
- * @deprecated DO NOT USE, it is only available to maintain an existing deprecated API
6
- */
7
- openHelpCommand as deprecatedOpenHelpCommand, } from './pm-plugins/commands';
@@ -1,3 +0,0 @@
1
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
2
- export declare const openHelpAction: (tr: Transaction) => Transaction;
3
- export declare const closeHelpAction: (tr: Transaction) => Transaction;
@@ -1,3 +0,0 @@
1
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
2
- export declare const openHelpCommand: (tr: Transaction, dispatch?: Function) => boolean;
3
- export declare const closeHelpCommand: (tr: Transaction, dispatch: Function) => void;
@@ -1,3 +0,0 @@
1
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
- import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
- export declare const keymapPlugin: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin;
@@ -1,2 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- export declare function createPlugin(dispatch: Function, imageEnabled: boolean, aiEnabled: boolean): SafePlugin;
@@ -1,2 +0,0 @@
1
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const pluginKey: PluginKey;
@@ -1,7 +0,0 @@
1
- export interface Format {
2
- autoFormatting?: Function;
3
- imageEnabled?: boolean;
4
- keymap?: Function;
5
- name: string;
6
- type: string;
7
- }
@@ -1,4 +0,0 @@
1
- import type { ComponentType, PropsWithChildren } from 'react';
2
- import Loadable from 'react-loadable';
3
- import type { HelpDialogProps } from './index';
4
- export declare const HelpDialogLoader: ComponentType<PropsWithChildren<HelpDialogProps>> & Loadable.LoadableComponent;
@@ -1,11 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
6
- import type { Format } from './Format';
7
- interface ModalProps {
8
- formatting: Format[];
9
- }
10
- declare const Modal: ({ formatting }: ModalProps) => jsx.JSX.Element;
11
- export default Modal;
@@ -1,9 +0,0 @@
1
- import { jsx } from '@emotion/react';
2
- import type { OnCloseHandler } from '@atlaskit/modal-dialog';
3
- import type { Format } from './Format';
4
- interface ModalContentProps {
5
- formatting: Format[];
6
- onClose: OnCloseHandler | undefined;
7
- }
8
- export declare const ModalContent: ({ formatting, onClose }: ModalContentProps) => jsx.JSX.Element;
9
- export default ModalContent;
@@ -1,7 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
6
- declare const ModalFooter: () => jsx.JSX.Element;
7
- export default ModalFooter;
@@ -1,14 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import type { ComponentType, FC } from 'react';
6
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
7
- import { type OnCloseHandler } from '@atlaskit/modal-dialog';
8
- interface ModalHeaderProps extends WrappedComponentProps {
9
- onClose: OnCloseHandler | undefined;
10
- }
11
- declare const ModalHeader: FC<WithIntlProps<ModalHeaderProps>> & {
12
- WrappedComponent: ComponentType<ModalHeaderProps>;
13
- };
14
- export default ModalHeader;
@@ -1,5 +0,0 @@
1
- import type { IntlShape } from 'react-intl';
2
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
3
- import type { Format } from './Format';
4
- export declare const formatting: (intl: IntlShape) => Format[];
5
- export declare const getSupportedFormatting: (schema: Schema, intl: IntlShape, imageEnabled?: boolean, quickInsertEnabled?: boolean, aiEnabled?: boolean) => Format[];
@@ -1,18 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type ComponentType, type FC } from 'react';
6
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
7
- import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
8
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
- import type { HelpDialogPlugin } from '../helpDialogPluginType';
10
- export interface HelpDialogProps {
11
- editorView: EditorView;
12
- pluginInjectionApi: ExtractInjectionAPI<HelpDialogPlugin> | undefined;
13
- quickInsertEnabled?: boolean;
14
- }
15
- declare const _default_1: FC<WithIntlProps<HelpDialogProps & WrappedComponentProps>> & {
16
- WrappedComponent: ComponentType<HelpDialogProps & WrappedComponentProps>;
17
- };
18
- export default _default_1;
@@ -1,25 +0,0 @@
1
- import { type SerializedStyles } from '@emotion/react';
2
- export declare const header: SerializedStyles;
3
- export declare const footer: SerializedStyles;
4
- export declare const contentWrapper: SerializedStyles;
5
- export declare const line: SerializedStyles;
6
- export declare const content: SerializedStyles;
7
- export declare const column: {
8
- width: string;
9
- '& > ul': {
10
- padding: number;
11
- };
12
- };
13
- export declare const row: SerializedStyles;
14
- export declare const dialogHeader: {
15
- '&': {
16
- fontSize: string;
17
- fontWeight: 'var(--ds-font-weight-regular)';
18
- color: 'var(--ds-text-subtle)';
19
- letterSpacing: string;
20
- lineHeight: number;
21
- };
22
- };
23
- export declare const shortcutsArray: SerializedStyles;
24
- export declare const componentFromKeymapWrapperStyles: SerializedStyles;
25
- export declare const toolbarButton: SerializedStyles;
@@ -1,8 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { jsx } from '@emotion/react';
6
- import type { Keymap } from '@atlaskit/editor-common/keymaps';
7
- export declare const shortcutNamesWithoutKeymap: string[];
8
- export declare const getComponentFromKeymap: (keymap: Keymap) => jsx.JSX.Element;