@atlaskit/profilecard 24.15.0 → 24.16.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 +11 -0
- package/dist/cjs/components/Agent/AgentDeleteConfirmationModal.js +3 -1
- package/dist/cjs/components/common/ProfileCardTrigger.js +3 -1
- package/dist/es2019/components/Agent/AgentDeleteConfirmationModal.js +3 -1
- package/dist/es2019/components/common/ProfileCardTrigger.js +3 -1
- package/dist/esm/components/Agent/AgentDeleteConfirmationModal.js +3 -1
- package/dist/esm/components/common/ProfileCardTrigger.js +3 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 24.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2c8944fdcb401`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c8944fdcb401) -
|
|
8
|
+
[ux] ENGHEALTH-40632 Add hasCloseButton to ModalHeader
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 24.15.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -42,7 +42,9 @@ var AgentDeleteConfirmationModal = exports.AgentDeleteConfirmationModal = functi
|
|
|
42
42
|
})), [agentId, onClose, onSubmit]);
|
|
43
43
|
return /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTransition, null, isOpen && /*#__PURE__*/_react.default.createElement(_modalDialog.default, {
|
|
44
44
|
width: "small"
|
|
45
|
-
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader,
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader, {
|
|
46
|
+
hasCloseButton: true
|
|
47
|
+
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTitle, null, formatMessage(messages.title, {
|
|
46
48
|
agentName: agentName
|
|
47
49
|
}))), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalBody, null, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
48
50
|
as: "p"
|
|
@@ -135,7 +135,9 @@ function ProfileCardTriggerInner(_ref, ref) {
|
|
|
135
135
|
/*#__PURE__*/
|
|
136
136
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
137
137
|
_react.default.createElement("div", {
|
|
138
|
-
onMouseEnter: onMouseEnter
|
|
138
|
+
onMouseEnter: onMouseEnter
|
|
139
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
140
|
+
,
|
|
139
141
|
onMouseLeave: hideProfilecard,
|
|
140
142
|
onFocus: showProfilecard,
|
|
141
143
|
"data-testid": "profile-card--trigger-content"
|
|
@@ -21,7 +21,9 @@ export const AgentDeleteConfirmationModal = ({
|
|
|
21
21
|
}, [agentId, onClose, onSubmit]);
|
|
22
22
|
return /*#__PURE__*/React.createElement(ModalTransition, null, isOpen && /*#__PURE__*/React.createElement(Modal, {
|
|
23
23
|
width: "small"
|
|
24
|
-
}, /*#__PURE__*/React.createElement(ModalHeader,
|
|
24
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
25
|
+
hasCloseButton: true
|
|
26
|
+
}, /*#__PURE__*/React.createElement(ModalTitle, null, formatMessage(messages.title, {
|
|
25
27
|
agentName
|
|
26
28
|
}))), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Text, {
|
|
27
29
|
as: "p"
|
|
@@ -107,7 +107,9 @@ function ProfileCardTriggerInner({
|
|
|
107
107
|
/*#__PURE__*/
|
|
108
108
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
109
109
|
React.createElement("div", {
|
|
110
|
-
onMouseEnter: onMouseEnter
|
|
110
|
+
onMouseEnter: onMouseEnter
|
|
111
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
112
|
+
,
|
|
111
113
|
onMouseLeave: hideProfilecard,
|
|
112
114
|
onFocus: showProfilecard,
|
|
113
115
|
"data-testid": "profile-card--trigger-content"
|
|
@@ -33,7 +33,9 @@ export var AgentDeleteConfirmationModal = function AgentDeleteConfirmationModal(
|
|
|
33
33
|
})), [agentId, onClose, onSubmit]);
|
|
34
34
|
return /*#__PURE__*/React.createElement(ModalTransition, null, isOpen && /*#__PURE__*/React.createElement(Modal, {
|
|
35
35
|
width: "small"
|
|
36
|
-
}, /*#__PURE__*/React.createElement(ModalHeader,
|
|
36
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
37
|
+
hasCloseButton: true
|
|
38
|
+
}, /*#__PURE__*/React.createElement(ModalTitle, null, formatMessage(messages.title, {
|
|
37
39
|
agentName: agentName
|
|
38
40
|
}))), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Text, {
|
|
39
41
|
as: "p"
|
|
@@ -126,7 +126,9 @@ function ProfileCardTriggerInner(_ref, ref) {
|
|
|
126
126
|
/*#__PURE__*/
|
|
127
127
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
128
128
|
React.createElement("div", {
|
|
129
|
-
onMouseEnter: onMouseEnter
|
|
129
|
+
onMouseEnter: onMouseEnter
|
|
130
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
131
|
+
,
|
|
130
132
|
onMouseLeave: hideProfilecard,
|
|
131
133
|
onFocus: showProfilecard,
|
|
132
134
|
"data-testid": "profile-card--trigger-content"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.16.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/heading": "^5.2.0",
|
|
54
54
|
"@atlaskit/icon": "^28.3.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
|
-
"@atlaskit/logo": "^19.
|
|
56
|
+
"@atlaskit/logo": "^19.8.0",
|
|
57
57
|
"@atlaskit/lozenge": "^13.0.0",
|
|
58
58
|
"@atlaskit/menu": "^8.4.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^14.4.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/teams-app-config": "^1.11.0",
|
|
69
69
|
"@atlaskit/teams-app-internal-analytics": "^1.7.0",
|
|
70
70
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
71
|
-
"@atlaskit/teams-public": "^0.
|
|
71
|
+
"@atlaskit/teams-public": "^0.61.0",
|
|
72
72
|
"@atlaskit/theme": "^21.0.0",
|
|
73
73
|
"@atlaskit/tokens": "^6.4.0",
|
|
74
74
|
"@atlaskit/tooltip": "^20.5.0",
|