@atlaskit/user-picker 10.26.3 → 10.26.5

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 10.26.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#163815](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163815)
8
+ [`c4cc01fa62da2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c4cc01fa62da2) -
9
+ Typography uplift work
10
+
11
+ ## 10.26.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 10.26.3
4
18
 
5
19
  ### Patch Changes
@@ -5,8 +5,7 @@
5
5
  "target": "es5",
6
6
  "composite": true,
7
7
  "outDir": "../dist",
8
- "rootDir": "../",
9
- "baseUrl": "../"
8
+ "rootDir": "../"
10
9
  },
11
10
  "include": [
12
11
  "../src/**/*.ts",
@@ -1,69 +1,69 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__user-picker/app",
7
- "composite": true,
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/avatar/afm-jira/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/icon/afm-jira/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/logo/afm-jira/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/lozenge/afm-jira/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../people-and-teams/people-teams-ui-public/afm-jira/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popper/afm-jira/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-jira/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/select/afm-jira/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/spinner/afm-jira/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../people-and-teams/teams-avatar/afm-jira/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/theme/afm-jira/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../data/ufo-external/afm-jira/tsconfig.json"
67
- }
68
- ]
69
- }
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__user-picker/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/avatar/afm-jira/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/icon/afm-jira/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/logo/afm-jira/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/lozenge/afm-jira/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../people-and-teams/people-teams-ui-public/afm-jira/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/popper/afm-jira/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/primitives/afm-jira/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../design-system/select/afm-jira/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/spinner/afm-jira/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../people-and-teams/teams-avatar/afm-jira/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/theme/afm-jira/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../data/ufo-external/afm-jira/tsconfig.json"
67
+ }
68
+ ]
69
+ }
@@ -1,69 +1,69 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__user-picker/app",
7
- "composite": true,
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/avatar/afm-post-office/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/logo/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/lozenge/afm-post-office/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../people-and-teams/people-teams-ui-public/afm-post-office/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popper/afm-post-office/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/select/afm-post-office/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/spinner/afm-post-office/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../people-and-teams/teams-avatar/afm-post-office/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/theme/afm-post-office/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../data/ufo-external/afm-post-office/tsconfig.json"
67
- }
68
- ]
69
- }
2
+ "extends": "../../../../tsconfig.entry-points.post-office.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__user-picker/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/avatar/afm-post-office/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/logo/afm-post-office/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/lozenge/afm-post-office/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../people-and-teams/people-teams-ui-public/afm-post-office/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/popper/afm-post-office/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../design-system/select/afm-post-office/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/spinner/afm-post-office/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../people-and-teams/teams-avatar/afm-post-office/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/theme/afm-post-office/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../data/ufo-external/afm-post-office/tsconfig.json"
67
+ }
68
+ ]
69
+ }
@@ -12,7 +12,7 @@ var _utils = require("./components/utils");
12
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
13
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  var packageName = "@atlaskit/user-picker";
15
- var packageVersion = "10.26.3";
15
+ var packageVersion = "10.26.5";
16
16
  var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
17
17
  var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
18
18
  var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -37,7 +37,7 @@ var AddOptionAvatar = exports.AddOptionAvatar = function AddOptionAvatar(_ref) {
37
37
  css: getEmailAvatarWrapperStyle(isLozenge)
38
38
  }, (0, _react.jsx)(_email.default, {
39
39
  testId: "add-option-avatar-email-icon",
40
- label: label || "",
40
+ label: label || '',
41
41
  LEGACY_size: isLozenge ? 'small' : 'medium',
42
42
  LEGACY_margin: "0 0 0 -2px",
43
43
  color: "var(--ds-text-subtle, ".concat(_colors.N500, ")")
@@ -50,6 +50,7 @@ var optionWrapper = (0, _react2.css)({
50
50
  paddingLeft: "var(--ds-space-100, 8px)"
51
51
  });
52
52
  var getTextStyle = function getTextStyle(isSecondary) {
53
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
53
54
  var secondaryCssArgs = isSecondary ? {
54
55
  fontSize: '0.85em'
55
56
  } : {};
@@ -44,6 +44,7 @@ var textSection = (0, _react.css)({
44
44
  var getTextStyle = function getTextStyle(isSecondary) {
45
45
  var secondaryCssArgs = isSecondary ? {
46
46
  color: "var(--ds-text-selected, ".concat(_colors.B400, ")"),
47
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
47
48
  fontSize: '0.85em'
48
49
  } : {};
49
50
  return (0, _react.css)(_objectSpread(_objectSpread({
@@ -106,6 +106,7 @@ var getStyles = exports.getStyles = (0, _memoizeOne.default)(function (width, is
106
106
  },
107
107
  multiValueLabel: function multiValueLabel(css) {
108
108
  return _objectSpread(_objectSpread({}, css), {}, {
109
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
109
110
  fontSize: '100%',
110
111
  display: 'flex'
111
112
  });
@@ -2,7 +2,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
2
2
  import { v4 as uuidv4 } from 'uuid';
3
3
  import { isCustom, isExternalUser } from './components/utils';
4
4
  const packageName = "@atlaskit/user-picker";
5
- const packageVersion = "10.26.3";
5
+ const packageVersion = "10.26.5";
6
6
  const UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
7
7
  const UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
8
8
  const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -29,7 +29,7 @@ export const AddOptionAvatar = ({
29
29
  css: getEmailAvatarWrapperStyle(isLozenge)
30
30
  }, jsx(EmailIcon, {
31
31
  testId: "add-option-avatar-email-icon",
32
- label: label || "",
32
+ label: label || '',
33
33
  LEGACY_size: isLozenge ? 'small' : 'medium',
34
34
  LEGACY_margin: "0 0 0 -2px",
35
35
  color: `var(--ds-text-subtle, ${N500})`
@@ -33,6 +33,7 @@ const optionWrapper = css({
33
33
  paddingLeft: "var(--ds-space-100, 8px)"
34
34
  });
35
35
  const getTextStyle = isSecondary => {
36
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
36
37
  const secondaryCssArgs = isSecondary ? {
37
38
  fontSize: '0.85em'
38
39
  } : {};
@@ -35,6 +35,7 @@ const textSection = css({
35
35
  const getTextStyle = isSecondary => {
36
36
  const secondaryCssArgs = isSecondary ? {
37
37
  color: `var(--ds-text-selected, ${B400})`,
38
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
38
39
  fontSize: '0.85em'
39
40
  } : {};
40
41
  return css({
@@ -93,6 +93,7 @@ export const getStyles = memoizeOne((width, isMulti, isCompact, overrideStyles,
93
93
  }),
94
94
  multiValueLabel: css => ({
95
95
  ...css,
96
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
96
97
  fontSize: '100%',
97
98
  display: 'flex'
98
99
  }),
@@ -5,7 +5,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
5
5
  import { v4 as uuidv4 } from 'uuid';
6
6
  import { isCustom, isExternalUser } from './components/utils';
7
7
  var packageName = "@atlaskit/user-picker";
8
- var packageVersion = "10.26.3";
8
+ var packageVersion = "10.26.5";
9
9
  var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
10
10
  var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
11
11
  var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -28,7 +28,7 @@ export var AddOptionAvatar = function AddOptionAvatar(_ref) {
28
28
  css: getEmailAvatarWrapperStyle(isLozenge)
29
29
  }, jsx(EmailIcon, {
30
30
  testId: "add-option-avatar-email-icon",
31
- label: label || "",
31
+ label: label || '',
32
32
  LEGACY_size: isLozenge ? 'small' : 'medium',
33
33
  LEGACY_margin: "0 0 0 -2px",
34
34
  color: "var(--ds-text-subtle, ".concat(N500, ")")
@@ -40,6 +40,7 @@ var optionWrapper = css({
40
40
  paddingLeft: "var(--ds-space-100, 8px)"
41
41
  });
42
42
  var getTextStyle = function getTextStyle(isSecondary) {
43
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
43
44
  var secondaryCssArgs = isSecondary ? {
44
45
  fontSize: '0.85em'
45
46
  } : {};
@@ -40,6 +40,7 @@ var textSection = css({
40
40
  var getTextStyle = function getTextStyle(isSecondary) {
41
41
  var secondaryCssArgs = isSecondary ? {
42
42
  color: "var(--ds-text-selected, ".concat(B400, ")"),
43
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
43
44
  fontSize: '0.85em'
44
45
  } : {};
45
46
  return css(_objectSpread(_objectSpread({
@@ -99,6 +99,7 @@ export var getStyles = memoizeOne(function (width, isMulti, isCompact, overrideS
99
99
  },
100
100
  multiValueLabel: function multiValueLabel(css) {
101
101
  return _objectSpread(_objectSpread({}, css), {}, {
102
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
102
103
  fontSize: '100%',
103
104
  display: 'flex'
104
105
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.26.3",
3
+ "version": "10.26.5",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,20 +47,20 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@atlaskit/analytics-next": "^10.1.0",
50
- "@atlaskit/avatar": "^21.16.0",
50
+ "@atlaskit/avatar": "^21.17.0",
51
51
  "@atlaskit/icon": "^22.24.0",
52
52
  "@atlaskit/logo": "^14.3.0",
53
53
  "@atlaskit/lozenge": "^11.12.0",
54
- "@atlaskit/people-teams-ui-public": "^1.3.0",
54
+ "@atlaskit/people-teams-ui-public": "^1.5.0",
55
55
  "@atlaskit/platform-feature-flags": "^0.3.0",
56
56
  "@atlaskit/popper": "^6.3.0",
57
- "@atlaskit/primitives": "^12.2.0",
58
- "@atlaskit/select": "^18.3.0",
57
+ "@atlaskit/primitives": "^13.1.0",
58
+ "@atlaskit/select": "^18.5.0",
59
59
  "@atlaskit/spinner": "^16.3.0",
60
60
  "@atlaskit/teams-avatar": "^1.1.0",
61
61
  "@atlaskit/theme": "^14.0.0",
62
- "@atlaskit/tokens": "^2.0.0",
63
- "@atlaskit/tooltip": "^18.8.0",
62
+ "@atlaskit/tokens": "^2.2.0",
63
+ "@atlaskit/tooltip": "^18.9.0",
64
64
  "@atlaskit/ufo": "^0.3.0",
65
65
  "@babel/runtime": "^7.0.0",
66
66
  "@emotion/react": "^11.7.1",