Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magicbell/magicbell-react

Package Overview
Dependencies
Maintainers
2
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magicbell/magicbell-react - npm Package Compare versions

Comparing version 10.8.3 to 10.9.0

2

dist/index.js
/**
* @license @magicbell/magicbell-react v10.8.3
* @license @magicbell/magicbell-react v10.9.0
*

@@ -4,0 +4,0 @@ * Copyright (c) MagicBell Inc. and its affiliates.

/**
* @license @magicbell/magicbell-react v10.8.3
* @license @magicbell/magicbell-react v10.9.0
*

@@ -753,3 +753,3 @@ * Copyright (c) MagicBell Inc. and its affiliates.

max-width: calc(100vw - 10px);
`},t),{children:o}))}function Re({launcherRef:e,isOpen:o,toggle:t,placement:n="auto",width:a=500,closeOnClickOutside:r=!0,popperOptions:s,hideArrow:l=!1,layout:p=["header","content","push-notifications-banner","footer"],children:m}){const x=()=>{r&&(t==null||t())};return c.jsx(U,{isOpen:o,launcherRef:e,onClickOutside:x,placement:n,popperOptions:s,children:b=>c.jsxs(Dt,{width:a,attrs:b,layout:p,children:[m,l?null:c.jsx(Ae,{placement:b["data-placement"]})]})})}function Pe(B){var C=B,{launcherRef:e,isOpen:o,toggle:t,placement:n="auto",width:a=500,onNotificationClick:r,closeOnClickOutside:s=!0,closeOnNotificationClick:l=!0,popperOptions:p,hideArrow:m=!1,layout:x}=C,b=F(C,["launcherRef","isOpen","toggle","placement","width","onNotificationClick","closeOnClickOutside","closeOnNotificationClick","popperOptions","hideArrow","layout"]);const $=z=>(l&&(t==null||t()),r==null?void 0:r(z));return c.jsx(Re,{launcherRef:e,isOpen:o,toggle:t,placement:n,width:a,closeOnClickOutside:s,popperOptions:p,hideArrow:m,layout:x,children:c.jsx(ze,v({onNotificationClick:$,layout:x},b))})}const Ne="MAGICBELL_NO_PROVIDER",Te=k.createContext(Ne),Wt={header:{title:"Benachrichtigungen","mark-all-read":"Alle als gelesen markieren"},notification:{"mark-as-read":"Als gelesen markieren","mark-as-unread":"Als ungelesen markieren",delete:"L\xF6schen",menu:"Menu"},"web-push-notifications":{notice:"Wenn Sie Browser-Benachrichtigungen aktivieren, bleiben Sie noch besser auf dem Laufenden.","enable-now":"Aktivieren"},messages:{"empty-inbox":"Alles Sauber!<br>Wir melden uns, wenn's was neues gibt!"},preferences:{title:"Einstellungen",toggle:"Benachrichtigungseinstellungen",close:"Einstellungen schlie\xDFen"}},Ht={header:{title:"Notificaciones","mark-all-read":"Marcar todo como le\xEDdo"},notification:{"mark-as-read":"Marcar como le\xEDdo","mark-as-unread":"Marcar como no le\xEDdo",delete:"Eliminar",menu:"Menu"},"web-push-notifications":{notice:"Active notificaciones en su navegador para mantenerse actualizado","enable-now":"Activar"},messages:{"empty-inbox":"\xA1No tiene notificaciones!<br>Le haremos saber cuando llegue una."},preferences:{title:"Preferencias",toggle:"Preferencias de notificaci\xF3n",close:"Cerrar preferencias"}},Ut={header:{title:"Notifica\xE7\xF5es","mark-all-read":"Marcar tudo como lido"},notification:{"mark-as-read":"Marcar como lido","mark-as-unread":"Marcar como n\xE3o lido",delete:"Apagar",menu:"Menu"},"web-push-notifications":{notice:"Ao ativar as notifica\xE7\xF5es do navegador, voc\xEA ficar\xE1 ainda melhor atualizado.","enable-now":"Ativar"},messages:{"empty-inbox":"Nenhuma notifica\xE7\xE3o dispon\xEDvel!","server-error":"N\xE3o conseguimos recuperar suas notifica\xE7\xF5es.<br>Por favor, volte em breve.","no-internet-connection":"N\xE3o conseguimos nos conectar \xE0 Internet.<br>Por favor, verifique sua conex\xE3o."},preferences:{title:"Prefer\xEAncias",toggle:"Prefer\xEAncias de notifica\xE7\xE3o",close:"Fechar prefer\xEAncias"}};function Zt(e){const o=e.toLowerCase().replace("_","-");I.default.locale(o)}function Gt(e){const o=typeof e=="string"?e:e.name;Zt(o);const t={es:Ht,pt_BR:Ut,de:Wt};return typeof e=="string"?t[e]:S.mergeDeepRight(t,{[o]:e.translations})[o]}const Yt={appInfo:{name:"@magicbell/magicbell-react",version:"10.8.3"}};function Le(r){var s=r,{children:e,theme:o={},images:t,locale:n="en"}=s,a=F(s,["children","theme","images","locale"]);const l=Gt(n);return c.jsx(Te.Provider,{value:"DEFAULT_MAGICBELL",children:c.jsx(gt,{value:l,children:c.jsx(ut,{value:o,children:c.jsx(X.Provider,{value:{images:t},children:c.jsx(w.MagicBellProvider,j(v(v({},Yt),a),{children:e}))})})})})}function Jt(n){var a=n,{children:e,apiKey:o}=a,t=F(a,["children","apiKey"]);return k.useContext(Te)===Ne?o?c.jsx(Le,j(v({apiKey:o},t),{children:e})):null:c.jsx(c.Fragment,{children:e})}const Kt=e=>c.jsx(Pe,v({height:500},e));function Qt(p){var m=p,{children:e=Kt,BellIcon:o,Badge:t,defaultIsOpen:n=!1,onNewNotification:a,onToggle:r,bellCounter:s="unseen"}=m,l=F(m,["children","BellIcon","Badge","defaultIsOpen","onNewNotification","onToggle","bellCounter"]);const x=k.useRef(null),[b,B]=Je.default(n),C=()=>{B(),r==null||r(b)},$=z=>{a==null||a(z)};return w.useMagicBellEvent("notifications.new",$),c.jsx(Jt,j(v({},l),{children:c.jsxs("div",{children:[c.jsx("div",{ref:x,"aria-expanded":b,children:c.jsx(ge,{onClick:C,Icon:o,Badge:t,counter:s})}),b&&e({isOpen:b,toggle:C,launcherRef:x})]})}))}function Xt({children:e,serviceWorkerPath:o="/service-worker.js",skipServiceWorkerRegistration:t=!1}){const n=w.useConfig(),a=Z.isSupported();return k.useEffect(()=>{t||Z.registerServiceWorker({path:o}).catch(s=>{console.error(`Error registering service worker: ${s}`)})},[o,t]),e({createSubscription:async()=>{!n||n.channels;const s=new URL(n.channels.webPush.config.subscribeUrl||"");return Z.subscribe({host:"https://api.magicbell.com",project:String(s.searchParams.get("project")),token:String(s.searchParams.get("access_token")),serviceWorkerPath:o})},isPushAPISupported:a})}const O={sans:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},g={bg:"#FFFFFF",caption:"#0f172a",text:"#3A424D",stroke:"#e2e8f0",accent:"#3498F4",badge:"#DF4759",transparent:"transparent"},ie={backgroundColor:g.accent,backgroundOpacity:1,borderRadius:"8px",fontFamily:O.sans,fontSize:"14px",fontWeight:"inherit",textAlign:"left",textColor:g.bg,textTransform:"uppercase"},eo={prose:{headings:g.caption,links:g.caption,bold:g.caption,hr:g.stroke,quotes:g.text,quoteBorders:g.stroke,captions:g.caption,code:g.text,preCode:g.stroke,preBg:g.text,thBorders:g.stroke,tdBorders:g.stroke,buttonBorders:g.text,buttons:g.caption,fontMono:O.mono},icon:{borderColor:g.accent},header:j(v({},ie),{padding:"16px 24px"}),footer:j(v({},ie),{padding:"12px 24px"}),banner:{backgroundColor:g.accent,backgroundOpacity:.1,textColor:g.text,fontFamily:O.sans,textAlign:"left",fontSize:"12px",boxShadow:"none"},dialog:{backgroundColor:g.bg,textColor:g.text,accentColor:g.accent},unseenBadge:{backgroundColor:g.badge,backgroundOpacity:1,borderRadius:"2px",fontFamily:O.sans,fontWeight:"inherit",fontSize:"10px",textAlign:"center",textColor:"white",textTransform:"none"},container:{backgroundColor:g.bg,fontFamily:O.sans,fontSize:"12px",textColor:g.text,boxShadow:"0px 20px 25px rgba(84, 95, 111, 0.1), 0px 10px 10px rgba(84, 95, 111, 0.04)"},notification:{default:{backgroundColor:"transparent",backgroundOpacity:0,borderRadius:"8px",fontFamily:O.sans,fontSize:"12px",fontWeight:"inherit",textAlign:"left",textColor:g.text,textTransform:"none",margin:"4px",padding:"16px 20px 16px 12px",title:{fontFamily:"inherit",fontSize:"14px",fontWeight:500,textColor:g.caption},hover:{backgroundColor:g.accent,backgroundOpacity:.1},state:{color:"transparent"}},unread:{backgroundOpacity:0,state:{color:g.accent}},unseen:{backgroundColor:g.accent,backgroundOpacity:.05,state:{color:g.accent}}}},d={bg:"#FFFFFF",caption:"#15091F",text:"#3A424D",stroke:"#EFEEF1",accent:"#5225C1",badge:"#F80808",bgHighlight:"#F7F6F9",bgActive:"#F0EDF8",transparent:"transparent"},ae={backgroundColor:d.bg,borderRadius:"8px",textColor:d.accent,borderColor:d.stroke},to={prose:{headings:d.caption,links:d.caption,bold:d.caption,hr:d.stroke,quotes:d.text,quoteBorders:d.stroke,captions:d.caption,code:d.text,preCode:d.stroke,preBg:d.text,thBorders:d.stroke,tdBorders:d.stroke,buttonBorders:d.text,buttons:d.caption},icon:{borderColor:d.accent},header:ae,footer:ae,banner:{backgroundColor:d.bg,backgroundOpacity:1,textColor:d.text,fontFamily:T.sans,textAlign:"left",fontSize:"12px",boxShadow:`inset 0 1px 0 0 ${d.stroke}`},dialog:{backgroundColor:d.bg,textColor:d.text,accentColor:d.accent},unseenBadge:{backgroundColor:d.badge},container:{backgroundColor:d.bg,textColor:d.text,boxShadow:"none",borderColor:d.accent},notification:{default:{backgroundColor:d.bgHighlight,borderRadius:"0",textColor:d.text,margin:"0",title:{textColor:d.caption},hover:{backgroundColor:d.bgActive,backgroundOpacity:1},state:{color:d.transparent}},unread:{backgroundColor:d.bg,hover:{backgroundColor:d.bgActive},state:{color:d.accent}},unseen:{backgroundColor:d.bg,hover:{backgroundColor:d.bgActive},state:{color:d.accent}}}};Object.defineProperty(exports,"clientSettings",{enumerable:!0,get:()=>w.clientSettings});Object.defineProperty(exports,"eventAggregator",{enumerable:!0,get:()=>w.eventAggregator});Object.defineProperty(exports,"useMagicBellEvent",{enumerable:!0,get:()=>w.useMagicBellEvent});Object.defineProperty(exports,"useNotification",{enumerable:!0,get:()=>w.useNotification});Object.defineProperty(exports,"useNotificationPreferences",{enumerable:!0,get:()=>w.useNotificationPreferences});Object.defineProperty(exports,"useNotificationStoresCollection",{enumerable:!0,get:()=>w.useNotificationStoresCollection});Object.defineProperty(exports,"useNotificationUnmount",{enumerable:!0,get:()=>w.useNotificationUnmount});Object.defineProperty(exports,"useNotifications",{enumerable:!0,get:()=>w.useNotifications});exports.Badge=fe;exports.Bell=ge;exports.BellIcon=pe;exports.ClassicBellIcon=pt;exports.ClickableNotification=Be;exports.EnablePushNotificationsButton=be;exports.FloatingInboxContainer=Re;exports.FloatingNotificationInbox=Pe;exports.FloatingNotificationInboxArrow=Ae;exports.Footer=K;exports.Header=Q;exports.MagicBellContext=X;exports.MagicBellProvider=Le;exports.MagicBellThemeContext=J;exports.NotificationContent=je;exports.NotificationInbox=ze;exports.NotificationList=Fe;exports.NotificationPreferences=Me;exports.NotificationState=we;exports.Popover=U;exports.PushNotificationsSubscriber=Xt;exports.StyledNotificationContainer=Se;exports.Timestamp=$e;exports.classicTheme=eo;exports.darken=ce;exports.default=Qt;exports.defaultMagicBellTheme=W;exports.flatTheme=to;exports.lightTheme=ue;exports.merge=E;exports.toRGBA=A;exports.useMagicBellContext=ke;exports.useTheme=h;
`},t),{children:o}))}function Re({launcherRef:e,isOpen:o,toggle:t,placement:n="auto",width:a=500,closeOnClickOutside:r=!0,popperOptions:s,hideArrow:l=!1,layout:p=["header","content","push-notifications-banner","footer"],children:m}){const x=()=>{r&&(t==null||t())};return c.jsx(U,{isOpen:o,launcherRef:e,onClickOutside:x,placement:n,popperOptions:s,children:b=>c.jsxs(Dt,{width:a,attrs:b,layout:p,children:[m,l?null:c.jsx(Ae,{placement:b["data-placement"]})]})})}function Pe(B){var C=B,{launcherRef:e,isOpen:o,toggle:t,placement:n="auto",width:a=500,onNotificationClick:r,closeOnClickOutside:s=!0,closeOnNotificationClick:l=!0,popperOptions:p,hideArrow:m=!1,layout:x}=C,b=F(C,["launcherRef","isOpen","toggle","placement","width","onNotificationClick","closeOnClickOutside","closeOnNotificationClick","popperOptions","hideArrow","layout"]);const $=z=>(l&&(t==null||t()),r==null?void 0:r(z));return c.jsx(Re,{launcherRef:e,isOpen:o,toggle:t,placement:n,width:a,closeOnClickOutside:s,popperOptions:p,hideArrow:m,layout:x,children:c.jsx(ze,v({onNotificationClick:$,layout:x},b))})}const Ne="MAGICBELL_NO_PROVIDER",Te=k.createContext(Ne),Wt={header:{title:"Benachrichtigungen","mark-all-read":"Alle als gelesen markieren"},notification:{"mark-as-read":"Als gelesen markieren","mark-as-unread":"Als ungelesen markieren",delete:"L\xF6schen",menu:"Menu"},"web-push-notifications":{notice:"Wenn Sie Browser-Benachrichtigungen aktivieren, bleiben Sie noch besser auf dem Laufenden.","enable-now":"Aktivieren"},messages:{"empty-inbox":"Alles Sauber!<br>Wir melden uns, wenn's was neues gibt!"},preferences:{title:"Einstellungen",toggle:"Benachrichtigungseinstellungen",close:"Einstellungen schlie\xDFen"}},Ht={header:{title:"Notificaciones","mark-all-read":"Marcar todo como le\xEDdo"},notification:{"mark-as-read":"Marcar como le\xEDdo","mark-as-unread":"Marcar como no le\xEDdo",delete:"Eliminar",menu:"Menu"},"web-push-notifications":{notice:"Active notificaciones en su navegador para mantenerse actualizado","enable-now":"Activar"},messages:{"empty-inbox":"\xA1No tiene notificaciones!<br>Le haremos saber cuando llegue una."},preferences:{title:"Preferencias",toggle:"Preferencias de notificaci\xF3n",close:"Cerrar preferencias"}},Ut={header:{title:"Notifica\xE7\xF5es","mark-all-read":"Marcar tudo como lido"},notification:{"mark-as-read":"Marcar como lido","mark-as-unread":"Marcar como n\xE3o lido",delete:"Apagar",menu:"Menu"},"web-push-notifications":{notice:"Ao ativar as notifica\xE7\xF5es do navegador, voc\xEA ficar\xE1 ainda melhor atualizado.","enable-now":"Ativar"},messages:{"empty-inbox":"Nenhuma notifica\xE7\xE3o dispon\xEDvel!","server-error":"N\xE3o conseguimos recuperar suas notifica\xE7\xF5es.<br>Por favor, volte em breve.","no-internet-connection":"N\xE3o conseguimos nos conectar \xE0 Internet.<br>Por favor, verifique sua conex\xE3o."},preferences:{title:"Prefer\xEAncias",toggle:"Prefer\xEAncias de notifica\xE7\xE3o",close:"Fechar prefer\xEAncias"}};function Zt(e){const o=e.toLowerCase().replace("_","-");I.default.locale(o)}function Gt(e){const o=typeof e=="string"?e:e.name;Zt(o);const t={es:Ht,pt_BR:Ut,de:Wt};return typeof e=="string"?t[e]:S.mergeDeepRight(t,{[o]:e.translations})[o]}const Yt={appInfo:{name:"@magicbell/magicbell-react",version:"10.9.0"}};function Le(r){var s=r,{children:e,theme:o={},images:t,locale:n="en"}=s,a=F(s,["children","theme","images","locale"]);const l=Gt(n);return c.jsx(Te.Provider,{value:"DEFAULT_MAGICBELL",children:c.jsx(gt,{value:l,children:c.jsx(ut,{value:o,children:c.jsx(X.Provider,{value:{images:t},children:c.jsx(w.MagicBellProvider,j(v(v({},Yt),a),{children:e}))})})})})}function Jt(n){var a=n,{children:e,apiKey:o}=a,t=F(a,["children","apiKey"]);return k.useContext(Te)===Ne?o?c.jsx(Le,j(v({apiKey:o},t),{children:e})):null:c.jsx(c.Fragment,{children:e})}const Kt=e=>c.jsx(Pe,v({height:500},e));function Qt(p){var m=p,{children:e=Kt,BellIcon:o,Badge:t,defaultIsOpen:n=!1,onNewNotification:a,onToggle:r,bellCounter:s="unseen"}=m,l=F(m,["children","BellIcon","Badge","defaultIsOpen","onNewNotification","onToggle","bellCounter"]);const x=k.useRef(null),[b,B]=Je.default(n),C=()=>{B(),r==null||r(b)},$=z=>{a==null||a(z)};return w.useMagicBellEvent("notifications.new",$),c.jsx(Jt,j(v({},l),{children:c.jsxs("div",{children:[c.jsx("div",{ref:x,"aria-expanded":b,children:c.jsx(ge,{onClick:C,Icon:o,Badge:t,counter:s})}),b&&e({isOpen:b,toggle:C,launcherRef:x})]})}))}function Xt({children:e,serviceWorkerPath:o="/service-worker.js",skipServiceWorkerRegistration:t=!1}){const n=w.useConfig(),a=Z.isSupported();return k.useEffect(()=>{t||Z.registerServiceWorker({path:o}).catch(s=>{console.error(`Error registering service worker: ${s}`)})},[o,t]),e({createSubscription:async()=>{!n||n.channels;const s=new URL(n.channels.webPush.config.subscribeUrl||"");return Z.subscribe({host:"https://api.magicbell.com",project:String(s.searchParams.get("project")),token:String(s.searchParams.get("access_token")),serviceWorkerPath:o})},isPushAPISupported:a})}const O={sans:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},g={bg:"#FFFFFF",caption:"#0f172a",text:"#3A424D",stroke:"#e2e8f0",accent:"#3498F4",badge:"#DF4759",transparent:"transparent"},ie={backgroundColor:g.accent,backgroundOpacity:1,borderRadius:"8px",fontFamily:O.sans,fontSize:"14px",fontWeight:"inherit",textAlign:"left",textColor:g.bg,textTransform:"uppercase"},eo={prose:{headings:g.caption,links:g.caption,bold:g.caption,hr:g.stroke,quotes:g.text,quoteBorders:g.stroke,captions:g.caption,code:g.text,preCode:g.stroke,preBg:g.text,thBorders:g.stroke,tdBorders:g.stroke,buttonBorders:g.text,buttons:g.caption,fontMono:O.mono},icon:{borderColor:g.accent},header:j(v({},ie),{padding:"16px 24px"}),footer:j(v({},ie),{padding:"12px 24px"}),banner:{backgroundColor:g.accent,backgroundOpacity:.1,textColor:g.text,fontFamily:O.sans,textAlign:"left",fontSize:"12px",boxShadow:"none"},dialog:{backgroundColor:g.bg,textColor:g.text,accentColor:g.accent},unseenBadge:{backgroundColor:g.badge,backgroundOpacity:1,borderRadius:"2px",fontFamily:O.sans,fontWeight:"inherit",fontSize:"10px",textAlign:"center",textColor:"white",textTransform:"none"},container:{backgroundColor:g.bg,fontFamily:O.sans,fontSize:"12px",textColor:g.text,boxShadow:"0px 20px 25px rgba(84, 95, 111, 0.1), 0px 10px 10px rgba(84, 95, 111, 0.04)"},notification:{default:{backgroundColor:"transparent",backgroundOpacity:0,borderRadius:"8px",fontFamily:O.sans,fontSize:"12px",fontWeight:"inherit",textAlign:"left",textColor:g.text,textTransform:"none",margin:"4px",padding:"16px 20px 16px 12px",title:{fontFamily:"inherit",fontSize:"14px",fontWeight:500,textColor:g.caption},hover:{backgroundColor:g.accent,backgroundOpacity:.1},state:{color:"transparent"}},unread:{backgroundOpacity:0,state:{color:g.accent}},unseen:{backgroundColor:g.accent,backgroundOpacity:.05,state:{color:g.accent}}}},d={bg:"#FFFFFF",caption:"#15091F",text:"#3A424D",stroke:"#EFEEF1",accent:"#5225C1",badge:"#F80808",bgHighlight:"#F7F6F9",bgActive:"#F0EDF8",transparent:"transparent"},ae={backgroundColor:d.bg,borderRadius:"8px",textColor:d.accent,borderColor:d.stroke},to={prose:{headings:d.caption,links:d.caption,bold:d.caption,hr:d.stroke,quotes:d.text,quoteBorders:d.stroke,captions:d.caption,code:d.text,preCode:d.stroke,preBg:d.text,thBorders:d.stroke,tdBorders:d.stroke,buttonBorders:d.text,buttons:d.caption},icon:{borderColor:d.accent},header:ae,footer:ae,banner:{backgroundColor:d.bg,backgroundOpacity:1,textColor:d.text,fontFamily:T.sans,textAlign:"left",fontSize:"12px",boxShadow:`inset 0 1px 0 0 ${d.stroke}`},dialog:{backgroundColor:d.bg,textColor:d.text,accentColor:d.accent},unseenBadge:{backgroundColor:d.badge},container:{backgroundColor:d.bg,textColor:d.text,boxShadow:"none",borderColor:d.accent},notification:{default:{backgroundColor:d.bgHighlight,borderRadius:"0",textColor:d.text,margin:"0",title:{textColor:d.caption},hover:{backgroundColor:d.bgActive,backgroundOpacity:1},state:{color:d.transparent}},unread:{backgroundColor:d.bg,hover:{backgroundColor:d.bgActive},state:{color:d.accent}},unseen:{backgroundColor:d.bg,hover:{backgroundColor:d.bgActive},state:{color:d.accent}}}};Object.defineProperty(exports,"clientSettings",{enumerable:!0,get:()=>w.clientSettings});Object.defineProperty(exports,"eventAggregator",{enumerable:!0,get:()=>w.eventAggregator});Object.defineProperty(exports,"useMagicBellEvent",{enumerable:!0,get:()=>w.useMagicBellEvent});Object.defineProperty(exports,"useNotification",{enumerable:!0,get:()=>w.useNotification});Object.defineProperty(exports,"useNotificationPreferences",{enumerable:!0,get:()=>w.useNotificationPreferences});Object.defineProperty(exports,"useNotificationStoresCollection",{enumerable:!0,get:()=>w.useNotificationStoresCollection});Object.defineProperty(exports,"useNotificationUnmount",{enumerable:!0,get:()=>w.useNotificationUnmount});Object.defineProperty(exports,"useNotifications",{enumerable:!0,get:()=>w.useNotifications});exports.Badge=fe;exports.Bell=ge;exports.BellIcon=pe;exports.ClassicBellIcon=pt;exports.ClickableNotification=Be;exports.EnablePushNotificationsButton=be;exports.FloatingInboxContainer=Re;exports.FloatingNotificationInbox=Pe;exports.FloatingNotificationInboxArrow=Ae;exports.Footer=K;exports.Header=Q;exports.MagicBellContext=X;exports.MagicBellProvider=Le;exports.MagicBellThemeContext=J;exports.NotificationContent=je;exports.NotificationInbox=ze;exports.NotificationList=Fe;exports.NotificationPreferences=Me;exports.NotificationState=we;exports.Popover=U;exports.PushNotificationsSubscriber=Xt;exports.StyledNotificationContainer=Se;exports.Timestamp=$e;exports.classicTheme=eo;exports.darken=ce;exports.default=Qt;exports.defaultMagicBellTheme=W;exports.flatTheme=to;exports.lightTheme=ue;exports.merge=E;exports.toRGBA=A;exports.useMagicBellContext=ke;exports.useTheme=h;
//# sourceMappingURL=magicbell-magicbell-react.cjs.min.js.map
{
"name": "@magicbell/magicbell-react",
"version": "10.8.3",
"version": "10.9.0",
"description": "React components for building a notification inbox for your app",

@@ -79,6 +79,6 @@ "author": "MagicBell <bot@magicbell.io> (https://magicbell.com/)",

"@emotion/react": "^11.4.1",
"@magicbell/react-headless": "4.3.2",
"@magicbell/react-headless": "4.4.0",
"@magicbell/webpush": "1.3.1",
"@tippyjs/react": "^4.2.6",
"dayjs": "^1.11.9",
"dayjs": "^1.11.10",
"humps": "^2.0.1",

@@ -85,0 +85,0 @@ "immer": "^9.0.21",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc