@atlaskit/smart-card 23.12.0 → 23.12.2
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 +12 -0
- package/dist/cjs/messages.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/EmbedModal/components/link-info/styled.js +1 -1
- package/dist/es2019/messages.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/EmbedModal/components/link-info/styled.js +1 -0
- package/dist/esm/messages.js +2 -2
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/EmbedModal/components/link-info/styled.js +1 -1
- package/package.json +2 -2
- package/report.api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 23.12.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2c80995745e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c80995745e) - Embed Preview Modal: Fix title alignment causing by global override (margin-bottom)
|
|
8
|
+
|
|
9
|
+
## 23.12.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`59104c1e92f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59104c1e92f) - [ux] Fix message shown in unauthorised Smart Link appearances as per design decision
|
|
14
|
+
|
|
3
15
|
## 23.12.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -85,12 +85,12 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
85
85
|
},
|
|
86
86
|
connect_unauthorised_account_description: {
|
|
87
87
|
id: 'fabric.linking.connect_unauthorised_account_description',
|
|
88
|
-
defaultMessage: 'Connect {context} to Atlassian to view more details
|
|
88
|
+
defaultMessage: 'Connect {context} to Atlassian to view more details of your work and collaborate from one place.',
|
|
89
89
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
90
90
|
},
|
|
91
91
|
connect_unauthorised_account_description_no_provider: {
|
|
92
92
|
id: 'fabric.linking.connect_unauthorised_account_description',
|
|
93
|
-
defaultMessage: 'Connect to Atlassian to view more details
|
|
93
|
+
defaultMessage: 'Connect to Atlassian to view more details of your work and collaborate from one place.',
|
|
94
94
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view and we do not have the providers name.'
|
|
95
95
|
},
|
|
96
96
|
copy_url_to_clipboard: {
|
package/dist/cjs/version.json
CHANGED
|
@@ -19,7 +19,7 @@ var iconSize = '24px';
|
|
|
19
19
|
var iconCss = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n img,\n span,\n svg {\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n }\n"])), iconSize, iconSize, iconSize, iconSize, iconSize, iconSize);
|
|
20
20
|
exports.iconCss = iconCss;
|
|
21
21
|
var height = '20px';
|
|
22
|
-
var titleCss = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n flex: 1 1 auto;\n\n h3 {\n flex: 1 1 auto;\n font-size: 16px;\n font-weight: 400;\n line-height: ", ";\n\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n // Fallback options\n @supports not (-webkit-line-clamp: 1) {\n max-height: ", ";\n }\n }\n"])), height, height);
|
|
22
|
+
var titleCss = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n flex: 1 1 auto;\n\n h3 {\n flex: 1 1 auto;\n font-size: 16px;\n font-weight: 400;\n line-height: ", ";\n\n display: -webkit-box;\n margin-bottom: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n // Fallback options\n @supports not (-webkit-line-clamp: 1) {\n max-height: ", ";\n }\n }\n"])), height, height);
|
|
23
23
|
exports.titleCss = titleCss;
|
|
24
24
|
var actionCss = (0, _react.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex: 0 0 auto;\n gap: 4px;\n line-height: ", ";\n span {\n line-height: ", ";\n }\n\n @media only screen and (max-width: 980px) {\n // Hide resize button if the screen is smaller than the min width\n // or too small to have enough impact to matter.\n .smart-link-resize-button {\n display: none;\n }\n }\n"])), height, height);
|
|
25
25
|
exports.actionCss = actionCss;
|
package/dist/es2019/messages.js
CHANGED
|
@@ -77,12 +77,12 @@ export const messages = defineMessages({
|
|
|
77
77
|
},
|
|
78
78
|
connect_unauthorised_account_description: {
|
|
79
79
|
id: 'fabric.linking.connect_unauthorised_account_description',
|
|
80
|
-
defaultMessage: 'Connect {context} to Atlassian to view more details
|
|
80
|
+
defaultMessage: 'Connect {context} to Atlassian to view more details of your work and collaborate from one place.',
|
|
81
81
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
82
82
|
},
|
|
83
83
|
connect_unauthorised_account_description_no_provider: {
|
|
84
84
|
id: 'fabric.linking.connect_unauthorised_account_description',
|
|
85
|
-
defaultMessage: 'Connect to Atlassian to view more details
|
|
85
|
+
defaultMessage: 'Connect to Atlassian to view more details of your work and collaborate from one place.',
|
|
86
86
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view and we do not have the providers name.'
|
|
87
87
|
},
|
|
88
88
|
copy_url_to_clipboard: {
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/messages.js
CHANGED
|
@@ -77,12 +77,12 @@ export var messages = defineMessages({
|
|
|
77
77
|
},
|
|
78
78
|
connect_unauthorised_account_description: {
|
|
79
79
|
id: 'fabric.linking.connect_unauthorised_account_description',
|
|
80
|
-
defaultMessage: 'Connect {context} to Atlassian to view more details
|
|
80
|
+
defaultMessage: 'Connect {context} to Atlassian to view more details of your work and collaborate from one place.',
|
|
81
81
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
82
82
|
},
|
|
83
83
|
connect_unauthorised_account_description_no_provider: {
|
|
84
84
|
id: 'fabric.linking.connect_unauthorised_account_description',
|
|
85
|
-
defaultMessage: 'Connect to Atlassian to view more details
|
|
85
|
+
defaultMessage: 'Connect to Atlassian to view more details of your work and collaborate from one place.',
|
|
86
86
|
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view and we do not have the providers name.'
|
|
87
87
|
},
|
|
88
88
|
copy_url_to_clipboard: {
|
package/dist/esm/version.json
CHANGED
|
@@ -7,5 +7,5 @@ export var containerStyles = css(_templateObject || (_templateObject = _taggedTe
|
|
|
7
7
|
var iconSize = '24px';
|
|
8
8
|
export var iconCss = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n img,\n span,\n svg {\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n }\n"])), iconSize, iconSize, iconSize, iconSize, iconSize, iconSize);
|
|
9
9
|
var height = '20px';
|
|
10
|
-
export var titleCss = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex: 1 1 auto;\n\n h3 {\n flex: 1 1 auto;\n font-size: 16px;\n font-weight: 400;\n line-height: ", ";\n\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n // Fallback options\n @supports not (-webkit-line-clamp: 1) {\n max-height: ", ";\n }\n }\n"])), height, height);
|
|
10
|
+
export var titleCss = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex: 1 1 auto;\n\n h3 {\n flex: 1 1 auto;\n font-size: 16px;\n font-weight: 400;\n line-height: ", ";\n\n display: -webkit-box;\n margin-bottom: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n // Fallback options\n @supports not (-webkit-line-clamp: 1) {\n max-height: ", ";\n }\n }\n"])), height, height);
|
|
11
11
|
export var actionCss = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n flex: 0 0 auto;\n gap: 4px;\n line-height: ", ";\n span {\n line-height: ", ";\n }\n\n @media only screen and (max-width: 980px) {\n // Hide resize button if the screen is smaller than the min width\n // or too small to have enough impact to matter.\n .smart-link-resize-button {\n display: none;\n }\n }\n"])), height, height);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "23.12.
|
|
3
|
+
"version": "23.12.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"uuid": "^3.1.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@atlaskit/link-provider": "^1.3.
|
|
61
|
+
"@atlaskit/link-provider": "^1.3.8",
|
|
62
62
|
"react": "^16.8.0",
|
|
63
63
|
"react-dom": "^16.8.0",
|
|
64
64
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
package/report.api.md
CHANGED