react-notify-sdk 1.0.46 → 1.0.48

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.
@@ -113,7 +113,9 @@ const FeatureMessage = ({ message, onDismiss }) => {
113
113
  }, children: message?.content })] }), message?.click_action && message?.click_action === "view only" ?
114
114
  null
115
115
  :
116
- _jsx("button", { "data-dismiss-button": true, style: {
116
+ _jsx("button", {
117
+ //data-dismiss-button
118
+ style: {
117
119
  width: "20%", // w-1/5
118
120
  height: "1rem", // h-4 (16px)
119
121
  marginTop: "auto", // my-auto
@@ -125,6 +127,6 @@ const FeatureMessage = ({ message, onDismiss }) => {
125
127
  fontSize: "1rem", // text-base
126
128
  color: `${message?.textColor}`,
127
129
  cursor: "pointer"
128
- }, onClick: message?.click_action ? handleClick : undefined, onMouseEnter: (e) => (e.currentTarget.style.color = `${message?.borderColor}`), onMouseLeave: (e) => (e.currentTarget.style.color = "white"), children: `${filterButton(message)}` }) })] }));
130
+ }, onClick: message?.click_action ? handleClick : undefined, onMouseEnter: (e) => (e.currentTarget.style.color = `${message?.borderColor}`), onMouseLeave: (e) => (e.currentTarget.style.color = `${message?.textColor}`), children: `${filterButton(message)}` }) })] }));
129
131
  };
130
132
  export default FeatureMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-notify-sdk",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "SDK for displaying real-time route-specific messages in React apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",