@atlaskit/smart-card 36.1.0 → 36.2.0

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
+ ## 36.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#129557](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129557)
8
+ [`d9a93c1c21746`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d9a93c1c21746) -
9
+ [ux] EDM-11945 fixing color contrast a11y violations in smart-card by updating examples and text
10
+ color for pending state
11
+
3
12
  ## 36.1.0
4
13
 
5
14
  ### Minor 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: "36.1.0"
14
+ packageVersion: "36.2.0"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "36.1.0",
23
+ packageVersion: "36.2.0",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -45,6 +45,11 @@ var UnauthorisedViewContent = function UnauthorisedViewContent(_ref) {
45
45
  target: "_blank",
46
46
  "data-testid": "".concat(testId, "-learn-more"),
47
47
  onClick: handleLearnMoreClick
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
49
+ ,
50
+ style: {
51
+ textDecoration: 'underline'
52
+ }
48
53
  }, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, learnMoreMessage)));
49
54
  };
50
55
  var _default = exports.default = UnauthorisedViewContent;
@@ -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: "36.1.0"
5
+ packageVersion: "36.2.0"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "36.1.0",
13
+ packageVersion: "36.2.0",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -36,6 +36,11 @@ const UnauthorisedViewContent = ({
36
36
  target: "_blank",
37
37
  "data-testid": `${testId}-learn-more`,
38
38
  onClick: handleLearnMoreClick
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
40
+ ,
41
+ style: {
42
+ textDecoration: 'underline'
43
+ }
39
44
  }, /*#__PURE__*/React.createElement(FormattedMessage, learnMoreMessage)));
40
45
  };
41
46
  export default UnauthorisedViewContent;
@@ -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: "36.1.0"
7
+ packageVersion: "36.2.0"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "36.1.0",
16
+ packageVersion: "36.2.0",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
@@ -35,6 +35,11 @@ var UnauthorisedViewContent = function UnauthorisedViewContent(_ref) {
35
35
  target: "_blank",
36
36
  "data-testid": "".concat(testId, "-learn-more"),
37
37
  onClick: handleLearnMoreClick
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
39
+ ,
40
+ style: {
41
+ textDecoration: 'underline'
42
+ }
38
43
  }, /*#__PURE__*/React.createElement(FormattedMessage, learnMoreMessage)));
39
44
  };
40
45
  export default UnauthorisedViewContent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "36.1.0",
3
+ "version": "36.2.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -101,7 +101,7 @@
101
101
  "@atlaskit/visual-regression": "^0.10.0",
102
102
  "@atlassian/analytics-tooling": "^0.5.0",
103
103
  "@atlassian/feature-flags-test-utils": "^0.3.0",
104
- "@atlassian/gemini": "^1.16.0",
104
+ "@atlassian/gemini": "^1.17.0",
105
105
  "@testing-library/dom": "^10.1.0",
106
106
  "@testing-library/jest-dom": "^6.4.5",
107
107
  "@testing-library/react": "^13.4.0",