@emblemvault/hustle-react 1.4.6 → 1.4.7

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.
@@ -15846,12 +15846,18 @@ var widgetStyles = {
15846
15846
  display: "flex",
15847
15847
  alignItems: "center",
15848
15848
  justifyContent: "center",
15849
- boxShadow: `0 4px 20px rgba(76, 154, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3)`,
15849
+ boxShadow: `0 4px 12px rgba(0, 0, 0, 0.3)`,
15850
15850
  transition: `all ${tokens.transitions.normal}`,
15851
15851
  color: tokens.colors.textInverse
15852
15852
  },
15853
+ launcherGlow: {
15854
+ boxShadow: `0 4px 20px rgba(76, 154, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3)`
15855
+ },
15853
15856
  launcherHover: {
15854
15857
  transform: "scale(1.05)",
15858
+ boxShadow: `0 6px 16px rgba(0, 0, 0, 0.4)`
15859
+ },
15860
+ launcherGlowHover: {
15855
15861
  boxShadow: `0 6px 24px rgba(76, 154, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4)`
15856
15862
  },
15857
15863
  // Badge
@@ -15981,6 +15987,7 @@ function HustleChatWidget({
15981
15987
  zIndex = 9999,
15982
15988
  showBadge = false,
15983
15989
  badgeContent,
15990
+ showLauncherGlow = false,
15984
15991
  launcherStyle,
15985
15992
  panelStyle,
15986
15993
  onOpen,
@@ -16146,7 +16153,9 @@ function HustleChatWidget({
16146
16153
  onMouseLeave: () => setIsHovered(false),
16147
16154
  style: {
16148
16155
  ...widgetStyles.launcher,
16149
- ...isHovered ? widgetStyles.launcherHover : {},
16156
+ ...showLauncherGlow ? widgetStyles.launcherGlow : {},
16157
+ ...isHovered && !showLauncherGlow ? widgetStyles.launcherHover : {},
16158
+ ...isHovered && showLauncherGlow ? widgetStyles.launcherGlowHover : {},
16150
16159
  ...positionStyles.launcher,
16151
16160
  ...launcherStyle,
16152
16161
  ...isOpen ? { opacity: 0, pointerEvents: "none" } : {}