@atlaskit/editor-core 219.2.3 → 219.3.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 +19 -0
- package/dist/cjs/create-editor/messages.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +7 -8
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +311 -3
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +34 -12
- package/dist/cjs/ui/ToolbarHelp/messages.js +1 -1
- package/dist/es2019/create-editor/messages.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +7 -8
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +311 -3
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +88 -12
- package/dist/es2019/ui/ToolbarHelp/messages.js +1 -1
- package/dist/esm/create-editor/messages.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +7 -8
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +311 -3
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +34 -12
- package/dist/esm/ui/ToolbarHelp/messages.js +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
// TODO: EDITOR-6833 - Expected across this entire file, future violations are expected. Will try to remove them later after fully migration
|
|
3
|
+
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/platform/expand-border-shorthand, @atlaskit/platform/expand-background-shorthand */
|
|
4
4
|
import "./EditorContentContainer-compiled.compiled.css";
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import React from 'react';
|
|
@@ -38,8 +38,30 @@ var editorAreaNarrowPageContainerQuery = "@container editor-area (max-width: ".c
|
|
|
38
38
|
var placeholderFadeInKeyframes = null;
|
|
39
39
|
var hideNativeBrowserTextSelectionStyles = null;
|
|
40
40
|
var boxShadowSelectionStyles = null;
|
|
41
|
+
|
|
42
|
+
// TODO: EDITOR-6932 - inline them at the end of migration
|
|
41
43
|
var dangerBorderStyles = null;
|
|
42
44
|
|
|
45
|
+
// TODO: EDITOR-6932 - inline them at the end of migration
|
|
46
|
+
var backgroundSelectionStyles = null;
|
|
47
|
+
|
|
48
|
+
// TODO: EDITOR-6932 - inline them at the end of migration
|
|
49
|
+
var dangerBackgroundStyles = null;
|
|
50
|
+
|
|
51
|
+
// TODO: EDITOR-6932 - inline them at the end of migration
|
|
52
|
+
var mentionsSelectedColor = null;
|
|
53
|
+
var fixVerticalAlignmentSelector = "\n\t&:first-of-type + ul,\n\t&:first-of-type + span + ul,\n\t&:first-of-type + ol,\n\t&:first-of-type + span + ol,\n\t&:first-of-type + pre,\n\t&:first-of-type + span + pre,\n\t&:first-of-type + blockquote,\n\t&:first-of-type + span + blockquote\n";
|
|
54
|
+
var gapCursorTwoImagesSideBySideFixSelector = "\n .ProseMirror-gapcursor[layout=\"wrap-left\"] + span + [layout=\"wrap-left\"],\n .ProseMirror-gapcursor[layout=\"wrap-right\"] + span + [layout=\"wrap-right\"],\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + [layout=\"wrap-right\"],\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"],\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + [layout=\"wrap-left\"],\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"],\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"],\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span [layout=\"wrap-right\"],\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"],\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"],\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor";
|
|
55
|
+
var gapCursorMarginFixSelector = "\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] > div,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"] > div,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] > div,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + [layout=\"wrap-left\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + [layout=\"wrap-right\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"] > div";
|
|
56
|
+
var gapCursorFloatLeftFixSelector = "\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor";
|
|
57
|
+
var gapCursorAfterPseudoSelector = "\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"]::after,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"]::after,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"]::after,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"]::after,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"]::after,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"]::after";
|
|
58
|
+
var gapCursorMarginDeepChildrenFixSelector = "\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"] + *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"] + *,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"] + *,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"] + *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + * > *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + * > *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + * > *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + * > *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"] + * > *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"] + * > *,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"] + * > *,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"] + * > *,\n .ProseMirror-widget:not([data-blocks-decoration-container=\"true\"]):not([data-blocks-drag-handle-container=\"true\"]):not([data-blocks-quick-insert-container=\"true\"]) + .ProseMirror-gapcursor + *,\n .ProseMirror-widget:not([data-blocks-decoration-container=\"true\"]):not([data-blocks-drag-handle-container=\"true\"]):not([data-blocks-quick-insert-container=\"true\"]) + .ProseMirror-gapcursor + span + *";
|
|
59
|
+
var gapCursorBlink = null;
|
|
60
|
+
var pulseIn = null;
|
|
61
|
+
var pulseOut = null;
|
|
62
|
+
var pulseInDuringTr = null;
|
|
63
|
+
var pulseOutDuringTr = null;
|
|
64
|
+
|
|
43
65
|
/**
|
|
44
66
|
* editorContentStyles is WIP to migrate styles from EditorContentContainer/styles
|
|
45
67
|
*
|
|
@@ -105,8 +127,8 @@ var editorContentStyles = {
|
|
|
105
127
|
firstWrappedMediaStyles: "_e519idpf _pxl0idpf _1sn3idpf _ripsidpf",
|
|
106
128
|
fontSizeStyles: "",
|
|
107
129
|
fullPageEditorStyles: "_16jlkb7n _4t3i1osq _18m915zi _kqswh2mm _1e0c1txw _2lx21bp4 _1dm8q5uf",
|
|
108
|
-
gapCursorStyles: "",
|
|
109
|
-
gapCursorStylesVisibilityFix: "",
|
|
130
|
+
gapCursorStyles: "_3y8g1j28 _d3za1ule _1fzu1j28 _1ug81hdd _lh5tdrnj _bmfv9cwz _8md310zz _1ag412c5 _9ubpb3bt _1o0g1ule _11h1stnw _19sfidpf _1z0n1osq _5cxqglyw _l4vzglyw _npmhh2mm _1ci21j28 _vtgestnw _1yi41osq _gdp01osq _3n591ule _1pjtr5cr _19upr5cr _14ib1ssb _y1fl1ssb _fzk41ssb _1f6mzr6s _1eaezr6s _yd46zr6s _1texusic _bur2idpf _n4szidpf _jlwvidpf _1fusidpf _4ieeidpf _187pidpf _18efidpf _aycbidpf _1t6mglyw _sb9fglyw _lf1tglyw _15haglyw _1g4eglyw _d27rglyw _ajy9glyw _1syzglyw _10zwglyw _1qypglyw _y41iglyw _uk93idpf _1eobidpf _1ghsidpf _1rpoidpf _cggnidpf _1supidpf _yyaxidpf _stw0idpf _7hwtidpf _1x70idpf _nh0eidpf _k8k0idpf _xpqwidpf _1ancidpf _iauqidpf _1762idpf _1fbjidpf _1le7idpf _14f4idpf _4wchidpf _18uvidpf _1gklidpf _736didpf _7fayidpf _1q471e5h _1nuq1e5h _97xa15vq _1u0115vq _kklf15vq _1xcb15vq _f7xi15vq _drld15vq _fk7o1ule _17291ule _1z0h1ule _1em21ule _70jd1ule _1xog1ule _beg3idpf _1xfvidpf _js8cidpf _zzusidpf _ft1bidpf _1duxidpf _5sz3f705 _oq4if705 _17kkf705 _awp7f705 _1kxaf705 _1e60f705 _p31f1hrf _1rcq1hrf _1uer1hrf _15a61hrf _1lbj1hrf _1l3q1hrf _1ab3idpf _16k0idpf _r6joidpf _mpruidpf _x74zidpf _18pfidpf _1gvgidpf _1q0gidpf _sdnkidpf _zgemidpf _1vyzidpf _ydciidpf _1g35idpf _ieodidpf _vr8nidpf _1vtyidpf _ndfaidpf _4gkwidpf _1x5zidpf _1wgaidpf _o0lfidpf _knnuidpf _1afyidpf _1hb9idpf",
|
|
131
|
+
gapCursorStylesVisibilityFix: "_1ys91j28",
|
|
110
132
|
gridStyles: "",
|
|
111
133
|
hideCursorWhenHideSelectionStyles: "_uuop1j28",
|
|
112
134
|
hideSelectionStyles: "_nuih1j28 _9o1p1j28",
|
|
@@ -150,11 +172,11 @@ var editorContentStyles = {
|
|
|
150
172
|
mediaDangerStyles: "",
|
|
151
173
|
mediaGroupStyles: "",
|
|
152
174
|
mediaStyles: "",
|
|
153
|
-
mentionDangerStyles: "",
|
|
154
|
-
mentionNodeStyles: "",
|
|
155
|
-
mentionsSelectionStyles: "",
|
|
156
|
-
mentionsSelectionStylesWithSearchMatch: "",
|
|
157
|
-
mentionsStyles: "",
|
|
175
|
+
mentionDangerStyles: "_gtdrbimv _9qsdbimv _2eqbbimv _16mx1gly _1iqr1gly _1srh1gly",
|
|
176
|
+
mentionNodeStyles: "_n9nt1rr0 _tsa3t94y _12tyzjw7 _te0it94y _1raq1poh _9y08i8nm _49vlokh7 _1t47plhp _11h11gdz _nck11nu9 _1w5mtlke _pdsn78tn _1qs3i7a9 _1wet1hna _1tqsazsu _42pj1j28 _o0ds5rkr _8tic1j28 _ey371j28 _1ucti7uo _e2i01856 _arowokh7 _1y0dhf2y _vskfg6ey _g91j15cr",
|
|
177
|
+
mentionsSelectionStyles: "_1wwxbimv _1gf31gly _ic7s1j28 _aa1g1j28 _1v8i1j28 _2qpjr4us _jhe3r4us _2mn9r4us _17xq15s3 _pyh015s3 _uput15s3 _hte21j28 _qzx91j28 _slqe1j28 _m5j31j28 _242x1j28 _173j1j28 _tw4v1j28 _nw2u1j28 _zanp1j28 _1f6f1j28 _42an1j28 _dafh1j28 _1jnyazsu _bzk5azsu _1yg7azsu _pvcj15s3 _ufew15s3 _chqr15s3 _opx215s3 _12dx15s3 _1orw15s3",
|
|
178
|
+
mentionsSelectionStylesWithSearchMatch: "_1wwxbimv _1gf31gly _17xq15s3 _pyh015s3 _uput15s3 _hte21j28 _qzx91j28 _slqe1j28 _m5j31j28 _242x1j28 _173j1j28 _tw4v1j28 _nw2u1j28 _zanp1j28 _1f6f1j28 _42an1j28 _dafh1j28 _1jnyazsu _bzk5azsu _1yg7azsu _pvcj15s3 _ufew15s3 _chqr15s3 _opx215s3 _12dx15s3 _1orw15s3 _1pyq1j28 _uhe21j28 _igra1j28 _1oqxr4us _1iyqr4us _16atr4us",
|
|
179
|
+
mentionsStyles: "_1v6z1j28 _gzj3r4us _14ew15s3 _h2zmazsu _tqacbimv _yy7y1gly _1nhdi8nm _1o02azsu",
|
|
158
180
|
nestedPanelBorderStylesMixin: "",
|
|
159
181
|
nestedPanelDangerStyles: "",
|
|
160
182
|
panelStyles: "",
|
|
@@ -166,7 +188,7 @@ var editorContentStyles = {
|
|
|
166
188
|
paragraphStylesUGCRefreshed: "_1fi2t7zq _poq4oqnp _z9wpidpf",
|
|
167
189
|
paragraphStylesWithScaledMargin: "_1fi2t7zq _poq41xs6 _z9wpidpf",
|
|
168
190
|
placeholderOverflowStyles: "_pa0l15vq _14r215vq _1abn1q9c _1ue41l2s",
|
|
169
|
-
placeholderStyles: "
|
|
191
|
+
placeholderStyles: "_h9qo1r31 _y5fkglyw _1eui1o36 _bzatglyw _12wvglyw _fpn9stnw _ups11rpy _14uo1osq _14ijglyw _16j6glyw _g0ho1wwu _1vpk188d _18j96ui8 _1gikq7pw",
|
|
170
192
|
placeholderTextStyles: "_1qnc1rpy _gv641nu9 _67ch1nu9 _mekn1rpy _18et1nu9 _lm211rpy _177515s3 _wgub1j28 _2nre1j28 _1gej1j28 _78lz1j28 _5h7k1rpy _1xbs1kdv _x07nrrda _ug3m1nu9 _14gpj0fz _ux32b3bt _1pzi1nu9 _ga7midpf _rejjstnw _wets1nu9 _smxnglyw _v284h2mm _jtpj1nu9 _nyhtglyw _1enqh2mm _pichgir2 _x6bu11lh",
|
|
171
193
|
placeholderWrapStyles: "_12te1q9c",
|
|
172
194
|
pragmaticResizerStyles: "",
|
|
@@ -212,8 +234,8 @@ var editorContentStyles = {
|
|
|
212
234
|
taskItemStyles: "",
|
|
213
235
|
taskItemStylesWithBlockTaskItem: "",
|
|
214
236
|
tasksAndDecisionsStyles: "",
|
|
215
|
-
telepointerColorAndCommonStyle: "",
|
|
216
|
-
telepointerStyle: "",
|
|
237
|
+
telepointerColorAndCommonStyle: "_1l4z1p41 _66xp46kq _mgp11vg9 _1ji11vg9 _15cgjt0p _uqqyh2mm _1xemcjiy _vmt0glyw _u2jdglyw _1us5sxj9 _gkev15cr _144ruibq _1pjl15cr _18tb16e3 _1rg715cr _v91w1e5c _1md215cr _1ubf1vop _xlm615cr _15eyya33 _1luc15cr _1j8ac3uk _1lm915cr _vwip2c8p _1p9315cr _1pye1qg1 _14dm15cr _18vwtde4 _11rg15cr _poz81i45 _6w3a1tmo _htkd115i _al8b1tmo _3gvxkrt9 _zkkp1tmo _51zm1kkj _zo131tmo _9fge8y3s _sx0p1tmo _2b661rsu _wsn51tmo _li04tdv8 _1gi61tmo _1xr818ah _dhht1tmo _35ci1mi6 _1inzj35l _vdlzei1s _y5edfk4f _k6qpoly4",
|
|
238
|
+
telepointerStyle: "_1pbgwadc _x96nwadc _1gna19qg _1tpb19qg _1e4lstnw _flesstnw _1u701ule _w6dp1ule _10c7glyw _1q09glyw _1ki7qvpr _63b3qvpr _aof7d439 _1br5d439 _vgzaidpf _r397idpf _1r8c1b66 _5m891b66 _e73x1b66 _vdne1b66 _1lc41itx _1gifkb7n _fl4uup1y _edxtidpf _1d8u546l _1vic5d63 _nfsm1xbj _o0dm16z4 _7xjx1ytf _9cv91cra _fhbe16z4 _1p171ytf _fsoe13gw _2ss61y2m _gcu91ytf _4z8q1vyj _1p281y2m _1ku31ytf _q7vcidpf _ay6b6ebc _b82712n9 _yxs7kb7n _v9kukb7n",
|
|
217
239
|
textColorStyles: "",
|
|
218
240
|
textDangerStyles: "",
|
|
219
241
|
textHighlightPaddingStyles: "",
|
|
@@ -3,6 +3,6 @@ export var messages = defineMessages({
|
|
|
3
3
|
toolbarHelpTitle: {
|
|
4
4
|
id: 'fabric.editor.headingLink.toolbarHelpTitle',
|
|
5
5
|
defaultMessage: 'Open help dialog',
|
|
6
|
-
description: '
|
|
6
|
+
description: 'Label for the toolbar help button in the editor. When clicked, this button opens the help dialog.'
|
|
7
7
|
}
|
|
8
8
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.
|
|
3
|
+
"version": "219.3.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"@atlaskit/mention": "^25.0.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^5.
|
|
75
|
+
"@atlaskit/react-ufo": "^5.19.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.0.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^75.2.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^22.0.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@atlaskit/adf-utils": "^19.29.0",
|
|
107
107
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
108
108
|
"@atlaskit/collab-provider": "^18.1.0",
|
|
109
|
-
"@atlaskit/editor-plugin-annotation": "^10.
|
|
109
|
+
"@atlaskit/editor-plugin-annotation": "^10.2.0",
|
|
110
110
|
"@atlaskit/editor-plugin-card": "^16.5.0",
|
|
111
111
|
"@atlaskit/editor-plugin-list": "^12.0.0",
|
|
112
112
|
"@atlaskit/editor-plugin-paste": "^11.1.0",
|