@atlaskit/smart-card 43.1.2 → 43.1.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,12 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 43.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2c3e300807c81`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c3e300807c81) -
8
+ NAVX-1902 cleaning up `navx-1842-sl-unnecessary-textual-description-for-decorative-images`
9
+
3
10
  ## 43.1.2
4
11
 
5
12
  ### 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: "0.0.0-development"
14
+ packageVersion: "43.1.2"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -98,15 +98,14 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
98
98
  }, /*#__PURE__*/React.createElement("span", null, text), /*#__PURE__*/React.createElement(_compiled.Box, {
99
99
  as: "span",
100
100
  xcss: styles.chevronDown
101
- }, /*#__PURE__*/React.createElement(_chevronDown.default, (0, _extends2.default)({
101
+ }, /*#__PURE__*/React.createElement(_chevronDown.default, {
102
102
  color: "currentColor",
103
103
  label: "options",
104
104
  LEGACY_size: "medium",
105
105
  LEGACY_margin: "-4px -8px -4px -7px",
106
- size: "small"
107
- }, (0, _platformFeatureFlags.fg)('navx-1842-hiding-unnecessary-image-descriptions') ? {
108
- 'aria-hidden': true
109
- } : {}))))));
106
+ size: "small",
107
+ "aria-hidden": true
108
+ })))));
110
109
  }, [appearance, isHovering, isPressing, text, isOpen, lozengeBackgroundColor, lozengeForegroundColor]);
111
110
  return /*#__PURE__*/React.createElement("button", (0, _extends2.default)({
112
111
  type: "button"
@@ -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: "0.0.0-development",
25
+ packageVersion: "43.1.2",
26
26
  componentName: 'linkUrl'
27
27
  };
28
28
  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: "0.0.0-development"
5
+ packageVersion: "43.1.2"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -68,15 +68,14 @@ const LozengeActionTrigger = ({
68
68
  }, /*#__PURE__*/React.createElement("span", null, text), /*#__PURE__*/React.createElement(Box, {
69
69
  as: "span",
70
70
  xcss: styles.chevronDown
71
- }, /*#__PURE__*/React.createElement(ChevronDownIcon, _extends({
71
+ }, /*#__PURE__*/React.createElement(ChevronDownIcon, {
72
72
  color: "currentColor",
73
73
  label: "options",
74
74
  LEGACY_size: "medium",
75
75
  LEGACY_margin: "-4px -8px -4px -7px",
76
- size: "small"
77
- }, fg('navx-1842-hiding-unnecessary-image-descriptions') ? {
78
- 'aria-hidden': true
79
- } : {}))))));
76
+ size: "small",
77
+ "aria-hidden": true
78
+ })))));
80
79
  }, [appearance, isHovering, isPressing, text, isOpen, lozengeBackgroundColor, lozengeForegroundColor]);
81
80
  return /*#__PURE__*/React.createElement("button", _extends({
82
81
  type: "button"
@@ -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: "0.0.0-development",
15
+ packageVersion: "43.1.2",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  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: "0.0.0-development"
7
+ packageVersion: "43.1.2"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -90,15 +90,14 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
90
90
  }, /*#__PURE__*/React.createElement("span", null, text), /*#__PURE__*/React.createElement(Box, {
91
91
  as: "span",
92
92
  xcss: styles.chevronDown
93
- }, /*#__PURE__*/React.createElement(ChevronDownIcon, _extends({
93
+ }, /*#__PURE__*/React.createElement(ChevronDownIcon, {
94
94
  color: "currentColor",
95
95
  label: "options",
96
96
  LEGACY_size: "medium",
97
97
  LEGACY_margin: "-4px -8px -4px -7px",
98
- size: "small"
99
- }, fg('navx-1842-hiding-unnecessary-image-descriptions') ? {
100
- 'aria-hidden': true
101
- } : {}))))));
98
+ size: "small",
99
+ "aria-hidden": true
100
+ })))));
102
101
  }, [appearance, isHovering, isPressing, text, isOpen, lozengeBackgroundColor, lozengeForegroundColor]);
103
102
  return /*#__PURE__*/React.createElement("button", _extends({
104
103
  type: "button"
@@ -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: "0.0.0-development",
18
+ packageVersion: "43.1.2",
19
19
  componentName: 'linkUrl'
20
20
  };
21
21
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "43.1.2",
3
+ "version": "43.1.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -226,9 +226,6 @@
226
226
  "navx-1706-smart-link-layered-link-a11y-update": {
227
227
  "type": "boolean"
228
228
  },
229
- "navx-1842-hiding-unnecessary-image-descriptions": {
230
- "type": "boolean"
231
- },
232
229
  "hover-card-on-visibility-change-callback": {
233
230
  "type": "boolean"
234
231
  },