@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.
Files changed (65) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/components/AddOptionAvatar.js +13 -7
  4. package/dist/cjs/components/AvatarItemOption.js +18 -12
  5. package/dist/cjs/components/CustomOption/main.js +5 -2
  6. package/dist/cjs/components/EmailOption/main.js +5 -2
  7. package/dist/cjs/components/ExternalUserOption/ExternalAvatarItemOption.js +18 -12
  8. package/dist/cjs/components/ExternalUserOption/InfoIcon.js +2 -0
  9. package/dist/cjs/components/ExternalUserOption/SourcesTooltipContent.js +4 -0
  10. package/dist/cjs/components/ExternalUserOption/main.js +16 -7
  11. package/dist/cjs/components/GroupOption/main.js +7 -2
  12. package/dist/cjs/components/Menu.js +4 -2
  13. package/dist/cjs/components/MultiValue.js +1 -1
  14. package/dist/cjs/components/PopupControl.js +2 -1
  15. package/dist/cjs/components/SingleValue.js +4 -0
  16. package/dist/cjs/components/SingleValueContainer.js +5 -2
  17. package/dist/cjs/components/TeamOption/main.js +6 -2
  18. package/dist/cjs/components/UserOption.js +6 -2
  19. package/dist/cjs/components/UserPicker.js +3 -1
  20. package/dist/cjs/components/ValueContainerWrapper.js +4 -1
  21. package/dist/es2019/analytics.js +1 -1
  22. package/dist/es2019/components/AddOptionAvatar.js +12 -7
  23. package/dist/es2019/components/AvatarItemOption.js +19 -11
  24. package/dist/es2019/components/CustomOption/main.js +5 -1
  25. package/dist/es2019/components/EmailOption/main.js +5 -1
  26. package/dist/es2019/components/ExternalUserOption/ExternalAvatarItemOption.js +8 -1
  27. package/dist/es2019/components/ExternalUserOption/InfoIcon.js +1 -0
  28. package/dist/es2019/components/ExternalUserOption/SourcesTooltipContent.js +3 -0
  29. package/dist/es2019/components/ExternalUserOption/main.js +17 -6
  30. package/dist/es2019/components/GroupOption/main.js +8 -1
  31. package/dist/es2019/components/Menu.js +4 -1
  32. package/dist/es2019/components/MultiValue.js +1 -0
  33. package/dist/es2019/components/PopupControl.js +2 -0
  34. package/dist/es2019/components/SingleValue.js +4 -0
  35. package/dist/es2019/components/SingleValueContainer.js +5 -1
  36. package/dist/es2019/components/TeamOption/main.js +6 -1
  37. package/dist/es2019/components/UserOption.js +6 -1
  38. package/dist/es2019/components/UserPicker.js +3 -1
  39. package/dist/es2019/components/ValueContainerWrapper.js +4 -1
  40. package/dist/esm/analytics.js +1 -1
  41. package/dist/esm/components/AddOptionAvatar.js +12 -7
  42. package/dist/esm/components/AvatarItemOption.js +18 -11
  43. package/dist/esm/components/CustomOption/main.js +5 -1
  44. package/dist/esm/components/EmailOption/main.js +5 -1
  45. package/dist/esm/components/ExternalUserOption/ExternalAvatarItemOption.js +18 -11
  46. package/dist/esm/components/ExternalUserOption/InfoIcon.js +1 -0
  47. package/dist/esm/components/ExternalUserOption/SourcesTooltipContent.js +3 -0
  48. package/dist/esm/components/ExternalUserOption/main.js +17 -6
  49. package/dist/esm/components/GroupOption/main.js +8 -1
  50. package/dist/esm/components/Menu.js +4 -1
  51. package/dist/esm/components/MultiValue.js +1 -0
  52. package/dist/esm/components/PopupControl.js +2 -0
  53. package/dist/esm/components/SingleValue.js +4 -0
  54. package/dist/esm/components/SingleValueContainer.js +5 -1
  55. package/dist/esm/components/TeamOption/main.js +6 -1
  56. package/dist/esm/components/UserOption.js +6 -1
  57. package/dist/esm/components/UserPicker.js +3 -1
  58. package/dist/esm/components/ValueContainerWrapper.js +4 -1
  59. package/dist/types/index.d.ts +1 -1
  60. package/dist/types-ts4.5/index.d.ts +1 -1
  61. package/docs/0-intro.tsx +30 -36
  62. package/docs/1-smart-user-picker.tsx +12 -12
  63. package/docs/2-popup-user-picker.tsx +16 -22
  64. package/package.json +99 -99
  65. package/report.api.md +416 -429
package/package.json CHANGED
@@ -1,100 +1,100 @@
1
1
  {
2
- "name": "@atlaskit/user-picker",
3
- "version": "10.20.4",
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.9.0",
47
- "@atlaskit/icon": "^22.3.0",
48
- "@atlaskit/logo": "^13.17.0",
49
- "@atlaskit/lozenge": "^11.7.0",
50
- "@atlaskit/popper": "^6.0.0",
51
- "@atlaskit/primitives": "^6.5.0",
52
- "@atlaskit/select": "^17.10.0",
53
- "@atlaskit/spinner": "^16.1.0",
54
- "@atlaskit/teams-avatar": "^1.0.0",
55
- "@atlaskit/theme": "^12.8.0",
56
- "@atlaskit/tokens": "^1.49.0",
57
- "@atlaskit/tooltip": "^18.4.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.5.0",
72
- "@atlaskit/elements-test-helpers": "^0.7.0",
73
- "@atlaskit/heading": "^2.3.0",
74
- "@atlaskit/visual-regression": "*",
75
- "@emotion/styled": "^11.0.0",
76
- "@testing-library/dom": "^8.17.1",
77
- "@testing-library/jest-dom": "^5.16.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
- }
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
+ }