@atlaskit/teams-public 0.72.2 → 0.73.0

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,12 @@
1
1
  # @atlaskit/teams-public
2
2
 
3
+ ## 0.73.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`336c2e0b7bbff`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/336c2e0b7bbff) -
8
+ Remove enable-fix-team-container-height feature gate and enable height fix permanently
9
+
3
10
  ## 0.72.2
4
11
 
5
12
  ### Patch Changes
@@ -10,7 +10,6 @@ require("./index.compiled.css");
10
10
  var _runtime = require("@compiled/react/runtime");
11
11
  var _react = _interopRequireDefault(require("react"));
12
12
  var _css = require("@atlaskit/css");
13
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
13
  var _compiled = require("@atlaskit/primitives/compiled");
15
14
  var _getContainerProperties = require("../../../../common/utils/get-container-properties");
16
15
  var _teamContainerSkeleton = require("../../../common/ui/team-container-skeleton");
@@ -26,7 +25,7 @@ var AddContainerCardWrapper = function AddContainerCardWrapper(_ref) {
26
25
  onClick = _ref.onClick,
27
26
  isDisabled = _ref.isDisabled;
28
27
  return /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
29
- xcss: (0, _css.cx)(styles.container, (0, _platformFeatureFlags.fg)('enable-fix-team-container-height') ? styles.smallCardContainer : null),
28
+ xcss: (0, _css.cx)(styles.container, styles.smallCardContainer),
30
29
  isDisabled: isDisabled,
31
30
  onClick: onClick
32
31
  }, children);
@@ -54,7 +53,7 @@ var AddContainerCard = exports.AddContainerCard = function AddContainerCard(_ref
54
53
  isDisabled: isDisabled
55
54
  }, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
56
55
  space: "space.100",
57
- xcss: (0, _css.cx)(styles.card, (0, _platformFeatureFlags.fg)('enable-fix-team-container-height') ? styles.cardHeight : null)
56
+ xcss: (0, _css.cx)(styles.card, styles.cardHeight)
58
57
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
59
58
  xcss: styles.iconWrapper
60
59
  }, icon), /*#__PURE__*/_react.default.createElement(_compiled.Text, {
@@ -13,7 +13,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
13
13
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _css = require("@atlaskit/css");
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
16
  var _compiled = require("@atlaskit/primitives/compiled");
18
17
  var _teamsAppInternalAnalytics = require("@atlaskit/teams-app-internal-analytics");
19
18
  var _containerIcon = require("../../../../common/ui/container-icon");
@@ -120,7 +119,7 @@ var TeamLinkCard = exports.TeamLinkCard = function TeamLinkCard(_ref) {
120
119
  testId: "team-link-card-inner"
121
120
  }, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
122
121
  space: "space.100",
123
- xcss: (0, _css.cx)(styles.card, (0, _platformFeatureFlags.fg)('enable-fix-team-container-height') ? styles.cardHeight : null)
122
+ xcss: (0, _css.cx)(styles.card, styles.cardHeight)
124
123
  }, /*#__PURE__*/_react.default.createElement(_containerIcon.ContainerIcon, {
125
124
  containerType: containerType,
126
125
  title: title,
@@ -3,7 +3,6 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
5
  import { cx } from '@atlaskit/css';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { Box, Inline, Pressable, Text } from '@atlaskit/primitives/compiled';
8
7
  import { getContainerProperties } from '../../../../common/utils/get-container-properties';
9
8
  import { TeamContainerSkeleton } from '../../../common/ui/team-container-skeleton';
@@ -20,7 +19,7 @@ const AddContainerCardWrapper = ({
20
19
  isDisabled
21
20
  }) => {
22
21
  return /*#__PURE__*/React.createElement(Pressable, {
23
- xcss: cx(styles.container, fg('enable-fix-team-container-height') ? styles.smallCardContainer : null),
22
+ xcss: cx(styles.container, styles.smallCardContainer),
24
23
  isDisabled: isDisabled,
25
24
  onClick: onClick
26
25
  }, children);
@@ -48,7 +47,7 @@ export const AddContainerCard = ({
48
47
  isDisabled: isDisabled
49
48
  }, /*#__PURE__*/React.createElement(Inline, {
50
49
  space: "space.100",
51
- xcss: cx(styles.card, fg('enable-fix-team-container-height') ? styles.cardHeight : null)
50
+ xcss: cx(styles.card, styles.cardHeight)
52
51
  }, /*#__PURE__*/React.createElement(Box, {
53
52
  xcss: styles.iconWrapper
54
53
  }, icon), /*#__PURE__*/React.createElement(Text, {
@@ -3,7 +3,6 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useState } from 'react';
5
5
  import { cx } from '@atlaskit/css';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { Anchor, Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
8
7
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
9
8
  import { ContainerIcon } from '../../../../common/ui/container-icon';
@@ -99,7 +98,7 @@ export const TeamLinkCard = ({
99
98
  testId: "team-link-card-inner"
100
99
  }, /*#__PURE__*/React.createElement(Inline, {
101
100
  space: "space.100",
102
- xcss: cx(styles.card, fg('enable-fix-team-container-height') ? styles.cardHeight : null)
101
+ xcss: cx(styles.card, styles.cardHeight)
103
102
  }, /*#__PURE__*/React.createElement(ContainerIcon, {
104
103
  containerType: containerType,
105
104
  title: title,
@@ -3,7 +3,6 @@ import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
5
  import { cx } from '@atlaskit/css';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { Box, Inline, Pressable, Text } from '@atlaskit/primitives/compiled';
8
7
  import { getContainerProperties } from '../../../../common/utils/get-container-properties';
9
8
  import { TeamContainerSkeleton } from '../../../common/ui/team-container-skeleton';
@@ -19,7 +18,7 @@ var AddContainerCardWrapper = function AddContainerCardWrapper(_ref) {
19
18
  onClick = _ref.onClick,
20
19
  isDisabled = _ref.isDisabled;
21
20
  return /*#__PURE__*/React.createElement(Pressable, {
22
- xcss: cx(styles.container, fg('enable-fix-team-container-height') ? styles.smallCardContainer : null),
21
+ xcss: cx(styles.container, styles.smallCardContainer),
23
22
  isDisabled: isDisabled,
24
23
  onClick: onClick
25
24
  }, children);
@@ -47,7 +46,7 @@ export var AddContainerCard = function AddContainerCard(_ref2) {
47
46
  isDisabled: isDisabled
48
47
  }, /*#__PURE__*/React.createElement(Inline, {
49
48
  space: "space.100",
50
- xcss: cx(styles.card, fg('enable-fix-team-container-height') ? styles.cardHeight : null)
49
+ xcss: cx(styles.card, styles.cardHeight)
51
50
  }, /*#__PURE__*/React.createElement(Box, {
52
51
  xcss: styles.iconWrapper
53
52
  }, icon), /*#__PURE__*/React.createElement(Text, {
@@ -7,7 +7,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
7
7
  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) { _defineProperty(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; }
8
8
  import React, { useState } from 'react';
9
9
  import { cx } from '@atlaskit/css';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { Anchor, Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
12
11
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
13
12
  import { ContainerIcon } from '../../../../common/ui/container-icon';
@@ -111,7 +110,7 @@ export var TeamLinkCard = function TeamLinkCard(_ref) {
111
110
  testId: "team-link-card-inner"
112
111
  }, /*#__PURE__*/React.createElement(Inline, {
113
112
  space: "space.100",
114
- xcss: cx(styles.card, fg('enable-fix-team-container-height') ? styles.cardHeight : null)
113
+ xcss: cx(styles.card, styles.cardHeight)
115
114
  }, /*#__PURE__*/React.createElement(ContainerIcon, {
116
115
  containerType: containerType,
117
116
  title: title,
@@ -8,16 +8,16 @@ export declare const VAR2 = "variation_2";
8
8
  export declare const VAR3 = "variation_3";
9
9
  export declare const VAR4 = "variation_4";
10
10
  export declare const cohorts: {
11
- readonly NOT_ENROLLED: "not-enrolled";
12
- readonly CONTROL: "control";
13
- readonly EXPERIMENT: "experiment";
14
- readonly VARIATION: "variation";
15
- readonly VAR1: "variation_1";
16
- readonly VAR2: "variation_2";
17
- readonly VAR3: "variation_3";
18
- readonly VAR4: "variation_4";
11
+ readonly NOT_ENROLLED: 'not-enrolled';
12
+ readonly CONTROL: 'control';
13
+ readonly EXPERIMENT: 'experiment';
14
+ readonly VARIATION: 'variation';
15
+ readonly VAR1: 'variation_1';
16
+ readonly VAR2: 'variation_2';
17
+ readonly VAR3: 'variation_3';
18
+ readonly VAR4: 'variation_4';
19
19
  };
20
- export declare const DEFAULT_VALID_EXPERIMENT_COHORTS: ("not-enrolled" | "control" | "experiment" | "variation" | "variation_1" | "variation_2" | "variation_3" | "variation_4")[];
20
+ export declare const DEFAULT_VALID_EXPERIMENT_COHORTS: ('not-enrolled' | 'control' | 'experiment' | 'variation' | 'variation_1' | 'variation_2' | 'variation_3' | 'variation_4')[];
21
21
  export type CohortKeys = keyof typeof cohorts;
22
22
  export type Cohort = (typeof cohorts)[CohortKeys];
23
23
  export declare const getIsExperimentEnabled: (experimentName: string, variantKey?: Cohort, validExperimentCohorts?: Cohort[], fireExperimentExposure?: boolean) => boolean;
@@ -1,4 +1,4 @@
1
- import { type StoreActionApi } from 'react-sweet-state';
1
+ import { type BoundActions, type HookFunction, type StoreActionApi } from 'react-sweet-state';
2
2
  type Product = 'Jira' | 'Confluence' | 'Loom' | 'WebLink';
3
3
  type ContainerState = {
4
4
  isLoading: boolean;
@@ -17,7 +17,7 @@ type StoreAction = StoreActionApi<State>;
17
17
  *
18
18
  * @returns {object} State and actions for managing container creation.
19
19
  */
20
- declare const useCreateContainers: import("react-sweet-state").HookFunction<State, import("react-sweet-state").BoundActions<State, {
20
+ declare const useCreateContainers: HookFunction<State, BoundActions<State, {
21
21
  updateContainerLoading: (product: Product, isLoading: boolean) => ({ setState, getState }: StoreAction) => void;
22
22
  updateContainerCreated: (product: Product, isCreated: boolean) => ({ setState, getState }: StoreAction) => void;
23
23
  }>, void>;
@@ -1,4 +1,4 @@
1
- import { type Action } from 'react-sweet-state';
1
+ import { type Action, type BoundActions, type HookFunction } from 'react-sweet-state';
2
2
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
3
3
  import type { TeamContainers, TeamWithMemberships, UnlinkContainerMutationError } from '@atlaskit/teams-client/types';
4
4
  import { type TeamContainer } from '../../../common/types';
@@ -19,11 +19,11 @@ type State = {
19
19
  teamId: string | null;
20
20
  connectedTeams: ConnectedTeams;
21
21
  };
22
- export declare const useTeamContainersHook: import("react-sweet-state").HookFunction<State, import("react-sweet-state").BoundActions<State, {
23
- fetchTeamContainers: (teamId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
24
- refetchTeamContainers: (fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
25
- fetchNumberOfConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
26
- fetchConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
22
+ export declare const useTeamContainersHook: HookFunction<State, BoundActions<State, {
23
+ fetchTeamContainers: (teamId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
24
+ refetchTeamContainers: (fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
25
+ fetchNumberOfConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
26
+ fetchConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
27
27
  unlinkTeamContainers: (teamId: string, containerId: string) => Action<State>;
28
28
  addTeamContainer: (teamContainer: TeamContainer) => Action<State>;
29
29
  }>, void>;
@@ -1,4 +1,4 @@
1
- import { type Action } from 'react-sweet-state';
1
+ import { type Action, type BoundActions, type HookFunction } from 'react-sweet-state';
2
2
  import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
3
3
  import type { TeamContainers, TeamWithMemberships, UnlinkContainerMutationError } from '@atlaskit/teams-client/types';
4
4
  import { type TeamContainer } from '../../../common/types';
@@ -30,11 +30,11 @@ type FireAnalyticsProps = {
30
30
  numberOfTeams?: number;
31
31
  error?: Error;
32
32
  };
33
- export declare const useTeamContainersHook: import("react-sweet-state").HookFunction<State, import("react-sweet-state").BoundActions<State, {
34
- fetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
35
- refetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
36
- fetchNumberOfConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
37
- fetchConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
33
+ export declare const useTeamContainersHook: HookFunction<State, BoundActions<State, {
34
+ fetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
35
+ refetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
36
+ fetchNumberOfConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
37
+ fetchConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
38
38
  unlinkTeamContainers: (teamId: string, containerId: string) => Action<State>;
39
39
  addTeamContainer: (teamId: string, teamContainer: TeamContainer) => Action<State>;
40
40
  }>, void>;
@@ -1,5 +1,6 @@
1
+ import { type BoundActions, type HookFunction } from 'react-sweet-state';
1
2
  import type { ProductPermissionsActions, ProductPermissionsStore } from './types';
2
3
  /**
3
4
  * @deprecated Use useProductPermissionsStore from "@atlaskit/teams-app-internal-product-permissions" instead
4
5
  */
5
- export declare const useProductPermissionsStore: import("react-sweet-state").HookFunction<ProductPermissionsStore, import("react-sweet-state").BoundActions<ProductPermissionsStore, ProductPermissionsActions>, void>;
6
+ export declare const useProductPermissionsStore: HookFunction<ProductPermissionsStore, BoundActions<ProductPermissionsStore, ProductPermissionsActions>, void>;
@@ -8,16 +8,16 @@ export declare const VAR2 = "variation_2";
8
8
  export declare const VAR3 = "variation_3";
9
9
  export declare const VAR4 = "variation_4";
10
10
  export declare const cohorts: {
11
- readonly NOT_ENROLLED: "not-enrolled";
12
- readonly CONTROL: "control";
13
- readonly EXPERIMENT: "experiment";
14
- readonly VARIATION: "variation";
15
- readonly VAR1: "variation_1";
16
- readonly VAR2: "variation_2";
17
- readonly VAR3: "variation_3";
18
- readonly VAR4: "variation_4";
11
+ readonly NOT_ENROLLED: 'not-enrolled';
12
+ readonly CONTROL: 'control';
13
+ readonly EXPERIMENT: 'experiment';
14
+ readonly VARIATION: 'variation';
15
+ readonly VAR1: 'variation_1';
16
+ readonly VAR2: 'variation_2';
17
+ readonly VAR3: 'variation_3';
18
+ readonly VAR4: 'variation_4';
19
19
  };
20
- export declare const DEFAULT_VALID_EXPERIMENT_COHORTS: ("not-enrolled" | "control" | "experiment" | "variation" | "variation_1" | "variation_2" | "variation_3" | "variation_4")[];
20
+ export declare const DEFAULT_VALID_EXPERIMENT_COHORTS: ('not-enrolled' | 'control' | 'experiment' | 'variation' | 'variation_1' | 'variation_2' | 'variation_3' | 'variation_4')[];
21
21
  export type CohortKeys = keyof typeof cohorts;
22
22
  export type Cohort = (typeof cohorts)[CohortKeys];
23
23
  export declare const getIsExperimentEnabled: (experimentName: string, variantKey?: Cohort, validExperimentCohorts?: Cohort[], fireExperimentExposure?: boolean) => boolean;
@@ -1,4 +1,4 @@
1
- import { type StoreActionApi } from 'react-sweet-state';
1
+ import { type BoundActions, type HookFunction, type StoreActionApi } from 'react-sweet-state';
2
2
  type Product = 'Jira' | 'Confluence' | 'Loom' | 'WebLink';
3
3
  type ContainerState = {
4
4
  isLoading: boolean;
@@ -17,7 +17,7 @@ type StoreAction = StoreActionApi<State>;
17
17
  *
18
18
  * @returns {object} State and actions for managing container creation.
19
19
  */
20
- declare const useCreateContainers: import("react-sweet-state").HookFunction<State, import("react-sweet-state").BoundActions<State, {
20
+ declare const useCreateContainers: HookFunction<State, BoundActions<State, {
21
21
  updateContainerLoading: (product: Product, isLoading: boolean) => ({ setState, getState }: StoreAction) => void;
22
22
  updateContainerCreated: (product: Product, isCreated: boolean) => ({ setState, getState }: StoreAction) => void;
23
23
  }>, void>;
@@ -1,4 +1,4 @@
1
- import { type Action } from 'react-sweet-state';
1
+ import { type Action, type BoundActions, type HookFunction } from 'react-sweet-state';
2
2
  import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
3
3
  import type { TeamContainers, TeamWithMemberships, UnlinkContainerMutationError } from '@atlaskit/teams-client/types';
4
4
  import { type TeamContainer } from '../../../common/types';
@@ -19,11 +19,11 @@ type State = {
19
19
  teamId: string | null;
20
20
  connectedTeams: ConnectedTeams;
21
21
  };
22
- export declare const useTeamContainersHook: import("react-sweet-state").HookFunction<State, import("react-sweet-state").BoundActions<State, {
23
- fetchTeamContainers: (teamId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
24
- refetchTeamContainers: (fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
25
- fetchNumberOfConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
26
- fetchConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>["fireEvent"]) => Action<State>;
22
+ export declare const useTeamContainersHook: HookFunction<State, BoundActions<State, {
23
+ fetchTeamContainers: (teamId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
24
+ refetchTeamContainers: (fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
25
+ fetchNumberOfConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
26
+ fetchConnectedTeams: (containerId: string, fireAnalytics: ReturnType<typeof useAnalyticsEvents>['fireEvent']) => Action<State>;
27
27
  unlinkTeamContainers: (teamId: string, containerId: string) => Action<State>;
28
28
  addTeamContainer: (teamContainer: TeamContainer) => Action<State>;
29
29
  }>, void>;
@@ -1,4 +1,4 @@
1
- import { type Action } from 'react-sweet-state';
1
+ import { type Action, type BoundActions, type HookFunction } from 'react-sweet-state';
2
2
  import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
3
3
  import type { TeamContainers, TeamWithMemberships, UnlinkContainerMutationError } from '@atlaskit/teams-client/types';
4
4
  import { type TeamContainer } from '../../../common/types';
@@ -30,11 +30,11 @@ type FireAnalyticsProps = {
30
30
  numberOfTeams?: number;
31
31
  error?: Error;
32
32
  };
33
- export declare const useTeamContainersHook: import("react-sweet-state").HookFunction<State, import("react-sweet-state").BoundActions<State, {
34
- fetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
35
- refetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
36
- fetchNumberOfConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
37
- fetchConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>["fireEvent"]) => Action<State>;
33
+ export declare const useTeamContainersHook: HookFunction<State, BoundActions<State, {
34
+ fetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
35
+ refetchTeamContainers: (teamId: string, fireAnalytics: (action: string, actionSubject: string, error?: Error) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
36
+ fetchNumberOfConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
37
+ fetchConnectedTeams: (teamId: string, containerId: string, fireAnalytics: (props: FireAnalyticsProps) => void, fireAnalyticsNext: ReturnType<typeof useAnalyticsEventsNext>['fireEvent']) => Action<State>;
38
38
  unlinkTeamContainers: (teamId: string, containerId: string) => Action<State>;
39
39
  addTeamContainer: (teamId: string, teamContainer: TeamContainer) => Action<State>;
40
40
  }>, void>;
@@ -1,5 +1,6 @@
1
+ import { type BoundActions, type HookFunction } from 'react-sweet-state';
1
2
  import type { ProductPermissionsActions, ProductPermissionsStore } from './types';
2
3
  /**
3
4
  * @deprecated Use useProductPermissionsStore from "@atlaskit/teams-app-internal-product-permissions" instead
4
5
  */
5
- export declare const useProductPermissionsStore: import("react-sweet-state").HookFunction<ProductPermissionsStore, import("react-sweet-state").BoundActions<ProductPermissionsStore, ProductPermissionsActions>, void>;
6
+ export declare const useProductPermissionsStore: HookFunction<ProductPermissionsStore, BoundActions<ProductPermissionsStore, ProductPermissionsActions>, void>;
package/package.json CHANGED
@@ -106,7 +106,7 @@
106
106
  }
107
107
  },
108
108
  "name": "@atlaskit/teams-public",
109
- "version": "0.72.2",
109
+ "version": "0.73.0",
110
110
  "description": "Public components related to teams",
111
111
  "author": "Atlassian Pty Ltd",
112
112
  "license": "Apache-2.0",
@@ -130,9 +130,6 @@
130
130
  "enable_multi_team_containers_state": {
131
131
  "type": "boolean"
132
132
  },
133
- "enable-fix-team-container-height": {
134
- "type": "boolean"
135
- },
136
133
  "ptc-missed-analytics-migration-events": {
137
134
  "type": "boolean"
138
135
  },