@atlaskit/smart-card 46.7.8 → 46.8.1
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 +19 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +8 -12
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +8 -12
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +8 -12
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +5 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 46.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c42a7e002d68c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c42a7e002d68c) -
|
|
8
|
+
Remove the released billplat_a11y_icon_label_fix gate and always give Confluence and Jira
|
|
9
|
+
decorative icons an empty label.
|
|
10
|
+
|
|
11
|
+
## 46.8.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`366c86f823ba6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/366c86f823ba6) -
|
|
16
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 46.7.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -25,7 +25,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
25
25
|
var context = exports.context = {
|
|
26
26
|
componentName: 'smart-cards',
|
|
27
27
|
packageName: "@atlaskit/smart-card" || '',
|
|
28
|
-
packageVersion: "46.
|
|
28
|
+
packageVersion: "46.8.0" || ''
|
|
29
29
|
};
|
|
30
30
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
31
31
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -148,23 +148,19 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
|
|
|
148
148
|
}
|
|
149
149
|
switch (icon) {
|
|
150
150
|
case _constants.IconType.Confluence:
|
|
151
|
-
return /*#__PURE__*/_react.default.createElement(_confluenceIcon.ConfluenceIcon,
|
|
151
|
+
return /*#__PURE__*/_react.default.createElement(_confluenceIcon.ConfluenceIcon, {
|
|
152
152
|
appearance: "brand",
|
|
153
|
-
testId: testId
|
|
154
|
-
|
|
155
|
-
label: ''
|
|
156
|
-
} : undefined, {
|
|
153
|
+
testId: testId,
|
|
154
|
+
label: "",
|
|
157
155
|
size: size === _constants.SmartLinkSize.Large || size === _constants.SmartLinkSize.XLarge ? 'small' : 'xxsmall'
|
|
158
|
-
})
|
|
156
|
+
});
|
|
159
157
|
case _constants.IconType.Jira:
|
|
160
|
-
return /*#__PURE__*/_react.default.createElement(_jiraIcon.JiraIcon,
|
|
158
|
+
return /*#__PURE__*/_react.default.createElement(_jiraIcon.JiraIcon, {
|
|
161
159
|
appearance: "brand",
|
|
162
|
-
testId: testId
|
|
163
|
-
|
|
164
|
-
label: ''
|
|
165
|
-
} : undefined, {
|
|
160
|
+
testId: testId,
|
|
161
|
+
label: "",
|
|
166
162
|
size: size === _constants.SmartLinkSize.Large || size === _constants.SmartLinkSize.XLarge ? 'small' : 'xxsmall'
|
|
167
|
-
})
|
|
163
|
+
});
|
|
168
164
|
case _constants.IconType.Error:
|
|
169
165
|
case _constants.IconType.Forbidden:
|
|
170
166
|
return /*#__PURE__*/_react.default.createElement(ImportedIcon, {
|
|
@@ -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: "46.
|
|
22
|
+
packageVersion: "46.8.0",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card" || '',
|
|
7
|
-
packageVersion: "46.
|
|
7
|
+
packageVersion: "46.8.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -127,23 +127,19 @@ const AtlaskitIcon = ({
|
|
|
127
127
|
}
|
|
128
128
|
switch (icon) {
|
|
129
129
|
case IconType.Confluence:
|
|
130
|
-
return /*#__PURE__*/React.createElement(ConfluenceIcon,
|
|
130
|
+
return /*#__PURE__*/React.createElement(ConfluenceIcon, {
|
|
131
131
|
appearance: "brand",
|
|
132
|
-
testId: testId
|
|
133
|
-
|
|
134
|
-
label: ''
|
|
135
|
-
} : undefined, {
|
|
132
|
+
testId: testId,
|
|
133
|
+
label: "",
|
|
136
134
|
size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
|
|
137
|
-
})
|
|
135
|
+
});
|
|
138
136
|
case IconType.Jira:
|
|
139
|
-
return /*#__PURE__*/React.createElement(JiraIcon,
|
|
137
|
+
return /*#__PURE__*/React.createElement(JiraIcon, {
|
|
140
138
|
appearance: "brand",
|
|
141
|
-
testId: testId
|
|
142
|
-
|
|
143
|
-
label: ''
|
|
144
|
-
} : undefined, {
|
|
139
|
+
testId: testId,
|
|
140
|
+
label: "",
|
|
145
141
|
size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
|
|
146
|
-
})
|
|
142
|
+
});
|
|
147
143
|
case IconType.Error:
|
|
148
144
|
case IconType.Forbidden:
|
|
149
145
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
@@ -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: "46.
|
|
12
|
+
packageVersion: "46.8.0",
|
|
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: "46.
|
|
7
|
+
packageVersion: "46.8.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -141,23 +141,19 @@ var AtlaskitIcon = function AtlaskitIcon(_ref) {
|
|
|
141
141
|
}
|
|
142
142
|
switch (icon) {
|
|
143
143
|
case IconType.Confluence:
|
|
144
|
-
return /*#__PURE__*/React.createElement(ConfluenceIcon,
|
|
144
|
+
return /*#__PURE__*/React.createElement(ConfluenceIcon, {
|
|
145
145
|
appearance: "brand",
|
|
146
|
-
testId: testId
|
|
147
|
-
|
|
148
|
-
label: ''
|
|
149
|
-
} : undefined, {
|
|
146
|
+
testId: testId,
|
|
147
|
+
label: "",
|
|
150
148
|
size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
|
|
151
|
-
})
|
|
149
|
+
});
|
|
152
150
|
case IconType.Jira:
|
|
153
|
-
return /*#__PURE__*/React.createElement(JiraIcon,
|
|
151
|
+
return /*#__PURE__*/React.createElement(JiraIcon, {
|
|
154
152
|
appearance: "brand",
|
|
155
|
-
testId: testId
|
|
156
|
-
|
|
157
|
-
label: ''
|
|
158
|
-
} : undefined, {
|
|
153
|
+
testId: testId,
|
|
154
|
+
label: "",
|
|
159
155
|
size: size === SmartLinkSize.Large || size === SmartLinkSize.XLarge ? 'small' : 'xxsmall'
|
|
160
|
-
})
|
|
156
|
+
});
|
|
161
157
|
case IconType.Error:
|
|
162
158
|
case IconType.Forbidden:
|
|
163
159
|
return /*#__PURE__*/React.createElement(ImportedIcon, {
|
|
@@ -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: "46.
|
|
15
|
+
packageVersion: "46.8.0",
|
|
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": "46.
|
|
3
|
+
"version": "46.8.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/adf-utils": "^20.9.0",
|
|
42
|
-
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.
|
|
42
|
+
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.288.0",
|
|
43
43
|
"@atlaskit/analytics-cross-product": "^2.3.0",
|
|
44
44
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
57
57
|
"@atlaskit/flag": "^19.0.0",
|
|
58
58
|
"@atlaskit/form": "^18.2.0",
|
|
59
|
-
"@atlaskit/frontend-utilities": "^5.
|
|
59
|
+
"@atlaskit/frontend-utilities": "^5.1.0",
|
|
60
60
|
"@atlaskit/heading": "^8.0.0",
|
|
61
61
|
"@atlaskit/icon": "^38.0.0",
|
|
62
62
|
"@atlaskit/icon-file-type": "^8.3.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@atlaskit/popup": "^10.0.0",
|
|
84
84
|
"@atlaskit/primitives": "^22.6.0",
|
|
85
85
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
86
|
-
"@atlaskit/react-ufo": "^8.
|
|
86
|
+
"@atlaskit/react-ufo": "^8.2.0",
|
|
87
87
|
"@atlaskit/rovo-triggers": "^12.8.0",
|
|
88
88
|
"@atlaskit/section-message": "^10.2.0",
|
|
89
89
|
"@atlaskit/select": "^23.1.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@atlaskit/tmp-editor-statsig": "^246.0.0",
|
|
98
98
|
"@atlaskit/tokens": "^20.7.0",
|
|
99
99
|
"@atlaskit/tooltip": "^24.4.0",
|
|
100
|
-
"@atlaskit/top-layer": "^6.
|
|
100
|
+
"@atlaskit/top-layer": "^6.7.0",
|
|
101
101
|
"@atlaskit/ufo": "^2.0.0",
|
|
102
102
|
"@atlaskit/width-detector": "^7.2.0",
|
|
103
103
|
"@babel/runtime": "^7.0.0",
|
|
@@ -220,10 +220,6 @@
|
|
|
220
220
|
"platform_lp_non_bold_large_sl_icon": {
|
|
221
221
|
"type": "boolean"
|
|
222
222
|
},
|
|
223
|
-
"billplat_a11y_icon_label_fix": {
|
|
224
|
-
"type": "boolean",
|
|
225
|
-
"referenceOnly": true
|
|
226
|
-
},
|
|
227
223
|
"platform-dst-lozenge-tag-badge-visual-uplifts": {
|
|
228
224
|
"type": "boolean"
|
|
229
225
|
},
|