@linagora/twake-mui 9.9.0 → 9.9.1
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 +7 -0
- package/dist/components/ContactPopover/ContactPopoverCalendarAction.js +1 -1
- package/dist/components/ContactPopover/ContactPopoverChatAction.js +1 -1
- package/dist/components/ContactPopover/ContactPopoverEmailAction.js +1 -1
- package/dist/components/ContactPopover/ContactPopoverVideoAction.js +1 -1
- package/dist/components/ContactPopover/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## @linagora/twake-mui [9.9.1](https://github.com/linagora/twake-ui/compare/@linagora/twake-mui@9.9.0...@linagora/twake-mui@9.9.1) (2026-09-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **twake-mui:** Fixed contactPopover click propagation & opening link in new pages ([b11270b](https://github.com/linagora/twake-ui/commit/b11270b060bcc749805f59059214c8a011b7b20d))
|
|
7
|
+
|
|
1
8
|
# @linagora/twake-mui [9.9.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-mui@9.8.0...@linagora/twake-mui@9.9.0) (2026-09-24)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -4,6 +4,6 @@ import { IconButton, useTheme } from '@mui/material';
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
export const ContactPopoverCalendarAction = ({ url }) => {
|
|
6
6
|
const theme = useTheme();
|
|
7
|
-
return (React.createElement(IconButton, { href: url, size: "small", sx: { border: `1px solid ${theme.palette.divider}` } },
|
|
7
|
+
return (React.createElement(IconButton, { href: url, target: "_blank", rel: "noopener noreferrer", size: "small", sx: { border: `1px solid ${theme.palette.divider}` } },
|
|
8
8
|
React.createElement(Icon, { icon: CalendarToday, size: 20, color: theme.palette.text.icon })));
|
|
9
9
|
};
|
|
@@ -4,6 +4,6 @@ import { IconButton, useTheme } from '@mui/material';
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
export const ContactPopoverChatAction = ({ url }) => {
|
|
6
6
|
const theme = useTheme();
|
|
7
|
-
return (React.createElement(IconButton, { href: url, size: "small", sx: { border: `1px solid ${theme.palette.divider}` } },
|
|
7
|
+
return (React.createElement(IconButton, { href: url, target: "_blank", rel: "noopener noreferrer", size: "small", sx: { border: `1px solid ${theme.palette.divider}` } },
|
|
8
8
|
React.createElement(Icon, { icon: Discuss, size: 20, color: theme.palette.text.icon })));
|
|
9
9
|
};
|
|
@@ -4,7 +4,7 @@ import { useI18n } from 'twake-i18n';
|
|
|
4
4
|
export const ContactPopoverEmailAction = ({ url }) => {
|
|
5
5
|
const theme = useTheme();
|
|
6
6
|
const { t } = useI18n();
|
|
7
|
-
return (React.createElement(Button, { href: url, variant: "outlined", size: "small", fullWidth: true, sx: {
|
|
7
|
+
return (React.createElement(Button, { href: url, target: "_blank", rel: "noopener noreferrer", variant: "outlined", size: "small", fullWidth: true, sx: {
|
|
8
8
|
justifyContent: 'center',
|
|
9
9
|
color: theme.palette.text.primary,
|
|
10
10
|
borderColor: theme.palette.divider
|
|
@@ -4,6 +4,6 @@ import { IconButton, useTheme } from '@mui/material';
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
export const ContactPopoverVideoAction = ({ url }) => {
|
|
6
6
|
const theme = useTheme();
|
|
7
|
-
return (React.createElement(IconButton, { href: url, size: "small", sx: { border: `1px solid ${theme.palette.divider}` } },
|
|
7
|
+
return (React.createElement(IconButton, { href: url, target: "_blank", rel: "noopener noreferrer", size: "small", sx: { border: `1px solid ${theme.palette.divider}` } },
|
|
8
8
|
React.createElement(Icon, { icon: Camera, size: 20, color: theme.palette.text.icon })));
|
|
9
9
|
};
|
|
@@ -119,7 +119,7 @@ export const ContactPopover = ({ name, email, children, onEmailCopy, onClose, di
|
|
|
119
119
|
onMouseLeave: handleMouseLeave
|
|
120
120
|
}
|
|
121
121
|
} },
|
|
122
|
-
React.createElement(StyledPopoverContent,
|
|
122
|
+
React.createElement(StyledPopoverContent, { onClick: event => event.stopPropagation() },
|
|
123
123
|
React.createElement(CloseButton, { size: "small", onClick: handleClose },
|
|
124
124
|
React.createElement(Icon, { icon: Cross, size: 16 })),
|
|
125
125
|
React.createElement(AttendeeInfo, { name: name, email: email, onEmailCopy: onEmailCopy }),
|