@atlaskit/editor-core 187.31.5 → 187.31.7

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 (56) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/labs/next/presets/default.js +2 -2
  3. package/dist/cjs/plugins/extension/ui/Extension/Extension/index.js +11 -2
  4. package/dist/cjs/plugins/index.js +0 -7
  5. package/dist/cjs/plugins/media/toolbar/index.js +20 -6
  6. package/dist/cjs/plugins/media/ui/PixelEntry/index.js +9 -2
  7. package/dist/cjs/plugins/media/ui/PixelEntry/messages.js +5 -0
  8. package/dist/cjs/plugins/media/ui/PixelEntry/styles.js +5 -3
  9. package/dist/cjs/plugins/selection/gap-cursor/utils.js +1 -2
  10. package/dist/cjs/ui/ContentStyles/index.js +20 -21
  11. package/dist/cjs/version-wrapper.js +1 -1
  12. package/dist/es2019/labs/next/presets/default.js +1 -1
  13. package/dist/es2019/plugins/extension/ui/Extension/Extension/index.js +13 -2
  14. package/dist/es2019/plugins/index.js +0 -1
  15. package/dist/es2019/plugins/media/toolbar/index.js +23 -7
  16. package/dist/es2019/plugins/media/ui/PixelEntry/index.js +10 -1
  17. package/dist/es2019/plugins/media/ui/PixelEntry/messages.js +5 -0
  18. package/dist/es2019/plugins/media/ui/PixelEntry/styles.js +7 -0
  19. package/dist/es2019/plugins/selection/gap-cursor/utils.js +1 -2
  20. package/dist/es2019/ui/ContentStyles/index.js +1 -2
  21. package/dist/es2019/version-wrapper.js +1 -1
  22. package/dist/esm/labs/next/presets/default.js +1 -1
  23. package/dist/esm/plugins/extension/ui/Extension/Extension/index.js +11 -2
  24. package/dist/esm/plugins/index.js +0 -1
  25. package/dist/esm/plugins/media/toolbar/index.js +21 -7
  26. package/dist/esm/plugins/media/ui/PixelEntry/index.js +7 -1
  27. package/dist/esm/plugins/media/ui/PixelEntry/messages.js +5 -0
  28. package/dist/esm/plugins/media/ui/PixelEntry/styles.js +3 -2
  29. package/dist/esm/plugins/selection/gap-cursor/utils.js +1 -2
  30. package/dist/esm/ui/ContentStyles/index.js +1 -2
  31. package/dist/esm/version-wrapper.js +1 -1
  32. package/dist/types/plugins/index.d.ts +0 -1
  33. package/dist/types/plugins/media/ui/PixelEntry/index.d.ts +5 -0
  34. package/dist/types/plugins/media/ui/PixelEntry/messages.d.ts +5 -0
  35. package/dist/types/plugins/media/ui/PixelEntry/styles.d.ts +1 -0
  36. package/dist/types-ts4.5/plugins/index.d.ts +0 -1
  37. package/dist/types-ts4.5/plugins/media/ui/PixelEntry/index.d.ts +5 -0
  38. package/dist/types-ts4.5/plugins/media/ui/PixelEntry/messages.d.ts +5 -0
  39. package/dist/types-ts4.5/plugins/media/ui/PixelEntry/styles.d.ts +1 -0
  40. package/package.json +3 -2
  41. package/tmp/api-report-tmp.d.ts +1897 -0
  42. package/dist/cjs/plugins/unsupported-content/index.js +0 -87
  43. package/dist/cjs/plugins/unsupported-content/styles.js +0 -20
  44. package/dist/cjs/plugins/unsupported-content/unsupported-inline-node-view.js +0 -16
  45. package/dist/es2019/plugins/unsupported-content/index.js +0 -77
  46. package/dist/es2019/plugins/unsupported-content/styles.js +0 -27
  47. package/dist/es2019/plugins/unsupported-content/unsupported-inline-node-view.js +0 -7
  48. package/dist/esm/plugins/unsupported-content/index.js +0 -77
  49. package/dist/esm/plugins/unsupported-content/styles.js +0 -11
  50. package/dist/esm/plugins/unsupported-content/unsupported-inline-node-view.js +0 -7
  51. package/dist/types/plugins/unsupported-content/index.d.ts +0 -5
  52. package/dist/types/plugins/unsupported-content/styles.d.ts +0 -5
  53. package/dist/types/plugins/unsupported-content/unsupported-inline-node-view.d.ts +0 -11
  54. package/dist/types-ts4.5/plugins/unsupported-content/index.d.ts +0 -5
  55. package/dist/types-ts4.5/plugins/unsupported-content/styles.d.ts +0 -5
  56. package/dist/types-ts4.5/plugins/unsupported-content/unsupported-inline-node-view.d.ts +0 -11
@@ -1,6 +1,5 @@
1
- import { TableSharedCssClassName } from '@atlaskit/editor-common/styles';
1
+ import { TableSharedCssClassName, UnsupportedSharedCssClassName } from '@atlaskit/editor-common/styles';
2
2
  import { Side } from './selection';
3
- import { UnsupportedSharedCssClassName } from '../../unsupported-content/styles';
4
3
  import { CAPTION_PLACEHOLDER_ID } from '../../media/ui/CaptionPlaceholder';
5
4
  export var isLeftCursor = function isLeftCursor(side) {
6
5
  return side === Side.LEFT;
@@ -3,9 +3,8 @@ var _templateObject, _templateObject2, _templateObject3;
3
3
  /** @jsx jsx */
4
4
  import React, { useMemo } from 'react';
5
5
  import { jsx, css, useTheme } from '@emotion/react';
6
- import { whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, blockMarksSharedStyles, shadowSharedStyle, dateSharedStyle, tasksAndDecisionsStyles, annotationSharedStyles, smartCardSharedStyles, textColorStyles, resizerStyles, gridStyles, smartCardStyles, embedCardStyles, codeBlockInListSafariFix } from '@atlaskit/editor-common/styles';
6
+ import { whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, blockMarksSharedStyles, shadowSharedStyle, dateSharedStyle, tasksAndDecisionsStyles, annotationSharedStyles, smartCardSharedStyles, textColorStyles, resizerStyles, gridStyles, smartCardStyles, embedCardStyles, codeBlockInListSafariFix, unsupportedStyles } from '@atlaskit/editor-common/styles';
7
7
  import { blockNodesVerticalMargin, editorFontSize } from '@atlaskit/editor-shared-styles';
8
- import { unsupportedStyles } from '../../plugins/unsupported-content/styles';
9
8
  import { telepointerStyle } from '../../plugins/collab-edit/styles';
10
9
  import { gapCursorStyles } from '../../plugins/selection/gap-cursor/styles';
11
10
  import { tableStyles } from '@atlaskit/editor-plugin-table/ui/common-styles';
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "187.31.5";
2
+ export var version = "187.31.7";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -30,7 +30,6 @@ export { default as submitEditorPlugin } from './submit-editor';
30
30
  export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
31
31
  export { default as textColorPlugin } from './text-color';
32
32
  export { default as typeAheadPlugin } from './type-ahead';
33
- export { default as unsupportedContentPlugin } from './unsupported-content';
34
33
  export { default as floatingToolbarPlugin } from './floating-toolbar';
35
34
  export { default as statusPlugin } from './status';
36
35
  export { default as breakoutPlugin } from './breakout';
@@ -1,4 +1,9 @@
1
+ /// <reference types="react" />
1
2
  /** @jsx jsx */
2
3
  import { jsx } from '@emotion/react';
4
+ import type { IntlShape } from 'react-intl-next';
3
5
  import type { PixelEntryProps } from './types';
4
6
  export declare const PixelEntry: ({ width, mediaWidth, mediaHeight, onSubmit, validate, minWidth, maxWidth, intl: { formatMessage }, showMigration, onMigrate, }: PixelEntryProps) => jsx.JSX.Element;
7
+ export declare const FullWidthDisplay: React.FC<{
8
+ intl: IntlShape;
9
+ }>;
@@ -29,6 +29,11 @@ export declare const messages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ fullWidthLabel: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
32
37
  migrationButtonText: {
33
38
  id: string;
34
39
  defaultMessage: string;
@@ -5,3 +5,4 @@ export declare const pixelSizingLabel: import("@emotion/react").SerializedStyles
5
5
  export declare const pixelSizingWidthInput: import("@emotion/react").SerializedStyles;
6
6
  export declare const pixelSizingHeightInput: import("@emotion/react").SerializedStyles;
7
7
  export declare const pixelEntryHiddenSubmit: import("@emotion/react").SerializedStyles;
8
+ export declare const pixelSizingFullWidthLabelStyles: import("@emotion/react").SerializedStyles;
@@ -30,7 +30,6 @@ export { default as submitEditorPlugin } from './submit-editor';
30
30
  export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
31
31
  export { default as textColorPlugin } from './text-color';
32
32
  export { default as typeAheadPlugin } from './type-ahead';
33
- export { default as unsupportedContentPlugin } from './unsupported-content';
34
33
  export { default as floatingToolbarPlugin } from './floating-toolbar';
35
34
  export { default as statusPlugin } from './status';
36
35
  export { default as breakoutPlugin } from './breakout';
@@ -1,4 +1,9 @@
1
+ /// <reference types="react" />
1
2
  /** @jsx jsx */
2
3
  import { jsx } from '@emotion/react';
4
+ import type { IntlShape } from 'react-intl-next';
3
5
  import type { PixelEntryProps } from './types';
4
6
  export declare const PixelEntry: ({ width, mediaWidth, mediaHeight, onSubmit, validate, minWidth, maxWidth, intl: { formatMessage }, showMigration, onMigrate, }: PixelEntryProps) => jsx.JSX.Element;
7
+ export declare const FullWidthDisplay: React.FC<{
8
+ intl: IntlShape;
9
+ }>;
@@ -29,6 +29,11 @@ export declare const messages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ fullWidthLabel: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
32
37
  migrationButtonText: {
33
38
  id: string;
34
39
  defaultMessage: string;
@@ -5,3 +5,4 @@ export declare const pixelSizingLabel: import("@emotion/react").SerializedStyles
5
5
  export declare const pixelSizingWidthInput: import("@emotion/react").SerializedStyles;
6
6
  export declare const pixelSizingHeightInput: import("@emotion/react").SerializedStyles;
7
7
  export declare const pixelEntryHiddenSubmit: import("@emotion/react").SerializedStyles;
8
+ export declare const pixelSizingFullWidthLabelStyles: import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.31.5",
3
+ "version": "187.31.7",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -78,6 +78,7 @@
78
78
  "@atlaskit/editor-plugin-table": "^2.10.0",
79
79
  "@atlaskit/editor-plugin-text-formatting": "^0.3.0",
80
80
  "@atlaskit/editor-plugin-type-ahead": "^0.1.0",
81
+ "@atlaskit/editor-plugin-unsupported-content": "^0.1.0",
81
82
  "@atlaskit/editor-plugin-width": "^0.1.0",
82
83
  "@atlaskit/editor-prosemirror": "1.1.0",
83
84
  "@atlaskit/editor-shared-styles": "^2.6.0",
@@ -114,7 +115,7 @@
114
115
  "@atlaskit/textfield": "^5.6.0",
115
116
  "@atlaskit/theme": "^12.5.0",
116
117
  "@atlaskit/toggle": "^12.6.0",
117
- "@atlaskit/tokens": "^1.16.0",
118
+ "@atlaskit/tokens": "^1.17.0",
118
119
  "@atlaskit/tooltip": "^17.8.0",
119
120
  "@atlaskit/width-detector": "^4.1.0",
120
121
  "@babel/runtime": "^7.0.0",