@atlaskit/people-teams-ui-public 3.1.6 → 3.1.7
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/analytics/package.json +1 -1
- package/dist/cjs/common/utils/analytics/hooks.js +1 -1
- package/dist/es2019/common/utils/analytics/hooks.js +1 -1
- package/dist/esm/common/utils/analytics/hooks.js +1 -1
- package/dist/types/common/utils/analytics/analytics-subcontext/store.d.ts +2 -1
- package/dist/types-ts4.5/common/utils/analytics/analytics-subcontext/store.d.ts +2 -1
- package/package.json +2 -3
- package/verified-team-icon/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/analytics/package.json
CHANGED
|
@@ -15,7 +15,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
15
15
|
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; }
|
|
16
16
|
var defaultAnalyticsContextData = {
|
|
17
17
|
packageName: "@atlaskit/people-teams-ui-public",
|
|
18
|
-
packageVersion: "3.1.
|
|
18
|
+
packageVersion: "3.1.6"
|
|
19
19
|
};
|
|
20
20
|
function PeopleTeamsAnalyticsProvider(_ref) {
|
|
21
21
|
var analyticsContextData = _ref.analyticsContextData,
|
|
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
3
3
|
const defaultAnalyticsContextData = {
|
|
4
4
|
packageName: "@atlaskit/people-teams-ui-public",
|
|
5
|
-
packageVersion: "3.1.
|
|
5
|
+
packageVersion: "3.1.6"
|
|
6
6
|
};
|
|
7
7
|
export function PeopleTeamsAnalyticsProvider({
|
|
8
8
|
analyticsContextData,
|
|
@@ -6,7 +6,7 @@ import React, { useMemo } from 'react';
|
|
|
6
6
|
import { PeopleTeamsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
7
7
|
var defaultAnalyticsContextData = {
|
|
8
8
|
packageName: "@atlaskit/people-teams-ui-public",
|
|
9
|
-
packageVersion: "3.1.
|
|
9
|
+
packageVersion: "3.1.6"
|
|
10
10
|
};
|
|
11
11
|
export function PeopleTeamsAnalyticsProvider(_ref) {
|
|
12
12
|
var analyticsContextData = _ref.analyticsContextData,
|
|
@@ -3,6 +3,7 @@ type InjectedEventAttributes = {
|
|
|
3
3
|
teamId?: string;
|
|
4
4
|
consumer?: string;
|
|
5
5
|
};
|
|
6
|
+
type InjectedEventAttributeKey = keyof InjectedEventAttributes;
|
|
6
7
|
type PeopleTeamsAnalyticsSubcontextState = {
|
|
7
8
|
eventAttributes?: InjectedEventAttributes;
|
|
8
9
|
};
|
|
@@ -13,5 +14,5 @@ export declare const usePeopleTeamsAnalyticsSubcontext: import("react-sweet-stat
|
|
|
13
14
|
* Inject an attribute into all events using `usePeopleTeamAnalyticsEvents`
|
|
14
15
|
* It sets the attribute when the hook is called and clears it when the component is unmounted
|
|
15
16
|
*/
|
|
16
|
-
export declare const useInjectedEventAttribute: <K extends
|
|
17
|
+
export declare const useInjectedEventAttribute: <K extends InjectedEventAttributeKey>(key: K, value: InjectedEventAttributes[K]) => void;
|
|
17
18
|
export {};
|
|
@@ -3,6 +3,7 @@ type InjectedEventAttributes = {
|
|
|
3
3
|
teamId?: string;
|
|
4
4
|
consumer?: string;
|
|
5
5
|
};
|
|
6
|
+
type InjectedEventAttributeKey = keyof InjectedEventAttributes;
|
|
6
7
|
type PeopleTeamsAnalyticsSubcontextState = {
|
|
7
8
|
eventAttributes?: InjectedEventAttributes;
|
|
8
9
|
};
|
|
@@ -13,5 +14,5 @@ export declare const usePeopleTeamsAnalyticsSubcontext: import("react-sweet-stat
|
|
|
13
14
|
* Inject an attribute into all events using `usePeopleTeamAnalyticsEvents`
|
|
14
15
|
* It sets the attribute when the hook is called and clears it when the component is unmounted
|
|
15
16
|
*/
|
|
16
|
-
export declare const useInjectedEventAttribute: <K extends
|
|
17
|
+
export declare const useInjectedEventAttribute: <K extends InjectedEventAttributeKey>(key: K, value: InjectedEventAttributes[K]) => void;
|
|
17
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/people-teams-ui-public",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7",
|
|
4
4
|
"description": "UI components for public packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
43
|
-
"@atlaskit/icon": "^
|
|
43
|
+
"@atlaskit/icon": "^28.0.0",
|
|
44
44
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
45
45
|
"@atlaskit/primitives": "^14.11.0",
|
|
46
46
|
"@atlaskit/tokens": "^6.0.0",
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
"@testing-library/react-hooks": "^8.0.1",
|
|
63
63
|
"@testing-library/user-event": "^14.4.3",
|
|
64
64
|
"react-dom": "^18.2.0",
|
|
65
|
-
"typescript": "~5.4.2",
|
|
66
65
|
"wait-for-expect": "^1.2.0"
|
|
67
66
|
},
|
|
68
67
|
"techstack": {
|