@atlaskit/teams-public 1.5.0 → 2.0.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 +26 -0
- package/assets/package.json +1 -8
- package/container-icon/package.json +1 -8
- package/i18n/package.json +1 -8
- package/loom-avatar/main/package.json +1 -8
- package/loom-avatar/package.json +1 -8
- package/main/package.json +1 -8
- package/next/add-container-card/package.json +1 -8
- package/next/package.json +1 -8
- package/next/team-container-skeleton/package.json +1 -8
- package/next/team-link-card/package.json +1 -8
- package/package.json +23 -31
- package/separator/package.json +1 -8
- package/space-invite-scheduler/package.json +1 -8
- package/team-containers/package.json +1 -8
- package/team-containers/types/package.json +1 -8
- package/team-containers-skeleton/package.json +1 -8
- package/team-link-card/package.json +1 -8
- package/types/package.json +1 -8
- package/use-create-containers/package.json +1 -8
- package/use-product-permission/package.json +1 -8
- package/use-team-containers/package.json +1 -8
- package/use-team-links-and-containers/package.json +1 -8
- package/use-team-web-links/package.json +1 -8
- package/utils/get-container-properties/package.json +1 -8
- package/utils/get-is-experiment-enabled/package.json +1 -8
- package/utils/package.json +1 -8
- package/utils/space-invite-scheduler/package.json +1 -8
- package/dist/types-ts4.5/common/assets/index.d.ts +0 -3
- package/dist/types-ts4.5/common/hooks/useSpaceInviteScheduler.d.ts +0 -10
- package/dist/types-ts4.5/common/types.d.ts +0 -38
- package/dist/types-ts4.5/common/ui/container-icon/index.d.ts +0 -10
- package/dist/types-ts4.5/common/ui/loom-avatar/index.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/loom-avatar/main.d.ts +0 -10
- package/dist/types-ts4.5/common/ui/loom-avatar/utils.d.ts +0 -16
- package/dist/types-ts4.5/common/ui/separator/index.d.ts +0 -2
- package/dist/types-ts4.5/common/ui/team-containers-skeleton/index.d.ts +0 -5
- package/dist/types-ts4.5/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.d.ts +0 -5
- package/dist/types-ts4.5/common/ui/team-link-card-actions/index.d.ts +0 -15
- package/dist/types-ts4.5/common/utils/analytics.d.ts +0 -34
- package/dist/types-ts4.5/common/utils/get-container-properties.d.ts +0 -74
- package/dist/types-ts4.5/common/utils/get-is-experiment-enabled.d.ts +0 -23
- package/dist/types-ts4.5/common/utils/get-link-domain.d.ts +0 -16
- package/dist/types-ts4.5/common/utils/spaceInviteScheduler.d.ts +0 -23
- package/dist/types-ts4.5/common/utils/team-web-link-converters.d.ts +0 -10
- package/dist/types-ts4.5/controllers/hooks/use-create-containers/index.d.ts +0 -24
- package/dist/types-ts4.5/controllers/hooks/use-product-permission/index.d.ts +0 -5
- package/dist/types-ts4.5/controllers/hooks/use-refresh-containers-on-container-created/index.d.ts +0 -3
- package/dist/types-ts4.5/controllers/hooks/use-team-containers/index.d.ts +0 -59
- package/dist/types-ts4.5/controllers/hooks/use-team-containers/mocks.d.ts +0 -127
- package/dist/types-ts4.5/controllers/hooks/use-team-containers/multi-team.d.ts +0 -63
- package/dist/types-ts4.5/controllers/hooks/use-team-links-and-containers/index.d.ts +0 -18
- package/dist/types-ts4.5/controllers/hooks/use-team-web-links/index.d.ts +0 -165
- package/dist/types-ts4.5/controllers/hooks/use-team-web-links/multi-team.d.ts +0 -43
- package/dist/types-ts4.5/controllers/hooks/use-team-web-links/types.d.ts +0 -21
- package/dist/types-ts4.5/controllers/index.d.ts +0 -3
- package/dist/types-ts4.5/controllers/product-permission/main.d.ts +0 -6
- package/dist/types-ts4.5/controllers/product-permission/types.d.ts +0 -59
- package/dist/types-ts4.5/controllers/product-permission/utils.d.ts +0 -7
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -8
- package/dist/types-ts4.5/i18n/da.d.ts +0 -8
- package/dist/types-ts4.5/i18n/de.d.ts +0 -8
- package/dist/types-ts4.5/i18n/en.d.ts +0 -8
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -8
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -8
- package/dist/types-ts4.5/i18n/es.d.ts +0 -8
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -8
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -8
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -8
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -8
- package/dist/types-ts4.5/i18n/index.d.ts +0 -35
- package/dist/types-ts4.5/i18n/it.d.ts +0 -8
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -8
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -8
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -8
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -8
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -8
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -8
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -8
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -8
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -8
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -8
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -8
- package/dist/types-ts4.5/i18n/th.d.ts +0 -8
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -8
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -8
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -8
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -8
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -8
- package/dist/types-ts4.5/index.d.ts +0 -19
- package/dist/types-ts4.5/next/common/ui/team-container-skeleton/index.d.ts +0 -3
- package/dist/types-ts4.5/next/index.d.ts +0 -3
- package/dist/types-ts4.5/next/ui/team-containers/add-container-card/index.d.ts +0 -10
- package/dist/types-ts4.5/next/ui/team-containers/team-link-card/index.d.ts +0 -18
- package/dist/types-ts4.5/ui/team-containers/add-container-card/add-container-card-button/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/team-containers/add-container-card/index.d.ts +0 -29
- package/dist/types-ts4.5/ui/team-containers/disconnect-dialog/async.d.ts +0 -3
- package/dist/types-ts4.5/ui/team-containers/disconnect-dialog/index.d.ts +0 -46
- package/dist/types-ts4.5/ui/team-containers/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/team-containers/main.d.ts +0 -6
- package/dist/types-ts4.5/ui/team-containers/no-product-access-empty-state/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/team-containers/team-link-card/index.d.ts +0 -19
- package/dist/types-ts4.5/ui/team-containers/team-link-card/team-link-card-title.d.ts +0 -9
- package/dist/types-ts4.5/ui/team-containers/types.d.ts +0 -84
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ContainerSubTypes, type ContainerTypes } from '../../../common/types';
|
|
3
|
-
export interface TeamLinkCardProps {
|
|
4
|
-
containerType: ContainerTypes;
|
|
5
|
-
title: string;
|
|
6
|
-
containerId?: string;
|
|
7
|
-
containerIcon?: string;
|
|
8
|
-
link?: string;
|
|
9
|
-
onDisconnectButtonClick: () => void;
|
|
10
|
-
onEditLinkClick?: () => void;
|
|
11
|
-
containerTypeProperties?: {
|
|
12
|
-
subType?: ContainerSubTypes;
|
|
13
|
-
name?: string;
|
|
14
|
-
};
|
|
15
|
-
openInNewTab?: boolean;
|
|
16
|
-
isReadOnly?: boolean;
|
|
17
|
-
hideSubTextIcon?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare const TeamLinkCard: ({ containerType, title, containerIcon, link, containerId, containerTypeProperties, onDisconnectButtonClick, onEditLinkClick, openInNewTab, isReadOnly, hideSubTextIcon, }: TeamLinkCardProps) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface TeamLinkCardTitleProps {
|
|
3
|
-
isTeamLensInHomeEnabled: boolean;
|
|
4
|
-
isOpenWebLinkInNewTabEnabled: boolean;
|
|
5
|
-
link: string;
|
|
6
|
-
handleLinkClick: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
7
|
-
title: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const TeamLinkCardTitle: ({ isTeamLensInHomeEnabled, isOpenWebLinkInNewTabEnabled, link, handleLinkClick, title, }: TeamLinkCardTitleProps) => React.JSX.Element;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { type ComponentType } from 'react';
|
|
2
|
-
import type { GridProps } from '@atlaskit/primitives/compiled';
|
|
3
|
-
import { type TeamContainersSkeletonProps } from '../../common/ui/team-containers-skeleton';
|
|
4
|
-
import type { AddContainerCardProps } from './add-container-card';
|
|
5
|
-
import { type TeamLinkCardProps } from './team-link-card';
|
|
6
|
-
export type FlagType = FlagAppearance;
|
|
7
|
-
type FlagAppearance = 'error' | 'info' | 'normal' | 'success' | 'warning';
|
|
8
|
-
export interface Flag {
|
|
9
|
-
id: number | string;
|
|
10
|
-
title?: string | React.ReactNode;
|
|
11
|
-
description?: string | React.ReactNode;
|
|
12
|
-
type?: FlagType;
|
|
13
|
-
appearance?: FlagAppearance;
|
|
14
|
-
actions?: {
|
|
15
|
-
content: React.ReactNode;
|
|
16
|
-
onClick?: () => void;
|
|
17
|
-
href?: string;
|
|
18
|
-
target?: string;
|
|
19
|
-
}[];
|
|
20
|
-
icon?: JSX.Element;
|
|
21
|
-
}
|
|
22
|
-
export interface TeamContainerProps {
|
|
23
|
-
/**
|
|
24
|
-
* The team id to fetch the team container for
|
|
25
|
-
*/
|
|
26
|
-
teamId: string;
|
|
27
|
-
/**
|
|
28
|
-
* The function to call when the add a container button is clicked
|
|
29
|
-
*/
|
|
30
|
-
onAddAContainerClick: (e: React.MouseEvent<HTMLButtonElement>, containerType: 'Confluence' | 'Jira' | 'Loom' | 'WebLink') => void;
|
|
31
|
-
/**
|
|
32
|
-
* The function to call when the edit container button is clicked
|
|
33
|
-
*/
|
|
34
|
-
onEditContainerClick?: (containerId: string, containerLink: string, containerTitle: string) => void;
|
|
35
|
-
/**
|
|
36
|
-
* The component to replace current components
|
|
37
|
-
*/
|
|
38
|
-
components?: TeamContainersComponent;
|
|
39
|
-
/**
|
|
40
|
-
* The user id of the current user
|
|
41
|
-
*/
|
|
42
|
-
userId: string;
|
|
43
|
-
/**
|
|
44
|
-
* The cloud id of the current site
|
|
45
|
-
*/
|
|
46
|
-
cloudId: string;
|
|
47
|
-
/**
|
|
48
|
-
* The container id to filter out from the list
|
|
49
|
-
*/
|
|
50
|
-
filterContainerId?: string;
|
|
51
|
-
/**
|
|
52
|
-
* The container id to filter out from the list
|
|
53
|
-
*/
|
|
54
|
-
isDisplayedOnProfileCard?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* The maximum number of containers to show
|
|
57
|
-
*/
|
|
58
|
-
maxNumberOfContainersToShow?: number;
|
|
59
|
-
addFlag?: (flag: Flag) => void;
|
|
60
|
-
isReadOnly?: boolean;
|
|
61
|
-
onError?: (error: Error | boolean) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Component to render in the grid before any results
|
|
64
|
-
**/
|
|
65
|
-
elemBeforeCards?: ComponentType<{}>;
|
|
66
|
-
/**
|
|
67
|
-
* Whether to hide the subtext icon
|
|
68
|
-
*/
|
|
69
|
-
hideSubTextIcon?: boolean;
|
|
70
|
-
}
|
|
71
|
-
export interface TeamContainersEmptyStateProps {
|
|
72
|
-
hasNoPermissions?: boolean;
|
|
73
|
-
}
|
|
74
|
-
export interface TeamContainersEmptyStateProps {
|
|
75
|
-
hasNoPermissions?: boolean;
|
|
76
|
-
}
|
|
77
|
-
export interface TeamContainersComponent {
|
|
78
|
-
ContainerCard?: ComponentType<TeamLinkCardProps>;
|
|
79
|
-
TeamContainersSkeleton?: ComponentType<TeamContainersSkeletonProps>;
|
|
80
|
-
TeamContainersEmptyState?: ComponentType<TeamContainersEmptyStateProps>;
|
|
81
|
-
AddContainerCard?: ComponentType<AddContainerCardProps>;
|
|
82
|
-
Grid?: ComponentType<GridProps>;
|
|
83
|
-
}
|
|
84
|
-
export {};
|