@atlaskit/smart-card 45.2.3 → 45.2.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,14 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 45.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7ecbb011395dc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7ecbb011395dc) -
8
+ [ux] Updates jira/confluence icon in smart list footer to have label='' to reduce a11y redudancy
9
+ on icons
10
+ - Updated dependencies
11
+
3
12
  ## 45.2.3
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: "45.2.2" || ''
14
+ packageVersion: "45.2.3" || ''
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -138,7 +138,10 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
138
138
  case _constants.IconType.Confluence:
139
139
  return /*#__PURE__*/_react.default.createElement(_logo.ConfluenceIcon, (0, _extends2.default)({
140
140
  appearance: "brand",
141
- testId: testId,
141
+ testId: testId
142
+ }, (0, _platformFeatureFlags.fg)('billplat_a11y_icon_label_fix') ? {
143
+ label: ''
144
+ } : undefined, {
142
145
  size: size === _constants.SmartLinkSize.Large || size === _constants.SmartLinkSize.XLarge ? 'small' : 'xxsmall'
143
146
  }, (0, _platformFeatureFlags.fg)('navx-1895-new-logo-design') ? {
144
147
  shouldUseNewLogoDesign: true
@@ -146,7 +149,10 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
146
149
  case _constants.IconType.Jira:
147
150
  return /*#__PURE__*/_react.default.createElement(_logo.JiraIcon, (0, _extends2.default)({
148
151
  appearance: "brand",
149
- testId: testId,
152
+ testId: testId
153
+ }, (0, _platformFeatureFlags.fg)('billplat_a11y_icon_label_fix') ? {
154
+ label: ''
155
+ } : undefined, {
150
156
  size: size === _constants.SmartLinkSize.Large || size === _constants.SmartLinkSize.XLarge ? 'small' : 'xxsmall'
151
157
  }, (0, _platformFeatureFlags.fg)('navx-1895-new-logo-design') ? {
152
158
  shouldUseNewLogoDesign: true
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
19
19
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
20
20
  var PACKAGE_DATA = {
21
21
  packageName: "@atlaskit/smart-card",
22
- packageVersion: "45.2.2",
22
+ packageVersion: "45.2.3",
23
23
  componentName: 'linkUrl'
24
24
  };
25
25
  var LinkUrl = function LinkUrl(_ref) {
@@ -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: "45.2.2" || ''
5
+ packageVersion: "45.2.3" || ''
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -117,7 +117,10 @@ const AtlaskitIcon = ({
117
117
  case IconType.Confluence:
118
118
  return /*#__PURE__*/React.createElement(ConfluenceIcon, _extends({
119
119
  appearance: "brand",
120
- testId: testId,
120
+ testId: testId
121
+ }, fg('billplat_a11y_icon_label_fix') ? {
122
+ label: ''
123
+ } : undefined, {
121
124
  size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
122
125
  }, fg('navx-1895-new-logo-design') ? {
123
126
  shouldUseNewLogoDesign: true
@@ -125,7 +128,10 @@ const AtlaskitIcon = ({
125
128
  case IconType.Jira:
126
129
  return /*#__PURE__*/React.createElement(JiraIcon, _extends({
127
130
  appearance: "brand",
128
- testId: testId,
131
+ testId: testId
132
+ }, fg('billplat_a11y_icon_label_fix') ? {
133
+ label: ''
134
+ } : undefined, {
129
135
  size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
130
136
  }, fg('navx-1895-new-logo-design') ? {
131
137
  shouldUseNewLogoDesign: true
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
9
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
10
10
  const PACKAGE_DATA = {
11
11
  packageName: "@atlaskit/smart-card",
12
- packageVersion: "45.2.2",
12
+ packageVersion: "45.2.3",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const LinkUrl = ({
@@ -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: "45.2.2" || ''
7
+ packageVersion: "45.2.3" || ''
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -131,7 +131,10 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
131
131
  case IconType.Confluence:
132
132
  return /*#__PURE__*/React.createElement(ConfluenceIcon, _extends({
133
133
  appearance: "brand",
134
- testId: testId,
134
+ testId: testId
135
+ }, fg('billplat_a11y_icon_label_fix') ? {
136
+ label: ''
137
+ } : undefined, {
135
138
  size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
136
139
  }, fg('navx-1895-new-logo-design') ? {
137
140
  shouldUseNewLogoDesign: true
@@ -139,7 +142,10 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
139
142
  case IconType.Jira:
140
143
  return /*#__PURE__*/React.createElement(JiraIcon, _extends({
141
144
  appearance: "brand",
142
- testId: testId,
145
+ testId: testId
146
+ }, fg('billplat_a11y_icon_label_fix') ? {
147
+ label: ''
148
+ } : undefined, {
143
149
  size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
144
150
  }, fg('navx-1895-new-logo-design') ? {
145
151
  shouldUseNewLogoDesign: true
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  var PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "45.2.2",
15
+ packageVersion: "45.2.3",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var LinkUrl = function LinkUrl(_ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "45.2.3",
3
+ "version": "45.2.4",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -79,7 +79,7 @@
79
79
  "@atlaskit/primitives": "^20.0.0",
80
80
  "@atlaskit/react-ufo": "^7.1.0",
81
81
  "@atlaskit/rovo-triggers": "^9.2.0",
82
- "@atlaskit/section-message": "^9.0.0",
82
+ "@atlaskit/section-message": "^9.1.0",
83
83
  "@atlaskit/select": "^22.1.0",
84
84
  "@atlaskit/spinner": "^20.0.0",
85
85
  "@atlaskit/tag": "^15.0.0",
@@ -87,7 +87,7 @@
87
87
  "@atlaskit/textfield": "^9.0.0",
88
88
  "@atlaskit/theme": "^26.0.0",
89
89
  "@atlaskit/tile": "^2.0.0",
90
- "@atlaskit/tmp-editor-statsig": "^109.2.0",
90
+ "@atlaskit/tmp-editor-statsig": "^109.3.0",
91
91
  "@atlaskit/tokens": "^14.0.0",
92
92
  "@atlaskit/tooltip": "^23.0.0",
93
93
  "@atlaskit/ufo": "^1.0.0",
@@ -239,6 +239,10 @@
239
239
  "platform_navx_smart_link_icon_label_a11y": {
240
240
  "type": "boolean"
241
241
  },
242
+ "billplat_a11y_icon_label_fix": {
243
+ "type": "boolean",
244
+ "referenceOnly": true
245
+ },
242
246
  "platform-dst-lozenge-tag-badge-visual-uplifts": {
243
247
  "type": "boolean"
244
248
  },