@atlaskit/smart-card 38.1.2 → 38.1.4

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,17 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 38.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 38.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 38.1.2
4
16
 
5
17
  ### Patch Changes
package/compass.yml CHANGED
@@ -1,32 +1,41 @@
1
- name: Linking Platform - Smart Card
2
- id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/37b0c35b-cb07-487e-a5cc-4163251423e3'
3
- description: Smart card component
1
+ id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/c9898540-33b1-4cd4-9399-16e575bcedae'
2
+ name: '@atlaskit/smart-card'
3
+ description: |-
4
+ This is a React component library that provides the UI and functionality for displaying Smart Links—enriched link previews that show contextual information about URLs from Atlassian products (like Jira, Confluence, Trello) and popular third-party services (such as GitHub, Google Drive, and more).
5
+ When a supported link is pasted or inserted, the Smart Card component fetches and displays rich metadata, such as titles, thumbnails, status, and actions, offering a more informative and interactive experience than plain hyperlinks.
4
6
  configVersion: 1
5
- typeId: UI_ELEMENT
6
- ownerId: 'ari:cloud:teams::team/25e5b679-2a57-4fce-b749-5504e84d6799'
7
+ typeId: LIBRARY
8
+ ownerId: 'ari:cloud:identity::team/9683a6ac-2d3f-44c8-a0fe-56128ca69e20'
7
9
  fields:
8
- tier: 2
10
+ tier: 4
11
+ lifecycle: Active
12
+ isMonorepoProject: true
13
+ labels:
14
+ - atlassian-platform
9
15
  links:
10
- - name: null
11
- type: REPOSITORY
12
- url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/linking-platform/smart-card/'
16
+ - name: Bandicoots
17
+ type: PROJECT
18
+ url: 'https://product-fabric.atlassian.net/jira/software/c/projects/EDM/boards/5176'
13
19
  - name: '#help-twg-linking-platform'
14
20
  type: CHAT_CHANNEL
15
21
  url: 'https://atlassian.enterprise.slack.com/archives/CFKGAQZRV'
16
- - name: ''
22
+ - name: 'On-Call Schedule'
17
23
  type: ON_CALL
18
24
  url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b9c8b313-dd6d-4a41-8eeb-d7a9df55be9d'
19
- - name: ''
20
- type: DOCUMENT
21
- url: 'https://hello.atlassian.net/wiki/spaces/TWPLP/overview'
22
- - name: ''
23
- type: PROJECT
24
- url: 'https://product-fabric.atlassian.net/jira/software/c/projects/EDM/boards/893'
25
- - name: ''
26
- type: DASHBOARD
27
- url: 'https://atlassian.signalfx.com/#/dashboard/EXwrMgYAwAA?groupId=EXwtbIrA4AA&configId=EXwrNLcA4AA'
25
+ - name: source code
26
+ type: REPOSITORY
27
+ url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/linking-platform/smart-card'
28
+ customFields:
29
+ - name: 'FinOps_COGS_Cost_Center'
30
+ type: single_select
31
+ value: 'a681c808-9c58-45e5-9b3a-b5cc330c4b3a'
32
+ - name: 'FinOps_R&D_Cost_Center'
33
+ type: single_select
34
+ value: 'd9c71b12-1c77-4c68-a769-ba0e26bc8cac'
35
+ - name: 'FinOps_Service_Group'
36
+ type: single_select
37
+ value: '9120e03c-440b-489d-ac42-07903a2c611d'
38
+ - name: 'business-unit'
39
+ type: text
40
+ value: 'Eng - X Product Collab'
28
41
  relationships: {}
29
- labels:
30
- - atlassian-platform
31
- # Learn more about formatting compass.yml:
32
- # https://go.atlassian.com/compass-yml-format
@@ -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.1.2"
14
+ packageVersion: "38.1.4"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -33,7 +33,7 @@ var EmbedContent = function EmbedContent(_ref) {
33
33
  'data-testid': "".concat(testId, "-embed")
34
34
  };
35
35
  return /*#__PURE__*/React.createElement(_IFrame.IFrame, (0, _extends2.default)({}, (0, _platformFeatureFlags.fg)('platform-linking-fix-a11y-in-smart-card') ? {
36
- "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : "".concat(testId, "-embed")
36
+ 'aria-label': ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : "".concat(testId, "-embed")
37
37
  } : {}, props, {
38
38
  className: (0, _runtime.ax)(["_1bsb1osq _4t3i815d"])
39
39
  }));
@@ -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.1.2",
23
+ packageVersion: "38.1.4",
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.1.2"
5
+ packageVersion: "38.1.4"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,7 +4,7 @@ import "./index.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { di } from 'react-magnetic-di';
7
- import { fg } from "@atlaskit/platform-feature-flags";
7
+ import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { getIframeSandboxAttribute } from '../../../../utils';
9
9
  import { IFrame } from '../../../EmbedCard/components/IFrame';
10
10
  const iframeCss = null;
@@ -24,7 +24,7 @@ const EmbedContent = ({
24
24
  'data-testid': `${testId}-embed`
25
25
  };
26
26
  return /*#__PURE__*/React.createElement(IFrame, _extends({}, fg('platform-linking-fix-a11y-in-smart-card') ? {
27
- "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : `${testId}-embed`
27
+ 'aria-label': ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : `${testId}-embed`
28
28
  } : {}, props, {
29
29
  className: ax(["_1bsb1osq _4t3i815d"])
30
30
  }));
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useCallback, useRef, useState } from 'react';
3
3
  import ModalDialog, { ModalBody, ModalTransition } from '@atlaskit/modal-dialog';
4
- import { fg } from "@atlaskit/platform-feature-flags";
4
+ import { fg } from '@atlaskit/platform-feature-flags';
5
5
  import { useThemeObserver } from '@atlaskit/tokens';
6
6
  import { SmartLinkSize } from '../../constants';
7
7
  import useInvokeClientAction from '../../state/hooks/use-invoke-client-action';
@@ -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.1.2",
13
+ packageVersion: "38.1.4",
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.1.2"
7
+ packageVersion: "38.1.4"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,7 +4,7 @@ import "./index.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { di } from 'react-magnetic-di';
7
- import { fg } from "@atlaskit/platform-feature-flags";
7
+ import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { getIframeSandboxAttribute } from '../../../../utils';
9
9
  import { IFrame } from '../../../EmbedCard/components/IFrame';
10
10
  var iframeCss = null;
@@ -23,7 +23,7 @@ var EmbedContent = function EmbedContent(_ref) {
23
23
  'data-testid': "".concat(testId, "-embed")
24
24
  };
25
25
  return /*#__PURE__*/React.createElement(IFrame, _extends({}, fg('platform-linking-fix-a11y-in-smart-card') ? {
26
- "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : "".concat(testId, "-embed")
26
+ 'aria-label': ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : "".concat(testId, "-embed")
27
27
  } : {}, props, {
28
28
  className: ax(["_1bsb1osq _4t3i815d"])
29
29
  }));
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import React, { useCallback, useRef, useState } from 'react';
4
4
  import ModalDialog, { ModalBody, ModalTransition } from '@atlaskit/modal-dialog';
5
- import { fg } from "@atlaskit/platform-feature-flags";
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
6
  import { useThemeObserver } from '@atlaskit/tokens';
7
7
  import { SmartLinkSize } from '../../constants';
8
8
  import useInvokeClientAction from '../../state/hooks/use-invoke-client-action';
@@ -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.1.2",
16
+ packageVersion: "38.1.4",
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.1.2",
3
+ "version": "38.1.4",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/button": "^23.0.0",
36
36
  "@atlaskit/checkbox": "^17.1.0",
37
37
  "@atlaskit/css": "^0.10.0",
38
- "@atlaskit/dropdown-menu": "^14.2.0",
38
+ "@atlaskit/dropdown-menu": "^15.0.0",
39
39
  "@atlaskit/form": "^12.0.0",
40
40
  "@atlaskit/frontend-utilities": "^3.0.0",
41
41
  "@atlaskit/heading": "^5.2.0",
@@ -55,14 +55,14 @@
55
55
  "@atlaskit/linking-types": "^9.10.0",
56
56
  "@atlaskit/logo": "^18.0.0",
57
57
  "@atlaskit/lozenge": "^12.2.0",
58
- "@atlaskit/menu": "^5.0.0",
58
+ "@atlaskit/menu": "^7.0.0",
59
59
  "@atlaskit/modal-dialog": "^14.2.0",
60
60
  "@atlaskit/outbound-auth-flow-client": "^3.4.0",
61
61
  "@atlaskit/platform-feature-flags": "^1.1.0",
62
62
  "@atlaskit/popup": "^4.2.0",
63
63
  "@atlaskit/primitives": "^14.7.0",
64
64
  "@atlaskit/section-message": "^8.2.0",
65
- "@atlaskit/select": "^20.4.0",
65
+ "@atlaskit/select": "^20.5.0",
66
66
  "@atlaskit/spinner": "^18.0.0",
67
67
  "@atlaskit/textarea": "^8.0.0",
68
68
  "@atlaskit/textfield": "^8.0.0",
@@ -97,7 +97,7 @@
97
97
  "@atlaskit/css-reset": "^7.2.0",
98
98
  "@atlaskit/link-test-helpers": "^8.0.0",
99
99
  "@atlaskit/media-test-helpers": "^36.0.0",
100
- "@atlaskit/react-ufo": "^3.12.0",
100
+ "@atlaskit/react-ufo": "^3.13.0",
101
101
  "@atlaskit/ssr": "workspace:^",
102
102
  "@atlaskit/visual-regression": "workspace:^",
103
103
  "@atlassian/analytics-tooling": "^0.5.0",