@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 1.5.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/assets/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/common/assets/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/common/assets/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/common/assets/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/common/ui/container-icon/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/common/ui/container-icon/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/common/ui/container-icon/index.d.ts"
|
|
17
10
|
}
|
package/i18n/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/common/ui/loom-avatar/main.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/common/ui/loom-avatar/main.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/common/ui/loom-avatar/main.d.ts"
|
|
17
10
|
}
|
package/loom-avatar/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/common/ui/loom-avatar/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/common/ui/loom-avatar/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/common/ui/loom-avatar/index.d.ts"
|
|
17
10
|
}
|
package/main/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/ui/team-containers/main.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/ui/team-containers/main.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/ui/team-containers/main.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/next/ui/team-containers/add-container-card/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/next/ui/team-containers/add-container-card/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/next/ui/team-containers/add-container-card/index.d.ts"
|
|
17
10
|
}
|
package/next/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/next/common/ui/team-container-skeleton/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/next/common/ui/team-container-skeleton/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/next/common/ui/team-container-skeleton/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/next/ui/team-containers/team-link-card/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/next/ui/team-containers/team-link-card/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/next/ui/team-containers/team-link-card/index.d.ts"
|
|
17
10
|
}
|
package/package.json
CHANGED
|
@@ -18,42 +18,34 @@
|
|
|
18
18
|
"module": "dist/esm/index.js",
|
|
19
19
|
"module:es2019": "dist/es2019/index.js",
|
|
20
20
|
"types": "dist/types/index.d.ts",
|
|
21
|
-
"typesVersions": {
|
|
22
|
-
">=4.5 <5.4": {
|
|
23
|
-
"*": [
|
|
24
|
-
"dist/types-ts4.5/*",
|
|
25
|
-
"dist/types-ts4.5/index.d.ts"
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
21
|
"sideEffects": [
|
|
30
22
|
"*.compiled.css"
|
|
31
23
|
],
|
|
32
24
|
"atlaskit:src": "src/index.ts",
|
|
33
25
|
"dependencies": {
|
|
34
26
|
"@atlaskit/afm-i18n-platform-people-and-teams-teams-public": "2.152.0",
|
|
35
|
-
"@atlaskit/analytics-next": "^
|
|
36
|
-
"@atlaskit/avatar": "^
|
|
37
|
-
"@atlaskit/button": "^
|
|
38
|
-
"@atlaskit/css": "^0.
|
|
39
|
-
"@atlaskit/dropdown-menu": "^
|
|
40
|
-
"@atlaskit/feature-gate-js-client": "^
|
|
41
|
-
"@atlaskit/heading": "^
|
|
42
|
-
"@atlaskit/icon": "^
|
|
43
|
-
"@atlaskit/image": "^
|
|
44
|
-
"@atlaskit/link": "^
|
|
45
|
-
"@atlaskit/modal-dialog": "^
|
|
46
|
-
"@atlaskit/people-teams-ui-public": "^
|
|
47
|
-
"@atlaskit/platform-feature-flags": "^
|
|
48
|
-
"@atlaskit/primitives": "^
|
|
49
|
-
"@atlaskit/skeleton": "^
|
|
50
|
-
"@atlaskit/teams-app-internal-analytics": "^
|
|
51
|
-
"@atlaskit/teams-app-internal-navigation": "^
|
|
52
|
-
"@atlaskit/teams-app-internal-product-permissions": "^
|
|
53
|
-
"@atlaskit/teams-client": "^
|
|
54
|
-
"@atlaskit/tile": "^
|
|
55
|
-
"@atlaskit/tokens": "^
|
|
56
|
-
"@atlaskit/tooltip": "^
|
|
27
|
+
"@atlaskit/analytics-next": "^12.0.0",
|
|
28
|
+
"@atlaskit/avatar": "^26.0.0",
|
|
29
|
+
"@atlaskit/button": "^24.0.0",
|
|
30
|
+
"@atlaskit/css": "^1.0.0",
|
|
31
|
+
"@atlaskit/dropdown-menu": "^17.0.0",
|
|
32
|
+
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
33
|
+
"@atlaskit/heading": "^6.0.0",
|
|
34
|
+
"@atlaskit/icon": "^36.0.0",
|
|
35
|
+
"@atlaskit/image": "^4.0.0",
|
|
36
|
+
"@atlaskit/link": "^4.0.0",
|
|
37
|
+
"@atlaskit/modal-dialog": "^16.0.0",
|
|
38
|
+
"@atlaskit/people-teams-ui-public": "^5.0.0",
|
|
39
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
40
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
41
|
+
"@atlaskit/skeleton": "^3.0.0",
|
|
42
|
+
"@atlaskit/teams-app-internal-analytics": "^2.0.0",
|
|
43
|
+
"@atlaskit/teams-app-internal-navigation": "^2.0.0",
|
|
44
|
+
"@atlaskit/teams-app-internal-product-permissions": "^2.0.0",
|
|
45
|
+
"@atlaskit/teams-client": "^5.0.0",
|
|
46
|
+
"@atlaskit/tile": "^2.0.0",
|
|
47
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
48
|
+
"@atlaskit/tooltip": "^23.0.0",
|
|
57
49
|
"@babel/runtime": "^7.0.0",
|
|
58
50
|
"@compiled/react": "^0.20.0",
|
|
59
51
|
"@types/string-hash": "^1.1.3",
|
|
@@ -119,7 +111,7 @@
|
|
|
119
111
|
}
|
|
120
112
|
},
|
|
121
113
|
"name": "@atlaskit/teams-public",
|
|
122
|
-
"version": "
|
|
114
|
+
"version": "2.0.0",
|
|
123
115
|
"description": "Public components related to teams",
|
|
124
116
|
"author": "Atlassian Pty Ltd",
|
|
125
117
|
"license": "Apache-2.0",
|
package/separator/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/common/ui/separator/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/common/ui/separator/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/common/ui/separator/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/common/hooks/useSpaceInviteScheduler.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/common/hooks/useSpaceInviteScheduler.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/common/hooks/useSpaceInviteScheduler.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/ui/team-containers/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/ui/team-containers/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/ui/team-containers/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/ui/team-containers/types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/ui/team-containers/types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/ui/team-containers/types.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/common/ui/team-containers-skeleton/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/common/ui/team-containers-skeleton/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/common/ui/team-containers-skeleton/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/ui/team-containers/team-link-card/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/ui/team-containers/team-link-card/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/ui/team-containers/team-link-card/index.d.ts"
|
|
17
10
|
}
|
package/types/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/controllers/hooks/use-create-containers/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/controllers/hooks/use-create-containers/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/controllers/hooks/use-create-containers/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/controllers/hooks/use-product-permission/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/controllers/hooks/use-product-permission/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/controllers/hooks/use-product-permission/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/controllers/hooks/use-team-containers/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/controllers/hooks/use-team-containers/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/controllers/hooks/use-team-containers/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/controllers/hooks/use-team-links-and-containers/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/controllers/hooks/use-team-links-and-containers/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/controllers/hooks/use-team-links-and-containers/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/controllers/hooks/use-team-web-links/index.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/controllers/hooks/use-team-web-links/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/controllers/hooks/use-team-web-links/index.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/common/utils/get-container-properties.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/common/utils/get-container-properties.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/common/utils/get-container-properties.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/common/utils/get-is-experiment-enabled.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/common/utils/get-is-experiment-enabled.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/common/utils/get-is-experiment-enabled.d.ts"
|
|
17
10
|
}
|
package/utils/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/controllers/product-permission/utils.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/controllers/product-permission/utils.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/controllers/product-permission/utils.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/common/utils/spaceInviteScheduler.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/common/utils/spaceInviteScheduler.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/common/utils/spaceInviteScheduler.d.ts"
|
|
17
10
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers `visibilitychange` and `beforeunload` listeners that flush all
|
|
3
|
-
* pending scheduled invites when the page is being torn down. On unmount the
|
|
4
|
-
* listeners are removed and any remaining pending invites are flushed.
|
|
5
|
-
*
|
|
6
|
-
* Call this once in a long-lived component (e.g. the Team Links sidebar) so
|
|
7
|
-
* that listeners survive popup open/close cycles. Consumers that need to
|
|
8
|
-
* schedule or cancel invites should import `spaceInviteScheduler` directly.
|
|
9
|
-
*/
|
|
10
|
-
export declare const useSpaceInviteScheduler: () => void;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export type ContainerTypes = 'ConfluenceSpace' | 'JiraProject' | 'LoomSpace' | 'WebLink';
|
|
2
|
-
export declare enum JiraProjectTypes {
|
|
3
|
-
PRODUCT_DISCOVERY = "Product Discovery",
|
|
4
|
-
SOFTWARE = "Software",
|
|
5
|
-
SERVICE_DESK = "Service Desk",
|
|
6
|
-
BUSINESS = "Business",
|
|
7
|
-
CUSTOMER_SERVICE = "Customer Service"
|
|
8
|
-
}
|
|
9
|
-
export type ContainerSubTypes = keyof typeof JiraProjectTypes | string;
|
|
10
|
-
export type TeamContainer = {
|
|
11
|
-
id: string;
|
|
12
|
-
type: ContainerTypes;
|
|
13
|
-
name: string;
|
|
14
|
-
icon?: string | null;
|
|
15
|
-
createdDate?: Date;
|
|
16
|
-
link?: string | null;
|
|
17
|
-
containerTypeProperties?: {
|
|
18
|
-
subType?: ContainerSubTypes;
|
|
19
|
-
name?: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export interface TeamWebLink {
|
|
23
|
-
contentTitle: string;
|
|
24
|
-
description: string;
|
|
25
|
-
linkUri: string;
|
|
26
|
-
linkId: string;
|
|
27
|
-
teamId?: string;
|
|
28
|
-
}
|
|
29
|
-
export type NewTeamWebLink = Omit<TeamWebLink, 'linkId'>;
|
|
30
|
-
export declare const USER_ARI_PREFIX: "ari:cloud:identity::user/";
|
|
31
|
-
export type UserARI = `${typeof USER_ARI_PREFIX}${string}`;
|
|
32
|
-
export declare const TEAM_ARI_PREFIX: "ari:cloud:identity::team/";
|
|
33
|
-
export type TeamARI = `${typeof TEAM_ARI_PREFIX}${string}`;
|
|
34
|
-
export type UserStatus = 'active' | 'inactive' | 'closed';
|
|
35
|
-
export type TeamState = 'ACTIVE' | 'PURGED' | 'DISBANDED';
|
|
36
|
-
export type TeamMembershipSettings = 'OPEN' | 'MEMBER_INVITE' | 'EXTERNAL' | 'ORG_ADMIN_MANAGED';
|
|
37
|
-
export type MembershipRole = 'REGULAR' | 'ADMIN';
|
|
38
|
-
export type MembershipState = 'FULL_MEMBER' | 'ALUMNI' | 'REQUESTING_TO_JOIN';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ContainerTypes } from '../../types';
|
|
3
|
-
export interface ContainerIconProps {
|
|
4
|
-
containerType: ContainerTypes;
|
|
5
|
-
title: string;
|
|
6
|
-
containerIcon?: string;
|
|
7
|
-
size?: 'small' | 'medium';
|
|
8
|
-
testId?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const ContainerIcon: ({ containerType, title, containerIcon, size, }: ContainerIconProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LoomSpaceAvatar } from './main';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare enum SpaceColors {
|
|
2
|
-
ORANGE_LIGHT = "#FFD5D2",
|
|
3
|
-
BLUE_LIGHT = "#CFE1FD",
|
|
4
|
-
YELLOW_LIGHT = "#FCE4A6",
|
|
5
|
-
TEAL = "#BAF3DB"
|
|
6
|
-
}
|
|
7
|
-
declare enum AvatarTextColors {
|
|
8
|
-
ORANGE_DARK = "#AE2E24",
|
|
9
|
-
BLUE_DARK = "#123263",
|
|
10
|
-
YELLOW_DARK = "#9E4C00",
|
|
11
|
-
TEAL_DARK = "#164B35"
|
|
12
|
-
}
|
|
13
|
-
export declare const getAvatarText: (spaceName: string) => string;
|
|
14
|
-
export declare const pickContainerColor: (spaceName: string) => SpaceColors;
|
|
15
|
-
export declare const pickTextColor: (spaceName: string) => AvatarTextColors;
|
|
16
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ContainerTypes } from '../../types';
|
|
3
|
-
export interface TeamLinkCardActionsProps {
|
|
4
|
-
containerType: ContainerTypes;
|
|
5
|
-
title: string;
|
|
6
|
-
containerId?: string;
|
|
7
|
-
hovered: boolean;
|
|
8
|
-
focused: boolean;
|
|
9
|
-
isDropdownOpen: boolean;
|
|
10
|
-
showKeyboardFocus: boolean;
|
|
11
|
-
onDisconnectButtonClick: () => void;
|
|
12
|
-
onEditLinkClick?: () => void;
|
|
13
|
-
onDropdownOpenChange: (isOpen: boolean) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const TeamLinkCardActions: ({ containerType, title, containerId, hovered, focused, isDropdownOpen, showKeyboardFocus, onDisconnectButtonClick, onEditLinkClick, onDropdownOpenChange, }: TeamLinkCardActionsProps) => React.JSX.Element;
|