@atlaskit/editor-common 78.17.1 → 78.17.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/analytics/package.json +1 -1
  3. package/annotation/package.json +1 -1
  4. package/card/package.json +1 -1
  5. package/clipboard/package.json +1 -1
  6. package/collab/package.json +1 -1
  7. package/commands/package.json +1 -1
  8. package/constants/package.json +1 -1
  9. package/copy-button/package.json +1 -1
  10. package/core-utils/package.json +1 -1
  11. package/dist/cjs/extensibility/Extension/Extension/index.js +17 -12
  12. package/dist/cjs/extensibility/MultiBodiedExtension/index.js +16 -12
  13. package/dist/cjs/hooks/useSharedPluginState.js +3 -0
  14. package/dist/cjs/monitoring/error.js +1 -1
  15. package/dist/cjs/ui/DropList/index.js +1 -1
  16. package/dist/es2019/extensibility/Extension/Extension/index.js +16 -11
  17. package/dist/es2019/extensibility/MultiBodiedExtension/index.js +15 -11
  18. package/dist/es2019/hooks/useSharedPluginState.js +5 -0
  19. package/dist/es2019/monitoring/error.js +1 -1
  20. package/dist/es2019/ui/DropList/index.js +1 -1
  21. package/dist/esm/extensibility/Extension/Extension/index.js +17 -12
  22. package/dist/esm/extensibility/MultiBodiedExtension/index.js +16 -12
  23. package/dist/esm/hooks/useSharedPluginState.js +3 -0
  24. package/dist/esm/monitoring/error.js +1 -1
  25. package/dist/esm/ui/DropList/index.js +1 -1
  26. package/dist/types/analytics/types/enums.d.ts +2 -2
  27. package/dist/types/annotation/index.d.ts +2 -0
  28. package/dist/types/commands/index.d.ts +3 -3
  29. package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
  30. package/dist/types/floating-toolbar/index.d.ts +1 -1
  31. package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +2 -2
  32. package/dist/types/preset/plugin-injection-api.d.ts +1 -1
  33. package/dist/types/provider-helpers/promise-helpers.d.ts +2 -2
  34. package/dist/types/styles/shared/resizer.d.ts +3 -3
  35. package/dist/types/ui/Caption/index.d.ts +2 -2
  36. package/dist/types/ui/UnsupportedBlock/index.d.ts +2 -2
  37. package/dist/types/ui/UnsupportedInline/index.d.ts +2 -2
  38. package/dist/types/ui-color/ColorPalette/index.d.ts +2 -2
  39. package/dist/types/utils/compare-props.d.ts +2 -2
  40. package/dist/types/utils/imageLoader.d.ts +1 -1
  41. package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -2
  42. package/dist/types-ts4.5/annotation/index.d.ts +2 -0
  43. package/dist/types-ts4.5/commands/index.d.ts +3 -3
  44. package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
  45. package/dist/types-ts4.5/floating-toolbar/index.d.ts +1 -1
  46. package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +2 -2
  47. package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +2 -2
  48. package/dist/types-ts4.5/provider-helpers/promise-helpers.d.ts +2 -2
  49. package/dist/types-ts4.5/styles/shared/resizer.d.ts +3 -3
  50. package/dist/types-ts4.5/ui/Caption/index.d.ts +2 -2
  51. package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +2 -2
  52. package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +2 -2
  53. package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +2 -2
  54. package/dist/types-ts4.5/utils/compare-props.d.ts +2 -2
  55. package/dist/types-ts4.5/utils/imageLoader.d.ts +1 -1
  56. package/doc-utils/package.json +1 -1
  57. package/editor-analytics/package.json +1 -1
  58. package/element-browser/package.json +1 -1
  59. package/emoji/package.json +1 -1
  60. package/error-boundary/package.json +1 -1
  61. package/event-dispatcher/package.json +1 -1
  62. package/extensibility/package.json +1 -1
  63. package/extensions/package.json +1 -1
  64. package/floating-toolbar/package.json +1 -1
  65. package/guideline/package.json +1 -1
  66. package/hooks/package.json +1 -1
  67. package/icons/package.json +1 -1
  68. package/in-product/package.json +1 -1
  69. package/indentation/package.json +1 -1
  70. package/insert/package.json +1 -1
  71. package/keymaps/package.json +1 -1
  72. package/legacy-rank-plugins/package.json +1 -1
  73. package/link/package.json +1 -1
  74. package/lists/package.json +1 -1
  75. package/mark/package.json +1 -1
  76. package/media/package.json +1 -1
  77. package/media-inline/package.json +1 -1
  78. package/media-single/package.json +1 -1
  79. package/mention/package.json +1 -1
  80. package/messages/package.json +1 -1
  81. package/monitoring/package.json +1 -1
  82. package/node-width/package.json +1 -1
  83. package/normalize-feature-flags/package.json +1 -1
  84. package/package.json +4 -4
  85. package/panel/package.json +1 -1
  86. package/paste/package.json +1 -1
  87. package/portal-provider/package.json +1 -1
  88. package/preset/package.json +1 -1
  89. package/provider-factory/package.json +1 -1
  90. package/provider-helpers/package.json +1 -1
  91. package/quick-insert/package.json +1 -1
  92. package/react-node-view/package.json +1 -1
  93. package/resizer/package.json +1 -1
  94. package/safe-plugin/package.json +1 -1
  95. package/selection/package.json +1 -1
  96. package/selection-based-node-view/package.json +1 -1
  97. package/styles/package.json +1 -1
  98. package/transforms/package.json +1 -1
  99. package/type-ahead/package.json +1 -1
  100. package/types/package.json +1 -1
  101. package/ufo/package.json +1 -1
  102. package/ui/package.json +1 -1
  103. package/ui-color/package.json +1 -1
  104. package/ui-menu/package.json +1 -1
  105. package/ui-react/package.json +1 -1
  106. package/utils/package.json +1 -1
  107. package/validator/package.json +1 -1
  108. package/with-plugin-state/package.json +1 -1
@@ -174,8 +174,8 @@ export declare enum INPUT_METHOD {
174
174
  }
175
175
  export declare enum TRIGGER_METHOD {
176
176
  BUTTON = "button",
177
- KEYBOARD = "keyboard",
178
- SHORTCUT = "shortcut",
177
+ KEYBOARD = "keyboard",// single key, e.g. Esc, Enter
178
+ SHORTCUT = "shortcut",// combination of keys, e.g. Mod + F
179
179
  TOOLBAR = "toolbar"
180
180
  }
181
181
  export declare enum ACTION_SUBJECT {
@@ -1,4 +1,6 @@
1
+ /// <reference path="../../../../../../typings/events.d.ts" />
1
2
  /// <reference types="node" />
3
+ /// <reference types="node/events" />
2
4
  import { EventEmitter } from 'events';
3
5
  export type UpdateEvent = 'create' | 'delete' | 'resolve' | 'unresolve' | 'setselectedannotation';
4
6
  export type VisibilityEvent = 'setvisibility';
@@ -6,8 +6,8 @@ type AlignmentState = 'start' | 'end' | 'center';
6
6
  export declare function addParagraphAtEnd(tr: Transaction): void;
7
7
  export declare function createParagraphAtEnd(): Command;
8
8
  export declare const changeImageAlignment: (align?: AlignmentState) => Command;
9
- export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
10
- export declare const createToggleInlineMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
9
+ export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T, node?: PMNode) => T | undefined | false, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
10
+ export declare const createToggleInlineMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T, node?: PMNode) => T | undefined | false) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
11
11
  /**
12
12
  * Toggles block mark based on the return type of `getAttrs`.
13
13
  * This is similar to ProseMirror's `getAttrs` from `AttributeSpec`
@@ -15,7 +15,7 @@ export declare const createToggleInlineMarkOnRange: <T extends {} = object>(mark
15
15
  * return `undefined for no-op.
16
16
  * return an `object` to update the mark.
17
17
  */
18
- export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => Command;
18
+ export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T, node?: PMNode) => T | undefined | false, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => Command;
19
19
  export declare const clearEditorContent: Command;
20
20
  export declare function findCutBefore($pos: ResolvedPos): ResolvedPos | null;
21
21
  /**
@@ -13,7 +13,7 @@ interface Props {
13
13
  items: QuickInsertItem[];
14
14
  selectedItemIndex?: number;
15
15
  }
16
- declare const MemoizedElementSearchWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WrappedComponentProps<"intl">, "intl"> & {
16
+ declare const MemoizedElementSearchWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WrappedComponentProps, "intl"> & {
17
17
  forwardedRef?: React.Ref<any> | undefined;
18
18
  } & {
19
19
  children?: React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  import type { FloatingToolbarItem } from '../types';
2
2
  export type Item = FloatingToolbarItem<Function>;
3
3
  export declare const shallowEqual: (objA?: Object, objB?: Object) => boolean;
4
- export declare const compareArrays: <T extends any[]>(left: T[], right: T[], compareFn?: (left: T, right: T) => boolean) => boolean;
4
+ export declare const compareArrays: <T extends any[]>(left: Array<T>, right: Array<T>, compareFn?: (left: T, right: T) => boolean) => boolean;
5
5
  export declare const isSameItem: (leftItem: Item, rightItem: Item) => boolean;
6
6
  export declare const areSameItems: (leftArr?: Array<Item>, rightArr?: Array<Item>) => boolean;
7
7
  export { default as messages } from './messages';
@@ -16,7 +16,7 @@ export interface Props {
16
16
  id?: string;
17
17
  role?: string;
18
18
  }
19
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
20
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
19
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
20
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
21
21
  };
22
22
  export default _default;
@@ -40,8 +40,8 @@ export declare class EditorPluginInjectionAPI implements PluginInjectionAPIDefin
40
40
  private plugins;
41
41
  constructor({ getEditorState, getEditorView }: PluginInjectionAPIProps);
42
42
  api<T extends NextEditorPlugin<any, any>>(): import("../types/next-editor-plugin").PublicPluginAPI<[
43
- NextEditorPlugin<T extends import("../types/next-editor-plugin").NextEditorPluginFunctionOptionalConfigDefinition<infer Name extends string, any, any> ? Name : never, T extends NextEditorPlugin<any, infer Metadata_1 extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata_1 : never>,
44
- ..."dependencies" extends keyof (T extends NextEditorPlugin<any, infer Metadata_1 extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata_1 : never) ? (T extends NextEditorPlugin<any, infer Metadata_1 extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata_1 : never)["dependencies"] extends (import("../types/next-editor-plugin").NextEditorPluginFunctionOptionalConfigDefinition<any, any, any> | import("../types/next-editor-plugin").OptionalPlugin<import("../types/next-editor-plugin").NextEditorPluginFunctionOptionalConfigDefinition<any, any, any>>)[] ? Exclude<(T extends NextEditorPlugin<any, infer Metadata_1 extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata_1 : never)["dependencies"], undefined> : [
43
+ NextEditorPlugin<T extends import("./core-plugin").CorePlugin<infer Name extends string, any, any> ? Name : never, T extends NextEditorPlugin<any, infer Metadata extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata : never>,
44
+ ..."dependencies" extends keyof (T extends NextEditorPlugin<any, infer Metadata extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata : never) ? (T extends NextEditorPlugin<any, infer Metadata extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata : never)["dependencies"] extends (import("./core-plugin").CorePlugin<any, any, any> | import("../types/next-editor-plugin").OptionalPlugin<import("./core-plugin").CorePlugin<any, any, any>>)[] ? Exclude<(T extends NextEditorPlugin<any, infer Metadata extends import("../types/next-editor-plugin").NextEditorPluginMetadata> ? Metadata : never)["dependencies"], undefined> : [
45
45
  ] : [
46
46
  ]
47
47
  ]>;
@@ -17,7 +17,7 @@ type RejectedResult = {
17
17
  * which can replace this implementation once it makes to the browsers.
18
18
  * @param promises
19
19
  */
20
- export declare const waitForAllPromises: <T>(promises: Promise<T>[]) => Promise<(RejectedResult | FulfiledResult<T>)[]>;
20
+ export declare const waitForAllPromises: <T>(promises: Promise<T>[]) => Promise<(FulfiledResult<T> | RejectedResult)[]>;
21
21
  /**
22
22
  * Will resolve on the first fulfilled promise and disregard the remaining ones. Similar to `Promise.race` but won't
23
23
  * care about rejected promises.
@@ -28,5 +28,5 @@ export declare const waitForFirstFulfilledPromise: <T>(promises: Promise<T>[]) =
28
28
  * Find all fullfilled promises and return their values
29
29
  * @param results
30
30
  */
31
- export declare const getOnlyFulfilled: <T>(results: (RejectedResult | FulfiledResult<T>)[]) => T[];
31
+ export declare const getOnlyFulfilled: <T>(results: (FulfiledResult<T> | RejectedResult)[]) => T[];
32
32
  export {};
@@ -2,9 +2,9 @@ export declare const resizerItemClassName = "resizer-item";
2
2
  export declare const resizerHoverZoneClassName = "resizer-hover-zone";
3
3
  export declare const resizerExtendedZone = "resizer-is-extended";
4
4
  export declare const resizerHandleClassName = "resizer-handle";
5
- export declare const resizerHandleTrackClassName: string;
6
- export declare const resizerHandleThumbClassName: string;
7
- export declare const resizerDangerClassName: string;
5
+ export declare const resizerHandleTrackClassName = "resizer-handle-track";
6
+ export declare const resizerHandleThumbClassName = "resizer-handle-thumb";
7
+ export declare const resizerDangerClassName = "resizer-handle-danger";
8
8
  export declare const handleWrapperClass = "resizer-handle-wrapper";
9
9
  export declare const resizerHandleZIndex = 1;
10
10
  export declare const resizerStyles: import("@emotion/react").SerializedStyles;
@@ -13,7 +13,7 @@ type Props = {
13
13
  export declare class CaptionComponent extends React.Component<Props & WrappedComponentProps> {
14
14
  render(): jsx.JSX.Element;
15
15
  }
16
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
17
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
16
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
17
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
18
18
  };
19
19
  export default _default;
@@ -8,7 +8,7 @@ export interface Props {
8
8
  children?: React.ReactNode;
9
9
  dispatchAnalyticsEvent?: (payload: UnsupportedContentTooltipPayload) => void;
10
10
  }
11
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
12
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
11
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
12
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
13
13
  };
14
14
  export default _default;
@@ -8,7 +8,7 @@ export interface Props {
8
8
  children?: React.ReactNode;
9
9
  dispatchAnalyticsEvent?: (payload: UnsupportedContentTooltipPayload) => void;
10
10
  }
11
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
12
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
11
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
12
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
13
13
  };
14
14
  export default _default;
@@ -32,7 +32,7 @@ interface Props {
32
32
  paletteColorTooltipMessages?: PaletteTooltipMessages;
33
33
  };
34
34
  }
35
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
36
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
35
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
36
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
37
37
  };
38
38
  export default _default;
@@ -17,7 +17,7 @@ export type ShallowPropsDifference<T> = {
17
17
  added: Array<keyof T>;
18
18
  changed: Array<keyof T>;
19
19
  };
20
- export declare const getKeys: <T>(obj: T) => (keyof T)[];
20
+ export declare const getKeys: <T>(obj: T) => Array<keyof T>;
21
21
  export declare const getKeysAddedRemovedCommon: <T>(object1: T, object2: T) => {
22
22
  added: (keyof T & keyof (T & {}))[];
23
23
  common: (keyof T & keyof (T & {}))[];
@@ -27,6 +27,6 @@ export declare const serializeValue: <T>(value: T[keyof T]) => string | (T[keyof
27
27
  type: string;
28
28
  keys: string[];
29
29
  } | undefined;
30
- export declare const getPropsDifference: <T>(object1: T, object2: T, curDepth?: number, maxDepth?: number, keysToIgnore?: (keyof T)[]) => PropsDifference<T>;
30
+ export declare const getPropsDifference: <T>(object1: T, object2: T, curDepth?: number, maxDepth?: number, keysToIgnore?: Array<keyof T>) => PropsDifference<T>;
31
31
  export declare const getShallowPropsDifference: <T>(object1: T, object2: T) => ShallowPropsDifference<T>;
32
32
  export {};
@@ -11,4 +11,4 @@ export interface ImageLoaderState {
11
11
  imageStatus: ImageStatus;
12
12
  }
13
13
  export type ImageStatus = 'complete' | 'loading' | 'error';
14
- export declare const withImageLoader: <P extends {}>(Wrapped: React.ComponentType<React.PropsWithChildren<P & ImageLoaderProps>>) => React.ComponentClass<P & ImageLoaderProps, any>;
14
+ export declare const withImageLoader: <P extends {}>(Wrapped: ComponentType<React.PropsWithChildren<P & ImageLoaderProps>>) => React.ComponentClass<P & ImageLoaderProps>;
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/doc-utils/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/doc-utils/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/editor-analytics/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/editor-analytics/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/element-browser/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/element-browser/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/emoji.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/emoji.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/ui/ErrorBoundary/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/ui/ErrorBoundary/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/event-dispatcher/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/event-dispatcher/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/extensibility/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/extensibility/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/extensions.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/extensions.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/floating-toolbar/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/floating-toolbar/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/guideline/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/guideline/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/hooks/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/hooks/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/icons/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/icons/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/in-product.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/in-product.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/indentation/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/indentation/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/insert/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/insert/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/keymaps/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/keymaps/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/rank.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/rank.d.ts"
12
12
  ]
package/link/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/link/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/link/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/lists/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/lists/index.d.ts"
12
12
  ]
package/mark/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/mark/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/mark/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/media/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/media/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/media-inline/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/media-inline/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/media-single/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/media-single/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/mention.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/mention.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/messages/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/messages/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/monitoring/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/monitoring/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/node-width/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/node-width/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/normalize-feature-flags.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/normalize-feature-flags.d.ts"
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "78.17.1",
3
+ "version": "78.17.2",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -105,7 +105,7 @@
105
105
  "@atlaskit/codemod-utils": "^4.2.0",
106
106
  "@atlaskit/custom-steps": "^0.0.15",
107
107
  "@atlaskit/editor-json-transformer": "^8.10.0",
108
- "@atlaskit/editor-palette": "1.5.2",
108
+ "@atlaskit/editor-palette": "1.5.3",
109
109
  "@atlaskit/editor-prosemirror": "3.0.0",
110
110
  "@atlaskit/editor-shared-styles": "^2.9.0",
111
111
  "@atlaskit/editor-tables": "^2.5.0",
@@ -122,7 +122,7 @@
122
122
  "@atlaskit/media-file-preview": "^0.5.0",
123
123
  "@atlaskit/media-picker": "^66.3.0",
124
124
  "@atlaskit/media-ui": "^25.4.0",
125
- "@atlaskit/media-viewer": "48.4.1",
125
+ "@atlaskit/media-viewer": "48.4.2",
126
126
  "@atlaskit/mention": "^23.0.0",
127
127
  "@atlaskit/menu": "^2.1.0",
128
128
  "@atlaskit/platform-feature-flags": "^0.2.0",
@@ -192,7 +192,7 @@
192
192
  "react": "^16.8.0",
193
193
  "react-test-renderer": "^16.8.0",
194
194
  "sinon": "^2.2.0",
195
- "typescript": "~4.9.5"
195
+ "typescript": "~5.4.2"
196
196
  },
197
197
  "techstack": {
198
198
  "@atlassian/frontend": {
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/panel.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/panel.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/paste/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/paste/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/ui/PortalProvider/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/ui/PortalProvider/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/preset/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/preset/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/provider-factory.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/provider-factory.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/provider-helpers/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/provider-helpers/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/quick-insert/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/quick-insert/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/react-node-view/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/react-node-view/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/resizer/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/resizer/index.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/safe-plugin/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/safe-plugin/index.d.ts"
12
12
  ]