@atlaskit/profilecard 16.6.0 → 16.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/cjs/client/TeamCentralCardClient.js +1 -1
- package/dist/cjs/components/User/OverflowProfileCardButtons.js +69 -0
- package/dist/cjs/components/User/ProfileCard.js +42 -18
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +1 -0
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/messages.js +5 -0
- package/dist/cjs/styled/Card.js +32 -17
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/client/TeamCentralCardClient.js +1 -1
- package/dist/es2019/components/User/OverflowProfileCardButtons.js +33 -0
- package/dist/es2019/components/User/ProfileCard.js +34 -17
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +1 -0
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/messages.js +5 -0
- package/dist/es2019/styled/Card.js +43 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/client/TeamCentralCardClient.js +1 -1
- package/dist/esm/components/User/OverflowProfileCardButtons.js +43 -0
- package/dist/esm/components/User/ProfileCard.js +41 -19
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +1 -0
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/messages.js +5 -0
- package/dist/esm/styled/Card.js +22 -17
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/client/TeamCentralCardClient.d.ts +1 -1
- package/dist/types/components/User/OverflowProfileCardButtons.d.ts +8 -0
- package/dist/types/components/User/ProfileCard.d.ts +2 -0
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types/messages.d.ts +5 -0
- package/dist/types/styled/Card.d.ts +3 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 16.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`319c46e77de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/319c46e77de) - [ux] Adding a button background animation when the give kudos button on the profile card is hovered over
|
|
8
|
+
|
|
9
|
+
## 16.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`4e9fbfb9e85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e9fbfb9e85) - [ux] Adding meatballs overflow menu when the profile card has more than two action buttons
|
|
14
|
+
|
|
15
|
+
## 16.6.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`cf03bdf6b7e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf03bdf6b7e) - Made feature flag check extra context optional.
|
|
20
|
+
|
|
3
21
|
## 16.6.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -43,7 +43,7 @@ var buildCheckFeatureFlagQuery = function buildCheckFeatureFlagQuery(featureKey,
|
|
|
43
43
|
query: "\n query isFeatureKeyEnabled($featureKey: String!, $context: [IsFeatureEnabledContextInput]) {\n isFeatureEnabled(featureKey: $featureKey, context: $context) {\n enabled\n }\n }\n ",
|
|
44
44
|
variables: {
|
|
45
45
|
featureKey: featureKey,
|
|
46
|
-
context: context
|
|
46
|
+
context: context || []
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.OverflowProfileCardButtons = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
|
|
16
|
+
var _react = _interopRequireDefault(require("react"));
|
|
17
|
+
|
|
18
|
+
var _reactIntlNext = require("react-intl-next");
|
|
19
|
+
|
|
20
|
+
var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
|
|
21
|
+
|
|
22
|
+
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
23
|
+
|
|
24
|
+
var _more = _interopRequireDefault(require("@atlaskit/icon/glyph/more"));
|
|
25
|
+
|
|
26
|
+
var _messages = _interopRequireDefault(require("../../messages"));
|
|
27
|
+
|
|
28
|
+
var _Card = require("../../styled/Card");
|
|
29
|
+
|
|
30
|
+
var _excluded = ["triggerRef", "isSelected", "testId"];
|
|
31
|
+
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
|
+
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
35
|
+
|
|
36
|
+
var OverflowProfileCardButtons = function OverflowProfileCardButtons(props) {
|
|
37
|
+
var intl = (0, _reactIntlNext.useIntl)();
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_Card.OverflowActionButtonsWrapper, null, /*#__PURE__*/_react.default.createElement(_dropdownMenu.default, {
|
|
39
|
+
placement: 'bottom-end',
|
|
40
|
+
trigger: function trigger(_ref) {
|
|
41
|
+
var triggerRef = _ref.triggerRef,
|
|
42
|
+
isSelected = _ref.isSelected,
|
|
43
|
+
testId = _ref.testId,
|
|
44
|
+
providedProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
45
|
+
return /*#__PURE__*/_react.default.createElement(_customThemeButton.default, (0, _extends2.default)({
|
|
46
|
+
type: "button"
|
|
47
|
+
}, providedProps, {
|
|
48
|
+
ref: triggerRef,
|
|
49
|
+
iconBefore: /*#__PURE__*/_react.default.createElement(_more.default, {
|
|
50
|
+
label: intl.formatMessage(_messages.default.profileCardMoreIconLabel)
|
|
51
|
+
})
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
54
|
+
}, /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItemGroup, null, props.actions.map(function (action) {
|
|
55
|
+
return /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
|
|
56
|
+
key: action.id,
|
|
57
|
+
onClick: function onClick(event) {
|
|
58
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
59
|
+
args[_key - 1] = arguments[_key];
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
props.onItemClick(action, args, event);
|
|
63
|
+
},
|
|
64
|
+
href: action.link
|
|
65
|
+
}, action.label);
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
exports.OverflowProfileCardButtons = OverflowProfileCardButtons;
|
|
@@ -11,6 +11,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
13
|
|
|
14
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
15
|
+
|
|
14
16
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
15
17
|
|
|
16
18
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
@@ -55,6 +57,8 @@ var _Error = require("../Error");
|
|
|
55
57
|
|
|
56
58
|
var _Icon = require("../Icon");
|
|
57
59
|
|
|
60
|
+
var _OverflowProfileCardButtons = require("./OverflowProfileCardButtons");
|
|
61
|
+
|
|
58
62
|
var _ReportingLinesDetails = _interopRequireDefault(require("./ReportingLinesDetails"));
|
|
59
63
|
|
|
60
64
|
var _excluded = ["text"];
|
|
@@ -73,6 +77,7 @@ var Profilecard = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
73
77
|
|
|
74
78
|
(0, _classCallCheck2.default)(this, Profilecard);
|
|
75
79
|
_this = _super.call(this, props);
|
|
80
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "GIVE_KUDOS_ACTION_ID", 'give-kudos');
|
|
76
81
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "durationSince", function (from) {
|
|
77
82
|
var fromParsed = from || 0;
|
|
78
83
|
return fromParsed > 0 ? Date.now() - fromParsed : null;
|
|
@@ -102,27 +107,26 @@ var Profilecard = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
102
107
|
}
|
|
103
108
|
});
|
|
104
109
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderButton", function (action, idx) {
|
|
105
|
-
|
|
106
|
-
|
|
110
|
+
var isGiveKudosActionButton = action.id === _this.GIVE_KUDOS_ACTION_ID;
|
|
111
|
+
|
|
112
|
+
var actionButton = /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
|
|
113
|
+
appearance: "default",
|
|
107
114
|
key: action.id || idx,
|
|
108
115
|
onClick: function onClick(event) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
duration: _this.durationSince(_this.timeOpen)
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
if (action.callback && (0, _click.isBasicClick)(event)) {
|
|
115
|
-
event.preventDefault();
|
|
116
|
-
|
|
117
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
118
|
-
args[_key - 1] = arguments[_key];
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
action.callback.apply(action, [event].concat(args));
|
|
116
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
117
|
+
args[_key - 1] = arguments[_key];
|
|
122
118
|
}
|
|
119
|
+
|
|
120
|
+
return _this.onActionClick(action, args, event);
|
|
123
121
|
},
|
|
124
122
|
href: action.link
|
|
125
|
-
}, action.label);
|
|
123
|
+
}, action.label, isGiveKudosActionButton && /*#__PURE__*/_react.default.createElement(_Card.KudosBlobAnimation, null));
|
|
124
|
+
|
|
125
|
+
if (isGiveKudosActionButton) {
|
|
126
|
+
return /*#__PURE__*/_react.default.createElement(_Card.AnimatedKudosButton, null, actionButton);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
return actionButton;
|
|
126
130
|
});
|
|
127
131
|
_this.timeOpen = null;
|
|
128
132
|
|
|
@@ -161,7 +165,7 @@ var Profilecard = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
161
165
|
if (!this.props.isCurrentUser && this.props.isKudosEnabled) {
|
|
162
166
|
var kudosAction = {
|
|
163
167
|
label: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.default.giveKudosButton),
|
|
164
|
-
id:
|
|
168
|
+
id: this.GIVE_KUDOS_ACTION_ID,
|
|
165
169
|
callback: function callback() {
|
|
166
170
|
_this3.kudosButtonCallback();
|
|
167
171
|
},
|
|
@@ -182,10 +186,30 @@ var Profilecard = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
var actions = this.getActions();
|
|
185
|
-
|
|
189
|
+
var firstTwoActions = actions.slice(0, 2);
|
|
190
|
+
var restOfActions = actions && actions.length > 2 ? actions.slice(2) : undefined;
|
|
191
|
+
return /*#__PURE__*/_react.default.createElement(_Card.ActionButtonGroup, null, firstTwoActions.map(function (action, idx) {
|
|
186
192
|
return _this4.renderButton(action, idx);
|
|
193
|
+
}), restOfActions && /*#__PURE__*/_react.default.createElement(_OverflowProfileCardButtons.OverflowProfileCardButtons, {
|
|
194
|
+
actions: restOfActions,
|
|
195
|
+
onItemClick: function onItemClick(action, args, event) {
|
|
196
|
+
return _this4.onActionClick(action, args, event);
|
|
197
|
+
}
|
|
187
198
|
}));
|
|
188
199
|
}
|
|
200
|
+
}, {
|
|
201
|
+
key: "onActionClick",
|
|
202
|
+
value: function onActionClick(action, args, event) {
|
|
203
|
+
this.callAnalytics(_analytics.AnalyticsName.PROFILE_CARD_CLICK, {
|
|
204
|
+
id: action.id || null,
|
|
205
|
+
duration: this.durationSince(this.timeOpen)
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
if (action.callback && (0, _click.isBasicClick)(event)) {
|
|
209
|
+
event.preventDefault();
|
|
210
|
+
action.callback.apply(action, [event].concat((0, _toConsumableArray2.default)(args)));
|
|
211
|
+
}
|
|
212
|
+
}
|
|
189
213
|
}, {
|
|
190
214
|
key: "renderCardDetailsDefault",
|
|
191
215
|
value: function renderCardDetailsDefault() {
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Účet uživatele byl smazán.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Bývalý uživatel',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'S touto osobou již nemůžete spolupracovat.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Pogratulovat',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Deaktivovaný účet',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Účet uživatele je deaktivovaný již několik měsíců.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Účet uživatele byl deaktivován minulý měsíc.',
|
package/dist/cjs/i18n/da.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Personens konto er blevet slettet.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Forhenværende bruger',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Du kan ikke længere samarbejde med denne person.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Giv ros',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Konto deaktiveret',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Personens konto har været deaktiveret i nogle måneder.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Personens konto blev deaktiveret i sidste måned.',
|
package/dist/cjs/i18n/de.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Das Konto dieser Person wurde gelöscht.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Ehemaliger Benutzer',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Sie können mit dieser Person nicht mehr zusammenarbeiten.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Loben',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Konto deaktiviert',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Das Konto dieser Person wurde vor wenigen Monaten gelöscht.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Das Konto dieser Person wurde letzten Monat deaktiviert.',
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Their account has been deleted.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Former user',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'You can no longer collaborate with this person.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Give kudos',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Account deactivated',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Their account has been deactivated for a few months.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Their account was deactivated last month.',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Their account has been deleted.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Former user',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'You can no longer collaborate with this person.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Give kudos',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Account deactivated',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Their account has been deactivated for a few months.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Their account was deactivated last month.',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Their account has been deleted.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Former user',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'You can no longer collaborate with this person.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Give kudos',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Account deactivated',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Their account has been deactivated for a few months.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Their account was deactivated last month.',
|
package/dist/cjs/i18n/es.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Su cuenta está eliminada.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Antiguo usuario',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Ya no puedes colaborar con esta persona.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Felicitar',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Cuenta desactivada',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Su cuenta se desactivó hace algunos meses.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Su cuenta se desactivó el mes pasado.',
|
package/dist/cjs/i18n/fi.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Hänen tilinsä on poistettu.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Entinen käyttäjä',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Et voi enää tehdä yhteistyötä tämän henkilön kanssa.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Anna kehuja',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Tili poistettu käytöstä',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Hänen tilinsä on ollut poissa käytöstä muutaman kuukauden ajan.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Hänen tilinsä poistettiin käytöstä viime kuussa.',
|
package/dist/cjs/i18n/fr.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Son compte a été supprimé.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Ancien utilisateur',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Vous ne pouvez plus collaborer avec cette personne.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Féliciter',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Compte désactivé',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Son compte a été désactivé il y a quelques mois.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Son compte a été désactivé le mois dernier.',
|
package/dist/cjs/i18n/hu.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'A fiókját töröltük.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Korábbi felhasználó',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'A továbbiakban nem működhet együtt ezzel a személlyel.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Dicséret',
|
|
26
27
|
'pt.profile-card.inactive.account': 'A fiók inaktiválva.',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'A fiókját néhány hónapja inaktiváltuk.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'A fiókját a múlt hónapban inaktiváltuk.',
|
package/dist/cjs/i18n/it.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Il suo account è stato eliminato.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Ex utente',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Non puoi più collaborare con questa persona.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Complimentati',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Account disattivato',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Il suo account è disattivato da qualche mese.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Il suo account è stato disattivato il mese scorso.',
|
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'アカウントは削除されています。',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': '元ユーザー',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'もうこの人とコラボレーションすることはできません。',
|
|
26
|
+
'pt.profile-card.give-kudos': '賞賛を送る',
|
|
26
27
|
'pt.profile-card.inactive.account': '無効なアカウント',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'アカウントは 2〜3 か月前に無効になりました。',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'アカウントは先月無効になりました。',
|
package/dist/cjs/i18n/ko.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': '계정이 삭제되었습니다.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': '이전 사용자',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': '더 이상 이 사람과 협업할 수 없습니다.',
|
|
26
|
+
'pt.profile-card.give-kudos': '칭찬하기',
|
|
26
27
|
'pt.profile-card.inactive.account': '계정이 비활성화됨',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': '계정이 몇 달 전에 비활성화되었습니다.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': '계정이 지난달에 비활성화되었습니다.',
|
package/dist/cjs/i18n/nb.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Vedkommendes konto er slettet.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Tidligere bruker',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Du kan ikke lenger samarbeide med denne personen.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Gi kudos',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Kontoen er deaktivert',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Vedkommendes konto har vært deaktivert i noen måneder.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Vedkommendes konto ble deaktivert denne måneden.',
|
package/dist/cjs/i18n/nl.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Zijn/haar account is verwijderd.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Voormalige gebruiker',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Je kunt niet meer samenwerken met deze persoon.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Geef kudos',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Account gedeactiveerd',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Zijn/haar account is al een paar maanden gedeactiveerd.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Zijn/haar account is vorige maand gedeactiveerd.',
|
package/dist/cjs/i18n/pl.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Jej konto zostało usunięte.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Były użytkownik',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Nie możesz już współpracować z tą osobą.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Przekaż wyrazy uznania',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Konto zdezaktywowane',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Jej konto zostało zdezaktywowane przynajmniej kilka miesięcy temu.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Jej konto zdezaktywowane w zeszłym miesiącu.',
|
package/dist/cjs/i18n/pt_BR.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'A conta do usuário foi excluída.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Ex-usuário',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Você não pode mais colaborar com essa pessoa.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Envie elogios',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Conta desativada',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'A conta do usuário foi desativada há alguns meses.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'A conta do usuário foi desativada no mês passado.',
|
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Его аккаунт был удален.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Бывший пользователь',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Вы больше не можете работать с этим пользователем.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Похвалить',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Аккаунт отключен',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Его аккаунт был отключен несколько месяцев назад.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Его аккаунт был отключен в прошлом месяце.',
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Personens konto har tagits bort.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Före detta användare',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Du kan inte längre samarbeta med den här personen.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Ge beröm',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Kontot är inaktiverat',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Personens konto har varit inaktiverat i några få månader.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Personens konto inaktiverades förra månaden.',
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'บัญชีของผู้ใช้ถูกลบไปแล้ว',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'ผู้ใช้เดิม',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'คุณไม่สามารถทำงานร่วมกับบุคคลนี้ได้อีก',
|
|
26
|
+
'pt.profile-card.give-kudos': 'แสดงความชื่นชม',
|
|
26
27
|
'pt.profile-card.inactive.account': 'ปิดใช้งานบัญชีแล้ว',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'บัญชีของผู้ใช้ถูกปิดใช้งานไปแล้วไม่กี่เดือน',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'บัญชีของผู้ใช้ถูกปิดใช้งานไปเมื่อเดือนที่แล้ว',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Bu kullanıcının hesabı silindi.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Eski kullanıcı',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Artık bu kişiyle iş birliği yapamazsınız.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Tebrik edin',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Hesap devre dışı bırakıldı',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Bu kullanıcının hesabı birkaç ay önce devre dışı bırakıldı.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Bu kullanıcının hesabı geçen ay devre dışı bırakıldı.',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Обліковий запис користувача видалено.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Колишній користувач',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Ви більше не можете співпрацювати з цим користувачем.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Похвалити',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Обліковий запис деактивовано',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Обліковий запис користувача деактивовано кілька місяців тому.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Обліковий запис користувача деактивовано минулого місяця.',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': 'Tài khoản của họ đã bị xóa.',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': 'Người dùng cũ',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': 'Bạn không thể hợp tác với người này được nữa.',
|
|
26
|
+
'pt.profile-card.give-kudos': 'Khen ngợi',
|
|
26
27
|
'pt.profile-card.inactive.account': 'Tài khoản đã bị hủy kích hoạt',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': 'Tài khoản của họ đã bị hủy kích hoạt một vài tháng.',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': 'Tài khoản của họ đã bị hủy kích hoạt tháng trước.',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': '他们的帐户已被删除。',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': '前用户',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': '您无法再与此人合作。',
|
|
26
|
+
'pt.profile-card.give-kudos': '给予称赞',
|
|
26
27
|
'pt.profile-card.inactive.account': '帐户已停用',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': '他们的帐户已被停用数月。',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': '他们的帐户上月已被停用。',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -23,6 +23,7 @@ var _default = {
|
|
|
23
23
|
'pt.profile-card.closed.account.no.date': '其帳戶已刪除。',
|
|
24
24
|
'pt.profile-card.disabled.account.default.name': '舊使用者',
|
|
25
25
|
'pt.profile-card.general.msg.disabled.user': '您無法再與此人員合作。',
|
|
26
|
+
'pt.profile-card.give-kudos': '給予讚美',
|
|
26
27
|
'pt.profile-card.inactive.account': '帳戶已停用',
|
|
27
28
|
'pt.profile-card.inactive.account.has.date.a.few.months': '其帳戶已停用幾個月了。',
|
|
28
29
|
'pt.profile-card.inactive.account.has.date.last.month': '其帳戶在上個月已停用。',
|
package/dist/cjs/messages.js
CHANGED
|
@@ -152,6 +152,11 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
152
152
|
id: 'pt.profile-card.give-kudos',
|
|
153
153
|
defaultMessage: 'Give kudos',
|
|
154
154
|
description: 'Title for the button on the profile card for a user to give a kudos'
|
|
155
|
+
},
|
|
156
|
+
profileCardMoreIconLabel: {
|
|
157
|
+
id: 'pt.profile-card.more-icon-label',
|
|
158
|
+
defaultMessage: 'More',
|
|
159
|
+
description: 'Label for the meatballs icon on the profile card, which when clicked will provide more options'
|
|
155
160
|
}
|
|
156
161
|
});
|
|
157
162
|
var _default = messages;
|
package/dist/cjs/styled/Card.js
CHANGED
|
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.SpinnerContainer = exports.ProfileImage = exports.LozengeWrapper = exports.JobTitleLabel = exports.FullNameLabel = exports.DisabledInfo = exports.DetailsLabelText = exports.DetailsLabelIcon = exports.DetailsLabel = exports.DetailsGroup = exports.CustomLozengeContainer = exports.CardWrapper = exports.CardContent = exports.CardContainerEmpty = exports.CardContainer = exports.AppTitleLabel = exports.ActionsFlexSpacer = exports.ActionButtonGroup = void 0;
|
|
10
|
+
exports.SpinnerContainer = exports.ProfileImage = exports.OverflowActionButtonsWrapper = exports.LozengeWrapper = exports.KudosBlobAnimation = exports.JobTitleLabel = exports.FullNameLabel = exports.DisabledInfo = exports.DetailsLabelText = exports.DetailsLabelIcon = exports.DetailsLabel = exports.DetailsGroup = exports.CustomLozengeContainer = exports.CardWrapper = exports.CardContent = exports.CardContainerEmpty = exports.CardContainer = exports.AppTitleLabel = exports.AnimatedKudosButton = exports.ActionsFlexSpacer = exports.ActionButtonGroup = void 0;
|
|
11
11
|
|
|
12
12
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
13
13
|
|
|
@@ -15,9 +15,11 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
|
15
15
|
|
|
16
16
|
var _constants = require("@atlaskit/theme/constants");
|
|
17
17
|
|
|
18
|
+
var _tokens = require("@atlaskit/tokens");
|
|
19
|
+
|
|
18
20
|
var _constants2 = require("../styled/constants");
|
|
19
21
|
|
|
20
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
|
|
22
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23;
|
|
21
23
|
|
|
22
24
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
25
|
|
|
@@ -42,24 +44,37 @@ exports.ProfileImage = ProfileImage;
|
|
|
42
44
|
var ActionsFlexSpacer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n flex: 1 0 auto;\n"])));
|
|
43
45
|
|
|
44
46
|
exports.ActionsFlexSpacer = ActionsFlexSpacer;
|
|
47
|
+
var kudosButtonAnimationTransformation = (0, _styledComponents.keyframes)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["{\n 0% { transform: translate(-80px, -50px); }\n 100% { transform: translate(90px, -70px); }\n}"])));
|
|
48
|
+
|
|
49
|
+
var KudosBlobAnimation = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: none;\n height: 150px;\n width: 150px;\n z-index: -1;\n position: absolute;\n animation-name: ", ";\n animation-iteration-count: 1;\n animation-duration: 3s;\n background-image: radial-gradient(\n circle,\n ", " 0%,\n ", " 25%,\n transparent 50%\n );\n overflow: hidden;\n"])), kudosButtonAnimationTransformation, (0, _tokens.token)('color.background.information.pressed', '#85B8FF'), (0, _tokens.token)('color.background.discovery.pressed', '#B8ACF6'));
|
|
50
|
+
|
|
51
|
+
exports.KudosBlobAnimation = KudosBlobAnimation;
|
|
52
|
+
|
|
53
|
+
var AnimatedKudosButton = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n margin-left: ", "px;\n &:hover ", " {\n display: block;\n }\n\n button,\n a {\n clip-path: inset(0px 0px 0px 0px round ", "px);\n }\n"])), _constants.gridSize, KudosBlobAnimation, _constants.borderRadius);
|
|
45
54
|
|
|
46
|
-
|
|
55
|
+
exports.AnimatedKudosButton = AnimatedKudosButton;
|
|
56
|
+
|
|
57
|
+
var ActionButtonGroup = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n user-select: none;\n margin: ", "px 0 0 0;\n text-align: right;\n display: flex;\n justify-content: flex-end;\n\n button,\n a,\n span {\n margin-left: ", "px;\n\n &:first-child {\n margin-left: 0;\n }\n }\n"])), 2 * (0, _constants.gridSize)(), _constants.gridSize);
|
|
47
58
|
|
|
48
59
|
exports.ActionButtonGroup = ActionButtonGroup;
|
|
49
60
|
|
|
50
|
-
var
|
|
61
|
+
var OverflowActionButtonsWrapper = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n width: 32px;\n height: 32px;\n margin-left: ", "px;\n"])), _constants.gridSize);
|
|
62
|
+
|
|
63
|
+
exports.OverflowActionButtonsWrapper = OverflowActionButtonsWrapper;
|
|
64
|
+
|
|
65
|
+
var CardContent = _styledComponents.default.div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n min-height: ", "px;\n"])), (0, _constants.gridSize)() * 17);
|
|
51
66
|
|
|
52
67
|
exports.CardContent = CardContent;
|
|
53
68
|
|
|
54
|
-
var DetailsGroup = _styledComponents.default.div(
|
|
69
|
+
var DetailsGroup = _styledComponents.default.div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n margin-left: ", "px;\n width: ", "px;\n"])), (0, _constants.gridSize)() * 14.5, (0, _constants.gridSize)() * 24.5);
|
|
55
70
|
|
|
56
71
|
exports.DetailsGroup = DetailsGroup;
|
|
57
72
|
|
|
58
|
-
var DisabledInfo = _styledComponents.default.div(
|
|
73
|
+
var DisabledInfo = _styledComponents.default.div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", "px;\n color: ", ";\n margin: ", "px 0 0 0;\n line-height: ", "px;\n"])), _constants.fontSizeSmall, _constants2.labelTextColor, (0, _constants.gridSize)() * 1.5, (0, _constants.gridSize)() * 2);
|
|
59
74
|
|
|
60
75
|
exports.DisabledInfo = DisabledInfo;
|
|
61
76
|
|
|
62
|
-
var FullNameLabel = _styledComponents.default.span(
|
|
77
|
+
var FullNameLabel = _styledComponents.default.span(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2.default)(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n font-size: 18px;\n color: ", ";\n margin: ", ";\n line-height: ", "em;\n"])), function (props) {
|
|
63
78
|
return props.isDisabledAccount ? _constants2.headerTextColorInactive : _constants2.headerTextColor;
|
|
64
79
|
}, function (props) {
|
|
65
80
|
return getFullNameMargin(props);
|
|
@@ -67,25 +82,25 @@ var FullNameLabel = _styledComponents.default.span(_templateObject9 || (_templat
|
|
|
67
82
|
|
|
68
83
|
exports.FullNameLabel = FullNameLabel;
|
|
69
84
|
|
|
70
|
-
var LozengeWrapper = _styledComponents.default.div(
|
|
85
|
+
var LozengeWrapper = _styledComponents.default.div(_templateObject14 || (_templateObject14 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: ", "px;\n text-transform: uppercase;\n display: block;\n"])), (0, _constants.gridSize)() * 2);
|
|
71
86
|
|
|
72
87
|
exports.LozengeWrapper = LozengeWrapper;
|
|
73
|
-
var CustomLozengeContainer = (0, _styledComponents.default)(LozengeWrapper)(
|
|
88
|
+
var CustomLozengeContainer = (0, _styledComponents.default)(LozengeWrapper)(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-start;\n margin-top: ", "px;\n > * {\n margin-top: ", "px;\n &:not(:last-child) {\n margin-right: ", "px;\n }\n }\n"])), (0, _constants.gridSize)() * 1.5, (0, _constants.gridSize)() / 2, (0, _constants.gridSize)() / 2);
|
|
74
89
|
exports.CustomLozengeContainer = CustomLozengeContainer;
|
|
75
90
|
|
|
76
|
-
var JobTitleLabel = _styledComponents.default.span(
|
|
91
|
+
var JobTitleLabel = _styledComponents.default.span(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n font-size: 14px;\n color: ", ";\n margin: 0 0 ", "px 0;\n line-height: ", "em;\n"])), _constants2.headerTextColor, (0, _constants.gridSize)() * 1.5, 24 / 14);
|
|
77
92
|
|
|
78
93
|
exports.JobTitleLabel = JobTitleLabel;
|
|
79
94
|
|
|
80
|
-
var AppTitleLabel = _styledComponents.default.span(
|
|
95
|
+
var AppTitleLabel = _styledComponents.default.span(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2.default)(["\n background: ", ";\n color: ", ";\n border-radius: ", ";\n padding: 0 6px;\n width: fit-content;\n font-weight: bold;\n text-transform: uppercase;\n\n font-size: 12px;\n margin: 4px 0 ", "px 0;\n line-height: ", "em;\n"])), _constants2.appLabelBgColor, _constants2.appLabelTextColor, (0, _constants.borderRadius)(), (0, _constants.gridSize)() * 1.5, 24 / 14);
|
|
81
96
|
|
|
82
97
|
exports.AppTitleLabel = AppTitleLabel;
|
|
83
98
|
|
|
84
|
-
var SpinnerContainer = _styledComponents.default.div(
|
|
99
|
+
var SpinnerContainer = _styledComponents.default.div(_templateObject18 || (_templateObject18 = (0, _taggedTemplateLiteral2.default)(["\n align-items: center;\n display: flex;\n height: ", "px;\n justify-content: center;\n position: relative;\n"])), (0, _constants.gridSize)() * 12);
|
|
85
100
|
|
|
86
101
|
exports.SpinnerContainer = SpinnerContainer;
|
|
87
102
|
|
|
88
|
-
var CardContainer = _styledComponents.default.div(
|
|
103
|
+
var CardContainer = _styledComponents.default.div(_templateObject19 || (_templateObject19 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n background-image: linear-gradient(\n to bottom,\n ", "\n 0%,\n ", "\n 100%\n );\n background-repeat: no-repeat;\n background-size: 100% ", "px;\n box-sizing: content-box;\n padding: ", "px;\n ", "\n overflow: hidden;\n"])), function (props) {
|
|
89
104
|
return props.isDisabledUser ? _constants2.headerBgColorDisabledUser : _constants2.headerBgColor;
|
|
90
105
|
}, function (props) {
|
|
91
106
|
return props.isDisabledUser ? _constants2.headerBgColorDisabledUser : _constants2.headerBgColor;
|
|
@@ -94,19 +109,19 @@ var CardContainer = _styledComponents.default.div(_templateObject15 || (_templat
|
|
|
94
109
|
return '';
|
|
95
110
|
}
|
|
96
111
|
|
|
97
|
-
return (0, _styledComponents.css)(
|
|
112
|
+
return (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteral2.default)(["\n box-shadow: ", ";\n border-radius: ", "px;\n "])), _constants2.boxShadow, _constants.borderRadius);
|
|
98
113
|
});
|
|
99
114
|
|
|
100
115
|
exports.CardContainer = CardContainer;
|
|
101
116
|
|
|
102
|
-
var DetailsLabel = _styledComponents.default.div(
|
|
117
|
+
var DetailsLabel = _styledComponents.default.div(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n line-height: ", "px;\n font-size: ", "px;\n margin: ", "px 0 0 0;\n white-space: nowrap;\n\n & + & {\n margin-top: ", "px;\n }\n"])), (0, _constants.gridSize)() * 3, (0, _constants.gridSize)() * 1.5, (0, _constants.gridSize)() * 2, (0, _constants.gridSize)() / 4);
|
|
103
118
|
|
|
104
119
|
exports.DetailsLabel = DetailsLabel;
|
|
105
120
|
|
|
106
|
-
var DetailsLabelIcon = _styledComponents.default.div(
|
|
121
|
+
var DetailsLabelIcon = _styledComponents.default.div(_templateObject22 || (_templateObject22 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-shrink: 0;\n color: ", ";\n width: ", "px;\n height: ", "px;\n padding: ", "px;\n vertical-align: top;\n\n svg {\n width: 100%;\n height: 100%;\n }\n"])), _constants2.labelIconColor, (0, _constants.gridSize)() * 2, (0, _constants.gridSize)() * 2, (0, _constants.gridSize)() / 2);
|
|
107
122
|
|
|
108
123
|
exports.DetailsLabelIcon = DetailsLabelIcon;
|
|
109
124
|
|
|
110
|
-
var DetailsLabelText = _styledComponents.default.span(
|
|
125
|
+
var DetailsLabelText = _styledComponents.default.span(_templateObject23 || (_templateObject23 = (0, _taggedTemplateLiteral2.default)(["\n overflow: hidden;\n text-overflow: ellipsis;\n color: ", ";\n padding-left: ", "px;\n"])), _constants2.labelTextColor, (0, _constants.gridSize)() / 2);
|
|
111
126
|
|
|
112
127
|
exports.DetailsLabelText = DetailsLabelText;
|
|
@@ -56,7 +56,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
56
56
|
actionSubjectId: actionSubjectId,
|
|
57
57
|
attributes: _objectSpread(_objectSpread({
|
|
58
58
|
packageName: "@atlaskit/profilecard",
|
|
59
|
-
packageVersion: "16.
|
|
59
|
+
packageVersion: "16.8.0"
|
|
60
60
|
}, attributes), {}, {
|
|
61
61
|
firedAt: (0, _performance.getPageTime)()
|
|
62
62
|
})
|