@atlaskit/editor-plugin-card 36.0.22 → 36.0.24

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,19 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 36.0.24
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 36.0.23
10
+
11
+ ### Patch Changes
12
+
13
+ - [`97e1949785ccc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/97e1949785ccc) -
14
+ Remove the Slides experiment from shipped behavior.
15
+ - Updated dependencies
16
+
3
17
  ## 36.0.22
4
18
 
5
19
  ### Patch Changes
package/compass.yml CHANGED
@@ -35,7 +35,7 @@ customFields:
35
35
  value: true
36
36
  - name: Reviewer Selection Mechanism
37
37
  type: text
38
- value: random(2)
38
+ value: randomTZIgnored(2)
39
39
  - name: Required Reviewer Approvals
40
40
  type: number
41
41
  value: 1
@@ -34,7 +34,6 @@ var _lazy = require("@atlaskit/smart-card/card/lazy");
34
34
  var _embedResizeMessageListener = require("@atlaskit/smart-card/embed-resize-message-listener");
35
35
  var _ssr = require("@atlaskit/smart-card/ssr");
36
36
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
37
- var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
38
37
  var _actions = require("../pm-plugins/actions");
39
38
  var _ResizableEmbedCard = _interopRequireDefault(require("../ui/ResizableEmbedCard"));
40
39
  var _SmartCardSSRReactContextsProvider = require("../ui/SmartCardSSRReactContextsProvider");
@@ -58,7 +57,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
58
57
  * @internal Exported for testing only.
59
58
  */
60
59
  var getAspectRatioForUrl = exports.getAspectRatioForUrl = function getAspectRatioForUrl(url) {
61
- if (url && (0, _urlCheckers.isConfluenceSlideUrl)(url) && !(0, _fg.fg)('cc-mui-slides-opted-out') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-mui-slides-experiment', 'isEnabled', true)) {
60
+ if (url && (0, _urlCheckers.isConfluenceSlideUrl)(url) && !(0, _fg.fg)('cc-mui-slides-opted-out')) {
62
61
  // Slides have a 16:9 canvas
63
62
  return 16 / 9;
64
63
  }
@@ -1,4 +1,4 @@
1
- /* PasteDisplayAsMenu.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* PasteDisplayAsMenu.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -22,7 +22,6 @@ import { Card as SmartCard } from '@atlaskit/smart-card/card/lazy';
22
22
  import { EmbedResizeMessageListener } from '@atlaskit/smart-card/embed-resize-message-listener';
23
23
  import { CardSSR } from '@atlaskit/smart-card/ssr';
24
24
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
25
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
26
25
  import { registerCard, removeCard } from '../pm-plugins/actions';
27
26
  import ResizableEmbedCard from '../ui/ResizableEmbedCard';
28
27
  import { SmartCardSSRReactContextsProvider } from '../ui/SmartCardSSRReactContextsProvider';
@@ -42,7 +41,7 @@ import { isIntersectionObserverSupported } from './isIntersectionObserverSupport
42
41
  * @internal Exported for testing only.
43
42
  */
44
43
  export const getAspectRatioForUrl = url => {
45
- if (url && isConfluenceSlideUrl(url) && !fg('cc-mui-slides-opted-out') && expValEqualsNoExposure('cc-mui-slides-experiment', 'isEnabled', true)) {
44
+ if (url && isConfluenceSlideUrl(url) && !fg('cc-mui-slides-opted-out')) {
46
45
  // Slides have a 16:9 canvas
47
46
  return 16 / 9;
48
47
  }
@@ -1,4 +1,4 @@
1
- /* PasteDisplayAsMenu.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* PasteDisplayAsMenu.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./PasteDisplayAsMenu.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useEffect, useRef } from 'react';
@@ -33,7 +33,6 @@ import { Card as SmartCard } from '@atlaskit/smart-card/card/lazy';
33
33
  import { EmbedResizeMessageListener } from '@atlaskit/smart-card/embed-resize-message-listener';
34
34
  import { CardSSR } from '@atlaskit/smart-card/ssr';
35
35
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
36
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
37
36
  import { registerCard, removeCard } from '../pm-plugins/actions';
38
37
  import ResizableEmbedCard from '../ui/ResizableEmbedCard';
39
38
  import { SmartCardSSRReactContextsProvider } from '../ui/SmartCardSSRReactContextsProvider';
@@ -53,7 +52,7 @@ import { isIntersectionObserverSupported } from './isIntersectionObserverSupport
53
52
  * @internal Exported for testing only.
54
53
  */
55
54
  export var getAspectRatioForUrl = function getAspectRatioForUrl(url) {
56
- if (url && isConfluenceSlideUrl(url) && !fg('cc-mui-slides-opted-out') && expValEqualsNoExposure('cc-mui-slides-experiment', 'isEnabled', true)) {
55
+ if (url && isConfluenceSlideUrl(url) && !fg('cc-mui-slides-opted-out')) {
57
56
  // Slides have a 16:9 canvas
58
57
  return 16 / 9;
59
58
  }
@@ -1,4 +1,4 @@
1
- /* PasteDisplayAsMenu.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* PasteDisplayAsMenu.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import "./PasteDisplayAsMenu.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "36.0.22",
3
+ "version": "36.0.24",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -62,9 +62,9 @@
62
62
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
63
63
  "@atlaskit/primitives": "^22.7.0",
64
64
  "@atlaskit/prosemirror-history": "^1.3.0",
65
- "@atlaskit/smart-card": "^46.13.0",
66
- "@atlaskit/tmp-editor-statsig": "^260.0.0",
67
- "@atlaskit/tokens": "^20.10.0",
65
+ "@atlaskit/smart-card": "^46.14.0",
66
+ "@atlaskit/tmp-editor-statsig": "^262.0.0",
67
+ "@atlaskit/tokens": "^20.11.0",
68
68
  "@atlaskit/tooltip": "^24.4.0",
69
69
  "@babel/runtime": "^7.0.0",
70
70
  "@emotion/react": "^11.7.1",
@@ -73,7 +73,7 @@
73
73
  "uuid": "^11.1.1"
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^134.9.0",
76
+ "@atlaskit/editor-common": "^134.16.0",
77
77
  "@atlaskit/link-provider": "^6.1.0",
78
78
  "react": "^18.2.0 || ^19.2.0",
79
79
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -107,7 +107,7 @@
107
107
  },
108
108
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34",
109
109
  "devDependencies": {
110
- "@atlaskit/editor-common": "^134.9.0",
110
+ "@atlaskit/editor-common": "^134.16.0",
111
111
  "@atlaskit/link-provider": "^6.1.0",
112
112
  "react": "^19.2.0",
113
113
  "react-intl": "^7.0.0"