@atlaskit/editor-core 205.8.0 → 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 CHANGED
@@ -1,5 +1,16 @@
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
+
3
14
  ## 205.8.0
4
15
 
5
16
  ### Minor 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
- animation: "".concat(rotationAnimation, " linear 2s infinite")
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
- animation: "0.25s ease-in-out ".concat(pulseBackgroundReverse)
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
- animation: "0.25s ease-in-out ".concat(pulseBackground)
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
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "205.8.0";
8
+ var version = exports.version = "205.8.1";
@@ -37,7 +37,10 @@ const aiPrismColor = {
37
37
  };
38
38
  const prismBorderAnimationStyles = css({
39
39
  '&::before, &::after': {
40
- animation: `${rotationAnimation} linear 2s infinite`,
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
- animation: `0.25s ease-in-out ${pulseBackgroundReverse}`
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
- animation: `0.25s ease-in-out ${pulseBackground}`
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.8.0";
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
- animation: "".concat(rotationAnimation, " linear 2s infinite")
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
- animation: "0.25s ease-in-out ".concat(pulseBackgroundReverse)
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
- animation: "0.25s ease-in-out ".concat(pulseBackground)
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.8.0";
2
+ export var version = "205.8.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "205.8.0",
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.19.0",
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",
@@ -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.11.0",
105
- "@atlaskit/smart-card": "^36.11.0",
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",
@@ -419,10 +419,6 @@
419
419
  "type": "boolean",
420
420
  "referenceOnly": true
421
421
  },
422
- "platform_editor_cell_selection_with_nested_tables": {
423
- "type": "boolean",
424
- "referenceOnly": true
425
- },
426
422
  "platform_editor_nested_tables_bodied_extension_fix": {
427
423
  "type": "boolean",
428
424
  "referenceOnly": true
@@ -435,10 +431,6 @@
435
431
  "type": "boolean",
436
432
  "referenceOnly": true
437
433
  },
438
- "platform_editor_nested_tables_bottom_sentinel": {
439
- "type": "boolean",
440
- "referenceOnly": true
441
- },
442
434
  "platform_editor_sort_decoration_fix_on_live_page": {
443
435
  "type": "boolean",
444
436
  "referenceOnly": true