@atlaskit/profilecard 26.24.7 → 26.24.8
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 +9 -0
- package/dist/cjs/client/addHeaders.js +1 -1
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/components/Agent/ConversationStarters.js +2 -2
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/util/createEvent.js +1 -1
- package/dist/es2019/client/addHeaders.js +1 -1
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/components/Agent/ConversationStarters.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/util/createEvent.js +1 -1
- package/dist/esm/client/addHeaders.js +1 -1
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/components/Agent/ConversationStarters.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/util/createEvent.js +1 -1
- package/dist/types/components/Agent/ConversationStarters.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 26.24.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`44e88b1074ac7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44e88b1074ac7) -
|
|
8
|
+
Use dedicated Link Provider and Rovo conversation starter entrypoints while preserving existing
|
|
9
|
+
bindings and type imports.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 26.24.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -11,6 +11,6 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
|
|
|
11
11
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
12
12
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
13
13
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
14
|
-
headers.append('atl-client-version', "26.24.
|
|
14
|
+
headers.append('atl-client-version', "26.24.8");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
@@ -11,7 +11,7 @@ var _AGGQuery = require("./AGGQuery");
|
|
|
11
11
|
var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
|
|
12
12
|
var addHeaders = function addHeaders(headers) {
|
|
13
13
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
14
|
-
headers.append('atl-client-version', "26.24.
|
|
14
|
+
headers.append('atl-client-version', "26.24.8");
|
|
15
15
|
return headers;
|
|
16
16
|
};
|
|
17
17
|
function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.ConversationStarters = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
10
|
-
var
|
|
10
|
+
var _agentConversationStarters = require("@atlaskit/rovo-agent-components/agent-conversation-starters");
|
|
11
11
|
var ConversationStarters = exports.ConversationStarters = function ConversationStarters(_ref) {
|
|
12
12
|
var isAgentDefault = _ref.isAgentDefault,
|
|
13
13
|
onConversationStarterClick = _ref.onConversationStarterClick,
|
|
@@ -18,7 +18,7 @@ var ConversationStarters = exports.ConversationStarters = function ConversationS
|
|
|
18
18
|
return /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
|
|
19
19
|
space: "space.050",
|
|
20
20
|
alignInline: "start"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement(_agentConversationStarters.AgentConversationStarters, {
|
|
22
22
|
isAgentDefault: isAgentDefault,
|
|
23
23
|
onConversationStarterClick: handleConversationStarterClick,
|
|
24
24
|
userDefinedConversationStarters: userDefinedConversationStarters
|
|
@@ -7,7 +7,7 @@ exports.USER_SUBJECT = exports.TEAM_SUBJECT = exports.PACKAGE_META_DATA = export
|
|
|
7
7
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
8
8
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
9
9
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
10
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.24.
|
|
10
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.24.8") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
11
11
|
};
|
|
12
12
|
var TEAM_SUBJECT = exports.TEAM_SUBJECT = 'teamProfileCard';
|
|
13
13
|
var USER_SUBJECT = exports.USER_SUBJECT = 'profilecard';
|
|
@@ -22,7 +22,7 @@ var createEvent = exports.createEvent = function createEvent(eventType, action,
|
|
|
22
22
|
actionSubjectId: actionSubjectId,
|
|
23
23
|
attributes: _objectSpread(_objectSpread({
|
|
24
24
|
packageName: "@atlaskit/profilecard",
|
|
25
|
-
packageVersion: "26.24.
|
|
25
|
+
packageVersion: "26.24.8"
|
|
26
26
|
}, attributes), {}, {
|
|
27
27
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
28
28
|
})
|
|
@@ -5,6 +5,6 @@ export const addHeaders = headers => {
|
|
|
5
5
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
6
6
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
7
7
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
8
|
-
headers.append('atl-client-version', "26.24.
|
|
8
|
+
headers.append('atl-client-version', "26.24.8");
|
|
9
9
|
return headers;
|
|
10
10
|
};
|
|
@@ -6,7 +6,7 @@ const ORG_ID_FROM_CLOUD_ID_QUERY = `query OrgIdFromCloudId($cloudId: ID!) {
|
|
|
6
6
|
}`;
|
|
7
7
|
const addHeaders = headers => {
|
|
8
8
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
9
|
-
headers.append('atl-client-version', "26.24.
|
|
9
|
+
headers.append('atl-client-version', "26.24.8");
|
|
10
10
|
return headers;
|
|
11
11
|
};
|
|
12
12
|
export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Stack } from '@atlaskit/primitives/compiled';
|
|
3
|
-
import { AgentConversationStarters } from '@atlaskit/rovo-agent-components/
|
|
3
|
+
import { AgentConversationStarters } from '@atlaskit/rovo-agent-components/agent-conversation-starters';
|
|
4
4
|
export const ConversationStarters = ({
|
|
5
5
|
isAgentDefault,
|
|
6
6
|
onConversationStarterClick,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
2
|
export const PACKAGE_META_DATA = {
|
|
3
3
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
4
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.24.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.24.8") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
5
|
};
|
|
6
6
|
export const TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
export const USER_SUBJECT = 'profilecard';
|
|
@@ -11,7 +11,7 @@ export const createEvent = (eventType, action, actionSubject, actionSubjectId, a
|
|
|
11
11
|
actionSubjectId,
|
|
12
12
|
attributes: {
|
|
13
13
|
packageName: "@atlaskit/profilecard",
|
|
14
|
-
packageVersion: "26.24.
|
|
14
|
+
packageVersion: "26.24.8",
|
|
15
15
|
...attributes,
|
|
16
16
|
firedAt: Math.round(getPageTime())
|
|
17
17
|
}
|
|
@@ -5,6 +5,6 @@ export var addHeaders = function addHeaders(headers) {
|
|
|
5
5
|
headers.append('X-ExperimentalApi', 'teams-beta');
|
|
6
6
|
headers.append('X-ExperimentalApi', 'team-members-beta');
|
|
7
7
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
8
|
-
headers.append('atl-client-version', "26.24.
|
|
8
|
+
headers.append('atl-client-version', "26.24.8");
|
|
9
9
|
return headers;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { AGGQuery } from './AGGQuery';
|
|
|
4
4
|
var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
|
|
5
5
|
var addHeaders = function addHeaders(headers) {
|
|
6
6
|
headers.append('atl-client-name', "@atlaskit/profilecard");
|
|
7
|
-
headers.append('atl-client-version', "26.24.
|
|
7
|
+
headers.append('atl-client-version', "26.24.8");
|
|
8
8
|
return headers;
|
|
9
9
|
};
|
|
10
10
|
export function getOrgIdForCloudIdFromAGG(_x, _x2) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Stack } from '@atlaskit/primitives/compiled';
|
|
3
|
-
import { AgentConversationStarters } from '@atlaskit/rovo-agent-components/
|
|
3
|
+
import { AgentConversationStarters } from '@atlaskit/rovo-agent-components/agent-conversation-starters';
|
|
4
4
|
export var ConversationStarters = function ConversationStarters(_ref) {
|
|
5
5
|
var isAgentDefault = _ref.isAgentDefault,
|
|
6
6
|
onConversationStarterClick = _ref.onConversationStarterClick,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
2
2
|
export var PACKAGE_META_DATA = {
|
|
3
3
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
4
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.24.
|
|
4
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.24.8") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
5
5
|
};
|
|
6
6
|
export var TEAM_SUBJECT = 'teamProfileCard';
|
|
7
7
|
export var USER_SUBJECT = 'profilecard';
|
|
@@ -16,7 +16,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
|
|
|
16
16
|
actionSubjectId: actionSubjectId,
|
|
17
17
|
attributes: _objectSpread(_objectSpread({
|
|
18
18
|
packageName: "@atlaskit/profilecard",
|
|
19
|
-
packageVersion: "26.24.
|
|
19
|
+
packageVersion: "26.24.8"
|
|
20
20
|
}, attributes), {}, {
|
|
21
21
|
firedAt: Math.round(getPageTime())
|
|
22
22
|
})
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { AgentConversationStartersProps } from '@atlaskit/rovo-agent-components/ui/AgentConversationStarters';
|
|
3
3
|
export declare const ConversationStarters: ({ isAgentDefault, onConversationStarterClick, userDefinedConversationStarters, }: AgentConversationStartersProps) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "26.24.
|
|
3
|
+
"version": "26.24.8",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
51
51
|
"@atlaskit/empty-state": "^12.2.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
53
|
-
"@atlaskit/give-kudos": "^6.
|
|
53
|
+
"@atlaskit/give-kudos": "^6.17.0",
|
|
54
54
|
"@atlaskit/heading": "^7.2.0",
|
|
55
55
|
"@atlaskit/icon": "^37.7.0",
|
|
56
56
|
"@atlaskit/link": "5.1.4",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/teams-public": "^2.12.0",
|
|
73
73
|
"@atlaskit/theme": "^28.2.0",
|
|
74
74
|
"@atlaskit/tmp-editor-statsig": "^199.0.0",
|
|
75
|
-
"@atlaskit/tokens": "^18.
|
|
75
|
+
"@atlaskit/tokens": "^18.2.0",
|
|
76
76
|
"@atlaskit/tooltip": "^24.3.0",
|
|
77
77
|
"@babel/runtime": "^7.0.0",
|
|
78
78
|
"@compiled/react": "^1.0.2",
|