@atlaskit/smart-card 45.8.4 → 45.8.5
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 +6 -0
- package/dist/cjs/common/ui/icons/utils.js +3 -5
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/common/ui/icons/utils.js +0 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/common/ui/icons/utils.js +3 -5
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.transformSmartLinkSizeToIconTileSize = exports.renderIconTile = exports.renderIconPerSize = void 0;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
8
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
11
|
var _react = _interopRequireDefault(require("react"));
|
|
@@ -13,8 +14,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
13
14
|
var _constants = require("../../../constants");
|
|
14
15
|
var _utils = require("../../../utils");
|
|
15
16
|
var _excluded = ["size"],
|
|
16
|
-
_excluded2 = ["size", "isTiledIcon"]
|
|
17
|
-
_excluded3 = ["shape", "UNSAFE_circleReplacementComponent"];
|
|
17
|
+
_excluded2 = ["size", "isTiledIcon"];
|
|
18
18
|
/**
|
|
19
19
|
* Maps IconTile appearance to the icon glyph color token to use when rendering
|
|
20
20
|
* a standalone icon (without a tile background).
|
|
@@ -108,9 +108,7 @@ var renderIconTile = exports.renderIconTile = function renderIconTile(Icon, appe
|
|
|
108
108
|
label: ""
|
|
109
109
|
}));
|
|
110
110
|
}
|
|
111
|
-
var
|
|
112
|
-
_unsafe = props.UNSAFE_circleReplacementComponent,
|
|
113
|
-
tileProps = (0, _objectWithoutProperties2.default)(props, _excluded3);
|
|
111
|
+
var tileProps = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(props), props));
|
|
114
112
|
return /*#__PURE__*/_react.default.createElement(_icon.IconTile, (0, _extends2.default)({
|
|
115
113
|
appearance: appearance,
|
|
116
114
|
icon: isTiledIcon ? function (iconProps) {
|
|
@@ -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.8.
|
|
14
|
+
packageVersion: "45.8.4" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -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.8.
|
|
22
|
+
packageVersion: "45.8.4",
|
|
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.8.
|
|
5
|
+
packageVersion: "45.8.4" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -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.8.
|
|
12
|
+
packageVersion: "45.8.4",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
4
|
var _excluded = ["size"],
|
|
4
|
-
_excluded2 = ["size", "isTiledIcon"]
|
|
5
|
-
_excluded3 = ["shape", "UNSAFE_circleReplacementComponent"];
|
|
5
|
+
_excluded2 = ["size", "isTiledIcon"];
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -101,9 +101,7 @@ export var renderIconTile = function renderIconTile(Icon, appearance) {
|
|
|
101
101
|
label: ""
|
|
102
102
|
}));
|
|
103
103
|
}
|
|
104
|
-
var
|
|
105
|
-
_unsafe = props.UNSAFE_circleReplacementComponent,
|
|
106
|
-
tileProps = _objectWithoutProperties(props, _excluded3);
|
|
104
|
+
var tileProps = _extends({}, (_objectDestructuringEmpty(props), props));
|
|
107
105
|
return /*#__PURE__*/React.createElement(IconTile, _extends({
|
|
108
106
|
appearance: appearance,
|
|
109
107
|
icon: isTiledIcon ? function (iconProps) {
|
|
@@ -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.8.
|
|
7
|
+
packageVersion: "45.8.4" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -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.8.
|
|
15
|
+
packageVersion: "45.8.4",
|
|
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.8.
|
|
3
|
+
"version": "45.8.5",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/form": "^16.1.0",
|
|
55
55
|
"@atlaskit/frontend-utilities": "^4.1.0",
|
|
56
56
|
"@atlaskit/heading": "^6.2.0",
|
|
57
|
-
"@atlaskit/icon": "^
|
|
57
|
+
"@atlaskit/icon": "^37.0.0",
|
|
58
58
|
"@atlaskit/icon-file-type": "^8.1.0",
|
|
59
59
|
"@atlaskit/icon-lab": "^7.3.0",
|
|
60
60
|
"@atlaskit/image": "^4.1.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/linking-types": "^15.0.0",
|
|
69
69
|
"@atlaskit/logo": "^21.4.0",
|
|
70
70
|
"@atlaskit/lozenge": "^14.1.0",
|
|
71
|
-
"@atlaskit/menu": "^9.
|
|
71
|
+
"@atlaskit/menu": "^9.2.0",
|
|
72
72
|
"@atlaskit/modal-dialog": "^16.1.0",
|
|
73
73
|
"@atlaskit/motion": "^7.3.0",
|
|
74
74
|
"@atlaskit/object": "^2.2.0",
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
"@atlaskit/primitives": "^20.5.0",
|
|
80
80
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
81
81
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
82
|
-
"@atlaskit/rovo-triggers": "^9.
|
|
82
|
+
"@atlaskit/rovo-triggers": "^9.8.0",
|
|
83
83
|
"@atlaskit/section-message": "^9.2.0",
|
|
84
|
-
"@atlaskit/select": "^22.
|
|
84
|
+
"@atlaskit/select": "^22.5.0",
|
|
85
85
|
"@atlaskit/spinner": "^20.1.0",
|
|
86
86
|
"@atlaskit/tag": "^15.2.0",
|
|
87
87
|
"@atlaskit/textarea": "^9.1.0",
|
|
88
88
|
"@atlaskit/textfield": "^9.1.0",
|
|
89
89
|
"@atlaskit/theme": "^26.1.0",
|
|
90
90
|
"@atlaskit/tile": "^2.3.0",
|
|
91
|
-
"@atlaskit/tmp-editor-statsig": "^124.
|
|
91
|
+
"@atlaskit/tmp-editor-statsig": "^124.1.0",
|
|
92
92
|
"@atlaskit/tokens": "^15.5.0",
|
|
93
93
|
"@atlaskit/tooltip": "^23.1.0",
|
|
94
94
|
"@atlaskit/ufo": "^1.0.0",
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
"@atlaskit/ssr": "workspace:^",
|
|
123
123
|
"@atlassian/a11y-jest-testing": "^0.13.0",
|
|
124
124
|
"@atlassian/analytics-tooling": "workspace:^",
|
|
125
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
126
|
-
"@atlassian/gemini": "^1.
|
|
125
|
+
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
126
|
+
"@atlassian/gemini": "^1.49.0",
|
|
127
127
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
128
|
-
"@atlassian/testing-library": "^0.
|
|
128
|
+
"@atlassian/testing-library": "^0.11.0",
|
|
129
129
|
"@testing-library/dom": "^10.1.0",
|
|
130
130
|
"@testing-library/jest-dom": "^6.4.5",
|
|
131
131
|
"@types/facepaint": "^1.2.1",
|