@magicbell/magicbell-react
Advanced tools
Comparing version 10.8.3 to 10.9.0
/** | ||
* @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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1253378
+ Added@magicbell/react-headless@4.4.0(transitive)
- Removed@ably/msgpack-js@0.4.0(transitive)
- Removed@magicbell/react-headless@4.3.2(transitive)
- Removed@sindresorhus/is@4.6.0(transitive)
- Removed@szmarczak/http-timer@4.0.6(transitive)
- Removed@types/cacheable-request@6.0.3(transitive)
- Removed@types/http-cache-semantics@4.0.4(transitive)
- Removed@types/keyv@3.1.4(transitive)
- Removed@types/node@22.10.2(transitive)
- Removed@types/responselike@1.0.3(transitive)
- Removedably@1.2.50(transitive)
- Removedbase64-js@1.0.2(transitive)
- Removedbops@1.0.1(transitive)
- Removedcacheable-lookup@5.0.4(transitive)
- Removedcacheable-request@7.0.4(transitive)
- Removedclone-response@1.0.3(transitive)
- Removeddecompress-response@6.0.0(transitive)
- Removeddefer-to-connect@2.0.1(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedget-stream@5.2.0(transitive)
- Removedgot@11.8.6(transitive)
- Removedhttp-cache-semantics@4.1.1(transitive)
- Removedhttp2-wrapper@1.0.3(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlowercase-keys@2.0.0(transitive)
- Removedmimic-response@1.0.13.1.0(transitive)
- Removednormalize-url@6.1.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-cancelable@2.1.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedquick-lru@5.1.1(transitive)
- Removedresolve-alpn@1.2.1(transitive)
- Removedresponselike@2.0.1(transitive)
- Removedto-utf8@0.0.1(transitive)
- Removedundici-types@6.20.0(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedws@8.18.0(transitive)
Updateddayjs@^1.11.10