@atlaskit/smart-card 38.9.2 → 38.9.3

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,14 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 38.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#171534](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/171534)
8
+ [`72189ecc4d763`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72189ecc4d763) -
9
+ Updated icon usage for deprecated icons
10
+ - Updated dependencies
11
+
3
12
  ## 38.9.2
4
13
 
5
14
  ### Patch Changes
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "38.9.2"
14
+ packageVersion: "38.9.3"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -66,8 +66,8 @@ function Component(_ref) {
66
66
  error = _useSmartLink.error,
67
67
  isPreviewPanelAvailable = _useSmartLink.isPreviewPanelAvailable,
68
68
  openPreviewPanel = _useSmartLink.openPreviewPanel;
69
- var ari = (0, _platformFeatureFlags.fg)('fun-1765_wire_up_glance_panel_to_smart_cards') ? (0, _helpers.getObjectAri)(state.details) : undefined;
70
- var name = (0, _platformFeatureFlags.fg)('fun-1765_wire_up_glance_panel_to_smart_cards') ? (0, _helpers.getObjectName)(state.details) : undefined;
69
+ var ari = (0, _helpers.getObjectAri)(state.details);
70
+ var name = (0, _helpers.getObjectName)(state.details);
71
71
  var definitionId = (0, _helpers.getDefinitionId)(state.details);
72
72
  var extensionKey = (0, _helpers.getExtensionKey)(state.details);
73
73
  var resourceType = (0, _helpers.getResourceType)(state.details);
@@ -92,9 +92,7 @@ function Component(_ref) {
92
92
 
93
93
  // If preview panel is available and the user clicked on the link,
94
94
  // delegate the click to the preview panel handler
95
- if (
96
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
97
- (0, _platformFeatureFlags.fg)('fun-1765_wire_up_glance_panel_to_smart_cards') && !isModifierKeyPressed && ari && name && openPreviewPanel && isPreviewPanelAvailable !== null && isPreviewPanelAvailable !== void 0 && isPreviewPanelAvailable({
95
+ if (!isModifierKeyPressed && ari && name && openPreviewPanel && isPreviewPanelAvailable !== null && isPreviewPanelAvailable !== void 0 && isPreviewPanelAvailable({
98
96
  ari: ari
99
97
  })) {
100
98
  event.preventDefault();
@@ -11,7 +11,7 @@ require("./index.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _clock = _interopRequireDefault(require("@atlaskit/icon/core/clock"));
14
- var _childIssues = _interopRequireDefault(require("@atlaskit/icon/core/migration/child-issues"));
14
+ var _childWorkItemsChildIssues = _interopRequireDefault(require("@atlaskit/icon/core/migration/child-work-items--child-issues"));
15
15
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var rotateSvg = null;
@@ -26,7 +26,7 @@ var RelatedLinksActionIcon = function RelatedLinksActionIcon() {
26
26
  label: "View related links..."
27
27
  }) : /*#__PURE__*/React.createElement("span", {
28
28
  className: (0, _runtime.ax)(["_t9ec1sub _1e0c1o8l"])
29
- }, /*#__PURE__*/React.createElement(_childIssues.default, {
29
+ }, /*#__PURE__*/React.createElement(_childWorkItemsChildIssues.default, {
30
30
  color: "currentColor",
31
31
  spacing: "spacious",
32
32
  label: "View recent links..."
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "38.9.2",
23
+ packageVersion: "38.9.3",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "38.9.2"
5
+ packageVersion: "38.9.3"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -61,8 +61,8 @@ function Component({
61
61
  isPreviewPanelAvailable,
62
62
  openPreviewPanel
63
63
  } = useSmartLink(id, url);
64
- const ari = fg('fun-1765_wire_up_glance_panel_to_smart_cards') ? getObjectAri(state.details) : undefined;
65
- const name = fg('fun-1765_wire_up_glance_panel_to_smart_cards') ? getObjectName(state.details) : undefined;
64
+ const ari = getObjectAri(state.details);
65
+ const name = getObjectName(state.details);
66
66
  const definitionId = getDefinitionId(state.details);
67
67
  const extensionKey = getExtensionKey(state.details);
68
68
  const resourceType = getResourceType(state.details);
@@ -85,9 +85,7 @@ function Component({
85
85
 
86
86
  // If preview panel is available and the user clicked on the link,
87
87
  // delegate the click to the preview panel handler
88
- if (
89
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
90
- fg('fun-1765_wire_up_glance_panel_to_smart_cards') && !isModifierKeyPressed && ari && name && openPreviewPanel && isPreviewPanelAvailable !== null && isPreviewPanelAvailable !== void 0 && isPreviewPanelAvailable({
88
+ if (!isModifierKeyPressed && ari && name && openPreviewPanel && isPreviewPanelAvailable !== null && isPreviewPanelAvailable !== void 0 && isPreviewPanelAvailable({
91
89
  ari
92
90
  })) {
93
91
  event.preventDefault();
@@ -3,7 +3,7 @@ import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import ClockIcon from '@atlaskit/icon/core/clock';
6
- import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-issues';
6
+ import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-work-items--child-issues';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  const rotateSvg = null;
9
9
 
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "38.9.2",
13
+ packageVersion: "38.9.3",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "38.9.2"
7
+ packageVersion: "38.9.3"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -57,8 +57,8 @@ function Component(_ref) {
57
57
  error = _useSmartLink.error,
58
58
  isPreviewPanelAvailable = _useSmartLink.isPreviewPanelAvailable,
59
59
  openPreviewPanel = _useSmartLink.openPreviewPanel;
60
- var ari = fg('fun-1765_wire_up_glance_panel_to_smart_cards') ? getObjectAri(state.details) : undefined;
61
- var name = fg('fun-1765_wire_up_glance_panel_to_smart_cards') ? getObjectName(state.details) : undefined;
60
+ var ari = getObjectAri(state.details);
61
+ var name = getObjectName(state.details);
62
62
  var definitionId = getDefinitionId(state.details);
63
63
  var extensionKey = getExtensionKey(state.details);
64
64
  var resourceType = getResourceType(state.details);
@@ -83,9 +83,7 @@ function Component(_ref) {
83
83
 
84
84
  // If preview panel is available and the user clicked on the link,
85
85
  // delegate the click to the preview panel handler
86
- if (
87
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
88
- fg('fun-1765_wire_up_glance_panel_to_smart_cards') && !isModifierKeyPressed && ari && name && openPreviewPanel && isPreviewPanelAvailable !== null && isPreviewPanelAvailable !== void 0 && isPreviewPanelAvailable({
86
+ if (!isModifierKeyPressed && ari && name && openPreviewPanel && isPreviewPanelAvailable !== null && isPreviewPanelAvailable !== void 0 && isPreviewPanelAvailable({
89
87
  ari: ari
90
88
  })) {
91
89
  event.preventDefault();
@@ -3,7 +3,7 @@ import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import ClockIcon from '@atlaskit/icon/core/clock';
6
- import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-issues';
6
+ import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-work-items--child-issues';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  var rotateSvg = null;
9
9
 
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "38.9.2",
16
+ packageVersion: "38.9.3",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "38.9.2",
3
+ "version": "38.9.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,9 +39,9 @@
39
39
  "@atlaskit/form": "^12.0.0",
40
40
  "@atlaskit/frontend-utilities": "^3.0.0",
41
41
  "@atlaskit/heading": "^5.2.0",
42
- "@atlaskit/icon": "^26.4.0",
42
+ "@atlaskit/icon": "^27.0.0",
43
43
  "@atlaskit/icon-file-type": "^7.0.0",
44
- "@atlaskit/icon-lab": "^4.19.0",
44
+ "@atlaskit/icon-lab": "^5.0.0",
45
45
  "@atlaskit/icon-object": "^7.1.0",
46
46
  "@atlaskit/icon-priority": "^6.3.0",
47
47
  "@atlaskit/image": "^3.0.0",
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/link-extractors": "^2.3.0",
54
54
  "@atlaskit/linking-common": "^9.0.0",
55
55
  "@atlaskit/linking-types": "^12.0.0",
56
- "@atlaskit/logo": "^19.0.0",
56
+ "@atlaskit/logo": "^19.1.0",
57
57
  "@atlaskit/lozenge": "^13.0.0",
58
58
  "@atlaskit/menu": "^8.0.0",
59
59
  "@atlaskit/modal-dialog": "^14.2.0",
@@ -255,9 +255,6 @@
255
255
  "cc-ai-linking-platform-snippet-renderer": {
256
256
  "type": "boolean"
257
257
  },
258
- "fun-1765_wire_up_glance_panel_to_smart_cards": {
259
- "type": "boolean"
260
- },
261
258
  "should-render-to-parent-should-be-true-linking-pla": {
262
259
  "type": "boolean"
263
260
  },