@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.
Files changed (105) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/assets/package.json +1 -8
  3. package/container-icon/package.json +1 -8
  4. package/i18n/package.json +1 -8
  5. package/loom-avatar/main/package.json +1 -8
  6. package/loom-avatar/package.json +1 -8
  7. package/main/package.json +1 -8
  8. package/next/add-container-card/package.json +1 -8
  9. package/next/package.json +1 -8
  10. package/next/team-container-skeleton/package.json +1 -8
  11. package/next/team-link-card/package.json +1 -8
  12. package/package.json +23 -31
  13. package/separator/package.json +1 -8
  14. package/space-invite-scheduler/package.json +1 -8
  15. package/team-containers/package.json +1 -8
  16. package/team-containers/types/package.json +1 -8
  17. package/team-containers-skeleton/package.json +1 -8
  18. package/team-link-card/package.json +1 -8
  19. package/types/package.json +1 -8
  20. package/use-create-containers/package.json +1 -8
  21. package/use-product-permission/package.json +1 -8
  22. package/use-team-containers/package.json +1 -8
  23. package/use-team-links-and-containers/package.json +1 -8
  24. package/use-team-web-links/package.json +1 -8
  25. package/utils/get-container-properties/package.json +1 -8
  26. package/utils/get-is-experiment-enabled/package.json +1 -8
  27. package/utils/package.json +1 -8
  28. package/utils/space-invite-scheduler/package.json +1 -8
  29. package/dist/types-ts4.5/common/assets/index.d.ts +0 -3
  30. package/dist/types-ts4.5/common/hooks/useSpaceInviteScheduler.d.ts +0 -10
  31. package/dist/types-ts4.5/common/types.d.ts +0 -38
  32. package/dist/types-ts4.5/common/ui/container-icon/index.d.ts +0 -10
  33. package/dist/types-ts4.5/common/ui/loom-avatar/index.d.ts +0 -1
  34. package/dist/types-ts4.5/common/ui/loom-avatar/main.d.ts +0 -10
  35. package/dist/types-ts4.5/common/ui/loom-avatar/utils.d.ts +0 -16
  36. package/dist/types-ts4.5/common/ui/separator/index.d.ts +0 -2
  37. package/dist/types-ts4.5/common/ui/team-containers-skeleton/index.d.ts +0 -5
  38. package/dist/types-ts4.5/common/ui/team-containers-skeleton/linked-container-card-skeleton/index.d.ts +0 -5
  39. package/dist/types-ts4.5/common/ui/team-link-card-actions/index.d.ts +0 -15
  40. package/dist/types-ts4.5/common/utils/analytics.d.ts +0 -34
  41. package/dist/types-ts4.5/common/utils/get-container-properties.d.ts +0 -74
  42. package/dist/types-ts4.5/common/utils/get-is-experiment-enabled.d.ts +0 -23
  43. package/dist/types-ts4.5/common/utils/get-link-domain.d.ts +0 -16
  44. package/dist/types-ts4.5/common/utils/spaceInviteScheduler.d.ts +0 -23
  45. package/dist/types-ts4.5/common/utils/team-web-link-converters.d.ts +0 -10
  46. package/dist/types-ts4.5/controllers/hooks/use-create-containers/index.d.ts +0 -24
  47. package/dist/types-ts4.5/controllers/hooks/use-product-permission/index.d.ts +0 -5
  48. package/dist/types-ts4.5/controllers/hooks/use-refresh-containers-on-container-created/index.d.ts +0 -3
  49. package/dist/types-ts4.5/controllers/hooks/use-team-containers/index.d.ts +0 -59
  50. package/dist/types-ts4.5/controllers/hooks/use-team-containers/mocks.d.ts +0 -127
  51. package/dist/types-ts4.5/controllers/hooks/use-team-containers/multi-team.d.ts +0 -63
  52. package/dist/types-ts4.5/controllers/hooks/use-team-links-and-containers/index.d.ts +0 -18
  53. package/dist/types-ts4.5/controllers/hooks/use-team-web-links/index.d.ts +0 -165
  54. package/dist/types-ts4.5/controllers/hooks/use-team-web-links/multi-team.d.ts +0 -43
  55. package/dist/types-ts4.5/controllers/hooks/use-team-web-links/types.d.ts +0 -21
  56. package/dist/types-ts4.5/controllers/index.d.ts +0 -3
  57. package/dist/types-ts4.5/controllers/product-permission/main.d.ts +0 -6
  58. package/dist/types-ts4.5/controllers/product-permission/types.d.ts +0 -59
  59. package/dist/types-ts4.5/controllers/product-permission/utils.d.ts +0 -7
  60. package/dist/types-ts4.5/i18n/cs.d.ts +0 -8
  61. package/dist/types-ts4.5/i18n/da.d.ts +0 -8
  62. package/dist/types-ts4.5/i18n/de.d.ts +0 -8
  63. package/dist/types-ts4.5/i18n/en.d.ts +0 -8
  64. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -8
  65. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -8
  66. package/dist/types-ts4.5/i18n/es.d.ts +0 -8
  67. package/dist/types-ts4.5/i18n/fi.d.ts +0 -8
  68. package/dist/types-ts4.5/i18n/fr.d.ts +0 -8
  69. package/dist/types-ts4.5/i18n/hr.d.ts +0 -8
  70. package/dist/types-ts4.5/i18n/hu.d.ts +0 -8
  71. package/dist/types-ts4.5/i18n/index.d.ts +0 -35
  72. package/dist/types-ts4.5/i18n/it.d.ts +0 -8
  73. package/dist/types-ts4.5/i18n/ja.d.ts +0 -8
  74. package/dist/types-ts4.5/i18n/ko.d.ts +0 -8
  75. package/dist/types-ts4.5/i18n/nb.d.ts +0 -8
  76. package/dist/types-ts4.5/i18n/nl.d.ts +0 -8
  77. package/dist/types-ts4.5/i18n/pl.d.ts +0 -8
  78. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -8
  79. package/dist/types-ts4.5/i18n/ru.d.ts +0 -8
  80. package/dist/types-ts4.5/i18n/sl.d.ts +0 -8
  81. package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -8
  82. package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -8
  83. package/dist/types-ts4.5/i18n/sv.d.ts +0 -8
  84. package/dist/types-ts4.5/i18n/th.d.ts +0 -8
  85. package/dist/types-ts4.5/i18n/tr.d.ts +0 -8
  86. package/dist/types-ts4.5/i18n/uk.d.ts +0 -8
  87. package/dist/types-ts4.5/i18n/vi.d.ts +0 -8
  88. package/dist/types-ts4.5/i18n/zh.d.ts +0 -8
  89. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -8
  90. package/dist/types-ts4.5/index.d.ts +0 -19
  91. package/dist/types-ts4.5/next/common/ui/team-container-skeleton/index.d.ts +0 -3
  92. package/dist/types-ts4.5/next/index.d.ts +0 -3
  93. package/dist/types-ts4.5/next/ui/team-containers/add-container-card/index.d.ts +0 -10
  94. package/dist/types-ts4.5/next/ui/team-containers/team-link-card/index.d.ts +0 -18
  95. package/dist/types-ts4.5/ui/team-containers/add-container-card/add-container-card-button/index.d.ts +0 -6
  96. package/dist/types-ts4.5/ui/team-containers/add-container-card/index.d.ts +0 -29
  97. package/dist/types-ts4.5/ui/team-containers/disconnect-dialog/async.d.ts +0 -3
  98. package/dist/types-ts4.5/ui/team-containers/disconnect-dialog/index.d.ts +0 -46
  99. package/dist/types-ts4.5/ui/team-containers/index.d.ts +0 -3
  100. package/dist/types-ts4.5/ui/team-containers/main.d.ts +0 -6
  101. package/dist/types-ts4.5/ui/team-containers/no-product-access-empty-state/index.d.ts +0 -2
  102. package/dist/types-ts4.5/ui/team-containers/no-product-access-empty-state/no-product-access-icon/index.d.ts +0 -2
  103. package/dist/types-ts4.5/ui/team-containers/team-link-card/index.d.ts +0 -19
  104. package/dist/types-ts4.5/ui/team-containers/team-link-card/team-link-card-title.d.ts +0 -9
  105. package/dist/types-ts4.5/ui/team-containers/types.d.ts +0 -84
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare function NoProductAccessIcon(): React.JSX.Element;
@@ -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 {};