@atlaskit/editor-core 219.3.4 → 219.3.6
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 +17 -0
- package/afm-cc/tsconfig.json +0 -1
- package/afm-products/tsconfig.json +0 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +114 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +14 -8
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +114 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +15 -9
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +114 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +15 -9
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -5
- package/afm-jira/tsconfig.json +0 -130
|
@@ -10,7 +10,8 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
|
|
11
11
|
// TODO: add back tableSharedStyle when migrate table styles
|
|
12
12
|
// import { richMediaClassName, tableSharedStyle } from '@atlaskit/editor-common/styles';
|
|
13
|
-
import {
|
|
13
|
+
import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
|
|
14
|
+
import { AnnotationSharedClassNames, richMediaClassName, expandClassNames, SmartCardSharedCssClassName, CodeBlockSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
14
15
|
import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
|
|
15
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
17
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -31,11 +32,16 @@ var akEditorBreakpointForSmallDevice = "1266px";
|
|
|
31
32
|
var akEditorGutterPaddingReduced = 24;
|
|
32
33
|
var akEditorFullPageNarrowBreakout = 600;
|
|
33
34
|
var akEditorUltraWideLayoutWidth = 4000;
|
|
35
|
+
|
|
36
|
+
// Originally copied from packages/editor/editor-core/src/ui/Appearance/Comment/Comment.tsx
|
|
37
|
+
var CommentEditorMargin = 14;
|
|
38
|
+
var GRID_GUTTER = 12;
|
|
34
39
|
var blockNodesVerticalMargin = '0.75rem';
|
|
35
40
|
var scaledBlockNodesVerticalMargin = '0.75em';
|
|
36
41
|
var editorAreaNonSmallDeviceContainerQuery = "@container editor-area (width >= ".concat(akEditorBreakpointForSmallDevice, ")");
|
|
37
42
|
var editorAreaNarrowPageContainerQuery = "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)");
|
|
38
43
|
var placeholderFadeInKeyframes = null;
|
|
44
|
+
var fadeIn = null;
|
|
39
45
|
var hideNativeBrowserTextSelectionStyles = null;
|
|
40
46
|
var boxShadowSelectionStyles = null;
|
|
41
47
|
|
|
@@ -97,7 +103,7 @@ var editorContentStyles = {
|
|
|
97
103
|
backgroundColorStyles: "",
|
|
98
104
|
baseStyles: "_t7ab1vi7 _anrdukw8 _n6a11fwx _uw641q08 _fo6014dc _1gvnmqba _j03f1qop _qmjbxjz2 _zy25uj17 _pg931osq _121i1r31 _dcmgglyw _nv9v1o36 _19rk1uph _u8en3mia _3iqe18il _988v1osq _pi27grho _10zo1osq _1j8i1xb4",
|
|
99
105
|
baseStylesMaxContainerWidthFixes: "_19rk1l99",
|
|
100
|
-
blockMarksStyles: "",
|
|
106
|
+
blockMarksStyles: "_1244idpf _1qkxidpf _1e6iidpf _dvqjidpf _etngidpf _1jl2idpf _1je9idpf _1db9idpf _15i0idpf _16d4idpf _17liidpf _pxvridpf _1v4iidpf _s8m8idpf _16fuidpf _1543idpf _4offidpf _ttnbidpf _ujemidpf _1171idpf _mzasidpf _r8oxidpf _1pycidpf _6shmidpf _1bd0idpf _54e7idpf _1tenidpf _jzq1idpf _czpfidpf _1oraidpf _1kg4idpf _ksblidpf _1af7idpf _72x4idpf _zlwmidpf _7m6lidpf _1x2sidpf _3q5uidpf _11ukidpf _n65sidpf _1nn0idpf _1hwxidpf _j2goidpf _rfl4idpf _qhe2idpf _h4bbidpf _rjmvidpf _183yidpf _fk2nidpf _3429idpf _j543idpf _1op6idpf _mcklidpf _1uf8idpf _110lidpf _17agidpf _d9tridpf _f5slidpf _b9adidpf _1859idpf _1hrzidpf _1du2idpf _gdx6idpf _1av3idpf _1uj7idpf _s6y9idpf _ocz2idpf _129midpf _kj6kidpf _1uv9idpf _1tieidpf _ri4ridpf _tw0uidpf _15epidpf _12uhidpf _12i1idpf _vm1cidpf _jj6didpf _3d3tidpf _1xdsidpf",
|
|
101
107
|
blockquoteDangerStyles: "",
|
|
102
108
|
blockquoteSelectedNodeStyles: "",
|
|
103
109
|
blocktypeStyles: "",
|
|
@@ -108,8 +114,8 @@ var editorContentStyles = {
|
|
|
108
114
|
codeBlockStylesWithEmUnits: "",
|
|
109
115
|
codeMarkStyles: "",
|
|
110
116
|
codeMarkStylesA11yFix: "",
|
|
111
|
-
commentEditorStyles: "",
|
|
112
|
-
cursorStyles: "",
|
|
117
|
+
commentEditorStyles: "_16jlkb7n _1reozryt _vwz41tcg _ca0qv47k _u5f3v47k _n3tdv47k _19bvv47k _1lbautpp _2k8xutpp _4aknutpp _1r9butpp _1pg2v77o _1ocsv77o _8ctj1b4h",
|
|
118
|
+
cursorStyles: "_178n1j28 _1xy6glyw _102f1j28",
|
|
113
119
|
dangerDateStyles: "_o7sybimv",
|
|
114
120
|
dangerRuleStyles: "_zih31bqt",
|
|
115
121
|
dateStyles: "_15n6n7od _munn4jg8 _m1d5tlke _dgh21j28 _1ex4r4us _1kx81j28 _xi121j28 _wi4l1j28 _1a3o1j28 _rn5mbimv",
|
|
@@ -139,10 +145,10 @@ var editorContentStyles = {
|
|
|
139
145
|
findReplaceStylesNewWithA11Y: "",
|
|
140
146
|
findReplaceStylesNewWithCodeblockColorContrastFix: "",
|
|
141
147
|
findReplaceStylesWithCodeblockColorContrastFix: "",
|
|
142
|
-
firstBlockNodeStyles: "",
|
|
148
|
+
firstBlockNodeStyles: "_1qikidpf _6itxidpf _js9kidpf _i3wvidpf _1wh8idpf _8uqaidpf _umh5idpf _jav3idpf",
|
|
143
149
|
firstCodeBlockWithNoMargin: "",
|
|
144
150
|
firstCodeBlockWithNoMarginOld: "",
|
|
145
|
-
firstFloatingToolbarButtonStyles: "",
|
|
151
|
+
firstFloatingToolbarButtonStyles: "_j9yv7g83",
|
|
146
152
|
firstWrappedMediaStyles: "_e519idpf _pxl0idpf _1sn3idpf _ripsidpf",
|
|
147
153
|
fontSizeStyles: "",
|
|
148
154
|
fullPageEditorStyles: "_16jlkb7n _4t3i1osq _18m915zi _kqswh2mm _1e0c1txw _2lx21bp4 _1dm8q5uf",
|
|
@@ -222,7 +228,7 @@ var editorContentStyles = {
|
|
|
222
228
|
scaledEmojiStyles: "",
|
|
223
229
|
scrollbarStyles: "_1fpfolhs _1khk1mok _123b1aqn _jaboglyw _aaynsm61 _1ogl1ibz",
|
|
224
230
|
selectedNodeStyles: "_1vqj1r31 _1fkoglyw _m3b01o36 _g4fm7g83",
|
|
225
|
-
selectionToolbarAnimationStyles: "",
|
|
231
|
+
selectionToolbarAnimationStyles: "_bbrv19by _e9pffnf5 _uw601ku9",
|
|
226
232
|
shadowStyles: "",
|
|
227
233
|
showDiffDeletedNodeStyles: "",
|
|
228
234
|
showDiffDeletedNodeStylesNew: "",
|
|
@@ -255,10 +261,10 @@ var editorContentStyles = {
|
|
|
255
261
|
tasksAndDecisionsStyles: "",
|
|
256
262
|
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",
|
|
257
263
|
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",
|
|
258
|
-
textColorStyles: "",
|
|
264
|
+
textColorStyles: "_c0871i5q _lv7dn7od",
|
|
259
265
|
textDangerStyles: "",
|
|
260
266
|
textHighlightPaddingStyles: "",
|
|
261
|
-
textHighlightStyle: "",
|
|
267
|
+
textHighlightStyle: "_1ny71t12 _wnl31s93",
|
|
262
268
|
textSelectedNodeStyles: "",
|
|
263
269
|
unsupportedStyles: "",
|
|
264
270
|
whitespaceStyles: "_18031hna _18qq1jtm"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "219.3.
|
|
2
|
+
export var version = "219.3.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.3.
|
|
3
|
+
"version": "219.3.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/editor-ssr-renderer": "^5.1.0",
|
|
65
65
|
"@atlaskit/editor-toolbar": "^1.0.0",
|
|
66
66
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
67
|
-
"@atlaskit/emoji": "^70.
|
|
67
|
+
"@atlaskit/emoji": "^70.4.0",
|
|
68
68
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
69
69
|
"@atlaskit/icon": "^34.4.0",
|
|
70
70
|
"@atlaskit/link": "^3.4.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^5.19.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.0.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^77.
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^77.1.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^22.0.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"uuid": "^3.1.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@atlaskit/editor-common": "^114.
|
|
95
|
+
"@atlaskit/editor-common": "^114.21.0",
|
|
96
96
|
"@atlaskit/link-provider": "^4.3.0",
|
|
97
97
|
"@atlaskit/media-core": "^37.0.0",
|
|
98
98
|
"react": "^18.2.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@af/visual-regression": "workspace:^",
|
|
106
106
|
"@atlaskit/adf-utils": "^19.29.0",
|
|
107
107
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
108
|
-
"@atlaskit/collab-provider": "^18.
|
|
108
|
+
"@atlaskit/collab-provider": "^18.2.0",
|
|
109
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",
|
package/afm-jira/tsconfig.json
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"outDir": "../../../../../jira/tsDist/@atlaskit__editor-core/app",
|
|
6
|
-
"rootDir": "../",
|
|
7
|
-
"composite": true,
|
|
8
|
-
"noCheck": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/stories/*",
|
|
19
|
-
"../src/**/examples.*",
|
|
20
|
-
"../src/**/examples/*",
|
|
21
|
-
"../src/**/examples/**/*",
|
|
22
|
-
"../src/**/*.stories.*",
|
|
23
|
-
"../src/**/stories/*",
|
|
24
|
-
"../src/**/stories/**/*"
|
|
25
|
-
],
|
|
26
|
-
"references": [
|
|
27
|
-
{
|
|
28
|
-
"path": "../../activity-provider/afm-jira/tsconfig.json"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"path": "../../adf-schema/afm-jira/tsconfig.json"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-jira/tsconfig.json"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"path": "../../../design-system/button/afm-jira/tsconfig.json"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"path": "../../../design-system/css/afm-jira/tsconfig.json"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"path": "../../editor-json-transformer/afm-jira/tsconfig.json"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"path": "../../editor-performance-metrics/afm-jira/tsconfig.json"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"path": "../../editor-plugin-connectivity/afm-jira/tsconfig.json"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"path": "../../editor-plugin-quick-insert/afm-jira/tsconfig.json"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"path": "../../editor-plugin-user-preferences/afm-jira/tsconfig.json"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"path": "../../editor-plugins/afm-jira/tsconfig.json"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"path": "../../editor-prosemirror/afm-jira/tsconfig.json"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"path": "../../editor-shared-styles/afm-jira/tsconfig.json"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"path": "../../editor-ssr-renderer/afm-jira/tsconfig.json"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"path": "../../editor-toolbar/afm-jira/tsconfig.json"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"path": "../../editor-toolbar-model/afm-jira/tsconfig.json"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"path": "../../../elements/emoji/afm-jira/tsconfig.json"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"path": "../../../measurement/feature-gate-js-client/afm-jira/tsconfig.json"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"path": "../../../design-system/link/afm-jira/tsconfig.json"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"path": "../../../media/media-card/afm-jira/tsconfig.json"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"path": "../../../elements/mention/afm-jira/tsconfig.json"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"path": "../../../platform/feature-flags-react/afm-jira/tsconfig.json"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"path": "../../../react-ufo/atlaskit/afm-jira/tsconfig.json"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"path": "../../../elements/task-decision/afm-jira/tsconfig.json"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"path": "../../../design-system/width-detector/afm-jira/tsconfig.json"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"path": "../../editor-common/afm-jira/tsconfig.json"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"path": "../../../linking-platform/link-provider/afm-jira/tsconfig.json"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"path": "../../../media/media-core/afm-jira/tsconfig.json"
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
}
|