allaw-ui 4.1.9 → 4.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.
@@ -146,6 +146,12 @@ var AvatarToggleGroup = function (_a) {
146
146
  return (React.createElement("div", { key: pro.proUserId, className: styles.avatarWrapper, style: {
147
147
  zIndex: isSelected ? 100 : visiblePros.length - index,
148
148
  marginLeft: index === 0 ? 0 : -8,
149
+ }, onMouseEnter: function (e) {
150
+ e.currentTarget.style.zIndex = "200";
151
+ }, onMouseLeave: function (e) {
152
+ e.currentTarget.style.zIndex = isSelected
153
+ ? "100"
154
+ : String(visiblePros.length - index);
149
155
  } },
150
156
  React.createElement(AvatarBubble, { firstName: pro.firstName, name: pro.name, src: pro.profilePictureLink, size: 46, isSelected: isSelected, disabled: disabled, onClick: function () { return handleAvatarClick(pro); }, alt: "".concat(pro.firstName, " ").concat(pro.name), className: focusedIndex === index ? styles.focused : "", showTooltip: showTooltips, tooltipId: tooltipId })));
151
157
  })),
@@ -45,7 +45,7 @@
45
45
 
46
46
  .avatarWrapper:hover {
47
47
  transform: translateY(-2px);
48
- z-index: 101;
48
+ z-index: 200;
49
49
  }
50
50
 
51
51
  /* Supprime le ring focus sur le wrapper, laisse le ring bleu uniquement sur l'avatar sélectionné */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "4.1.9",
3
+ "version": "4.2.0",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",