@atlaskit/user-picker 10.27.7 → 10.28.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 10.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#178473](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178473)
8
+ [`5aa723c66cf92`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5aa723c66cf92) -
9
+ [ux] Typography uplift, use Atlassian Design System font for secondary text in Avatar dropdown
10
+ options
11
+
12
+ ## 10.27.8
13
+
14
+ ### Patch Changes
15
+
16
+ - [#177875](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177875)
17
+ [`d0c3d27216b7c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d0c3d27216b7c) -
18
+ Clean up props for select new improvement on theme and customized components
19
+ - Updated dependencies
20
+
3
21
  ## 10.27.7
4
22
 
5
23
  ### Patch Changes
@@ -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.27.7";
15
+ var packageVersion = "10.28.0";
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}$/;
@@ -50,9 +50,8 @@ 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
54
53
  var secondaryCssArgs = isSecondary ? {
55
- fontSize: '0.85em'
54
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
56
55
  } : {};
57
56
  return (0, _react2.css)(_objectSpread({
58
57
  margin: 0,
@@ -44,8 +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
48
- fontSize: '0.85em'
47
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
49
48
  } : {};
50
49
  return (0, _react.css)(_objectSpread(_objectSpread({
51
50
  display: 'flex',
@@ -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.27.7";
5
+ const packageVersion = "10.28.0";
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}$/;
@@ -33,9 +33,8 @@ 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
37
36
  const secondaryCssArgs = isSecondary ? {
38
- fontSize: '0.85em'
37
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
39
38
  } : {};
40
39
  return css({
41
40
  margin: 0,
@@ -35,8 +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
39
- fontSize: '0.85em'
38
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
40
39
  } : {};
41
40
  return css({
42
41
  display: 'flex',
@@ -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.27.7";
8
+ var packageVersion = "10.28.0";
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}$/;
@@ -40,9 +40,8 @@ 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
44
43
  var secondaryCssArgs = isSecondary ? {
45
- fontSize: '0.85em'
44
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
46
45
  } : {};
47
46
  return css(_objectSpread({
48
47
  margin: 0,
@@ -40,8 +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
44
- fontSize: '0.85em'
43
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
45
44
  } : {};
46
45
  return css(_objectSpread(_objectSpread({
47
46
  display: 'flex',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.27.7",
3
+ "version": "10.28.0",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/platform-feature-flags": "^0.3.0",
56
56
  "@atlaskit/popper": "^6.3.0",
57
57
  "@atlaskit/primitives": "^13.3.0",
58
- "@atlaskit/select": "^18.8.0",
58
+ "@atlaskit/select": "^18.9.0",
59
59
  "@atlaskit/spinner": "^16.3.0",
60
60
  "@atlaskit/teams-avatar": "^1.1.0",
61
61
  "@atlaskit/theme": "^14.0.0",