@atlaskit/smart-card 43.24.6 → 43.24.8

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/smart-card
2
2
 
3
+ ## 43.24.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3e1114193b30c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e1114193b30c) -
8
+ Added QUEUED TO MERGE state in LinkPullRequestState type and updated respective lozenge color in
9
+ smart-card package
10
+
11
+ ## 43.24.7
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 43.24.6
4
18
 
5
19
  ### Patch Changes
@@ -14,6 +14,7 @@ var VALID_STATES = exports.VALID_STATES = {
14
14
  declined: 'removed',
15
15
  closed: 'success',
16
16
  draft: 'inprogress',
17
- archived: 'default'
17
+ archived: 'default',
18
+ 'queued to merge': 'moved'
18
19
  };
19
20
  var OMIT_STATES = exports.OMIT_STATES = ['current'];
@@ -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: "43.24.5"
14
+ packageVersion: "43.24.7"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
22
22
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
23
23
  var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "43.24.5",
25
+ packageVersion: "43.24.7",
26
26
  componentName: 'linkUrl'
27
27
  };
28
28
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -8,6 +8,7 @@ export const VALID_STATES = {
8
8
  declined: 'removed',
9
9
  closed: 'success',
10
10
  draft: 'inprogress',
11
- archived: 'default'
11
+ archived: 'default',
12
+ 'queued to merge': 'moved'
12
13
  };
13
14
  export const OMIT_STATES = ['current'];
@@ -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: "43.24.5"
5
+ packageVersion: "43.24.7"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  const PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "43.24.5",
15
+ packageVersion: "43.24.7",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  const Anchor = withLinkClickedEvent('a');
@@ -8,6 +8,7 @@ export var VALID_STATES = {
8
8
  declined: 'removed',
9
9
  closed: 'success',
10
10
  draft: 'inprogress',
11
- archived: 'default'
11
+ archived: 'default',
12
+ 'queued to merge': 'moved'
12
13
  };
13
14
  export var OMIT_STATES = ['current'];
@@ -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: "43.24.5"
7
+ packageVersion: "43.24.7"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
15
15
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
16
16
  var PACKAGE_DATA = {
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "43.24.5",
18
+ packageVersion: "43.24.7",
19
19
  componentName: 'linkUrl'
20
20
  };
21
21
  var Anchor = withLinkClickedEvent('a');
@@ -11,6 +11,6 @@ export interface LinkLozenge {
11
11
  text: string;
12
12
  }
13
13
  export type LinkDocumentState = 'archived' | 'draft' | 'current';
14
- export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed';
14
+ export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed' | 'queued to merge';
15
15
  export type LinkState = LinkDocumentState & LinkPullRequestState;
16
16
  export type LinkStateType = JsonLd.Data.Document | JsonLd.Data.SourceCodePullRequest | JsonLd.Data.Project | JsonLd.Data.Goal;
@@ -11,6 +11,6 @@ export interface LinkLozenge {
11
11
  text: string;
12
12
  }
13
13
  export type LinkDocumentState = 'archived' | 'draft' | 'current';
14
- export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed';
14
+ export type LinkPullRequestState = 'open' | 'merged' | 'declined' | 'closed' | 'queued to merge';
15
15
  export type LinkState = LinkDocumentState & LinkPullRequestState;
16
16
  export type LinkStateType = JsonLd.Data.Document | JsonLd.Data.SourceCodePullRequest | JsonLd.Data.Project | JsonLd.Data.Goal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "43.24.6",
3
+ "version": "43.24.8",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -65,7 +65,7 @@
65
65
  "@atlaskit/popup": "^4.13.0",
66
66
  "@atlaskit/primitives": "^18.0.0",
67
67
  "@atlaskit/react-ufo": "^5.2.0",
68
- "@atlaskit/rovo-triggers": "^5.13.0",
68
+ "@atlaskit/rovo-triggers": "^5.14.0",
69
69
  "@atlaskit/section-message": "^8.12.0",
70
70
  "@atlaskit/select": "^21.7.0",
71
71
  "@atlaskit/spinner": "^19.0.0",
@@ -73,7 +73,7 @@
73
73
  "@atlaskit/textfield": "^8.2.0",
74
74
  "@atlaskit/theme": "^21.0.0",
75
75
  "@atlaskit/tile": "^1.0.0",
76
- "@atlaskit/tmp-editor-statsig": "^24.1.0",
76
+ "@atlaskit/tmp-editor-statsig": "^25.2.0",
77
77
  "@atlaskit/tokens": "^11.0.0",
78
78
  "@atlaskit/tooltip": "^20.14.0",
79
79
  "@atlaskit/ufo": "^0.4.0",