@atlaskit/user-picker 11.25.4 → 11.25.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/afm-cc/tsconfig.json +0 -3
  3. package/dist/cjs/analytics.js +1 -1
  4. package/dist/cjs/components/AddOptionAvatar.js +2 -3
  5. package/dist/cjs/components/BaseUserPicker.js +5 -3
  6. package/dist/cjs/components/CustomOption/main.js +2 -3
  7. package/dist/cjs/components/EmailOption/main.js +2 -3
  8. package/dist/cjs/components/ExternalUserOption/ExternalAvatarItemOption.js +2 -3
  9. package/dist/cjs/components/ExternalUserOption/InfoIcon.js +10 -28
  10. package/dist/cjs/components/ExternalUserOption/main.js +2 -3
  11. package/dist/cjs/components/GroupOption/main.js +3 -4
  12. package/dist/cjs/components/PopupControl.js +2 -3
  13. package/dist/cjs/components/TeamOption/main.js +3 -4
  14. package/dist/cjs/components/UserOption.js +3 -4
  15. package/dist/cjs/components/assets/github.js +1 -1
  16. package/dist/cjs/components/assets/google.js +4 -4
  17. package/dist/cjs/components/assets/microsoft.js +5 -5
  18. package/dist/cjs/components/assets/slack.js +9 -9
  19. package/dist/cjs/components/styles.js +9 -10
  20. package/dist/es2019/analytics.js +1 -1
  21. package/dist/es2019/components/AddOptionAvatar.js +2 -3
  22. package/dist/es2019/components/BaseUserPicker.js +5 -3
  23. package/dist/es2019/components/CustomOption/main.js +3 -3
  24. package/dist/es2019/components/EmailOption/main.js +2 -3
  25. package/dist/es2019/components/ExternalUserOption/ExternalAvatarItemOption.js +2 -3
  26. package/dist/es2019/components/ExternalUserOption/InfoIcon.js +9 -19
  27. package/dist/es2019/components/ExternalUserOption/main.js +2 -3
  28. package/dist/es2019/components/GroupOption/main.js +3 -4
  29. package/dist/es2019/components/PopupControl.js +2 -3
  30. package/dist/es2019/components/TeamOption/main.js +4 -4
  31. package/dist/es2019/components/UserOption.js +3 -4
  32. package/dist/es2019/components/assets/github.js +1 -1
  33. package/dist/es2019/components/assets/google.js +4 -4
  34. package/dist/es2019/components/assets/microsoft.js +5 -5
  35. package/dist/es2019/components/assets/slack.js +9 -9
  36. package/dist/es2019/components/styles.js +9 -10
  37. package/dist/esm/analytics.js +1 -1
  38. package/dist/esm/components/AddOptionAvatar.js +2 -3
  39. package/dist/esm/components/BaseUserPicker.js +5 -3
  40. package/dist/esm/components/CustomOption/main.js +3 -3
  41. package/dist/esm/components/EmailOption/main.js +2 -3
  42. package/dist/esm/components/ExternalUserOption/ExternalAvatarItemOption.js +2 -3
  43. package/dist/esm/components/ExternalUserOption/InfoIcon.js +9 -27
  44. package/dist/esm/components/ExternalUserOption/main.js +2 -3
  45. package/dist/esm/components/GroupOption/main.js +3 -4
  46. package/dist/esm/components/PopupControl.js +2 -3
  47. package/dist/esm/components/TeamOption/main.js +4 -4
  48. package/dist/esm/components/UserOption.js +3 -4
  49. package/dist/esm/components/assets/github.js +1 -1
  50. package/dist/esm/components/assets/google.js +4 -4
  51. package/dist/esm/components/assets/microsoft.js +5 -5
  52. package/dist/esm/components/assets/slack.js +9 -9
  53. package/dist/esm/components/styles.js +9 -10
  54. package/dist/types/components/BaseUserPicker.d.ts +1 -1
  55. package/dist/types-ts4.5/components/BaseUserPicker.d.ts +1 -1
  56. package/package.json +6 -7
@@ -204,6 +204,7 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
204
204
  }
205
205
  });
206
206
  _defineProperty(this, "handleFocus", event => {
207
+ var _this$props$openMenuO;
207
208
  const {
208
209
  value,
209
210
  menuIsOpen
@@ -213,7 +214,8 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
213
214
  }
214
215
  this.startOptionsShownUfoExperience();
215
216
  callCallback(this.props.onFocus, this.getSessionId());
216
- if (!this.isMenuOpenOnClickForSingleSelect) {
217
+ const openMenuOnFocus = (_this$props$openMenuO = this.props.openMenuOnFocus) !== null && _this$props$openMenuO !== void 0 ? _this$props$openMenuO : true;
218
+ if (!this.isMenuOpenOnClickForSingleSelect && openMenuOnFocus) {
217
219
  this.setState({
218
220
  menuIsOpen: true
219
221
  });
@@ -514,7 +516,7 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
514
516
  }), {});
515
517
  }
516
518
  render() {
517
- var _this$props$openMenuO;
519
+ var _this$props$openMenuO2;
518
520
  const {
519
521
  isMulti,
520
522
  isLoading,
@@ -566,7 +568,7 @@ export class BaseUserPickerWithoutAnalytics extends React.Component {
566
568
  ...(!this.isMenuOpenOnClickForSingleSelect && {
567
569
  menuIsOpen,
568
570
  blurInputOnSelect: !isMulti,
569
- openMenuOnFocus: (_this$props$openMenuO = this.props.openMenuOnFocus) !== null && _this$props$openMenuO !== void 0 ? _this$props$openMenuO : true
571
+ openMenuOnFocus: (_this$props$openMenuO2 = this.props.openMenuOnFocus) !== null && _this$props$openMenuO2 !== void 0 ? _this$props$openMenuO2 : true
570
572
  })
571
573
  };
572
574
  const {
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
- import { B400, N800, N200 } from '@atlaskit/theme/colors';
6
+
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
8
8
  import { jsx } from '@emotion/react';
9
9
  import React from 'react';
@@ -25,14 +25,14 @@ export class CustomOption extends React.PureComponent {
25
25
  key: "name"
26
26
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
27
27
  ,
28
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text, ${N800})`)
28
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
29
29
  }, jsx(HighlightText, {
30
30
  highlights: highlight && highlight.name
31
31
  }, name))];
32
32
  });
33
33
  _defineProperty(this, "getBylineComponent", (isSelected, message) => jsx("span", {
34
34
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
- css: textWrapper(isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`),
35
+ css: textWrapper(isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)"),
36
36
  "data-testid": "user-picker-custom-secondary-text"
37
37
  }, message));
38
38
  _defineProperty(this, "renderByline", () => {
@@ -5,7 +5,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
5
  */
6
6
  import React from 'react';
7
7
  import { FormattedMessage } from 'react-intl-next';
8
- import { B400, N200, N800 } from '@atlaskit/theme/colors';
9
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
10
9
  import { jsx } from '@emotion/react';
11
10
  import { AddOptionAvatar } from '../AddOptionAvatar';
@@ -28,13 +27,13 @@ export class EmailOption extends React.PureComponent {
28
27
  key: "name"
29
28
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
30
29
  ,
31
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text, ${N800})`)
30
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
32
31
  }, id);
33
32
  });
34
33
  _defineProperty(this, "renderSecondaryText", label => {
35
34
  return jsx("span", {
36
35
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
37
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`),
36
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)"),
38
37
  "data-testid": "user-picker-email-secondary-text"
39
38
  }, label);
40
39
  });
@@ -5,7 +5,6 @@
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
7
7
  import { css, jsx } from '@emotion/react';
8
- import { B400 } from '@atlaskit/theme/colors';
9
8
  const outerWrapper = isDisabled => css({
10
9
  alignItems: 'center',
11
10
  boxSizing: 'border-box',
@@ -36,14 +35,14 @@ const textSection = css({
36
35
  });
37
36
  const getTextStyle = isSecondary => {
38
37
  const secondaryCssArgs = isSecondary ? {
39
- color: `var(--ds-text-selected, ${B400})`,
38
+ color: "var(--ds-text-selected, #1868DB)",
40
39
  font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
41
40
  } : {};
42
41
  return css({
43
42
  display: 'flex',
44
43
  maxWidth: '100%',
45
44
  margin: 0,
46
- color: `var(--ds-text-selected, ${B400})`,
45
+ color: "var(--ds-text-selected, #1868DB)",
47
46
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
48
47
  ...{
49
48
  secondaryCssArgs
@@ -2,30 +2,20 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { useCallback, useState } from 'react';
5
+ import EditorPanelIcon from '@atlaskit/icon/core/status-information';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
7
7
  import { css, jsx } from '@emotion/react';
8
- import EditorPanelIcon from '@atlaskit/icon/core/status-information';
9
- import { N50, N200 } from '@atlaskit/theme/colors';
10
8
  const wrapper = css({
11
9
  display: 'flex',
12
10
  marginRight: "var(--ds-space-050, 4px)"
13
11
  });
14
12
  export default (() => {
15
- const [isMouseHovered, setHoverState] = useState(false);
16
- const onMouseEnter = useCallback(() => setHoverState(true), [setHoverState]);
17
- const onMouseLeave = useCallback(() => setHoverState(false), [setHoverState]);
18
- return (
19
- // eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
20
- jsx("div", {
21
- css: wrapper,
22
- onMouseEnter: onMouseEnter,
23
- onMouseLeave: onMouseLeave
24
- }, jsx(EditorPanelIcon, {
25
- testId: "source-icon",
26
- label: "",
27
- spacing: "spacious",
28
- color: `var(--ds-text-subtlest, ${isMouseHovered ? N200 : N50})`
29
- }))
30
- );
13
+ return jsx("div", {
14
+ css: wrapper
15
+ }, jsx(EditorPanelIcon, {
16
+ testId: "source-icon",
17
+ label: "",
18
+ spacing: "spacious",
19
+ color: "var(--ds-text-subtlest, #6B6E76)"
20
+ }));
31
21
  });
@@ -6,7 +6,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
6
6
  import React from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import { B400, N200, N800 } from '@atlaskit/theme/colors';
10
9
  import Tooltip from '@atlaskit/tooltip';
11
10
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
12
11
  import { createAndFireEventInElementsChannel, userInfoEvent } from '../../analytics';
@@ -47,7 +46,7 @@ class ExternalUserOptionImpl extends React.PureComponent {
47
46
  key: "name"
48
47
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
49
48
  ,
50
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text, ${N800})`)
49
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
51
50
  }, name);
52
51
  });
53
52
  _defineProperty(this, "renderSecondaryText", () => {
@@ -58,7 +57,7 @@ class ExternalUserOptionImpl extends React.PureComponent {
58
57
  if (!byline && !email) {
59
58
  return;
60
59
  }
61
- const textColor = this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`;
60
+ const textColor = this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)";
62
61
 
63
62
  // Render byline if present
64
63
  if (byline) {
@@ -8,7 +8,6 @@ import React from 'react';
8
8
  import { FormattedMessage } from 'react-intl-next';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
10
10
  import { css, jsx } from '@emotion/react';
11
- import { N20, B400, N800, N200 } from '@atlaskit/theme/colors';
12
11
  import PeopleIcon from '@atlaskit/icon/core/people-group';
13
12
  import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
14
13
  import { AvatarItemOption, textWrapper } from '../AvatarItemOption';
@@ -20,7 +19,7 @@ export const groupOptionIconWrapper = css({
20
19
  padding: "var(--ds-space-025, 2px)",
21
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
22
21
  '> span': {
23
- backgroundColor: `var(--ds-background-neutral, ${N20})`,
22
+ backgroundColor: "var(--ds-background-neutral, #0515240F)",
24
23
  borderRadius: "var(--ds-radius-full, 9999px)",
25
24
  padding: "var(--ds-space-050, 4px)"
26
25
  }
@@ -40,7 +39,7 @@ export class GroupOption extends React.PureComponent {
40
39
  key: "name"
41
40
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
42
41
  ,
43
- css: textWrapper(isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text, ${N800})`)
42
+ css: textWrapper(isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
44
43
  }, jsx(HighlightText, {
45
44
  highlights: highlight && highlight.name
46
45
  }, name))];
@@ -78,7 +77,7 @@ export class GroupOption extends React.PureComponent {
78
77
  };
79
78
  return jsx("span", {
80
79
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
81
- css: textWrapper(isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`),
80
+ css: textWrapper(isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)"),
82
81
  "data-testid": "user-picker-group-secondary-text"
83
82
  }, group.byline ? group.byline : getGroupByline());
84
83
  });
@@ -5,7 +5,6 @@
5
5
  import React from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
- import { N200 } from '@atlaskit/theme/colors';
9
8
  import Control from './Control';
10
9
  const controlWrapper = css({
11
10
  display: 'flex',
@@ -13,8 +12,8 @@ const controlWrapper = css({
13
12
  padding: `0px ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"}`
14
13
  });
15
14
  const labelStyle = css({
16
- color: `var(--ds-text-subtlest, ${N200})`,
17
- font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
15
+ color: "var(--ds-text-subtlest, #6B6E76)",
16
+ font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
18
17
  fontWeight: "var(--ds-font-weight-semibold, 600)",
19
18
  paddingBottom: "var(--ds-space-050, 4px)",
20
19
  paddingLeft: "var(--ds-space-0, 0px)",
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  * @jsxRuntime classic
5
5
  * @jsx jsx
6
6
  */
7
- import { B400, N800, N200 } from '@atlaskit/theme/colors';
7
+
8
8
  import { Inline } from '@atlaskit/primitives/compiled';
9
9
  import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -32,7 +32,7 @@ export class TeamOption extends React.PureComponent {
32
32
  key: "name"
33
33
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
34
34
  ,
35
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text, ${N800})`)
35
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
36
36
  }, jsx(Inline, {
37
37
  alignBlock: "center"
38
38
  }, jsx(HighlightText, {
@@ -105,7 +105,7 @@ export class TeamOption extends React.PureComponent {
105
105
  });
106
106
  _defineProperty(this, "getBylineComponent", (isSelected, message) => jsx("span", {
107
107
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
108
- css: textWrapper(isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`),
108
+ css: textWrapper(isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)"),
109
109
  "data-testid": "user-picker-team-secondary-text"
110
110
  }, message));
111
111
  _defineProperty(this, "renderAvatar", () => {
@@ -152,7 +152,7 @@ export class TeamOption extends React.PureComponent {
152
152
  }
153
153
  return jsx("span", {
154
154
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
155
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`)
155
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)")
156
156
  }, this.props.team.byline);
157
157
  });
158
158
  }
@@ -4,7 +4,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  * @jsx jsx
5
5
  */
6
6
  import { getAppearanceForAppType } from '@atlaskit/avatar';
7
- import { B400, N800, N200 } from '@atlaskit/theme/colors';
8
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
8
  import { css, jsx } from '@emotion/react';
10
9
  import React from 'react';
@@ -37,12 +36,12 @@ export class UserOption extends React.PureComponent {
37
36
  key: "name"
38
37
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
39
38
  ,
40
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text, ${N800})`)
39
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
41
40
  }, jsx(HighlightText, {
42
41
  highlights: highlight && highlight.name
43
42
  }, name))];
44
43
  if (hasValue(publicName) && name.trim() !== publicName.trim()) {
45
- const color = this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`;
44
+ const color = this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)";
46
45
  result.push(jsx(React.Fragment, {
47
46
  key: "publicName"
48
47
  }, ' ', jsx("span", {
@@ -57,7 +56,7 @@ export class UserOption extends React.PureComponent {
57
56
  });
58
57
  _defineProperty(this, "renderSecondaryText", () => this.props.user.byline ? jsx("span", {
59
58
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
60
- css: textWrapper(this.props.isSelected ? `var(--ds-text-selected, ${B400})` : `var(--ds-text-subtlest, ${N200})`)
59
+ css: textWrapper(this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)")
61
60
  }, this.props.user.byline) : undefined);
62
61
  _defineProperty(this, "renderAvatar", () => {
63
62
  const {
@@ -11,6 +11,6 @@ export function GitHubIcon(props) {
11
11
  fillRule: "evenodd",
12
12
  clipRule: "evenodd",
13
13
  d: "M11.9778 0C5.3635 0 0 5.45261 0 12.179C0 17.5601 3.432 22.1253 8.19114 23.7357C8.78975 23.8484 9.00952 23.4715 9.00952 23.1498C9.00952 22.8594 8.99841 21.9 8.99326 20.8823C5.66103 21.6191 4.95789 19.4454 4.95789 19.4454C4.41303 18.0376 3.62796 17.6633 3.62796 17.6633C2.54122 16.9074 3.70988 16.923 3.70988 16.923C4.91266 17.0089 5.54598 18.178 5.54598 18.178C6.61428 20.0399 8.34803 19.5016 9.03154 19.1904C9.13904 18.4033 9.44945 17.866 9.792 17.5619C7.13157 17.2539 4.33487 16.2096 4.33487 11.5429C4.33487 10.2133 4.80278 9.12682 5.56899 8.27391C5.44463 7.96716 5.03464 6.72844 5.68502 5.05087C5.68502 5.05087 6.69084 4.72354 8.97976 6.29927C9.9352 6.02942 10.9599 5.89409 11.9778 5.88945C12.9957 5.89409 14.0212 6.02942 14.9784 6.29927C17.2645 4.72354 18.269 5.05087 18.269 5.05087C18.9209 6.72844 18.5107 7.96716 18.3864 8.27391C19.1544 9.12682 19.6191 10.2133 19.6191 11.5429C19.6191 16.2207 16.8171 17.2507 14.1499 17.5522C14.5795 17.9301 14.9623 18.6713 14.9623 19.8076C14.9623 21.4371 14.9484 22.7487 14.9484 23.1498C14.9484 23.4739 15.164 23.8537 15.7712 23.7341C20.5277 22.1219 23.9554 17.5582 23.9554 12.179C23.9554 5.45261 18.5927 0 11.9778 0Z",
14
- fill: "var(--ds-text-inverse, white)"
14
+ fill: "var(--ds-text-inverse, #FFFFFF)"
15
15
  }));
16
16
  }
@@ -11,21 +11,21 @@ export function GoogleIcon(props) {
11
11
  fillRule: "evenodd",
12
12
  clipRule: "evenodd",
13
13
  d: "M8.32062 3.21332L10.014 1.55999C8.97396 0.593331 7.62063 0 6.00062 0C3.65396 0 1.62729 1.34666 0.640625 3.30665L2.58062 4.81331C3.06729 3.36665 4.41396 2.31999 6.00062 2.31999C7.12729 2.31999 7.88729 2.80665 8.32062 3.21332Z",
14
- fill: "var(--ds-text-inverse, white)"
14
+ fill: "var(--ds-text-inverse, #FFFFFF)"
15
15
  }), /*#__PURE__*/React.createElement("path", {
16
16
  fillRule: "evenodd",
17
17
  clipRule: "evenodd",
18
18
  d: "M11.76 6.13291C11.76 5.63958 11.72 5.27958 11.6333 4.90625H6V7.13291H9.30667C9.24 7.68624 8.88 8.51957 8.08 9.07957L9.97333 10.5462C11.1067 9.49956 11.76 7.95957 11.76 6.13291V6.13291V6.13291Z",
19
- fill: "var(--ds-text-inverse, white)"
19
+ fill: "var(--ds-text-inverse, #FFFFFF)"
20
20
  }), /*#__PURE__*/React.createElement("path", {
21
21
  fillRule: "evenodd",
22
22
  clipRule: "evenodd",
23
23
  d: "M2.58667 7.18662C2.46 6.81329 2.38667 6.41329 2.38667 5.99996C2.38667 5.58663 2.46 5.18663 2.58 4.8133L0.64 3.30664C0.233333 4.11997 0 5.0333 0 5.99996C0 6.96662 0.233333 7.87995 0.64 8.69328L2.58667 7.18662V7.18662Z",
24
- fill: "var(--ds-text-inverse, white)"
24
+ fill: "var(--ds-text-inverse, #FFFFFF)"
25
25
  }), /*#__PURE__*/React.createElement("path", {
26
26
  fillRule: "evenodd",
27
27
  clipRule: "evenodd",
28
28
  d: "M6.00079 12.0008C7.62079 12.0008 8.98079 11.4675 9.97413 10.5475L8.08079 9.08083C7.57413 9.43416 6.89413 9.68082 6.00079 9.68082C4.41413 9.68082 3.06746 8.63416 2.58746 7.1875L0.647461 8.69416C1.63413 10.6542 3.65413 12.0008 6.00079 12.0008V12.0008V12.0008Z",
29
- fill: "var(--ds-text-inverse, white)"
29
+ fill: "var(--ds-text-inverse, #FFFFFF)"
30
30
  }));
31
31
  }
@@ -11,21 +11,21 @@ export function MicrosoftIcon(props) {
11
11
  clipPath: "url(#clip0)"
12
12
  }, /*#__PURE__*/React.createElement("path", {
13
13
  d: "M0 0H5.70233V5.7023H0V0Z",
14
- fill: "var(--ds-text-inverse, white)"
14
+ fill: "var(--ds-text-inverse, #FFFFFF)"
15
15
  }), /*#__PURE__*/React.createElement("path", {
16
16
  d: "M6.29785 0H12.0002V5.7023H6.29785V0Z",
17
- fill: "var(--ds-text-inverse, white)"
17
+ fill: "var(--ds-text-inverse, #FFFFFF)"
18
18
  }), /*#__PURE__*/React.createElement("path", {
19
19
  d: "M0 6.29688H5.70233V11.9992H0V6.29688Z",
20
- fill: "var(--ds-text-inverse, white)"
20
+ fill: "var(--ds-text-inverse, #FFFFFF)"
21
21
  }), /*#__PURE__*/React.createElement("path", {
22
22
  d: "M6.29785 6.29688H12.0002V11.9992H6.29785V6.29688Z",
23
- fill: "var(--ds-text-inverse, white)"
23
+ fill: "var(--ds-text-inverse, #FFFFFF)"
24
24
  })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
25
25
  id: "clip0"
26
26
  }, /*#__PURE__*/React.createElement("rect", {
27
27
  width: "12",
28
28
  height: "11.9999",
29
- fill: "var(--ds-text-inverse, white)"
29
+ fill: "var(--ds-text-inverse, #FFFFFF)"
30
30
  }))));
31
31
  }
@@ -11,33 +11,33 @@ export function SlackIcon(props) {
11
11
  clipPath: "url(#clip0)"
12
12
  }, /*#__PURE__*/React.createElement("path", {
13
13
  d: "M2.51653 7.5688C2.51653 8.26133 1.9508 8.82706 1.25826 8.82706C0.565731 8.82706 0 8.26133 0 7.5688C0 6.87627 0.565731 6.31055 1.25826 6.31055H2.51653V7.5688Z",
14
- fill: "var(--ds-text-inverse, white)"
14
+ fill: "var(--ds-text-inverse, #FFFFFF)"
15
15
  }), /*#__PURE__*/React.createElement("path", {
16
16
  d: "M3.15039 7.5688C3.15039 6.87627 3.71612 6.31055 4.40865 6.31055C5.10119 6.31055 5.66692 6.87627 5.66692 7.5688V10.7193C5.66692 11.4119 5.10119 11.9776 4.40865 11.9776C3.71612 11.9776 3.15039 11.4119 3.15039 10.7193V7.5688Z",
17
- fill: "var(--ds-text-inverse, white)"
17
+ fill: "var(--ds-text-inverse, #FFFFFF)"
18
18
  }), /*#__PURE__*/React.createElement("path", {
19
19
  d: "M4.40865 2.51651C3.71612 2.51651 3.15039 1.95079 3.15039 1.25826C3.15039 0.565728 3.71612 0 4.40865 0C5.10119 0 5.66692 0.565728 5.66692 1.25826V2.51651H4.40865Z",
20
- fill: "var(--ds-text-inverse, white)"
20
+ fill: "var(--ds-text-inverse, #FFFFFF)"
21
21
  }), /*#__PURE__*/React.createElement("path", {
22
22
  d: "M4.4088 3.15039C5.10133 3.15039 5.66706 3.71612 5.66706 4.40865C5.66706 5.10118 5.10133 5.6669 4.4088 5.6669H1.25826C0.565731 5.6669 0 5.10118 0 4.40865C0 3.71612 0.565731 3.15039 1.25826 3.15039H4.4088Z",
23
- fill: "var(--ds-text-inverse, white)"
23
+ fill: "var(--ds-text-inverse, #FFFFFF)"
24
24
  }), /*#__PURE__*/React.createElement("path", {
25
25
  d: "M9.46094 4.40865C9.46094 3.71612 10.0267 3.15039 10.7192 3.15039C11.4117 3.15039 11.9775 3.71612 11.9775 4.40865C11.9775 5.10118 11.4117 5.6669 10.7192 5.6669H9.46094V4.40865Z",
26
- fill: "var(--ds-text-inverse, white)"
26
+ fill: "var(--ds-text-inverse, #FFFFFF)"
27
27
  }), /*#__PURE__*/React.createElement("path", {
28
28
  d: "M8.8261 4.40878C8.8261 5.10131 8.26036 5.66704 7.56783 5.66704C6.8753 5.66704 6.30957 5.10131 6.30957 4.40878V1.25826C6.30957 0.565728 6.8753 0 7.56783 0C8.26036 0 8.8261 0.565728 8.8261 1.25826V4.40878Z",
29
- fill: "var(--ds-text-inverse, white)"
29
+ fill: "var(--ds-text-inverse, #FFFFFF)"
30
30
  }), /*#__PURE__*/React.createElement("path", {
31
31
  d: "M7.56881 9.46094C8.26134 9.46094 8.82707 10.0267 8.82707 10.7192C8.82707 11.4117 8.26134 11.9775 7.56881 11.9775C6.87628 11.9775 6.31055 11.4117 6.31055 10.7192V9.46094H7.56881Z",
32
- fill: "var(--ds-text-inverse, white)"
32
+ fill: "var(--ds-text-inverse, #FFFFFF)"
33
33
  }), /*#__PURE__*/React.createElement("path", {
34
34
  d: "M7.56881 8.82706C6.87628 8.82706 6.31055 8.26133 6.31055 7.5688C6.31055 6.87627 6.87628 6.31055 7.56881 6.31055H10.7193C11.4119 6.31055 11.9776 6.87627 11.9776 7.5688C11.9776 8.26133 11.4119 8.82706 10.7193 8.82706H7.56881Z",
35
- fill: "var(--ds-text-inverse, white)"
35
+ fill: "var(--ds-text-inverse, #FFFFFF)"
36
36
  })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
37
37
  id: "clip0"
38
38
  }, /*#__PURE__*/React.createElement("rect", {
39
39
  width: "12",
40
40
  height: "11.9999",
41
- fill: "var(--ds-text-inverse, white)"
41
+ fill: "var(--ds-text-inverse, #FFFFFF)"
42
42
  }))));
43
43
  }
@@ -1,7 +1,6 @@
1
- import { B100, N0, N10, N20, N30, N100, R50, R400, N90 } from '@atlaskit/theme/colors';
2
- import memoizeOne from 'memoize-one';
3
- import { mergeStyles } from '@atlaskit/select';
4
1
  import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { mergeStyles } from '@atlaskit/select';
3
+ import memoizeOne from 'memoize-one';
5
4
  export const BORDER_PADDING = "var(--ds-space-075, 6px)";
6
5
  export const AVATAR_PADDING = 6;
7
6
  export const INDICATOR_WIDTH = 39;
@@ -22,15 +21,15 @@ export const getStyles = memoizeOne((width, isMulti, isCompact, overrideStyles,
22
21
  return {
23
22
  ...css,
24
23
  width,
25
- borderColor: state.isFocused ? `var(--ds-border-focused, ${css.borderColor})` : state.isInvalid ? `var(--ds-border-danger, ${R400})` : state.selectProps.subtle || state.selectProps.noBorder ? 'transparent' : `var(--ds-border-input, ${N90})`,
26
- backgroundColor: state.isFocused ? `var(--ds-background-input, ${css['backgroundColor']})` : state.selectProps.subtle ? 'transparent' : state.isDisabled && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? `var(--ds-background-disabled, ${N10})` : state.selectProps.textFieldBackgroundColor ? `var(--ds-background-input, ${N10})` : `var(--ds-background-input, ${N20})`,
24
+ borderColor: state.isFocused ? "var(--ds-border-focused, #4688EC)" : state.isInvalid ? "var(--ds-border-danger, #E2483D)" : state.selectProps.subtle || state.selectProps.noBorder ? 'transparent' : "var(--ds-border-input, #8C8F97)",
25
+ backgroundColor: state.isFocused ? "var(--ds-background-input, #FFFFFF)" : state.selectProps.subtle ? 'transparent' : state.isDisabled && fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? "var(--ds-background-disabled, #17171708)" : state.selectProps.textFieldBackgroundColor ? "var(--ds-background-input, #FFFFFF)" : "var(--ds-background-input, #FFFFFF)",
27
26
  '&:hover .fabric-user-picker__clear-indicator': {
28
27
  opacity: 1
29
28
  },
30
29
  ':hover': {
31
30
  ...css[':hover'],
32
- borderColor: state.isFocused ? css[':hover'] ? `var(--ds-border-focused, ${css[':hover'].borderColor})` : `var(--ds-border-focused, ${B100})` : state.isInvalid ? `var(--ds-border-danger, ${R400})` : state.selectProps.subtle ? 'transparent' : `var(--ds-border-input, ${N90})`,
33
- backgroundColor: state.selectProps.subtle && state.selectProps.hoveringClearIndicator ? `var(--ds-background-danger, ${R50})` : state.isFocused ? css[':hover'] ? `var(--ds-background-input, ${css[':hover'].backgroundColor})` : `var(--ds-background-input, ${N0})` : state.isDisabled ? `var(--ds-background-disabled, ${N10})` : `var(--ds-background-input-hovered, ${N30})`
31
+ borderColor: state.isFocused ? css[':hover'] ? "var(--ds-border-focused, #4688EC)" : "var(--ds-border-focused, #4688EC)" : state.isInvalid ? "var(--ds-border-danger, #E2483D)" : state.selectProps.subtle ? 'transparent' : "var(--ds-border-input, #8C8F97)",
32
+ backgroundColor: state.selectProps.subtle && state.selectProps.hoveringClearIndicator ? "var(--ds-background-danger, #FFECEB)" : state.isFocused ? css[':hover'] ? "var(--ds-background-input, #FFFFFF)" : "var(--ds-background-input, #FFFFFF)" : state.isDisabled ? "var(--ds-background-disabled, #17171708)" : "var(--ds-background-input-hovered, #F8F8F8)"
34
33
  },
35
34
  padding: 0,
36
35
  minHeight: minHeight ? minHeight : height || isCompact ? 'none' : 44,
@@ -57,7 +56,7 @@ export const getStyles = memoizeOne((width, isMulti, isCompact, overrideStyles,
57
56
  paddingTop: 0,
58
57
  padding: 0,
59
58
  ':hover': {
60
- color: `var(--ds-icon-danger, ${R400})`
59
+ color: "var(--ds-icon-danger, #C9372C)"
61
60
  }
62
61
  }),
63
62
  indicatorsContainer: css => ({
@@ -146,12 +145,12 @@ export const getStyles = memoizeOne((width, isMulti, isCompact, overrideStyles,
146
145
  paddingLeft: state.selectProps.isMulti ? 0 : BORDER_PADDING,
147
146
  '& input::placeholder': {
148
147
  /* Chrome, Firefox, Opera, Safari 10.1+ */
149
- color: `var(--ds-text-subtlest, ${N100})`,
148
+ color: "var(--ds-text-subtlest, #6B6E76)",
150
149
  opacity: 1 /* Firefox */
151
150
  },
152
151
  '& input:-ms-input-placeholder': {
153
152
  /* Internet Explorer 10-11 */
154
- color: `var(--ds-text-subtlest, ${N100})`
153
+ color: "var(--ds-text-subtlest, #6B6E76)"
155
154
  }
156
155
  }),
157
156
  singleValue: css => ({
@@ -8,7 +8,7 @@ import FeatureGates from '@atlaskit/feature-gate-js-client';
8
8
  import { v4 as uuidv4 } from 'uuid';
9
9
  import { isCustom, isExternalUser } from './components/utils';
10
10
  var packageName = "@atlaskit/user-picker";
11
- var packageVersion = "0.0.0-development";
11
+ var packageVersion = "11.25.4";
12
12
  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}$/;
13
13
  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}$/;
14
14
  var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
@@ -3,14 +3,13 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import EmailIcon from '@atlaskit/icon/core/email';
6
- import { N40, N500 } from '@atlaskit/theme/colors';
7
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
7
  import { css, jsx } from '@emotion/react';
9
8
  import React from 'react';
10
9
  import { fg } from '@atlaskit/platform-feature-flags';
11
10
  var getEmailAvatarWrapperStyle = function getEmailAvatarWrapperStyle(isLozenge, isPendingAction) {
12
11
  var padding = isLozenge ? "var(--ds-space-0, 0px)" : "var(--ds-space-050, 4px)";
13
- var backgroundColor = isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, ".concat(N40, ")");
12
+ var backgroundColor = isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-background-warning, #FFF5DB)" : "var(--ds-background-neutral, #0515240F)";
14
13
  return css({
15
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
16
15
  padding: padding,
@@ -33,7 +32,7 @@ export var AddOptionAvatar = function AddOptionAvatar(_ref) {
33
32
  }, jsx(EmailIcon, {
34
33
  testId: "add-option-avatar-email-icon",
35
34
  label: label || '',
36
- color: isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, ".concat(N500, ")")
35
+ color: isPendingAction && fg('twcg-444-invite-usd-improvements-m2-gate') ? "var(--ds-text-warning, #9E4C00)" : "var(--ds-text-subtle, #505258)"
37
36
  }))
38
37
  );
39
38
  };
@@ -209,6 +209,7 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
209
209
  }
210
210
  });
211
211
  _defineProperty(_this, "handleFocus", function (event) {
212
+ var _this$props$openMenuO;
212
213
  var _this$state = _this.state,
213
214
  value = _this$state.value,
214
215
  menuIsOpen = _this$state.menuIsOpen;
@@ -217,7 +218,8 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
217
218
  }
218
219
  _this.startOptionsShownUfoExperience();
219
220
  callCallback(_this.props.onFocus, _this.getSessionId());
220
- if (!_this.isMenuOpenOnClickForSingleSelect) {
221
+ var openMenuOnFocus = (_this$props$openMenuO = _this.props.openMenuOnFocus) !== null && _this$props$openMenuO !== void 0 ? _this$props$openMenuO : true;
222
+ if (!_this.isMenuOpenOnClickForSingleSelect && openMenuOnFocus) {
221
223
  _this.setState({
222
224
  menuIsOpen: true
223
225
  });
@@ -535,7 +537,7 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
535
537
  }, {
536
538
  key: "render",
537
539
  value: function render() {
538
- var _this$props$openMenuO;
540
+ var _this$props$openMenuO2;
539
541
  var _this$props5 = this.props,
540
542
  isMulti = _this$props5.isMulti,
541
543
  isLoading = _this$props5.isLoading,
@@ -584,7 +586,7 @@ export var BaseUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compon
584
586
  var menuOpenDeciderProps = _objectSpread({}, !this.isMenuOpenOnClickForSingleSelect && {
585
587
  menuIsOpen: menuIsOpen,
586
588
  blurInputOnSelect: !isMulti,
587
- openMenuOnFocus: (_this$props$openMenuO = this.props.openMenuOnFocus) !== null && _this$props$openMenuO !== void 0 ? _this$props$openMenuO : true
589
+ openMenuOnFocus: (_this$props$openMenuO2 = this.props.openMenuOnFocus) !== null && _this$props$openMenuO2 !== void 0 ? _this$props$openMenuO2 : true
588
590
  });
589
591
  var _this$ariaProps = this.ariaProps,
590
592
  ariaLabelledByStandard = _this$ariaProps['aria-labelledby'],
@@ -10,7 +10,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
10
10
  * @jsxRuntime classic
11
11
  * @jsx jsx
12
12
  */
13
- import { B400, N800, N200 } from '@atlaskit/theme/colors';
13
+
14
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
15
15
  import { jsx } from '@emotion/react';
16
16
  import React from 'react';
@@ -34,7 +34,7 @@ export var CustomOption = /*#__PURE__*/function (_React$PureComponent) {
34
34
  key: "name"
35
35
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
36
36
  ,
37
- css: textWrapper(_this.props.isSelected ? "var(--ds-text-selected, ".concat(B400, ")") : "var(--ds-text, ".concat(N800, ")"))
37
+ css: textWrapper(_this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
38
38
  }, jsx(HighlightText, {
39
39
  highlights: highlight && highlight.name
40
40
  }, name))];
@@ -42,7 +42,7 @@ export var CustomOption = /*#__PURE__*/function (_React$PureComponent) {
42
42
  _defineProperty(_this, "getBylineComponent", function (isSelected, message) {
43
43
  return jsx("span", {
44
44
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
45
- css: textWrapper(isSelected ? "var(--ds-text-selected, ".concat(B400, ")") : "var(--ds-text-subtlest, ".concat(N200, ")")),
45
+ css: textWrapper(isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)"),
46
46
  "data-testid": "user-picker-custom-secondary-text"
47
47
  }, message);
48
48
  });
@@ -12,7 +12,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
12
12
  */
13
13
  import React from 'react';
14
14
  import { FormattedMessage } from 'react-intl-next';
15
- import { B400, N200, N800 } from '@atlaskit/theme/colors';
16
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
17
16
  import { jsx } from '@emotion/react';
18
17
  import { AddOptionAvatar } from '../AddOptionAvatar';
@@ -40,13 +39,13 @@ export var EmailOption = /*#__PURE__*/function (_React$PureComponent) {
40
39
  key: "name"
41
40
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
42
41
  ,
43
- css: textWrapper(_this.props.isSelected ? "var(--ds-text-selected, ".concat(B400, ")") : "var(--ds-text, ".concat(N800, ")"))
42
+ css: textWrapper(_this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text, #292A2E)")
44
43
  }, id);
45
44
  });
46
45
  _defineProperty(_this, "renderSecondaryText", function (label) {
47
46
  return jsx("span", {
48
47
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
49
- css: textWrapper(_this.props.isSelected ? "var(--ds-text-selected, ".concat(B400, ")") : "var(--ds-text-subtlest, ".concat(N200, ")")),
48
+ css: textWrapper(_this.props.isSelected ? "var(--ds-text-selected, #1868DB)" : "var(--ds-text-subtlest, #6B6E76)"),
50
49
  "data-testid": "user-picker-email-secondary-text"
51
50
  }, label);
52
51
  });