@atlaskit/smart-card 27.6.3 → 27.6.5

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,21 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 27.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 27.6.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#112182](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112182)
14
+ [`474de215aa66e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/474de215aa66e) -
15
+ Moving fix for using select all shortcut inside a database or other embed card into the card
16
+ itself to fix selection issues with embed card.
17
+ - Updated dependencies
18
+
3
19
  ## 27.6.3
4
20
 
5
21
  ### Patch Changes
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
22
22
  var context = exports.context = {
23
23
  componentName: 'smart-cards',
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "27.6.3"
25
+ packageVersion: "27.6.5"
26
26
  };
27
27
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
28
28
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -83,6 +83,11 @@ var ExpandedFrame = exports.ExpandedFrame = function ExpandedFrame(_ref) {
83
83
  removeOverflow: isFixEmbedCardBlurEnabled,
84
84
  isInteractive: isInteractive(),
85
85
  frameStyle: frameStyle
86
+ // This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
87
+ // See: HOT-107830
88
+ ,
89
+ contentEditable: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.card.fix-embed-card-select-all') ? 'false' : 'inherit',
90
+ suppressContentEditableWarning: true
86
91
  }, children);
87
92
  };
88
93
  if (!isPlaceholder && href) {
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
17
17
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
18
18
  var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/smart-card",
20
- packageVersion: "27.6.3",
20
+ packageVersion: "27.6.5",
21
21
  componentName: 'linkUrl'
22
22
  };
23
23
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
4
4
  export const context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "27.6.3"
7
+ packageVersion: "27.6.5"
8
8
  };
9
9
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -62,6 +62,11 @@ export const ExpandedFrame = ({
62
62
  removeOverflow: isFixEmbedCardBlurEnabled,
63
63
  isInteractive: isInteractive(),
64
64
  frameStyle: frameStyle
65
+ // This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
66
+ // See: HOT-107830
67
+ ,
68
+ contentEditable: getBooleanFF('platform.editor.card.fix-embed-card-select-all') ? 'false' : 'inherit',
69
+ suppressContentEditableWarning: true
65
70
  }, children);
66
71
  if (!isPlaceholder && href) {
67
72
  return /*#__PURE__*/React.createElement(LinkWrapper
@@ -7,7 +7,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
7
7
  import LinkWarningModal from './LinkWarningModal';
8
8
  const PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/smart-card",
10
- packageVersion: "27.6.3",
10
+ packageVersion: "27.6.5",
11
11
  componentName: 'linkUrl'
12
12
  };
13
13
  const Link = withLinkClickedEvent('a');
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
15
15
  export var context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "27.6.3"
18
+ packageVersion: "27.6.5"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -76,6 +76,11 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
76
76
  removeOverflow: isFixEmbedCardBlurEnabled,
77
77
  isInteractive: isInteractive(),
78
78
  frameStyle: frameStyle
79
+ // This fixes an issue with input fields in cross domain iframes (ie. databases and jira fields from different domains)
80
+ // See: HOT-107830
81
+ ,
82
+ contentEditable: getBooleanFF('platform.editor.card.fix-embed-card-select-all') ? 'false' : 'inherit',
83
+ suppressContentEditableWarning: true
79
84
  }, children);
80
85
  };
81
86
  if (!isPlaceholder && href) {
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
10
10
  import LinkWarningModal from './LinkWarningModal';
11
11
  var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "27.6.3",
13
+ packageVersion: "27.6.5",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "27.6.3",
3
+ "version": "27.6.5",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,9 +31,9 @@
31
31
  "@atlaskit/analytics-gas-types": "^5.1.0",
32
32
  "@atlaskit/analytics-next": "^9.3.0",
33
33
  "@atlaskit/avatar": "^21.10.0",
34
- "@atlaskit/avatar-group": "^9.7.0",
34
+ "@atlaskit/avatar-group": "^9.8.0",
35
35
  "@atlaskit/badge": "^16.2.0",
36
- "@atlaskit/button": "^17.22.0",
36
+ "@atlaskit/button": "^18.0.0",
37
37
  "@atlaskit/checkbox": "^13.5.0",
38
38
  "@atlaskit/dropdown-menu": "^12.13.0",
39
39
  "@atlaskit/form": "^10.4.0",
@@ -61,8 +61,8 @@
61
61
  "@atlaskit/spinner": "^16.2.0",
62
62
  "@atlaskit/textarea": "^5.5.0",
63
63
  "@atlaskit/textfield": "^6.4.0",
64
- "@atlaskit/theme": "^12.10.0",
65
- "@atlaskit/tokens": "^1.51.0",
64
+ "@atlaskit/theme": "^12.11.0",
65
+ "@atlaskit/tokens": "^1.52.0",
66
66
  "@atlaskit/tooltip": "^18.5.0",
67
67
  "@atlaskit/ufo": "^0.2.0",
68
68
  "@babel/runtime": "^7.0.0",
@@ -187,6 +187,9 @@
187
187
  },
188
188
  "platform.linking-platform.smart-card.enable-view-related-urls-action": {
189
189
  "type": "boolean"
190
+ },
191
+ "platform.editor.card.fix-embed-card-select-all": {
192
+ "type": "boolean"
190
193
  }
191
194
  }
192
195
  }