@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/people-teams-ui-public
2
2
 
3
+ ## 3.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.1.6
4
10
 
5
11
  ### Patch Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/common/utils/analytics/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/common/utils/analytics/index.d.ts"
14
14
  ]
@@ -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.5"
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"
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.5"
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 keyof InjectedEventAttributes>(key: K, value: InjectedEventAttributes[K]) => void;
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 keyof InjectedEventAttributes>(key: K, value: InjectedEventAttributes[K]) => void;
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.6",
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": "^27.9.0",
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": {
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/ui/verified-team-icon/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/ui/verified-team-icon/index.d.ts"
14
14
  ]