@atlaskit/profilecard 24.30.0 → 24.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/afm-products/tsconfig.json +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.compiled.css +2 -2
- package/dist/cjs/components/User/ProfileCardDetails.js +3 -3
- package/dist/cjs/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/cjs/components/User/ReportingLinesDetails.js +1 -1
- package/dist/cjs/components/team-profile-card/main.compiled.css +1 -1
- package/dist/cjs/components/team-profile-card/main.js +1 -1
- package/dist/cjs/styled/Card.compiled.css +2 -2
- package/dist/cjs/styled/Card.js +3 -3
- package/dist/cjs/styled/ReportingLines.compiled.css +1 -1
- package/dist/cjs/styled/ReportingLines.js +1 -1
- package/dist/cjs/styled/TeamCard.compiled.css +1 -1
- package/dist/cjs/styled/TeamCard.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.compiled.css +2 -2
- package/dist/es2019/components/User/ProfileCardDetails.js +3 -3
- package/dist/es2019/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/es2019/components/User/ReportingLinesDetails.js +1 -1
- package/dist/es2019/components/team-profile-card/main.compiled.css +1 -1
- package/dist/es2019/components/team-profile-card/main.js +1 -1
- package/dist/es2019/styled/Card.compiled.css +2 -2
- package/dist/es2019/styled/Card.js +3 -3
- package/dist/es2019/styled/ReportingLines.compiled.css +1 -1
- package/dist/es2019/styled/ReportingLines.js +1 -1
- package/dist/es2019/styled/TeamCard.compiled.css +1 -1
- package/dist/es2019/styled/TeamCard.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.compiled.css +2 -2
- package/dist/esm/components/User/ProfileCardDetails.js +3 -3
- package/dist/esm/components/User/ReportingLinesDetails.compiled.css +1 -1
- package/dist/esm/components/User/ReportingLinesDetails.js +1 -1
- package/dist/esm/components/team-profile-card/main.compiled.css +1 -1
- package/dist/esm/components/team-profile-card/main.js +1 -1
- package/dist/esm/styled/Card.compiled.css +2 -2
- package/dist/esm/styled/Card.js +3 -3
- package/dist/esm/styled/ReportingLines.compiled.css +1 -1
- package/dist/esm/styled/ReportingLines.js +1 -1
- package/dist/esm/styled/TeamCard.compiled.css +1 -1
- package/dist/esm/styled/TeamCard.js +1 -1
- package/docs/0-intro.tsx +2 -1
- package/docs/1-profilecard-trigger.tsx +2 -1
- package/docs/2-team-profilecard.tsx +2 -1
- package/docs/3-profile-client.tsx +2 -1
- package/package.json +7 -8
- package/build/tsconfig.json +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.30.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`db16d1751c5ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db16d1751c5ad) -
|
|
8
|
+
Internal changes to typography.
|
|
9
|
+
|
|
10
|
+
## 24.30.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 24.30.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._vvzr1d4k#profilecard-name-label{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._18u0idpf{margin-left:0}
|
|
5
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
@@ -27,11 +27,11 @@ var _excluded = ["text"];
|
|
|
27
27
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
28
28
|
var styles = {
|
|
29
29
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
30
|
-
fullNameLabel: "_1reo15vq _18m915vq
|
|
30
|
+
fullNameLabel: "_1reo15vq _18m915vq _11c81d4k _1bto1l2s _o5721q9c",
|
|
31
31
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
32
|
-
noMetaLabelWithHighSpecificity: "
|
|
32
|
+
noMetaLabelWithHighSpecificity: "_vvzr1d4k _1hpmxy5q _1bguutpp",
|
|
33
33
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
34
|
-
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf
|
|
34
|
+
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1d4k _1hpmutpp",
|
|
35
35
|
disabledAccount: "_syazi7uo",
|
|
36
36
|
activeAccount: "_syaz15cr"
|
|
37
37
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
3
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
4
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -27,7 +27,7 @@ function getProfileHref(userId, profileUrl) {
|
|
|
27
27
|
}
|
|
28
28
|
var styles = {
|
|
29
29
|
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
30
|
-
reportingLinesHeadingDefaultStyles: "
|
|
30
|
+
reportingLinesHeadingDefaultStyles: "_11c8i4vh _syazi7uo _k48p1pd9 _otyru2gc",
|
|
31
31
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
32
32
|
};
|
|
33
33
|
var avatarGroupMaxCount = 5;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
3
|
._v564nm7n{transition:box-shadow .25s ease-in-out}
|
|
4
4
|
._18m915vq{overflow-y:hidden}
|
|
@@ -40,7 +40,7 @@ var styles = {
|
|
|
40
40
|
teamInformationStyles: "_18u01ejb _19pku2gc _2hwx1ejb",
|
|
41
41
|
teamConnectionStyles: "_18u0u2gc _2hwxu2gc",
|
|
42
42
|
teamConnectionItemsStyles: "_c71lx2si _18m91wug",
|
|
43
|
-
connectionTitleStyles: "
|
|
43
|
+
connectionTitleStyles: "_11c8i4vh _18u0pxbi _19pk1b66 _2hwxpxbi _otyr12x7 _syazazsu",
|
|
44
44
|
teamAppTileStyles: "_18u01wug _4t3i7vkz _1bsb7vkz"
|
|
45
45
|
};
|
|
46
46
|
var TeamProfileCard = exports.TeamProfileCard = function TeamProfileCard(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
4
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
5
5
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
package/dist/cjs/styled/Card.js
CHANGED
|
@@ -27,7 +27,7 @@ var styles = {
|
|
|
27
27
|
overflowActionButtonsWrapper: "_1e0c1o8l _1bsbzwfg _4t3izwfg",
|
|
28
28
|
cardContent: "_1e0c1txw _2lx21bp4 _1tkebv7e",
|
|
29
29
|
detailsGroup: "_1e0c1txw _2lx21bp4 _18u01epz _19bvxy5q _1bsb18pt",
|
|
30
|
-
disabledInfo: "
|
|
30
|
+
disabledInfo: "_11c8wadc _syazi7uo _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t",
|
|
31
31
|
lozengeWrapper: "_19pkpxbi _1e0c1ule",
|
|
32
32
|
customLozengeContainer: "_1e0c1txw _2lx2vrvc _1n261g80 _1bah1y6m _19pkutpp",
|
|
33
33
|
cardContainer: "_1reo15vq _18m915vq _kqswh2mm _12vemgnk _1lrw14bs _ca0q1ejb _19bv1ejb _u5f31ejb _n3td1ejb",
|
|
@@ -38,7 +38,7 @@ var styles = {
|
|
|
38
38
|
detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
|
|
39
39
|
detailsLabelExtraTopSpace: "_19pkxy5q",
|
|
40
40
|
detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
|
|
41
|
-
detailsLabelText: "_1reo15vq _18m915vq
|
|
41
|
+
detailsLabelText: "_1reo15vq _18m915vq _11c8rymc _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
|
|
42
42
|
kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
|
|
43
43
|
jobTitleLabel: "_19pkze3t _otyrze3t _18u0ze3t _2hwxze3t",
|
|
44
44
|
appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
|
|
@@ -161,7 +161,7 @@ var AppTitleLabel = exports.AppTitleLabel = function AppTitleLabel(_ref10) {
|
|
|
161
161
|
backgroundColor: "color.background.neutral"
|
|
162
162
|
}, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
163
163
|
color: "color.text",
|
|
164
|
-
size: "
|
|
164
|
+
size: "small",
|
|
165
165
|
weight: "bold"
|
|
166
166
|
}, children));
|
|
167
167
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18u01b66{margin-left:var(--ds-space-050,4px)}
|
|
3
3
|
._18u0r5cr{margin-left:var(--ds-space-negative-050,-4px)}
|
|
4
4
|
._18u0u2gc{margin-left:var(--ds-space-100,8px)}
|
|
@@ -14,7 +14,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
|
|
|
14
14
|
var styles = {
|
|
15
15
|
reportingLinesSection: "_18u01b66 _19pku2gc",
|
|
16
16
|
managerSection: "_1e0c1txw _4cvr1h6o _18u01b66 _19pk1b66 _otyr1b66 _2hwx1b66",
|
|
17
|
-
managerName: "
|
|
17
|
+
managerName: "_11c8wadc _18u0u2gc",
|
|
18
18
|
offsetWrapper: "_19pk1b66 _18u0r5cr"
|
|
19
19
|
};
|
|
20
20
|
var ReportingLinesSection = exports.ReportingLinesSection = function ReportingLinesSection(_ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._16jlkb7n{flex-grow:1}
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._18u01i6y{margin-left:var(--ds-space-negative-025,-2px)}
|
|
@@ -17,7 +17,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
|
|
|
17
17
|
var _colors = require("@atlaskit/theme/colors");
|
|
18
18
|
var styles = {
|
|
19
19
|
teamforbiddenerrorstatewrapper: "_1bsbnklw _kqswh2mm",
|
|
20
|
-
teamname: "
|
|
20
|
+
teamname: "_11c81af2 _1reo15vq _18m915vq _1p1dglyw _c71lckbl _1e0ccj1k",
|
|
21
21
|
membercount: "_syaz1wmz _19pk1b66",
|
|
22
22
|
avatarsection: "_19pkpxbi _18u01i6y",
|
|
23
23
|
descriptionwrapper: "_19pkpxbi _4cvr1h6o _1e0c1txw",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._vvzr1d4k#profilecard-name-label{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._18u0idpf{margin-left:0}
|
|
5
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
@@ -16,11 +16,11 @@ import { IconLabel } from '../Icon';
|
|
|
16
16
|
import ReportingLinesDetails from './ReportingLinesDetails';
|
|
17
17
|
const styles = {
|
|
18
18
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
19
|
-
fullNameLabel: "_1reo15vq _18m915vq
|
|
19
|
+
fullNameLabel: "_1reo15vq _18m915vq _11c81d4k _1bto1l2s _o5721q9c",
|
|
20
20
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
21
|
-
noMetaLabelWithHighSpecificity: "
|
|
21
|
+
noMetaLabelWithHighSpecificity: "_vvzr1d4k _1hpmxy5q _1bguutpp",
|
|
22
22
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
23
|
-
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf
|
|
23
|
+
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1d4k _1hpmutpp",
|
|
24
24
|
disabledAccount: "_syazi7uo",
|
|
25
25
|
activeAccount: "_syaz15cr"
|
|
26
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
3
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
4
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -17,7 +17,7 @@ function getProfileHref(userId, profileUrl) {
|
|
|
17
17
|
}
|
|
18
18
|
const styles = {
|
|
19
19
|
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
20
|
-
reportingLinesHeadingDefaultStyles: "
|
|
20
|
+
reportingLinesHeadingDefaultStyles: "_11c8i4vh _syazi7uo _k48p1pd9 _otyru2gc",
|
|
21
21
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
22
22
|
};
|
|
23
23
|
const avatarGroupMaxCount = 5;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
3
|
._v564nm7n{transition:box-shadow .25s ease-in-out}
|
|
4
4
|
._18m915vq{overflow-y:hidden}
|
|
@@ -29,7 +29,7 @@ const styles = {
|
|
|
29
29
|
teamInformationStyles: "_18u01ejb _19pku2gc _2hwx1ejb",
|
|
30
30
|
teamConnectionStyles: "_18u0u2gc _2hwxu2gc",
|
|
31
31
|
teamConnectionItemsStyles: "_c71lx2si _18m91wug",
|
|
32
|
-
connectionTitleStyles: "
|
|
32
|
+
connectionTitleStyles: "_11c8i4vh _18u0pxbi _19pk1b66 _2hwxpxbi _otyr12x7 _syazazsu",
|
|
33
33
|
teamAppTileStyles: "_18u01wug _4t3i7vkz _1bsb7vkz"
|
|
34
34
|
};
|
|
35
35
|
export const TeamProfileCard = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
4
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
5
5
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
@@ -18,7 +18,7 @@ const styles = {
|
|
|
18
18
|
overflowActionButtonsWrapper: "_1e0c1o8l _1bsbzwfg _4t3izwfg",
|
|
19
19
|
cardContent: "_1e0c1txw _2lx21bp4 _1tkebv7e",
|
|
20
20
|
detailsGroup: "_1e0c1txw _2lx21bp4 _18u01epz _19bvxy5q _1bsb18pt",
|
|
21
|
-
disabledInfo: "
|
|
21
|
+
disabledInfo: "_11c8wadc _syazi7uo _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t",
|
|
22
22
|
lozengeWrapper: "_19pkpxbi _1e0c1ule",
|
|
23
23
|
customLozengeContainer: "_1e0c1txw _2lx2vrvc _1n261g80 _1bah1y6m _19pkutpp",
|
|
24
24
|
cardContainer: "_1reo15vq _18m915vq _kqswh2mm _12vemgnk _1lrw14bs _ca0q1ejb _19bv1ejb _u5f31ejb _n3td1ejb",
|
|
@@ -29,7 +29,7 @@ const styles = {
|
|
|
29
29
|
detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
|
|
30
30
|
detailsLabelExtraTopSpace: "_19pkxy5q",
|
|
31
31
|
detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
|
|
32
|
-
detailsLabelText: "_1reo15vq _18m915vq
|
|
32
|
+
detailsLabelText: "_1reo15vq _18m915vq _11c8rymc _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
|
|
33
33
|
kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
|
|
34
34
|
jobTitleLabel: "_19pkze3t _otyrze3t _18u0ze3t _2hwxze3t",
|
|
35
35
|
appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
|
|
@@ -137,7 +137,7 @@ export const AppTitleLabel = ({
|
|
|
137
137
|
backgroundColor: "color.background.neutral"
|
|
138
138
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
139
139
|
color: "color.text",
|
|
140
|
-
size: "
|
|
140
|
+
size: "small",
|
|
141
141
|
weight: "bold"
|
|
142
142
|
}, children));
|
|
143
143
|
export const CardContainer = ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18u01b66{margin-left:var(--ds-space-050,4px)}
|
|
3
3
|
._18u0r5cr{margin-left:var(--ds-space-negative-050,-4px)}
|
|
4
4
|
._18u0u2gc{margin-left:var(--ds-space-100,8px)}
|
|
@@ -7,7 +7,7 @@ import { Box } from '@atlaskit/primitives/compiled';
|
|
|
7
7
|
const styles = {
|
|
8
8
|
reportingLinesSection: "_18u01b66 _19pku2gc",
|
|
9
9
|
managerSection: "_1e0c1txw _4cvr1h6o _18u01b66 _19pk1b66 _otyr1b66 _2hwx1b66",
|
|
10
|
-
managerName: "
|
|
10
|
+
managerName: "_11c8wadc _18u0u2gc",
|
|
11
11
|
offsetWrapper: "_19pk1b66 _18u0r5cr"
|
|
12
12
|
};
|
|
13
13
|
export const ReportingLinesSection = ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._16jlkb7n{flex-grow:1}
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._18u01i6y{margin-left:var(--ds-space-negative-025,-2px)}
|
|
@@ -10,7 +10,7 @@ import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
|
|
|
10
10
|
import { N200 } from '@atlaskit/theme/colors';
|
|
11
11
|
const styles = {
|
|
12
12
|
teamforbiddenerrorstatewrapper: "_1bsbnklw _kqswh2mm",
|
|
13
|
-
teamname: "
|
|
13
|
+
teamname: "_11c81af2 _1reo15vq _18m915vq _1p1dglyw _c71lckbl _1e0ccj1k",
|
|
14
14
|
membercount: "_syaz1wmz _19pk1b66",
|
|
15
15
|
avatarsection: "_19pkpxbi _18u01i6y",
|
|
16
16
|
descriptionwrapper: "_19pkpxbi _4cvr1h6o _1e0c1txw",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._vvzr1d4k#profilecard-name-label{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._18u0idpf{margin-left:0}
|
|
5
5
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
@@ -18,11 +18,11 @@ import { IconLabel } from '../Icon';
|
|
|
18
18
|
import ReportingLinesDetails from './ReportingLinesDetails';
|
|
19
19
|
var styles = {
|
|
20
20
|
detailedListWrapperNext: "_19pkxy5q _2hwxze3t _otyrze3t _18u0ze3t _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
21
|
-
fullNameLabel: "_1reo15vq _18m915vq
|
|
21
|
+
fullNameLabel: "_1reo15vq _18m915vq _11c81d4k _1bto1l2s _o5721q9c",
|
|
22
22
|
noMetaLabel: "_2hwxidpf _18u0idpf _rcujxy5q _1l6uutpp",
|
|
23
|
-
noMetaLabelWithHighSpecificity: "
|
|
23
|
+
noMetaLabelWithHighSpecificity: "_vvzr1d4k _1hpmxy5q _1bguutpp",
|
|
24
24
|
metaLabel: "_2hwxidpf _otyridpf _18u0idpf _rcujutpp",
|
|
25
|
-
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf
|
|
25
|
+
metaLabelWithHighSpecificity: "_2hwxidpf _otyridpf _18u0idpf _vvzr1d4k _1hpmutpp",
|
|
26
26
|
disabledAccount: "_syazi7uo",
|
|
27
27
|
activeAccount: "_syaz15cr"
|
|
28
28
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
3
3
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
4
4
|
._ca0qze3t{padding-top:var(--ds-space-0,0)}
|
|
@@ -20,7 +20,7 @@ function getProfileHref(userId, profileUrl) {
|
|
|
20
20
|
}
|
|
21
21
|
var styles = {
|
|
22
22
|
reportingLinesButton: "_ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _bfhksm61 _irr31dpa",
|
|
23
|
-
reportingLinesHeadingDefaultStyles: "
|
|
23
|
+
reportingLinesHeadingDefaultStyles: "_11c8i4vh _syazi7uo _k48p1pd9 _otyru2gc",
|
|
24
24
|
reportingLinesHeadingStyles: "_otyrze3t"
|
|
25
25
|
};
|
|
26
26
|
var avatarGroupMaxCount = 5;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8i4vh{font:var(--ds-font-heading-xxsmall,normal 653 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
3
|
._v564nm7n{transition:box-shadow .25s ease-in-out}
|
|
4
4
|
._18m915vq{overflow-y:hidden}
|
|
@@ -31,7 +31,7 @@ var styles = {
|
|
|
31
31
|
teamInformationStyles: "_18u01ejb _19pku2gc _2hwx1ejb",
|
|
32
32
|
teamConnectionStyles: "_18u0u2gc _2hwxu2gc",
|
|
33
33
|
teamConnectionItemsStyles: "_c71lx2si _18m91wug",
|
|
34
|
-
connectionTitleStyles: "
|
|
34
|
+
connectionTitleStyles: "_11c8i4vh _18u0pxbi _19pk1b66 _2hwxpxbi _otyr12x7 _syazazsu",
|
|
35
35
|
teamAppTileStyles: "_18u01wug _4t3i7vkz _1bsb7vkz"
|
|
36
36
|
};
|
|
37
37
|
export var TeamProfileCard = function TeamProfileCard(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
4
|
._zulp12x7{gap:var(--ds-space-075,6px)}
|
|
5
5
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
package/dist/esm/styled/Card.js
CHANGED
|
@@ -18,7 +18,7 @@ var styles = {
|
|
|
18
18
|
overflowActionButtonsWrapper: "_1e0c1o8l _1bsbzwfg _4t3izwfg",
|
|
19
19
|
cardContent: "_1e0c1txw _2lx21bp4 _1tkebv7e",
|
|
20
20
|
detailsGroup: "_1e0c1txw _2lx21bp4 _18u01epz _19bvxy5q _1bsb18pt",
|
|
21
|
-
disabledInfo: "
|
|
21
|
+
disabledInfo: "_11c8wadc _syazi7uo _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t",
|
|
22
22
|
lozengeWrapper: "_19pkpxbi _1e0c1ule",
|
|
23
23
|
customLozengeContainer: "_1e0c1txw _2lx2vrvc _1n261g80 _1bah1y6m _19pkutpp",
|
|
24
24
|
cardContainer: "_1reo15vq _18m915vq _kqswh2mm _12vemgnk _1lrw14bs _ca0q1ejb _19bv1ejb _u5f31ejb _n3td1ejb",
|
|
@@ -29,7 +29,7 @@ var styles = {
|
|
|
29
29
|
detailsLabelNext: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1y6m _19pkutpp _2hwxze3t _18u0ze3t _otyrze3t _19bvze3t _o5721q9c",
|
|
30
30
|
detailsLabelExtraTopSpace: "_19pkxy5q",
|
|
31
31
|
detailsLabelIcon: "_1e0c1txw _1o9zidpf _syaz1rpy _1bsb7vkz _4t3i7vkz _s7n4jp4b _19pkze3t",
|
|
32
|
-
detailsLabelText: "_1reo15vq _18m915vq
|
|
32
|
+
detailsLabelText: "_1reo15vq _18m915vq _11c8rymc _1bto1l2s _syazi7uo _19pkze3t _18u0ze3t",
|
|
33
33
|
kudosBlobAnimation: "_1e0cglyw _4t3i1w81 _1bsb1w81 _1pby1mrw _kqswstnw _j7hq1q51 _tip8kb7n _5sagi11n _1itkdsyg",
|
|
34
34
|
jobTitleLabel: "_19pkze3t _otyrze3t _18u0ze3t _2hwxze3t",
|
|
35
35
|
appTitleLabel: "_2rko12b0 _syazi7uo _u5f312x7 _19bv12x7 _1bsb1ns9 _19pk1b66 _otyrze3t _18u0utpp _2hwxze3t"
|
|
@@ -152,7 +152,7 @@ export var AppTitleLabel = function AppTitleLabel(_ref10) {
|
|
|
152
152
|
backgroundColor: "color.background.neutral"
|
|
153
153
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
154
154
|
color: "color.text",
|
|
155
|
-
size: "
|
|
155
|
+
size: "small",
|
|
156
156
|
weight: "bold"
|
|
157
157
|
}, children));
|
|
158
158
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18u01b66{margin-left:var(--ds-space-050,4px)}
|
|
3
3
|
._18u0r5cr{margin-left:var(--ds-space-negative-050,-4px)}
|
|
4
4
|
._18u0u2gc{margin-left:var(--ds-space-100,8px)}
|
|
@@ -7,7 +7,7 @@ import { Box } from '@atlaskit/primitives/compiled';
|
|
|
7
7
|
var styles = {
|
|
8
8
|
reportingLinesSection: "_18u01b66 _19pku2gc",
|
|
9
9
|
managerSection: "_1e0c1txw _4cvr1h6o _18u01b66 _19pk1b66 _otyr1b66 _2hwx1b66",
|
|
10
|
-
managerName: "
|
|
10
|
+
managerName: "_11c8wadc _18u0u2gc",
|
|
11
11
|
offsetWrapper: "_19pk1b66 _18u0r5cr"
|
|
12
12
|
};
|
|
13
13
|
export var ReportingLinesSection = function ReportingLinesSection(_ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._16jlkb7n{flex-grow:1}
|
|
3
3
|
._18m915vq{overflow-y:hidden}
|
|
4
4
|
._18u01i6y{margin-left:var(--ds-space-negative-025,-2px)}
|
|
@@ -10,7 +10,7 @@ import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
|
|
|
10
10
|
import { N200 } from '@atlaskit/theme/colors';
|
|
11
11
|
var styles = {
|
|
12
12
|
teamforbiddenerrorstatewrapper: "_1bsbnklw _kqswh2mm",
|
|
13
|
-
teamname: "
|
|
13
|
+
teamname: "_11c81af2 _1reo15vq _18m915vq _1p1dglyw _c71lckbl _1e0ccj1k",
|
|
14
14
|
membercount: "_syaz1wmz _19pk1b66",
|
|
15
15
|
avatarsection: "_19pkpxbi _18u01i6y",
|
|
16
16
|
descriptionwrapper: "_19pkpxbi _4cvr1h6o _1e0c1txw",
|
package/docs/0-intro.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';
|
|
|
4
4
|
|
|
5
5
|
import { AtlassianInternalWarning, md } from '@atlaskit/docs';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const _default_1: any = md`
|
|
8
8
|
${(<AtlassianInternalWarning />)}
|
|
9
9
|
|
|
10
10
|
A React component to display a card with user information.
|
|
@@ -28,3 +28,4 @@ ${(
|
|
|
28
28
|
)}
|
|
29
29
|
|
|
30
30
|
`;
|
|
31
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { AtlassianInternalWarning, code, Example, md, Props } from '@atlaskit/docs';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const _default_1: any = md`
|
|
6
6
|
${(<AtlassianInternalWarning />)}
|
|
7
7
|
|
|
8
8
|
A React component that wraps a trigger, such that when interacted a user profile card pops up.
|
|
@@ -52,3 +52,4 @@ const profileClient = new ProfileClient({
|
|
|
52
52
|
)}
|
|
53
53
|
|
|
54
54
|
`;
|
|
55
|
+
export default _default_1;
|
|
@@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';
|
|
|
4
4
|
|
|
5
5
|
import { AtlassianInternalWarning, code, Example, md, Props } from '@atlaskit/docs';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const _default_1: any = md`
|
|
8
8
|
${(<AtlassianInternalWarning />)}
|
|
9
9
|
|
|
10
10
|
A React component that wraps a trigger, such that when interacted a user profile card pops up.
|
|
@@ -70,3 +70,4 @@ const profileClient = new ProfileClient({
|
|
|
70
70
|
)}
|
|
71
71
|
|
|
72
72
|
`;
|
|
73
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { AtlassianInternalWarning, code, md } from '@atlaskit/docs';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const _default_1: any = md`
|
|
6
6
|
${(<AtlassianInternalWarning />)}
|
|
7
7
|
|
|
8
8
|
A client class used to fetch data about users and teams to be shown in profile cards.
|
|
@@ -163,3 +163,4 @@ const profileClient = new ProfileClient(config, {
|
|
|
163
163
|
the one you need to modify and the ProfileClient will construct the other itself. Or even better,
|
|
164
164
|
hopefully you don't need to override either and the default behaviour works for you.
|
|
165
165
|
`;
|
|
166
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "24.30.
|
|
3
|
+
"version": "24.30.2",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"@atlaskit/icon": "^29.4.0",
|
|
55
55
|
"@atlaskit/lozenge": "^13.3.0",
|
|
56
56
|
"@atlaskit/menu": "^8.4.0",
|
|
57
|
-
"@atlaskit/modal-dialog": "^14.
|
|
57
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
58
58
|
"@atlaskit/people-teams-ui-public": "^3.7.0",
|
|
59
59
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
60
60
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
61
61
|
"@atlaskit/popup": "^4.13.0",
|
|
62
|
-
"@atlaskit/primitives": "^17.
|
|
63
|
-
"@atlaskit/rovo-agent-components": "^3.
|
|
64
|
-
"@atlaskit/rovo-triggers": "^5.
|
|
62
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
63
|
+
"@atlaskit/rovo-agent-components": "^3.20.0",
|
|
64
|
+
"@atlaskit/rovo-triggers": "^5.6.0",
|
|
65
65
|
"@atlaskit/spinner": "^19.0.0",
|
|
66
66
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
67
67
|
"@atlaskit/teams-app-internal-analytics": "^1.23.0",
|
|
68
68
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
69
69
|
"@atlaskit/teams-public": "^0.65.0",
|
|
70
70
|
"@atlaskit/theme": "^21.0.0",
|
|
71
|
-
"@atlaskit/tokens": "^
|
|
71
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
72
72
|
"@atlaskit/tooltip": "^20.14.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@compiled/react": "^0.18.6",
|
|
@@ -88,8 +88,7 @@
|
|
|
88
88
|
"@af/visual-regression": "workspace:^",
|
|
89
89
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
90
90
|
"@atlassian/ptc-test-utils": "^0.11.0",
|
|
91
|
-
"@testing-library/react": "^
|
|
92
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
91
|
+
"@testing-library/react": "^16.3.0",
|
|
93
92
|
"@testing-library/user-event": "^14.4.3",
|
|
94
93
|
"enzyme": "^3.10.0",
|
|
95
94
|
"es6-promise": "^4.0.5",
|
package/build/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"paths": {}
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"../src/**/*.ts",
|
|
10
|
-
"../src/**/*.tsx"
|
|
11
|
-
],
|
|
12
|
-
"exclude": [
|
|
13
|
-
"../src/**/__tests__/*",
|
|
14
|
-
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*",
|
|
16
|
-
"../src/**/examples.*",
|
|
17
|
-
"../src/**/examples/*",
|
|
18
|
-
"../src/**/examples/**/*",
|
|
19
|
-
"../src/**/*.stories.*",
|
|
20
|
-
"../src/**/stories/*",
|
|
21
|
-
"../src/**/stories/**/*"
|
|
22
|
-
]
|
|
23
|
-
}
|