@atlaskit/editor-common 94.3.0 → 94.4.0
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 +23 -0
- package/dist/cjs/analytics/types/node-events.js +2 -0
- package/dist/cjs/doc-utils/editor-use-only.js +2 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +48 -21
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/cjs/element-browser/components/StatelessElementBrowser.js +52 -47
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +56 -48
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/index.js +6 -0
- package/dist/cjs/styles/shared/embedCard.js +45 -18
- package/dist/cjs/styles/shared/media-single.js +49 -2
- package/dist/cjs/ui/Caption/index.js +7 -6
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/node-events.js +2 -0
- package/dist/es2019/doc-utils/editor-use-only.js +1 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +50 -20
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +2 -2
- package/dist/es2019/element-browser/components/StatelessElementBrowser.js +52 -47
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +56 -48
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/index.js +1 -1
- package/dist/es2019/styles/shared/embedCard.js +26 -1
- package/dist/es2019/styles/shared/media-single.js +68 -1
- package/dist/es2019/ui/Caption/index.js +7 -6
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/node-events.js +2 -0
- package/dist/esm/doc-utils/editor-use-only.js +1 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +48 -21
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +2 -2
- package/dist/esm/element-browser/components/StatelessElementBrowser.js +52 -47
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +56 -48
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/styles/shared/embedCard.js +45 -18
- package/dist/esm/styles/shared/media-single.js +49 -2
- package/dist/esm/ui/Caption/index.js +7 -6
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/node-events.d.ts +6 -4
- package/dist/types/styles/index.d.ts +1 -1
- package/dist/types/styles/shared/embedCard.d.ts +1 -1
- package/dist/types/styles/shared/media-single.d.ts +2 -1
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/node-events.d.ts +6 -4
- package/dist/types-ts4.5/styles/index.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/embedCard.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/media-single.d.ts +2 -1
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +1 -1
- package/package.json +8 -5
|
@@ -7,7 +7,9 @@ export declare enum LAYOUT_TYPE {
|
|
|
7
7
|
THREE_COLS_EQUAL = "threeColumnsEqual",
|
|
8
8
|
LEFT_SIDEBAR = "twoColumnsLeftSidebar",
|
|
9
9
|
RIGHT_SIDEBAR = "twoColumnsRightSidebar",
|
|
10
|
-
THREE_WITH_SIDEBARS = "threeColumnsWithSidebars "
|
|
10
|
+
THREE_WITH_SIDEBARS = "threeColumnsWithSidebars ",
|
|
11
|
+
FOUR_COLS_EQUAL = "fourColumnsEqual",
|
|
12
|
+
FIVE_COLS_EQUAL = "fiveColumnsEqual"
|
|
11
13
|
}
|
|
12
14
|
export declare enum SMART_LINK_TYPE {
|
|
13
15
|
INLINE_CARD = "inline",
|
|
@@ -36,11 +38,11 @@ type DeletedSmartLink = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.SMART_LINK, ACTI
|
|
|
36
38
|
displayMode: ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.CARD_INLINE;
|
|
37
39
|
}, undefined>;
|
|
38
40
|
type ChangedLayoutAEP = TrackAEP<ACTION.CHANGED_LAYOUT, ACTION_SUBJECT.LAYOUT, undefined, {
|
|
39
|
-
previousLayout
|
|
40
|
-
newLayout
|
|
41
|
+
previousLayout?: LAYOUT_TYPE;
|
|
42
|
+
newLayout?: LAYOUT_TYPE;
|
|
41
43
|
}, undefined>;
|
|
42
44
|
type DeletedLayoutAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.LAYOUT, undefined, {
|
|
43
|
-
layout
|
|
45
|
+
layout?: LAYOUT_TYPE;
|
|
44
46
|
}, undefined>;
|
|
45
47
|
type DeletedExpandAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
46
48
|
inputMethod: INPUT_METHOD.TOOLBAR;
|
|
@@ -3,7 +3,7 @@ export { backgroundColorStyles } from './shared/background-color';
|
|
|
3
3
|
export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, tableMarginTopWithControl, } from './shared/table';
|
|
4
4
|
export { AnnotationSharedClassNames, BlockAnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles, } from './shared/annotation';
|
|
5
5
|
export { columnLayoutSharedStyle } from './shared/column-layout';
|
|
6
|
-
export { mediaSingleSharedStyle, richMediaClassName } from './shared/media-single';
|
|
6
|
+
export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName, } from './shared/media-single';
|
|
7
7
|
export { blockquoteSharedStyles } from './shared/blockquote';
|
|
8
8
|
export { headingsSharedStyles } from './shared/headings';
|
|
9
9
|
export { ruleSharedStyles } from './shared/rule';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const embedCardStyles: import("@emotion/react").SerializedStyles;
|
|
1
|
+
export declare const embedCardStyles: () => import("@emotion/react").SerializedStyles;
|
|
2
2
|
export declare const embedSpacingStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
declare const richMediaClassName = "rich-media-item";
|
|
2
2
|
declare const mediaSingleSharedStyle: import("@emotion/react").SerializedStyles;
|
|
3
|
-
|
|
3
|
+
declare const mediaSingleSharedStyleNew: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName };
|
|
@@ -30,5 +30,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
30
30
|
skipFocusButtonAfterPick?: boolean | undefined;
|
|
31
31
|
absoluteOffset?: PopupPosition | undefined;
|
|
32
32
|
returnEscToButton?: boolean | undefined;
|
|
33
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "size" | "currentColor" | "onChange" | "title" | "key" | "
|
|
33
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "size" | "currentColor" | "onChange" | "title" | "key" | "cols" | "placement" | "alignX" | "absoluteOffset" | "analyticsContext" | "isAriaExpanded" | "returnEscToButton" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
34
34
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "94.
|
|
3
|
+
"version": "94.4.0",
|
|
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/"
|
|
@@ -123,21 +123,21 @@
|
|
|
123
123
|
"@atlaskit/editor-json-transformer": "^8.20.0",
|
|
124
124
|
"@atlaskit/editor-palette": "1.6.2",
|
|
125
125
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
126
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
126
|
+
"@atlaskit/editor-shared-styles": "^3.1.0",
|
|
127
127
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
128
128
|
"@atlaskit/emoji": "^67.8.0",
|
|
129
129
|
"@atlaskit/icon": "^22.24.0",
|
|
130
130
|
"@atlaskit/icon-object": "^6.7.0",
|
|
131
131
|
"@atlaskit/link-datasource": "^3.6.0",
|
|
132
132
|
"@atlaskit/link-picker": "^1.47.0",
|
|
133
|
-
"@atlaskit/media-card": "^78.
|
|
133
|
+
"@atlaskit/media-card": "^78.9.0",
|
|
134
134
|
"@atlaskit/media-client": "^28.0.0",
|
|
135
135
|
"@atlaskit/media-client-react": "^2.2.0",
|
|
136
136
|
"@atlaskit/media-common": "^11.7.0",
|
|
137
137
|
"@atlaskit/media-file-preview": "^0.9.0",
|
|
138
138
|
"@atlaskit/media-picker": "^66.7.0",
|
|
139
|
-
"@atlaskit/media-ui": "^
|
|
140
|
-
"@atlaskit/media-viewer": "49.2.
|
|
139
|
+
"@atlaskit/media-ui": "^26.0.0",
|
|
140
|
+
"@atlaskit/media-viewer": "49.2.3",
|
|
141
141
|
"@atlaskit/mention": "^23.3.0",
|
|
142
142
|
"@atlaskit/menu": "^2.13.0",
|
|
143
143
|
"@atlaskit/onboarding": "^11.16.0",
|
|
@@ -278,6 +278,9 @@
|
|
|
278
278
|
},
|
|
279
279
|
"platform_editor_heading_margin_fix": {
|
|
280
280
|
"type": "boolean"
|
|
281
|
+
},
|
|
282
|
+
"platform_editor_element_dnd_nested_fix_patch_3": {
|
|
283
|
+
"type": "boolean"
|
|
281
284
|
}
|
|
282
285
|
}
|
|
283
286
|
}
|