react-notify-sdk 1.0.27 → 1.0.29
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/dist/NotifyMessage.js +3 -2
- package/package.json +1 -1
package/dist/NotifyMessage.js
CHANGED
|
@@ -27,10 +27,11 @@ const NotificationMessage = ({ message }) => {
|
|
|
27
27
|
borderWidth: "1px",
|
|
28
28
|
borderColor: `${hexToRgba(message.borderColor, 0.3)}`,
|
|
29
29
|
boxShadow: `0 10px 15px -3px ${hexToRgba(message.borderColor, 0.4)}, 0 4px 6px -4px ${hexToRgba(message.borderColor, 0.4)}`
|
|
30
|
-
}, children: [_jsxs("div", { className: 'w-full flex flex-row', style: {
|
|
30
|
+
}, children: [_jsxs("div", { className: 'w-full flex flex-row items-center', style: {
|
|
31
31
|
width: '100%',
|
|
32
32
|
display: 'flex',
|
|
33
|
-
flexDirection: 'row'
|
|
33
|
+
flexDirection: 'row',
|
|
34
|
+
alignItems: 'center'
|
|
34
35
|
}, children: [message?.type === 'Information' && _jsx(Info, { size: 16, style: { color: 'rgb(59 130 24)' } }), message?.type === 'Warning' && _jsx(AlertTriangle, { size: 16, style: { color: 'rgb(245 158 1)' } }), message?.type === 'Error' && _jsx(CircleX, { size: 16, style: { color: 'rgb(239 68 68)' } }), _jsx("p", { className: `text-lg font-semibold text-[${message?.textColor}] ml-3`, style: {
|
|
35
36
|
fontSize: '1.125rem', // text-lg = 18px = 1.125rem
|
|
36
37
|
fontWeight: 600, // font-semibold = 600
|