@atlaskit/editor-core 205.7.4 → 205.8.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 +23 -0
- package/dist/cjs/ui/ContentStyles/ai-panels.js +4 -1
- package/dist/cjs/ui/WithFlash/index.js +6 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/ai-panels.js +4 -1
- package/dist/es2019/ui/WithFlash/index.js +6 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/ai-panels.js +4 -1
- package/dist/esm/ui/WithFlash/index.js +6 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +2 -1
- package/dist/types/presets/universal.d.ts +2 -1
- package/dist/types/presets/useUniversalPreset.d.ts +2 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +2 -1
- package/dist/types-ts4.5/presets/universal.d.ts +2 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2 -1
- package/package.json +5 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 205.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#148201](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148201)
|
|
8
|
+
[`8e811f1840de7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e811f1840de7) -
|
|
9
|
+
Either actively or pre-emptively fixes a bug with keyframe animations in CJS and ESM distribution
|
|
10
|
+
targets for packages using Compiled CSS-in-JS. This may not affect this package, but the change
|
|
11
|
+
was made so a future migration does not accidentally break it.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 205.8.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [#143009](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/143009)
|
|
19
|
+
[`0531497d76444`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0531497d76444) -
|
|
20
|
+
[UX-3339] Adds a configuration for media insert to only allow for external links.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 205.7.4
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -39,7 +39,10 @@ var aiPrismColor = (0, _defineProperty2.default)((0, _defineProperty2.default)((
|
|
|
39
39
|
});
|
|
40
40
|
var prismBorderAnimationStyles = (0, _react.css)({
|
|
41
41
|
'&::before, &::after': _objectSpread(_objectSpread({
|
|
42
|
-
|
|
42
|
+
animationName: rotationAnimation,
|
|
43
|
+
animationDuration: '2s',
|
|
44
|
+
animationTimingFunction: 'linear',
|
|
45
|
+
animationIterationCount: 'infinite'
|
|
43
46
|
}, isFirefox ? {
|
|
44
47
|
animationDirection: 'normal',
|
|
45
48
|
animationDuration: '1s'
|
|
@@ -37,7 +37,9 @@ var pulseBackgroundReverse = (0, _react2.keyframes)({
|
|
|
37
37
|
var flashWrapper = (0, _react2.css)({
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
39
|
'&.-flash > div': {
|
|
40
|
-
|
|
40
|
+
animationName: pulseBackgroundReverse,
|
|
41
|
+
animationDuration: '0.25s',
|
|
42
|
+
animationTimingFunction: 'ease-in-out'
|
|
41
43
|
},
|
|
42
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
43
45
|
'& > div': {
|
|
@@ -45,7 +47,9 @@ var flashWrapper = (0, _react2.css)({
|
|
|
45
47
|
}
|
|
46
48
|
});
|
|
47
49
|
var flashWrapperAnimated = (0, _react2.css)((0, _defineProperty2.default)({}, "".concat(flashWrapper, " & > div"), {
|
|
48
|
-
|
|
50
|
+
animationName: pulseBackground,
|
|
51
|
+
animationDuration: '0.25s',
|
|
52
|
+
animationTimingFunction: 'ease-in-out'
|
|
49
53
|
}));
|
|
50
54
|
// Ignored via go/ees005
|
|
51
55
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
@@ -37,7 +37,10 @@ const aiPrismColor = {
|
|
|
37
37
|
};
|
|
38
38
|
const prismBorderAnimationStyles = css({
|
|
39
39
|
'&::before, &::after': {
|
|
40
|
-
|
|
40
|
+
animationName: rotationAnimation,
|
|
41
|
+
animationDuration: '2s',
|
|
42
|
+
animationTimingFunction: 'linear',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
41
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
42
45
|
...(isFirefox ? {
|
|
43
46
|
animationDirection: 'normal',
|
|
@@ -26,7 +26,9 @@ const pulseBackgroundReverse = keyframes({
|
|
|
26
26
|
const flashWrapper = css({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
28
28
|
'&.-flash > div': {
|
|
29
|
-
|
|
29
|
+
animationName: pulseBackgroundReverse,
|
|
30
|
+
animationDuration: '0.25s',
|
|
31
|
+
animationTimingFunction: 'ease-in-out'
|
|
30
32
|
},
|
|
31
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
32
34
|
'& > div': {
|
|
@@ -36,7 +38,9 @@ const flashWrapper = css({
|
|
|
36
38
|
const flashWrapperAnimated = css({
|
|
37
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
40
|
[`${flashWrapper} & > div`]: {
|
|
39
|
-
|
|
41
|
+
animationName: pulseBackground,
|
|
42
|
+
animationDuration: '0.25s',
|
|
43
|
+
animationTimingFunction: 'ease-in-out'
|
|
40
44
|
}
|
|
41
45
|
});
|
|
42
46
|
// Ignored via go/ees005
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "205.
|
|
2
|
+
export const version = "205.8.1";
|
|
@@ -33,7 +33,10 @@ var aiPrismColor = _defineProperty(_defineProperty(_defineProperty(_defineProper
|
|
|
33
33
|
});
|
|
34
34
|
var prismBorderAnimationStyles = css({
|
|
35
35
|
'&::before, &::after': _objectSpread(_objectSpread({
|
|
36
|
-
|
|
36
|
+
animationName: rotationAnimation,
|
|
37
|
+
animationDuration: '2s',
|
|
38
|
+
animationTimingFunction: 'linear',
|
|
39
|
+
animationIterationCount: 'infinite'
|
|
37
40
|
}, isFirefox ? {
|
|
38
41
|
animationDirection: 'normal',
|
|
39
42
|
animationDuration: '1s'
|
|
@@ -33,7 +33,9 @@ var pulseBackgroundReverse = keyframes({
|
|
|
33
33
|
var flashWrapper = css({
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
35
35
|
'&.-flash > div': {
|
|
36
|
-
|
|
36
|
+
animationName: pulseBackgroundReverse,
|
|
37
|
+
animationDuration: '0.25s',
|
|
38
|
+
animationTimingFunction: 'ease-in-out'
|
|
37
39
|
},
|
|
38
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
41
|
'& > div': {
|
|
@@ -41,7 +43,9 @@ var flashWrapper = css({
|
|
|
41
43
|
}
|
|
42
44
|
});
|
|
43
45
|
var flashWrapperAnimated = css(_defineProperty({}, "".concat(flashWrapper, " & > div"), {
|
|
44
|
-
|
|
46
|
+
animationName: pulseBackground,
|
|
47
|
+
animationDuration: '0.25s',
|
|
48
|
+
animationTimingFunction: 'ease-in-out'
|
|
45
49
|
}));
|
|
46
50
|
// Ignored via go/ees005
|
|
47
51
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "205.
|
|
2
|
+
export var version = "205.8.1";
|
|
@@ -227,7 +227,8 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
227
227
|
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginDependencies;
|
|
228
228
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
229
229
|
commands: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginCommands;
|
|
230
|
-
|
|
230
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
231
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
231
232
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
232
233
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
233
234
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -279,7 +279,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
279
279
|
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginDependencies;
|
|
280
280
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
281
281
|
commands: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginCommands;
|
|
282
|
-
|
|
282
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
283
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
283
284
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
284
285
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
285
286
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -227,7 +227,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
227
227
|
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginDependencies;
|
|
228
228
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
229
229
|
commands: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginCommands;
|
|
230
|
-
|
|
230
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
231
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
231
232
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
232
233
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
233
234
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -341,7 +341,8 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
341
341
|
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginDependencies;
|
|
342
342
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
343
343
|
commands: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginCommands;
|
|
344
|
-
|
|
344
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
345
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined,
|
|
345
346
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
346
347
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
347
348
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
@@ -393,7 +393,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
393
393
|
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginDependencies;
|
|
394
394
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
395
395
|
commands: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginCommands;
|
|
396
|
-
|
|
396
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
397
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined,
|
|
397
398
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
398
399
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
399
400
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
@@ -341,7 +341,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
341
341
|
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginDependencies;
|
|
342
342
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
343
343
|
commands: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginCommands;
|
|
344
|
-
|
|
344
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
345
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined,
|
|
345
346
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
346
347
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
347
348
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "205.
|
|
3
|
+
"version": "205.8.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.0.0",
|
|
48
48
|
"@atlaskit/css": "^0.10.0",
|
|
49
|
-
"@atlaskit/editor-common": "^103.
|
|
49
|
+
"@atlaskit/editor-common": "^103.21.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
51
51
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/mention": "^24.1.0",
|
|
60
60
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags-react": "^0.1.0",
|
|
62
|
-
"@atlaskit/react-ufo": "^3.
|
|
62
|
+
"@atlaskit/react-ufo": "^3.9.0",
|
|
63
63
|
"@atlaskit/task-decision": "^19.2.0",
|
|
64
64
|
"@atlaskit/tmp-editor-statsig": "^4.15.0",
|
|
65
65
|
"@atlaskit/tokens": "^4.8.0",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"@atlaskit/media-test-helpers": "^35.0.0",
|
|
102
102
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
103
103
|
"@atlaskit/primitives": "^14.4.0",
|
|
104
|
-
"@atlaskit/renderer": "^114.
|
|
105
|
-
"@atlaskit/smart-card": "^36.
|
|
104
|
+
"@atlaskit/renderer": "^114.12.0",
|
|
105
|
+
"@atlaskit/smart-card": "^36.12.0",
|
|
106
106
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
107
107
|
"@atlaskit/toggle": "^15.0.0",
|
|
108
108
|
"@atlaskit/util-data-test": "^18.0.0",
|
|
@@ -149,10 +149,6 @@
|
|
|
149
149
|
"cc_complexit_fe_improve_node_validation": {
|
|
150
150
|
"type": "boolean"
|
|
151
151
|
},
|
|
152
|
-
"platform_editor_emotion_refactor_renderer": {
|
|
153
|
-
"type": "boolean",
|
|
154
|
-
"referenceOnly": "true"
|
|
155
|
-
},
|
|
156
152
|
"platform_editor_scroll_into_view_tr_steps": {
|
|
157
153
|
"type": "boolean",
|
|
158
154
|
"referenceOnly": true
|
|
@@ -423,10 +419,6 @@
|
|
|
423
419
|
"type": "boolean",
|
|
424
420
|
"referenceOnly": true
|
|
425
421
|
},
|
|
426
|
-
"platform_editor_cell_selection_with_nested_tables": {
|
|
427
|
-
"type": "boolean",
|
|
428
|
-
"referenceOnly": true
|
|
429
|
-
},
|
|
430
422
|
"platform_editor_nested_tables_bodied_extension_fix": {
|
|
431
423
|
"type": "boolean",
|
|
432
424
|
"referenceOnly": true
|
|
@@ -439,10 +431,6 @@
|
|
|
439
431
|
"type": "boolean",
|
|
440
432
|
"referenceOnly": true
|
|
441
433
|
},
|
|
442
|
-
"platform_editor_nested_tables_bottom_sentinel": {
|
|
443
|
-
"type": "boolean",
|
|
444
|
-
"referenceOnly": true
|
|
445
|
-
},
|
|
446
434
|
"platform_editor_sort_decoration_fix_on_live_page": {
|
|
447
435
|
"type": "boolean",
|
|
448
436
|
"referenceOnly": true
|