@atlaskit/user-picker 10.20.4 → 10.21.1
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 +18 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/AddOptionAvatar.js +13 -7
- package/dist/cjs/components/AvatarItemOption.js +18 -12
- package/dist/cjs/components/CustomOption/main.js +5 -2
- package/dist/cjs/components/EmailOption/main.js +5 -2
- package/dist/cjs/components/ExternalUserOption/ExternalAvatarItemOption.js +18 -12
- package/dist/cjs/components/ExternalUserOption/InfoIcon.js +2 -0
- package/dist/cjs/components/ExternalUserOption/SourcesTooltipContent.js +4 -0
- package/dist/cjs/components/ExternalUserOption/main.js +16 -7
- package/dist/cjs/components/GroupOption/main.js +7 -2
- package/dist/cjs/components/Menu.js +4 -2
- package/dist/cjs/components/MultiValue.js +1 -1
- package/dist/cjs/components/PopupControl.js +2 -1
- package/dist/cjs/components/SingleValue.js +4 -0
- package/dist/cjs/components/SingleValueContainer.js +5 -2
- package/dist/cjs/components/TeamOption/main.js +6 -2
- package/dist/cjs/components/UserOption.js +6 -2
- package/dist/cjs/components/UserPicker.js +3 -1
- package/dist/cjs/components/ValueContainerWrapper.js +4 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/AddOptionAvatar.js +12 -7
- package/dist/es2019/components/AvatarItemOption.js +19 -11
- package/dist/es2019/components/CustomOption/main.js +5 -1
- package/dist/es2019/components/EmailOption/main.js +5 -1
- package/dist/es2019/components/ExternalUserOption/ExternalAvatarItemOption.js +8 -1
- package/dist/es2019/components/ExternalUserOption/InfoIcon.js +1 -0
- package/dist/es2019/components/ExternalUserOption/SourcesTooltipContent.js +3 -0
- package/dist/es2019/components/ExternalUserOption/main.js +17 -6
- package/dist/es2019/components/GroupOption/main.js +8 -1
- package/dist/es2019/components/Menu.js +4 -1
- package/dist/es2019/components/MultiValue.js +1 -0
- package/dist/es2019/components/PopupControl.js +2 -0
- package/dist/es2019/components/SingleValue.js +4 -0
- package/dist/es2019/components/SingleValueContainer.js +5 -1
- package/dist/es2019/components/TeamOption/main.js +6 -1
- package/dist/es2019/components/UserOption.js +6 -1
- package/dist/es2019/components/UserPicker.js +3 -1
- package/dist/es2019/components/ValueContainerWrapper.js +4 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/AddOptionAvatar.js +12 -7
- package/dist/esm/components/AvatarItemOption.js +18 -11
- package/dist/esm/components/CustomOption/main.js +5 -1
- package/dist/esm/components/EmailOption/main.js +5 -1
- package/dist/esm/components/ExternalUserOption/ExternalAvatarItemOption.js +18 -11
- package/dist/esm/components/ExternalUserOption/InfoIcon.js +1 -0
- package/dist/esm/components/ExternalUserOption/SourcesTooltipContent.js +3 -0
- package/dist/esm/components/ExternalUserOption/main.js +17 -6
- package/dist/esm/components/GroupOption/main.js +8 -1
- package/dist/esm/components/Menu.js +4 -1
- package/dist/esm/components/MultiValue.js +1 -0
- package/dist/esm/components/PopupControl.js +2 -0
- package/dist/esm/components/SingleValue.js +4 -0
- package/dist/esm/components/SingleValueContainer.js +5 -1
- package/dist/esm/components/TeamOption/main.js +6 -1
- package/dist/esm/components/UserOption.js +6 -1
- package/dist/esm/components/UserPicker.js +3 -1
- package/dist/esm/components/ValueContainerWrapper.js +4 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/docs/0-intro.tsx +30 -36
- package/docs/1-smart-user-picker.tsx +12 -12
- package/docs/2-popup-user-picker.tsx +16 -22
- package/package.json +99 -99
- package/report.api.md +416 -429
package/package.json
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
2
|
+
"name": "@atlaskit/user-picker",
|
|
3
|
+
"version": "10.21.1",
|
|
4
|
+
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
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
|
+
"sideEffects": false,
|
|
24
|
+
"atlaskit:src": "src/index.ts",
|
|
25
|
+
"af:exports": {
|
|
26
|
+
".": "./src/index.ts",
|
|
27
|
+
"./analytics": "./src/analytics.ts",
|
|
28
|
+
"./option": "./src/option.ts",
|
|
29
|
+
"./types": "./src/types.ts"
|
|
30
|
+
},
|
|
31
|
+
"atlassian": {
|
|
32
|
+
"team": "Search Platform: Search Experience",
|
|
33
|
+
"releaseModel": "continuous",
|
|
34
|
+
"website": {
|
|
35
|
+
"name": "User Picker"
|
|
36
|
+
},
|
|
37
|
+
"productPushConsumption": [
|
|
38
|
+
"jira"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"config": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
|
+
"@atlaskit/avatar": "^21.10.0",
|
|
47
|
+
"@atlaskit/icon": "^22.4.0",
|
|
48
|
+
"@atlaskit/logo": "^14.1.0",
|
|
49
|
+
"@atlaskit/lozenge": "^11.8.0",
|
|
50
|
+
"@atlaskit/popper": "^6.1.0",
|
|
51
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
52
|
+
"@atlaskit/select": "^17.11.0",
|
|
53
|
+
"@atlaskit/spinner": "^16.2.0",
|
|
54
|
+
"@atlaskit/teams-avatar": "^1.0.0",
|
|
55
|
+
"@atlaskit/theme": "^12.10.0",
|
|
56
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
57
|
+
"@atlaskit/tooltip": "^18.5.0",
|
|
58
|
+
"@atlaskit/ufo": "^0.2.0",
|
|
59
|
+
"@babel/runtime": "^7.0.0",
|
|
60
|
+
"@emotion/react": "^11.7.1",
|
|
61
|
+
"lodash": "^4.17.21",
|
|
62
|
+
"memoize-one": "^6.0.0",
|
|
63
|
+
"uuid": "^3.1.0"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"react": "^16.8.0",
|
|
67
|
+
"react-dom": "^16.8.0",
|
|
68
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@atlaskit/analytics-viewer": "^0.6.0",
|
|
72
|
+
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
73
|
+
"@atlaskit/heading": "^2.4.0",
|
|
74
|
+
"@atlaskit/visual-regression": "*",
|
|
75
|
+
"@emotion/styled": "^11.0.0",
|
|
76
|
+
"@testing-library/dom": "^8.17.1",
|
|
77
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
78
|
+
"@testing-library/react": "^12.1.5",
|
|
79
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
80
|
+
"@testing-library/user-event": "^14.4.3",
|
|
81
|
+
"@types/uuid": "^3.4.4",
|
|
82
|
+
"enzyme": "^3.10.0",
|
|
83
|
+
"mock-apollo-client": "^0.1.0",
|
|
84
|
+
"react-beautiful-dnd": "^12.1.1",
|
|
85
|
+
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
86
|
+
"react-select-event": "^5.5.0",
|
|
87
|
+
"typescript": "~5.4.2"
|
|
88
|
+
},
|
|
89
|
+
"techstack": {
|
|
90
|
+
"@repo/internal": {
|
|
91
|
+
"design-tokens": [
|
|
92
|
+
"color"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"keywords": [
|
|
97
|
+
"fabric",
|
|
98
|
+
"ui"
|
|
99
|
+
]
|
|
100
|
+
}
|