@atlaskit/smart-card 45.22.2 → 45.22.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 +8 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default.png +3 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default.png +1 -1
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/Flag/index.js +1 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default.png +3 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default.png +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/Flag/index.js +1 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default.png +3 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card--light-mode.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-can-open-in-left-position--default.png +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/Flag/index.js +1 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +3 -5
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default--platform-dst-shape-theme-default-false.png +0 -3
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default--platform-dst-shape-theme-default-true.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default--platform-dst-shape-theme-default-false.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default--platform-dst-shape-theme-default-true.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default--platform-dst-shape-theme-default-false.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/flag/connect-success-flag--default--platform-dst-shape-theme-default-true.png +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 45.22.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a095cd22de095`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a095cd22de095) -
|
|
8
|
+
Make the rolled-out shape theme the default across Platform.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 45.22.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:1e34b81ca8aa8fb9cec657ab59aadb8c0e4a9690e2b550fca1bc6a7feb93e08f
|
|
3
|
+
size 20860
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:48bf137a2da0e105cce16b177bcc7d171a525b9d35e8a47c7221511b2af48657
|
|
3
|
+
size 37750
|
|
@@ -24,7 +24,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
24
24
|
var context = exports.context = {
|
|
25
25
|
componentName: 'smart-cards',
|
|
26
26
|
packageName: "@atlaskit/smart-card" || '',
|
|
27
|
-
packageVersion: "45.22.
|
|
27
|
+
packageVersion: "45.22.2" || ''
|
|
28
28
|
};
|
|
29
29
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
30
30
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -14,7 +14,6 @@ var _client = require("react-dom/client");
|
|
|
14
14
|
var _reactIntl = require("react-intl");
|
|
15
15
|
var _flagGroup = _interopRequireDefault(require("@atlaskit/flag/flag-group"));
|
|
16
16
|
var _autoDismissFlag = _interopRequireDefault(require("@atlaskit/flag/auto-dismiss-flag"));
|
|
17
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
18
17
|
var _aiPrism = _interopRequireDefault(require("../common/ai-prism"));
|
|
19
18
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20
19
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports -- exports reassign shared mutable module local(s) [flagGroupState, pendingFirstRender, root]; splitting would fork the singleton and is forbidden by TS2632 */ /**
|
|
@@ -91,7 +90,7 @@ var renderToRoot = function renderToRoot() {
|
|
|
91
90
|
onDismissed: removeFlag
|
|
92
91
|
}, flagGroupState.map(function (flagProps) {
|
|
93
92
|
return /*#__PURE__*/_react.default.createElement(_aiPrism.default, {
|
|
94
|
-
borderRadius:
|
|
93
|
+
borderRadius: 'large',
|
|
95
94
|
isVisible: true,
|
|
96
95
|
key: flagProps.id
|
|
97
96
|
}, /*#__PURE__*/_react.default.createElement(_autoDismissFlag.default, (0, _extends2.default)({}, flagProps, {
|
|
@@ -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.22.
|
|
22
|
+
packageVersion: "45.22.2",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:1e34b81ca8aa8fb9cec657ab59aadb8c0e4a9690e2b550fca1bc6a7feb93e08f
|
|
3
|
+
size 20860
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:48bf137a2da0e105cce16b177bcc7d171a525b9d35e8a47c7221511b2af48657
|
|
3
|
+
size 37750
|
|
@@ -3,7 +3,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
3
3
|
export const context = {
|
|
4
4
|
componentName: 'smart-cards',
|
|
5
5
|
packageName: "@atlaskit/smart-card" || '',
|
|
6
|
-
packageVersion: "45.22.
|
|
6
|
+
packageVersion: "45.22.2" || ''
|
|
7
7
|
};
|
|
8
8
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
9
9
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -34,7 +34,6 @@ import { createRoot } from 'react-dom/client';
|
|
|
34
34
|
import { IntlProvider } from 'react-intl';
|
|
35
35
|
import FlagGroup from '@atlaskit/flag/flag-group';
|
|
36
36
|
import AutoDismissFlag from '@atlaskit/flag/auto-dismiss-flag';
|
|
37
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
38
37
|
import AIPrism from '../common/ai-prism';
|
|
39
38
|
const FLAG_GROUP_MOUNT_POINT_ID = 'smart-link-flags-mount';
|
|
40
39
|
|
|
@@ -80,7 +79,7 @@ const renderToRoot = () => {
|
|
|
80
79
|
onDismissed: removeFlag
|
|
81
80
|
}, flagGroupState.map(flagProps => {
|
|
82
81
|
return /*#__PURE__*/React.createElement(AIPrism, {
|
|
83
|
-
borderRadius:
|
|
82
|
+
borderRadius: 'large',
|
|
84
83
|
isVisible: true,
|
|
85
84
|
key: flagProps.id
|
|
86
85
|
}, /*#__PURE__*/React.createElement(AutoDismissFlag, _extends({}, flagProps, {
|
|
@@ -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.22.
|
|
12
|
+
packageVersion: "45.22.2",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:1e34b81ca8aa8fb9cec657ab59aadb8c0e4a9690e2b550fca1bc6a7feb93e08f
|
|
3
|
+
size 20860
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:48bf137a2da0e105cce16b177bcc7d171a525b9d35e8a47c7221511b2af48657
|
|
3
|
+
size 37750
|
|
@@ -3,7 +3,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
3
3
|
export var context = {
|
|
4
4
|
componentName: 'smart-cards',
|
|
5
5
|
packageName: "@atlaskit/smart-card" || '',
|
|
6
|
-
packageVersion: "45.22.
|
|
6
|
+
packageVersion: "45.22.2" || ''
|
|
7
7
|
};
|
|
8
8
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
9
9
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -38,7 +38,6 @@ import { createRoot } from 'react-dom/client';
|
|
|
38
38
|
import { IntlProvider } from 'react-intl';
|
|
39
39
|
import FlagGroup from '@atlaskit/flag/flag-group';
|
|
40
40
|
import AutoDismissFlag from '@atlaskit/flag/auto-dismiss-flag';
|
|
41
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
42
41
|
import AIPrism from '../common/ai-prism';
|
|
43
42
|
var FLAG_GROUP_MOUNT_POINT_ID = 'smart-link-flags-mount';
|
|
44
43
|
|
|
@@ -86,7 +85,7 @@ var renderToRoot = function renderToRoot() {
|
|
|
86
85
|
onDismissed: removeFlag
|
|
87
86
|
}, flagGroupState.map(function (flagProps) {
|
|
88
87
|
return /*#__PURE__*/React.createElement(AIPrism, {
|
|
89
|
-
borderRadius:
|
|
88
|
+
borderRadius: 'large',
|
|
90
89
|
isVisible: true,
|
|
91
90
|
key: flagProps.id
|
|
92
91
|
}, /*#__PURE__*/React.createElement(AutoDismissFlag, _extends({}, flagProps, {
|
|
@@ -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.22.
|
|
15
|
+
packageVersion: "45.22.2",
|
|
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.22.
|
|
3
|
+
"version": "45.22.3",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/textfield": "^10.2.0",
|
|
91
91
|
"@atlaskit/theme": "^28.2.0",
|
|
92
92
|
"@atlaskit/tile": "^4.1.0",
|
|
93
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
93
|
+
"@atlaskit/tmp-editor-statsig": "^190.0.0",
|
|
94
94
|
"@atlaskit/tokens": "^16.12.0",
|
|
95
95
|
"@atlaskit/tooltip": "^24.3.0",
|
|
96
96
|
"@atlaskit/ufo": "^1.2.0",
|
|
@@ -136,6 +136,7 @@
|
|
|
136
136
|
"@atlassian/gemini": "^1.53.0",
|
|
137
137
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
138
138
|
"@atlassian/testing-library": "^0.11.0",
|
|
139
|
+
"@atlassian/workbench": "workspace:*",
|
|
139
140
|
"@testing-library/dom": "^10.1.0",
|
|
140
141
|
"@testing-library/jest-dom": "^6.4.5",
|
|
141
142
|
"@types/facepaint": "^1.2.1",
|
|
@@ -198,9 +199,6 @@
|
|
|
198
199
|
"platform_sl_action_refactoring": {
|
|
199
200
|
"type": "boolean"
|
|
200
201
|
},
|
|
201
|
-
"platform-dst-shape-theme-default": {
|
|
202
|
-
"type": "boolean"
|
|
203
|
-
},
|
|
204
202
|
"jpx-1074-smart-links-iframe": {
|
|
205
203
|
"type": "boolean"
|
|
206
204
|
},
|