@atlaskit/profilecard 22.0.3 → 22.2.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +3 -0
  4. package/afm-post-office/tsconfig.json +3 -0
  5. package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
  6. package/dist/cjs/client/getTeamFromAGG.js +1 -1
  7. package/dist/cjs/components/Error/ErrorMessage.js +1 -1
  8. package/dist/cjs/components/Icon/IconLabel.js +5 -6
  9. package/dist/cjs/components/Team/TeamForbiddenErrorState.js +1 -1
  10. package/dist/cjs/components/Team/TeamLoadingState.js +2 -2
  11. package/dist/cjs/components/Team/TeamProfileCard.js +8 -7
  12. package/dist/cjs/components/User/OverflowProfileCardButtons.js +1 -1
  13. package/dist/cjs/components/User/ProfileCard.js +4 -4
  14. package/dist/cjs/components/User/ProfileCardDetails.js +3 -2
  15. package/dist/cjs/components/User/ProfileCardResourced.js +1 -1
  16. package/dist/cjs/components/User/ProfileCardTrigger.js +1 -1
  17. package/dist/cjs/styled/Card.compiled.css +78 -0
  18. package/dist/cjs/styled/Card.js +225 -46
  19. package/dist/cjs/styled/Error.compiled.css +9 -0
  20. package/dist/cjs/styled/Error.js +33 -5
  21. package/dist/cjs/styled/ReportingLines.compiled.css +10 -0
  22. package/dist/cjs/styled/ReportingLines.js +44 -7
  23. package/dist/cjs/styled/TeamCard.compiled.css +41 -0
  24. package/dist/cjs/styled/TeamCard.js +145 -47
  25. package/dist/cjs/util/analytics.js +1 -1
  26. package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
  27. package/dist/es2019/client/getTeamFromAGG.js +1 -1
  28. package/dist/es2019/components/Error/ErrorMessage.js +1 -1
  29. package/dist/es2019/components/Icon/IconLabel.js +5 -6
  30. package/dist/es2019/components/Team/TeamForbiddenErrorState.js +1 -1
  31. package/dist/es2019/components/Team/TeamLoadingState.js +2 -2
  32. package/dist/es2019/components/Team/TeamProfileCard.js +6 -5
  33. package/dist/es2019/components/User/OverflowProfileCardButtons.js +1 -1
  34. package/dist/es2019/components/User/ProfileCard.js +4 -4
  35. package/dist/es2019/components/User/ProfileCardDetails.js +3 -2
  36. package/dist/es2019/components/User/ProfileCardResourced.js +1 -1
  37. package/dist/es2019/components/User/ProfileCardTrigger.js +1 -1
  38. package/dist/es2019/styled/Card.compiled.css +78 -0
  39. package/dist/es2019/styled/Card.js +199 -46
  40. package/dist/es2019/styled/Error.compiled.css +9 -0
  41. package/dist/es2019/styled/Error.js +28 -5
  42. package/dist/es2019/styled/ReportingLines.compiled.css +10 -0
  43. package/dist/es2019/styled/ReportingLines.js +42 -7
  44. package/dist/es2019/styled/TeamCard.compiled.css +41 -0
  45. package/dist/es2019/styled/TeamCard.js +118 -48
  46. package/dist/es2019/util/analytics.js +1 -1
  47. package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
  48. package/dist/esm/client/getTeamFromAGG.js +1 -1
  49. package/dist/esm/components/Error/ErrorMessage.js +1 -1
  50. package/dist/esm/components/Icon/IconLabel.js +5 -6
  51. package/dist/esm/components/Team/TeamForbiddenErrorState.js +1 -1
  52. package/dist/esm/components/Team/TeamLoadingState.js +2 -2
  53. package/dist/esm/components/Team/TeamProfileCard.js +6 -5
  54. package/dist/esm/components/User/OverflowProfileCardButtons.js +1 -1
  55. package/dist/esm/components/User/ProfileCard.js +4 -4
  56. package/dist/esm/components/User/ProfileCardDetails.js +3 -2
  57. package/dist/esm/components/User/ProfileCardResourced.js +1 -1
  58. package/dist/esm/components/User/ProfileCardTrigger.js +1 -1
  59. package/dist/esm/styled/Card.compiled.css +78 -0
  60. package/dist/esm/styled/Card.js +225 -48
  61. package/dist/esm/styled/Error.compiled.css +9 -0
  62. package/dist/esm/styled/Error.js +34 -5
  63. package/dist/esm/styled/ReportingLines.compiled.css +10 -0
  64. package/dist/esm/styled/ReportingLines.js +46 -7
  65. package/dist/esm/styled/TeamCard.compiled.css +41 -0
  66. package/dist/esm/styled/TeamCard.js +146 -48
  67. package/dist/esm/util/analytics.js +1 -1
  68. package/dist/types/components/Icon/IconLabel.d.ts +1 -0
  69. package/dist/types/styled/Card.d.ts +64 -84
  70. package/dist/types/styled/Error.d.ts +11 -13
  71. package/dist/types/styled/ReportingLines.d.ts +13 -17
  72. package/dist/types/styled/TeamCard.d.ts +47 -62
  73. package/dist/types-ts4.5/components/Icon/IconLabel.d.ts +1 -0
  74. package/dist/types-ts4.5/styled/Card.d.ts +64 -84
  75. package/dist/types-ts4.5/styled/Error.d.ts +11 -13
  76. package/dist/types-ts4.5/styled/ReportingLines.d.ts +13 -17
  77. package/dist/types-ts4.5/styled/TeamCard.d.ts +47 -62
  78. package/package.json +8 -3
@@ -1,3 +1,4 @@
1
+ /* Card.tsx generated by @compiled/babel-plugin v0.36.0 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,11 +6,15 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.SpinnerContainer = exports.ProfileImage = exports.OverflowActionButtonsWrapper = exports.LozengeWrapper = exports.KudosBlobAnimationStyle = exports.KudosBlobAnimation = exports.JobTitleLabel = exports.DisabledInfo = exports.DetailsLabelText = exports.DetailsLabelIcon = exports.DetailsLabel = exports.DetailsGroup = exports.CustomLozengeContainer = exports.CardWrapper = exports.CardContent = exports.CardContainer = exports.AppTitleLabel = exports.AnimationWrapper = exports.AnimatedKudosButton = exports.ActionsFlexSpacer = exports.ActionButtonGroup = void 0;
8
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ require("./Card.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
9
11
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
12
  var _react = _interopRequireDefault(require("react"));
11
13
  var _react2 = require("@emotion/react");
12
14
  var _styled = _interopRequireDefault(require("@emotion/styled"));
15
+ var _css = require("@atlaskit/css");
16
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
+ var _compiled = require("@atlaskit/primitives/compiled");
13
18
  var _colors = require("@atlaskit/theme/colors");
14
19
  var _constants = require("@atlaskit/theme/constants");
15
20
  var _constants2 = require("./constants");
@@ -17,67 +22,222 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
17
22
  /* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation */
18
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
+ var kudosButtonAnimationTransformationCompiled = null;
26
+ var styles = {
27
+ cardWrapper: "_2rkoglpi _1bsb1gwv",
28
+ profileImage: "_kqswstnw _154i1ejb _1ltv1ejb",
29
+ actionsFlexSpacer: "_16jlkb7n _1o9zidpf _i0dl1wug",
30
+ kudosBlobAnimationStyle: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _154ixy5q",
31
+ animationWrapper: "_mkrz1rip _kqswstnw _154ize3t _1ltvze3t _94n5ze3t _1xi2ze3t",
32
+ animatedKudosButton: "_18u0u2gc",
33
+ actionButtonGroup: "_zulp12x7 _uiztglyw _19pkpxbi _2hwxze3t _18u0ze3t _otyrze3t _y3gnusic _1bahesu3 _1e0c1txw",
34
+ overflowActionButtonsWrapper: "_1e0c1o8l _1bsbzwfg _4t3izwfg",
35
+ cardContent: "_1e0c1txw _2lx21bp4 _1tkebv7e",
36
+ detailsGroup: "_1e0c1txw _2lx21bp4 _18u01epz _19bvxy5q _1bsb18pt",
37
+ disabledInfo: "_11c81vlj _syaz1fxt _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t",
38
+ lozengeWrapper: "_19pkpxbi _1e0c1ule",
39
+ customLozengeContainer: "_1e0c1txw _2lx2vrvc _1n261g80 _1bah1y6m _19pkutpp",
40
+ spinnerContainer: "_4cvr1h6o _1e0c1txw _4t3i16xz _1bah1h6o _kqswh2mm",
41
+ cardContainer: "_1reo15vq _18m915vq _kqswh2mm _12vemgnk _1lrw14bs _ca0q1ejb _19bv1ejb _u5f31ejb _n3td1ejb",
42
+ cardContainerActiveUser: "_1itk1419",
43
+ cardContainerDisabledUser: "_1itkkf3t",
44
+ cardContainerWithElevation: "_2rkoglpi _16qs1cd0",
45
+ detailsLabel: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _o5721q9c",
46
+ detailsLabelExtraTopSpace: "_19pkxy5q",
47
+ detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz131l _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
48
+ detailsLabelText: "_1reo15vq _18m915vq _11c8qk37 _1bto1l2s _syaz1fxt _19pkze3t _18u0ze3t",
49
+ kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkq1hn",
50
+ jobTitleLabel: "_19pkze3t _otyrze3t _18u0utpp _2hwxze3t",
51
+ appTitleLabel: "_2rkoglpi _syaz1fxt _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
52
+ };
53
+ var CardWrapper = exports.CardWrapper = function CardWrapper(_ref) {
54
+ var children = _ref.children,
55
+ role = _ref.role,
56
+ testId = _ref.testId,
57
+ labelledBy = _ref.labelledBy;
58
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
59
+ xcss: (0, _css.cx)(styles.cardWrapper),
60
+ backgroundColor: 'elevation.surface.overlay',
61
+ role: role,
62
+ testId: testId,
63
+ "aria-labelledby": labelledBy
64
+ }, children) : /*#__PURE__*/_react.default.createElement(CardWrapperLegacy, {
65
+ "data-testid": testId,
66
+ role: role,
67
+ "aria-labelledby": labelledBy
68
+ }, children);
69
+ };
20
70
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
21
- var CardWrapper = exports.CardWrapper = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tbackground-color: ", ";\n\tborder-radius: ", ";\n\twidth: 360px;\n"])), _constants2.bgColor, "var(--ds-border-radius, 3px)");
22
-
71
+ var CardWrapperLegacy = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tbackground-color: ", ";\n\tborder-radius: ", ";\n\twidth: 360px;\n"])), _constants2.bgColor, "var(--ds-border-radius, 3px)");
72
+ var ProfileImage = exports.ProfileImage = function ProfileImage(_ref2) {
73
+ var children = _ref2.children;
74
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
75
+ xcss: (0, _css.cx)(styles.profileImage)
76
+ }, children) : /*#__PURE__*/_react.default.createElement(ProfileImageLegacy, null, children);
77
+ };
23
78
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
24
- var ProfileImage = exports.ProfileImage = _styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tposition: absolute;\n\ttop: ", ";\n\tleft: ", ";\n"])), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)");
25
-
79
+ var ProfileImageLegacy = _styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tposition: absolute;\n\ttop: ", ";\n\tleft: ", ";\n"])), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)");
80
+ var ActionsFlexSpacer = exports.ActionsFlexSpacer = function ActionsFlexSpacer() {
81
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
82
+ xcss: (0, _css.cx)(styles.actionsFlexSpacer)
83
+ }) : /*#__PURE__*/_react.default.createElement(ActionsFlexSpacerLegacy, null);
84
+ };
26
85
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
27
- var ActionsFlexSpacer = exports.ActionsFlexSpacer = _styled.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\tflex: 1 0 auto;\n"])));
86
+ var ActionsFlexSpacerLegacy = _styled.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\tflex: 1 0 auto;\n"])));
28
87
 
29
88
  // eslint-disable-next-line @atlaskit/design-system/no-keyframes-tagged-template-expression -- needs manual remediation
30
89
  var kudosButtonAnimationTransformation = (0, _react2.keyframes)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n 0% { transform: translate(-80px, -50px); }\n 100% { transform: translate(90px, -70px); }\n"])));
90
+ var KudosBlobAnimationStyle = exports.KudosBlobAnimationStyle = function KudosBlobAnimationStyle() {
91
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
92
+ xcss: (0, _css.cx)(styles.kudosBlobAnimationStyle)
93
+ }) :
94
+ /*#__PURE__*/
95
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
96
+ _react.default.createElement(KudosBlobAnimationStyleLegacy, {
97
+ className: "kudos-blob-animation"
98
+ });
99
+ };
31
100
 
32
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
33
- var KudosBlobAnimationStyle = exports.KudosBlobAnimationStyle = _styled.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: none;\n\theight: 150px;\n\twidth: 150px;\n\tz-index: -1;\n\tposition: absolute;\n\ttop: ", "em;\n\tanimation-name: ", ";\n\tanimation-iteration-count: 1;\n\tanimation-duration: 3s;\n\tbackground-image: radial-gradient(\n\t\tcircle,\n\t\t", " 0%,\n\t\t", " 25%,\n\t\ttransparent 50%\n\t);\n\toverflow: hidden;\n"])), 32 / 14, kudosButtonAnimationTransformation, "var(--ds-background-information-pressed, #85B8FF)", "var(--ds-background-discovery-pressed, #B8ACF6)");
34
- var KudosBlobAnimation = exports.KudosBlobAnimation = function KudosBlobAnimation(props) {
35
- return (
36
- /*#__PURE__*/
37
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
38
- _react.default.createElement(KudosBlobAnimationStyle, (0, _extends2.default)({
39
- className: "kudos-blob-animation"
40
- }, props))
41
- );
101
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
102
+ var KudosBlobAnimationStyleLegacy = _styled.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: none;\n\theight: 150px;\n\twidth: 150px;\n\tz-index: -1;\n\tposition: absolute;\n\ttop: ", "em;\n\tanimation-name: ", ";\n\tanimation-iteration-count: 1;\n\tanimation-duration: 3s;\n\tbackground-image: radial-gradient(\n\t\tcircle,\n\t\t", " 0%,\n\t\t", " 25%,\n\t\ttransparent 50%\n\t);\n\toverflow: hidden;\n"])), 32 / 14, kudosButtonAnimationTransformation, "var(--ds-background-information-pressed, #85B8FF)", "var(--ds-background-discovery-pressed, #B8ACF6)");
103
+ var KudosBlobAnimation = exports.KudosBlobAnimation = function KudosBlobAnimation() {
104
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
105
+ xcss: (0, _css.cx)(styles.kudosBlobAnimationStyle)
106
+ }) : /*#__PURE__*/_react.default.createElement(KudosBlobAnimationLegacy, null);
107
+ };
108
+ var KudosBlobAnimationLegacy = function KudosBlobAnimationLegacy() {
109
+ return /*#__PURE__*/_react.default.createElement(KudosBlobAnimationStyle, null);
110
+ };
111
+ var AnimationWrapper = exports.AnimationWrapper = function AnimationWrapper(_ref3) {
112
+ var children = _ref3.children;
113
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
114
+ xcss: (0, _css.cx)(styles.animationWrapper)
115
+ }, children) : /*#__PURE__*/_react.default.createElement(AnimationWrapperLegacy, null, children);
42
116
  };
43
117
 
44
118
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
45
- var AnimationWrapper = exports.AnimationWrapper = _styled.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\tclip-path: inset(0px 0px 0px 0px round ", "px);\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbottom: 0;\n\tright: 0;\n"])), (0, _constants.borderRadius)());
46
-
119
+ var AnimationWrapperLegacy = _styled.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\tclip-path: inset(0px 0px 0px 0px round ", "px);\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tbottom: 0;\n\tright: 0;\n"])), (0, _constants.borderRadius)());
120
+ var AnimatedKudosButton = exports.AnimatedKudosButton = function AnimatedKudosButton(_ref4) {
121
+ var children = _ref4.children;
122
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
123
+ xcss: (0, _css.cx)(styles.animatedKudosButton)
124
+ }, children) : /*#__PURE__*/_react.default.createElement(AnimatedKudosButtonLegacy, null, children);
125
+ };
47
126
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
48
- var AnimatedKudosButton = exports.AnimatedKudosButton = _styled.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n\tmargin-left: ", ";\n\n\t/* Need babel-plugin-emotion to use component selector */\n\t/* Previously with styled-components: &:hover {KudosBlobAnimation} { */\n\t&:focus-within .kudos-blob-animation,\n\t&:focus .kudos-blob-animation,\n\t&:hover .kudos-blob-animation {\n\t\tdisplay: block;\n\t}\n"])), "var(--ds-space-100, 8px)");
49
-
127
+ var AnimatedKudosButtonLegacy = _styled.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n\tmargin-left: ", ";\n\n\t/* Need babel-plugin-emotion to use component selector */\n\t/* Previously with styled-components: &:hover {KudosBlobAnimation} { */\n\t&:focus-within .kudos-blob-animation,\n\t&:focus .kudos-blob-animation,\n\t&:hover .kudos-blob-animation {\n\t\tdisplay: block;\n\t}\n"])), "var(--ds-space-100, 8px)");
128
+ var ActionButtonGroup = exports.ActionButtonGroup = function ActionButtonGroup(_ref5) {
129
+ var children = _ref5.children,
130
+ testId = _ref5.testId;
131
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
132
+ testId: testId,
133
+ xcss: (0, _css.cx)(styles.actionButtonGroup)
134
+ }, children) : /*#__PURE__*/_react.default.createElement(ActionButtonGroupLegacy, {
135
+ "data-testid": testId
136
+ }, children);
137
+ };
50
138
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
51
- var ActionButtonGroup = exports.ActionButtonGroup = _styled.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n\tuser-select: none;\n\tmargin: ", " 0 0 0;\n\ttext-align: right;\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\n\tbutton,\n\ta {\n\t\tposition: relative;\n\t}\n\n\tbutton,\n\ta,\n\tspan {\n\t\tmargin-left: ", ";\n\n\t\t&:first-child {\n\t\t\tmargin-left: ", ";\n\t\t}\n\t}\n\n\ta,\n\tbutton {\n\t\t&:focus {\n\t\t\toutline-color: ", ";\n\t\t\toutline-offset: ", ";\n\t\t\toutline-style: solid;\n\t\t\toutline-width: ", ";\n\t\t}\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-0, 0px)", "var(--ds-border-focused, ".concat(_colors.B200, ")"), "var(--ds-border-width, 2px)", "var(--ds-border-width, 2px)");
52
-
139
+ var ActionButtonGroupLegacy = _styled.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n\tuser-select: none;\n\tmargin: ", " 0 0 0;\n\ttext-align: right;\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\n\tbutton,\n\ta {\n\t\tposition: relative;\n\t}\n\n\tbutton,\n\ta,\n\tspan {\n\t\tmargin-left: ", ";\n\n\t\t&:first-child {\n\t\t\tmargin-left: ", ";\n\t\t}\n\t}\n\n\ta,\n\tbutton {\n\t\t&:focus {\n\t\t\toutline-color: ", ";\n\t\t\toutline-offset: ", ";\n\t\t\toutline-style: solid;\n\t\t\toutline-width: ", ";\n\t\t}\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-0, 0px)", "var(--ds-border-focused, ".concat(_colors.B200, ")"), "var(--ds-border-width, 2px)", "var(--ds-border-width, 2px)");
140
+ var OverflowActionButtonsWrapper = exports.OverflowActionButtonsWrapper = function OverflowActionButtonsWrapper(_ref6) {
141
+ var children = _ref6.children,
142
+ testId = _ref6.testId;
143
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
144
+ testId: testId,
145
+ xcss: (0, _css.cx)(styles.overflowActionButtonsWrapper)
146
+ }, children) : /*#__PURE__*/_react.default.createElement(OverflowActionButtonsWrapperLegacy, {
147
+ "data-testid": testId
148
+ }, children);
149
+ };
53
150
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
54
- var OverflowActionButtonsWrapper = exports.OverflowActionButtonsWrapper = _styled.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\twidth: ", ";\n\theight: ", ";\n\tmargin-left: ", ";\n\n\tbutton {\n\t\t&:focus {\n\t\t\toutline-color: ", ";\n\t\t\toutline-offset: ", ";\n\t\t\toutline-style: solid;\n\t\t\toutline-width: ", ";\n\t\t}\n\t}\n"])), "var(--ds-space-400, 32px)", "var(--ds-space-400, 32px)", "var(--ds-space-100, 8px)", "var(--ds-border-focused, ".concat(_colors.B200, ")"), "var(--ds-border-width, 2px)", "var(--ds-border-width, 2px)");
55
-
151
+ var OverflowActionButtonsWrapperLegacy = _styled.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\twidth: ", ";\n\theight: ", ";\n\tmargin-left: ", ";\n\n\tbutton {\n\t\t&:focus {\n\t\t\toutline-color: ", ";\n\t\t\toutline-offset: ", ";\n\t\t\toutline-style: solid;\n\t\t\toutline-width: ", ";\n\t\t}\n\t}\n"])), "var(--ds-space-400, 32px)", "var(--ds-space-400, 32px)", "var(--ds-space-100, 8px)", "var(--ds-border-focused, ".concat(_colors.B200, ")"), "var(--ds-border-width, 2px)", "var(--ds-border-width, 2px)");
152
+ var CardContent = exports.CardContent = function CardContent(_ref7) {
153
+ var children = _ref7.children;
154
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
155
+ xcss: (0, _css.cx)(styles.cardContent)
156
+ }, children) : /*#__PURE__*/_react.default.createElement(CardContentLegacy, null, children);
157
+ };
56
158
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
57
- var CardContent = exports.CardContent = _styled.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmin-height: 136px;\n"])));
58
-
159
+ var CardContentLegacy = _styled.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmin-height: 136px;\n"])));
160
+ var DetailsGroup = exports.DetailsGroup = function DetailsGroup(_ref8) {
161
+ var children = _ref8.children;
162
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
163
+ xcss: (0, _css.cx)(styles.detailsGroup)
164
+ }, children) : /*#__PURE__*/_react.default.createElement(DetailsGroupLegacy, null, children);
165
+ };
59
166
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
60
- var DetailsGroup = exports.DetailsGroup = _styled.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin-left: 116px;\n\twidth: 196px;\n"])));
61
-
167
+ var DetailsGroupLegacy = _styled.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin-left: 116px;\n\twidth: 196px;\n"])));
168
+ var DisabledInfo = exports.DisabledInfo = function DisabledInfo(_ref9) {
169
+ var children = _ref9.children;
170
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
171
+ xcss: (0, _css.cx)(styles.disabledInfo)
172
+ }, children) : /*#__PURE__*/_react.default.createElement(DisabledInfoLegacy, null, children);
173
+ };
62
174
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
63
- var DisabledInfo = exports.DisabledInfo = _styled.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n\tfont: ", ";\n\tcolor: ", ";\n\tmargin: ", " 0 0 0;\n\tline-height: 16px;\n"])), "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", _constants2.labelTextColor, "var(--ds-space-150, 12px)");
64
-
175
+ var DisabledInfoLegacy = _styled.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n\tfont: ", ";\n\tcolor: ", ";\n\tmargin: ", " 0 0 0;\n\tline-height: 16px;\n"])), "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", _constants2.labelTextColor, "var(--ds-space-150, 12px)");
176
+ var LozengeWrapper = exports.LozengeWrapper = function LozengeWrapper(_ref10) {
177
+ var children = _ref10.children;
178
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
179
+ xcss: (0, _css.cx)(styles.lozengeWrapper)
180
+ }, children) : /*#__PURE__*/_react.default.createElement(LozengeWrapperLegacy, null, children);
181
+ };
65
182
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
66
- var LozengeWrapper = exports.LozengeWrapper = _styled.default.div(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n\tmargin-top: ", ";\n\ttext-transform: uppercase;\n\tdisplay: block;\n"])), "var(--ds-space-200, 16px)");
67
-
183
+ var LozengeWrapperLegacy = _styled.default.div(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n\tmargin-top: ", ";\n\ttext-transform: uppercase;\n\tdisplay: block;\n"])), "var(--ds-space-200, 16px)");
184
+ var CustomLozengeContainer = exports.CustomLozengeContainer = function CustomLozengeContainer(_ref11) {
185
+ var children = _ref11.children;
186
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
187
+ xcss: (0, _css.cx)(styles.customLozengeContainer)
188
+ }, children) : /*#__PURE__*/_react.default.createElement(CustomLozengeContainerLegacy, null, children);
189
+ };
68
190
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
69
- var CustomLozengeContainer = exports.CustomLozengeContainer = (0, _styled.default)(LozengeWrapper)(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n\tjustify-content: flex-start;\n\tmargin-top: ", ";\n\t> * {\n\t\tmargin-top: ", ";\n\t\t&:not(:last-child) {\n\t\t\tmargin-right: ", ";\n\t\t}\n\t}\n"])), "var(--ds-space-150, 12px)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
70
-
191
+ var CustomLozengeContainerLegacy = (0, _styled.default)(LozengeWrapper)(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n\tjustify-content: flex-start;\n\tmargin-top: ", ";\n\t> * {\n\t\tmargin-top: ", ";\n\t\t&:not(:last-child) {\n\t\t\tmargin-right: ", ";\n\t\t}\n\t}\n"])), "var(--ds-space-150, 12px)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
192
+ var JobTitleLabel = exports.JobTitleLabel = function JobTitleLabel(_ref12) {
193
+ var children = _ref12.children;
194
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
195
+ xcss: (0, _css.cx)(styles.jobTitleLabel)
196
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
197
+ maxLines: 1,
198
+ color: "color.text.inverse"
199
+ }, children)) : /*#__PURE__*/_react.default.createElement(JobTitleLabelLegacy, null, children);
200
+ };
71
201
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
72
- var JobTitleLabel = exports.JobTitleLabel = _styled.default.span(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2.default)(["\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\n\tfont: ", ";\n\tcolor: ", ";\n\tmargin: 0 0 ", " 0;\n"])), "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", _constants2.headerTextColor, "var(--ds-space-150, 12px)");
73
-
202
+ var JobTitleLabelLegacy = _styled.default.span(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2.default)(["\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\n\tfont: ", ";\n\tcolor: ", ";\n\tmargin: 0 0 ", " 0;\n"])), "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", _constants2.headerTextColor, "var(--ds-space-150, 12px)");
203
+ var AppTitleLabel = exports.AppTitleLabel = function AppTitleLabel(_ref13) {
204
+ var children = _ref13.children;
205
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
206
+ xcss: (0, _css.cx)(styles.appTitleLabel),
207
+ backgroundColor: "color.background.neutral"
208
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
209
+ color: "color.text",
210
+ size: "UNSAFE_small",
211
+ weight: "bold"
212
+ }, children)) : /*#__PURE__*/_react.default.createElement(AppTitleLabelLegacy, null, children);
213
+ };
74
214
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
75
- var AppTitleLabel = exports.AppTitleLabel = _styled.default.span(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)(["\n\tbackground: ", ";\n\tcolor: ", ";\n\tborder-radius: ", ";\n\tpadding: 0 ", ";\n\twidth: fit-content;\n\tfont-weight: ", ";\n\ttext-transform: uppercase;\n\n\tfont: ", ";\n\tmargin: ", " 0 ", " 0;\n"])), _constants2.appLabelBgColor, _constants2.appLabelTextColor, (0, _constants.borderRadius)(), "var(--ds-space-075, 6px)", "var(--ds-font-weight-bold, 700)", "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-150, 12px)");
76
-
215
+ var AppTitleLabelLegacy = _styled.default.span(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)(["\n\tbackground: ", ";\n\tcolor: ", ";\n\tborder-radius: ", ";\n\tpadding: 0 ", ";\n\twidth: fit-content;\n\tfont-weight: ", ";\n\ttext-transform: uppercase;\n\n\tfont: ", ";\n\tmargin: ", " 0 ", " 0;\n"])), _constants2.appLabelBgColor, _constants2.appLabelTextColor, (0, _constants.borderRadius)(), "var(--ds-space-075, 6px)", "var(--ds-font-weight-bold, 700)", "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-150, 12px)");
216
+ var SpinnerContainer = exports.SpinnerContainer = function SpinnerContainer(_ref14) {
217
+ var children = _ref14.children,
218
+ testId = _ref14.testId;
219
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
220
+ testId: testId,
221
+ xcss: (0, _css.cx)(styles.spinnerContainer)
222
+ }, children) : /*#__PURE__*/_react.default.createElement(SpinnerContainerLegacy, {
223
+ "data-testid": testId
224
+ }, children);
225
+ };
77
226
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
78
- var SpinnerContainer = exports.SpinnerContainer = _styled.default.div(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2.default)(["\n\talign-items: center;\n\tdisplay: flex;\n\theight: 96px;\n\tjustify-content: center;\n\tposition: relative;\n"])));
227
+ var SpinnerContainerLegacy = _styled.default.div(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2.default)(["\n\talign-items: center;\n\tdisplay: flex;\n\theight: 96px;\n\tjustify-content: center;\n\tposition: relative;\n"])));
228
+ var CardContainer = exports.CardContainer = function CardContainer(_ref15) {
229
+ var children = _ref15.children,
230
+ isDisabledUser = _ref15.isDisabledUser,
231
+ withoutElevation = _ref15.withoutElevation;
232
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
233
+ xcss: (0, _css.cx)(styles.cardContainer, isDisabledUser ? styles.cardContainerDisabledUser : styles.cardContainerActiveUser, !withoutElevation && styles.cardContainerWithElevation)
234
+ }, children) : /*#__PURE__*/_react.default.createElement(CardContainerLegacy, {
235
+ isDisabledUser: isDisabledUser,
236
+ withoutElevation: withoutElevation
237
+ }, children);
238
+ };
79
239
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
80
- var CardContainer = exports.CardContainer = _styled.default.div(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tbackground-image: linear-gradient(\n\t\tto bottom,\n\t\t", "\n\t\t\t0%,\n\t\t", " 100%\n\t);\n\tbackground-repeat: no-repeat;\n\tbackground-size: 100% 96px;\n\tbox-sizing: content-box;\n\tpadding: ", ";\n\tbox-shadow: ", ";\n\tborder-radius: ", ";\n\n\toverflow: hidden;\n"])), function (props) {
240
+ var CardContainerLegacy = _styled.default.div(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tbackground-image: linear-gradient(\n\t\tto bottom,\n\t\t", "\n\t\t\t0%,\n\t\t", " 100%\n\t);\n\tbackground-repeat: no-repeat;\n\tbackground-size: 100% 96px;\n\tbox-sizing: content-box;\n\tpadding: ", ";\n\tbox-shadow: ", ";\n\tborder-radius: ", ";\n\n\toverflow: hidden;\n"])), function (props) {
81
241
  return props.isDisabledUser ? _constants2.headerBgColorDisabledUser : _constants2.headerBgColor;
82
242
  }, function (props) {
83
243
  return props.isDisabledUser ? _constants2.headerBgColorDisabledUser : _constants2.headerBgColor;
@@ -86,12 +246,31 @@ var CardContainer = exports.CardContainer = _styled.default.div(_templateObject1
86
246
  }, function (props) {
87
247
  return props.withoutElevation ? '' : "".concat((0, _constants.borderRadius)(), "px");
88
248
  });
89
-
249
+ var DetailsLabel = exports.DetailsLabel = function DetailsLabel(_ref16) {
250
+ var children = _ref16.children,
251
+ _ref16$extraTopSpace = _ref16.extraTopSpace,
252
+ extraTopSpace = _ref16$extraTopSpace === void 0 ? false : _ref16$extraTopSpace;
253
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
254
+ xcss: (0, _css.cx)(styles.detailsLabel, extraTopSpace && styles.detailsLabelExtraTopSpace)
255
+ }, children) : /*#__PURE__*/_react.default.createElement(DetailsLabelLegacy, null, children);
256
+ };
90
257
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
91
- var DetailsLabel = exports.DetailsLabel = _styled.default.div(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\talign-items: center;\n\tmargin: ", " 0 0 0;\n\twhite-space: nowrap;\n\n\t& + & {\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-025, 2px)");
92
-
258
+ var DetailsLabelLegacy = _styled.default.div(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\talign-items: center;\n\tmargin: ", " 0 0 0;\n\twhite-space: nowrap;\n\n\t& + & {\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-025, 2px)");
259
+ var DetailsLabelIcon = exports.DetailsLabelIcon = function DetailsLabelIcon(_ref17) {
260
+ var children = _ref17.children;
261
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
262
+ as: "dt",
263
+ xcss: (0, _css.cx)(styles.detailsLabelIcon)
264
+ }, children) : /*#__PURE__*/_react.default.createElement(DetailsLabelIconLegacy, null, children);
265
+ };
93
266
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
94
- var DetailsLabelIcon = exports.DetailsLabelIcon = _styled.default.dt(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcolor: ", ";\n\twidth: ", ";\n\theight: ", ";\n\tpadding: ", ";\n\tvertical-align: top;\n\n\tsvg {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n"])), _constants2.labelIconColor, "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)", "var(--ds-space-050, 4px)");
95
-
267
+ var DetailsLabelIconLegacy = _styled.default.dt(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcolor: ", ";\n\twidth: ", ";\n\theight: ", ";\n\tpadding: ", ";\n\tvertical-align: top;\n\n\tsvg {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n"])), _constants2.labelIconColor, "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)", "var(--ds-space-050, 4px)");
268
+ var DetailsLabelText = exports.DetailsLabelText = function DetailsLabelText(_ref18) {
269
+ var children = _ref18.children;
270
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
271
+ as: "dd",
272
+ xcss: (0, _css.cx)(styles.detailsLabelText)
273
+ }, children) : /*#__PURE__*/_react.default.createElement(DetailsLabelTextLegacy, null, children);
274
+ };
96
275
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
97
- var DetailsLabelText = exports.DetailsLabelText = _styled.default.dd(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteral2.default)(["\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tcolor: ", ";\n\tfont: ", ";\n\tpadding-block: ", ";\n\tpadding-left: ", ";\n\tmargin-inline-start: 0;\n\tmargin-top: 0;\n"])), _constants2.labelTextColor, "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
276
+ var DetailsLabelTextLegacy = _styled.default.dd(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteral2.default)(["\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tcolor: ", ";\n\tfont: ", ";\n\tpadding-block: ", ";\n\tpadding-left: ", ";\n\tmargin-inline-start: 0;\n\tmargin-top: 0;\n"])), _constants2.labelTextColor, "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
@@ -0,0 +1,9 @@
1
+ ._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
+ ._19bv1ejb{padding-left:var(--ds-space-300,24px)}
3
+ ._19pku2gc{margin-top:var(--ds-space-100,8px)}
4
+ ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
5
+ ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
6
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
7
+ ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
8
+ ._u5f31ejb{padding-right:var(--ds-space-300,24px)}
9
+ ._y3gn1h6o{text-align:center}
@@ -1,3 +1,4 @@
1
+ /* Error.tsx generated by @compiled/babel-plugin v0.36.0 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,29 +6,56 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.TeamErrorText = exports.ErrorWrapper = exports.ErrorTitle = void 0;
9
+ require("./Error.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
11
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
12
+ var _react = _interopRequireDefault(require("react"));
8
13
  var _styled = _interopRequireDefault(require("@emotion/styled"));
14
+ var _css = require("@atlaskit/css");
15
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
+ var _compiled = require("@atlaskit/primitives/compiled");
9
17
  var _colors = require("@atlaskit/theme/colors");
10
18
  var _constants = require("./constants");
11
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
-
20
+ var styles = {
21
+ errorWrapper: "_y3gn1h6o _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb",
22
+ errorTitle: "_11c81oud _syaz1fxt _19pku2gc",
23
+ teamErrorText: "_syaz1wmz _19pku2gc"
24
+ };
25
+ var ErrorWrapper = exports.ErrorWrapper = function ErrorWrapper(props) {
26
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, (0, _extends2.default)({
27
+ xcss: (0, _css.cx)(styles.errorWrapper)
28
+ }, props)) : /*#__PURE__*/_react.default.createElement(ErrorWrapperLegacy, {
29
+ "data-testId": props.testId
30
+ }, props.children);
31
+ };
13
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
14
- var ErrorWrapper = exports.ErrorWrapper = _styled.default.div({
33
+ var ErrorWrapperLegacy = _styled.default.div({
15
34
  textAlign: 'center',
16
35
  padding: "var(--ds-space-300, 24px)",
17
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
18
37
  color: _constants.errorIconColor
19
38
  });
20
-
39
+ var ErrorTitle = exports.ErrorTitle = function ErrorTitle(props) {
40
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
41
+ xcss: (0, _css.cx)(styles.errorTitle)
42
+ }, props.children) : /*#__PURE__*/_react.default.createElement(ErrorTitleLegacy, null, props.children);
43
+ };
21
44
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
22
- var ErrorTitle = exports.ErrorTitle = _styled.default.p({
45
+ var ErrorTitleLegacy = _styled.default.p({
23
46
  font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
24
47
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
25
48
  color: _constants.errorTitleColor,
26
49
  margin: "var(--ds-space-100, 8px)".concat(" 0")
27
50
  });
51
+ var TeamErrorText = exports.TeamErrorText = function TeamErrorText(props) {
52
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
53
+ xcss: (0, _css.cx)(styles.teamErrorText)
54
+ }, props.children) : /*#__PURE__*/_react.default.createElement(TeamErrorTextLegacy, null, props.children);
55
+ };
28
56
 
29
57
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
30
- var TeamErrorText = exports.TeamErrorText = _styled.default.p({
58
+ var TeamErrorTextLegacy = _styled.default.p({
31
59
  color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
32
60
  marginTop: "var(--ds-space-100, 8px)"
33
61
  });
@@ -0,0 +1,10 @@
1
+ ._11c81vlj{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
+ ._18u01b66{margin-left:var(--ds-space-050,4px)}
3
+ ._18u0r5cr{margin-left:var(--ds-space-negative-050,-4px)}
4
+ ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
5
+ ._19pk1b66{margin-top:var(--ds-space-050,4px)}
6
+ ._19pku2gc{margin-top:var(--ds-space-100,8px)}
7
+ ._1e0c1txw{display:flex}
8
+ ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
9
+ ._4cvr1h6o{align-items:center}
10
+ ._otyr1b66{margin-bottom:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* ReportingLines.tsx generated by @compiled/babel-plugin v0.36.0 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,32 +6,68 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.ReportingLinesSection = exports.OffsetWrapper = exports.ManagerSection = exports.ManagerName = void 0;
9
+ require("./ReportingLines.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
11
+ var _react = _interopRequireDefault(require("react"));
8
12
  var _styled = _interopRequireDefault(require("@emotion/styled"));
13
+ var _css = require("@atlaskit/css");
14
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
+ var _compiled = require("@atlaskit/primitives/compiled");
9
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
+ var styles = {
18
+ reportingLinesSection: "_18u01b66 _19pku2gc",
19
+ managerSection: "_1e0c1txw _4cvr1h6o _18u01b66 _19pk1b66 _otyr1b66 _2hwx1b66",
20
+ managerName: "_11c81vlj _18u0u2gc",
21
+ offsetWrapper: "_19pk1b66 _18u0r5cr"
22
+ };
10
23
 
11
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
- var ReportingLinesSection = exports.ReportingLinesSection = _styled.default.div({
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/use-primitives -- Ignored via go/DSP-18766
25
+ var ReportingLinesSectionLegacy = _styled.default.div({
13
26
  // Minor left margin to align better with existing icon fields
14
27
  marginLeft: "var(--ds-space-050, 4px)",
15
28
  marginTop: "var(--ds-space-100, 8px)"
16
29
  });
30
+ var ReportingLinesSection = exports.ReportingLinesSection = function ReportingLinesSection(_ref) {
31
+ var children = _ref.children;
32
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
33
+ xcss: (0, _css.cx)(styles.reportingLinesSection)
34
+ }, children) : /*#__PURE__*/_react.default.createElement(ReportingLinesSectionLegacy, null, children);
35
+ };
17
36
 
18
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
19
- var ManagerSection = exports.ManagerSection = _styled.default.div({
38
+ var ManagerSectionLegacy = _styled.default.div({
20
39
  display: 'flex',
21
40
  alignItems: 'center',
22
41
  margin: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-050, 4px)")
23
42
  });
43
+ var ManagerSection = exports.ManagerSection = function ManagerSection(_ref2) {
44
+ var children = _ref2.children;
45
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
46
+ xcss: (0, _css.cx)(styles.managerSection)
47
+ }, children) : /*#__PURE__*/_react.default.createElement(ManagerSectionLegacy, null, children);
48
+ };
24
49
 
25
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
26
- var ManagerName = exports.ManagerName = _styled.default.span({
51
+ var ManagerNameLegacy = _styled.default.span({
27
52
  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)",
28
53
  marginLeft: "var(--ds-space-100, 8px)"
29
54
  });
55
+ var ManagerName = exports.ManagerName = function ManagerName(_ref3) {
56
+ var children = _ref3.children;
57
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
58
+ xcss: (0, _css.cx)(styles.managerName)
59
+ }, children) : /*#__PURE__*/_react.default.createElement(ManagerNameLegacy, null, children);
60
+ };
30
61
 
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
32
- var OffsetWrapper = exports.OffsetWrapper = _styled.default.div({
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/use-primitives -- Ignored via go/DSP-18766
63
+ var OffsetWrapperLegacy = _styled.default.div({
33
64
  marginTop: "var(--ds-space-050, 4px)",
34
65
  // Offset left margin so the avatar aligns with the heading
35
66
  marginLeft: "var(--ds-space-negative-050, -4px)"
36
- });
67
+ });
68
+ var OffsetWrapper = exports.OffsetWrapper = function OffsetWrapper(_ref4) {
69
+ var children = _ref4.children;
70
+ return (0, _platformFeatureFlags.fg)('compiled-migration-profilecard') ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
71
+ xcss: (0, _css.cx)(styles.offsetWrapper)
72
+ }, children) : /*#__PURE__*/_react.default.createElement(OffsetWrapperLegacy, null, children);
73
+ };
@@ -0,0 +1,41 @@
1
+ ._11c8o0gd{font:var(--ds-font-heading-medium,normal 500 20px/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
+ ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}
3
+ ._12vemgnk{background-repeat:no-repeat}
4
+ ._16jlkb7n{flex-grow:1}
5
+ ._18m915vq{overflow-y:hidden}
6
+ ._18u01i6y{margin-left:var(--ds-space-negative-025,-2px)}
7
+ ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
8
+ ._18u0x0bf{margin-left:var(--ds-space-negative-100,-8px)}
9
+ ._19bv1ejb{padding-left:var(--ds-space-300,24px)}
10
+ ._19pk1b66{margin-top:var(--ds-space-050,4px)}
11
+ ._19pk1ejb{margin-top:var(--ds-space-300,24px)}
12
+ ._19pk1jfw{margin-top:var(--ds-space-500,40px)}
13
+ ._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
14
+ ._1bah1yb4{justify-content:space-between}
15
+ ._1bsb1osq{width:100%}
16
+ ._1bsbnklw{width:20pc}
17
+ ._1e0c1kw7{display:inherit}
18
+ ._1e0c1txw{display:flex}
19
+ ._1e0ccj1k{display:-webkit-box}
20
+ ._1itk1g60{background-image:url()}
21
+ ._1lrw1dfr{background-size:cover}
22
+ ._1p1dglyw{text-transform:none}
23
+ ._1reo15vq{overflow-x:hidden}
24
+ ._1tke1l8a{min-height:78pt}
25
+ ._2hwx10v4{margin-right:var(--ds-space-negative-300,-24px)}
26
+ ._2lx21bp4{flex-direction:column}
27
+ ._4cvr1h6o{align-items:center}
28
+ ._4t3i1qr7{height:8pc}
29
+ ._c71l1wqb{max-height:60px}
30
+ ._c71lckbl{max-height:3pc}
31
+ ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
32
+ ._i0dlidpf{flex-basis:0}
33
+ ._kqswh2mm{position:relative}
34
+ ._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
35
+ ._otyr1ejb{margin-bottom:var(--ds-space-300,24px)}
36
+ ._otyr1jfw{margin-bottom:var(--ds-space-500,40px)}
37
+ ._otyridpf{margin-bottom:0}
38
+ ._ouxl1ssb{background-position:50%}
39
+ ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
40
+ ._u5f31ejb{padding-right:var(--ds-space-300,24px)}
41
+ ._y3gn1h6o{text-align:center}