freemium-ui 2.0.115 → 2.0.116

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/lib/index.js CHANGED
@@ -16683,10 +16683,10 @@ fill:s.colors.text.primary}))))))},nG=()=>{const e=((e=Kc())=>{
16683
16683
  const t=`ui-${e}`,{isBrowser:n}=sW(),[r,o]=f(n?uW(t):null);return p((()=>{
16684
16684
  const e=document.querySelector(`#${t}`),n=e||uW(t)
16685
16685
  ;e||document.body.appendChild(n),o(n)}),[]),r
16686
- })("toast"),{toasts:n}=t.useContext(XW)??{}
16687
- ;return e?M(t.createElement(t.Fragment,null,t.createElement(UW,{
16688
- swipeDirection:"up"},n.map(((e,n)=>t.createElement(tG,{key:`Toast-${e.id}`,...e,
16689
- index:n}))),t.createElement(KW,{className:"ToastViewport"}))),e):null
16686
+ })("toast"),{toasts:n}=t.useContext(XW)??{};return e?M(t.createElement(Mr,{
16687
+ target:document.body},t.createElement(UW,{swipeDirection:"up"
16688
+ },n.map(((e,n)=>t.createElement(tG,{key:`Toast-${e.id}`,...e,index:n
16689
+ }))),t.createElement(KW,{className:"ToastViewport"}))),e):null
16690
16690
  },rG=({children:e,retainOnHover:n=!0,retainOnWindowBlur:r=!1})=>{
16691
16691
  const[o,a]=t.useState("focus"),[i,l]=t.useState([]),c=t.useCallback((e=>{
16692
16692
  l((t=>[{...e,id:Kc(),state:"open"},...t]))}),[]),s=t.useCallback((e=>{
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.115",
3
+ "version": "2.0.116",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.115",
3
+ "version": "2.0.116",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",