@plitzi/plitzi-sdk 0.39.9 → 0.39.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # @plitzi/plitzi-sdk
2
2
 
3
+ ## 0.39.11
4
+
5
+ ### Patch Changes
6
+
7
+ - d0b5be6: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
8
+ `@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
9
+ - Updated dependencies [d0b5be6]
10
+ - @plitzi/sdk-auth@0.39.11
11
+ - @plitzi/sdk-dev-tools@0.39.11
12
+ - @plitzi/sdk-elements@0.39.11
13
+ - @plitzi/sdk-event-bridge@0.39.11
14
+ - @plitzi/sdk-interactions@0.39.11
15
+ - @plitzi/sdk-navigation@0.39.11
16
+ - @plitzi/sdk-plugins@0.39.11
17
+ - @plitzi/sdk-schema@0.39.11
18
+ - @plitzi/sdk-shared@0.39.11
19
+ - @plitzi/sdk-style@0.39.11
20
+ - @plitzi/sdk-variables@0.39.11
21
+
22
+ ## 0.39.10
23
+
24
+ ### Patch Changes
25
+
26
+ - 97d3b64: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
27
+ `@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
28
+ - Updated dependencies [97d3b64]
29
+ - @plitzi/sdk-auth@0.39.10
30
+ - @plitzi/sdk-dev-tools@0.39.10
31
+ - @plitzi/sdk-elements@0.39.10
32
+ - @plitzi/sdk-event-bridge@0.39.10
33
+ - @plitzi/sdk-interactions@0.39.10
34
+ - @plitzi/sdk-navigation@0.39.10
35
+ - @plitzi/sdk-plugins@0.39.10
36
+ - @plitzi/sdk-schema@0.39.10
37
+ - @plitzi/sdk-shared@0.39.10
38
+ - @plitzi/sdk-style@0.39.10
39
+ - @plitzi/sdk-variables@0.39.10
40
+
3
41
  ## 0.39.9
4
42
 
5
43
  ### Patch Changes
@@ -192,4 +192,4 @@ return I(HR,{className:Zo(e,t&&"system"!==r&&r),"data-hydrated":i?"":void 0,chil
192
192
  return _(eu,{value:p,children:n})},Sj=e=>({apiServer:"https://api.plitzi.com",ssrServer:"https://ssr.plitzi.com",serverUrl:"https://server.plitzi.com",websocketServer:"wss://server.plitzi.com",subscriptionServer:"wss://server.plitzi.com/subscriptions",...e}),Tj={Button:PM,ContentEditable:Fv,Input:iP,Heading:ZM,ContainerResizable:HM,ContainerCollapsable:BM,Text:lP,ContainerTabs:JM},Cj=({className:e,children:t,webKey:r="",server:o,renderMode:a=el.renderMode,routing:s="browser",debugMode:l=!1,themeScope:c,theme:d,scheme:p,state:h,forcedFlags:g,...b})=>{const v=x(()=>function(e){if(!e)return 0;let t={};try{let n=e.split(".")[1],r=typeof window<"u"?window.atob(n):Buffer.from(n,"base64").toString();t=JSON.parse(r)}catch{return 0}let n=Number(ir(t,"sub",0));return Number.isInteger(n)&&n>0?n:0}(r),[r]),w=f(ya),k=c??(w?"container":"document"),C=w&&"raw"===a?"widget":a,E=e??(w?void 0:"min-h-screen"),A=S(h).current,O=x(()=>({runtime:{sources:{},state:A??{}},render:{...el,ownsHead:!w,enclosed:w}}),[A,w]),I=x(()=>(e=>{let t=e?.split(":")[1];return t?`plitzi_debug_${t}`:"plitzi_debug"})("undefined"==typeof window?void 0:window.location.host),[]),[N,M]=T(()=>(e=>{if("undefined"==typeof document)return!0;for(const t of document.cookie.split(";")){const n=t.indexOf("=");if(-1!==n&&t.slice(0,n).trim()===e)return"false"!==decodeURIComponent(t.slice(n+1).trim())}return!0})(I)),P=l&&N,[L]=T(()=>g||!l||"undefined"==typeof window?g:((e,t)=>(e=>e?Object.fromEntries(e.split(",").map(e=>e.split(":")).filter(([e,t])=>ju(e)&&("1"===t||"0"===t)).map(([e,t])=>[e,"1"===t])):{})(wl(e,zu(t))))(kl(),window.location.host)),R=x(()=>Sj(o),[o]);y(()=>{},[]);const D=m(()=>{const e=!N;((e,t)=>{"undefined"!=typeof document&&(document.cookie=`${e}=${JSON.stringify(t)}; path=/; max-age=31536000; samesite=lax`)})(I,e),M(e)},[I,N]);(({authorized:e,onToggle:t})=>{const n=m(e=>{var n;e.shiftKey&&"F12"===e.key?t():!e.shiftKey||!e.altKey||"KeyD"!==e.code||(n=e.target)instanceof HTMLElement&&(n.isContentEditable||["INPUT","TEXTAREA","SELECT"].includes(n.tagName))||(e.preventDefault(),t())},[t]);y(()=>{if(e)return window.addEventListener("keydown",n),()=>window.removeEventListener("keydown",n)},[e,n])})({authorized:l,onToggle:D}),y(()=>{},[l,N,I]),y(()=>{if(P)return window.plitziTracing={lastCommitId:lp.lastCommitId,commitsSince:lp.commitsSince},()=>{delete window.plitziTracing}},[P]),y(()=>{b.isHydrating&&lp.setHydrated()},[b.isHydrating]);const $=S({}),j=x(()=>{const e={};n.forEach(t,t=>{if(!u(t))return;if(t.type!==e$)return;const{renderType:n,component:r,assets:i=[],...o}=t.props;if(!n||!r)return;const a=r;a.type=n,a.assets=i,a.extraProps=o,e[n]=a});const r=$.current,i=Object.keys(e);return i.length===Object.keys(r).length&&i.every(t=>r[t]===e[t])?r:($.current=e,e)},[t]);"undefined"==typeof window&&R.requestUrl;const z="widget"===C?i:"undefined"==typeof window?sR:"memory"===s?IL:eR,F="widget"===C?{}:{..."memory"===s&&"undefined"!=typeof window?{}:{basename:vc(R,"basePath","/"),location:"undefined"==typeof window?R.requestUrl??"":void 0}};/* @__PURE__ */
193
193
  return _(ya,{value:!0,children:/* @__PURE__ */_(Is,{value:O,middlewares:[il(vl("sdk")),$l(v),...P?[()=>({onChange:e=>lp.recordStoreChange(e)}),Bs({shouldRecord:e=>!(e?.startsWith("runtime.elements")||e?.startsWith("rsc")||e?.startsWith("theme")||e?.startsWith("flags"))})]:[]],children:/* @__PURE__ */_(dj,{scope:k,theme:d,scheme:p,children:/* @__PURE__ */_(sP,{components:Tj,applyColorModeClass:!1,children:/* @__PURE__ */_(hj,{scoped:"container"===k,className:Zo("plitzi-sdk","flex",E,{"sdk-debug-mode":P}),children:/* @__PURE__ */_(J_,{children:/* @__PURE__ */_(z,{...F,children:/* @__PURE__ */_(xj,{localCustomComponents:j,localComponents:Aj,children:/* @__PURE__ */_(uj,{server:R,webKey:r,renderMode:C,debugMode:P,webId:v,forcedFlags:L,...b})})})})})})})})})},Ej=pp(({ref:e,className:t,spaceKey:n,environment:r="main",offlineData:i})=>{const{settings:{previewMode:o}}=Md(),{server:a}=f(Ld),s=x(()=>void 0===i?void 0:(e=>{if(!ut(e))return{problem:"The documents cannot be drawn: they are not an object with `schema` and `style`."};const t=["schema","style"].filter(t=>void 0===e[t]);return t.length>0?{waiting:t}:(e=>void 0===_M(e.schema,e.style))(e)?{documents:e}:{problem:`The documents cannot be drawn: ${_M(e.schema,e.style)??"their shape is unknown"}.`}})(i),[i]),l=s&&"problem"in s?s.problem:void 0,c=s&&"waiting"in s?s.waiting:void 0,u=s&&"documents"in s?s.documents:void 0,d=void 0!==s&&!!n;return y(()=>{l&&console.error(`[plitziSdk] ${l}`)},[l]),y(()=>{d&&console.warn("[plitziSdk] Both `offlineData` and `spaceKey` are set: the documents are drawn, the key is not.")},[d]),/* @__PURE__ */I(Ym,{ref:e,className:Zo("plitzi-component__plitzi-sdk",t,{"with__plitzi-sdk":!o}),children:[u&&/* @__PURE__ */_(Cj,{offlineMode:!0,offlineData:u,environment:r,renderMode:"widget",className:"h-full w-full"}),!s&&n&&/* @__PURE__ */_(Cj,{webKey:n,environment:r,server:a,renderMode:"widget",className:"h-full w-full"}),l&&!o&&/* @__PURE__ */_("p",{className:"plitzi-sdk__problem",children:l}),c&&!o&&/* @__PURE__ */I("p",{className:"plitzi-sdk__waiting",children:["Waiting for ",c.map(e=>`\`${e}\``).join(" and ")," to be bound."]})]})}),Aj={plitziSdk:Object.assign(Ej,{...Se,content:{...Se.content,market:{...Se.content.market,icon:/* @__PURE__ */_(q,{})}}})},Oj=class extends Error{stage;log;constructor(e,t){super(`${"link"===e?"program failed to link":`${e} shader failed`}: ${t.trim()||"no log given"}`),this.name="ShaderError",this.stage=e,this.log=t}},_j=(e,t,n)=>{let r=e.createShader("vertex"===t?e.VERTEX_SHADER:e.FRAGMENT_SHADER);if(!r)throw new Oj(t,"the context made no shader (it is lost)");if(e.shaderSource(r,n),e.compileShader(r),!0!==e.getShaderParameter(r,e.COMPILE_STATUS)){let n=e.getShaderInfoLog(r)??"";throw e.deleteShader(r),new Oj(t,n)}return r},Ij=(e,{vertex:t,fragment:n})=>{let r=_j(e,"vertex",t),i=_j(e,"fragment",n),o=e.createProgram();if(e.attachShader(o,r),e.attachShader(o,i),e.linkProgram(o),e.deleteShader(r),e.deleteShader(i),!0!==e.getProgramParameter(o,e.LINK_STATUS)){let t=e.getProgramInfoLog(o)??"";throw e.deleteProgram(o),new Oj("link",t)}return o},Nj="(prefers-reduced-motion: reduce)",Mj=()=>"function"==typeof window.matchMedia&&window.matchMedia(Nj).matches||document.documentElement.classList.contains("plitzi-reduced-motion"),Pj=e=>{let t="function"==typeof window.matchMedia?window.matchMedia(Nj):void 0;t?.addEventListener("change",e);let n=new MutationObserver(e);return n.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>{t?.removeEventListener("change",e),n.disconnect()}},Lj=()=>C(Pj,Mj,()=>!1),Rj=e=>(document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)),Dj=()=>"hidden"!==document.visibilityState,$j=(e,{paused:t=!1,fps:n,target:r}={})=>{let i=Md().settings.previewMode??!0,o=Lj(),a=C(Rj,Dj,()=>!1),s=(e=>{let[t,n]=T(!0);return y(()=>{let t=e?.current;if(!t||typeof IntersectionObserver>"u")return;let r=new IntersectionObserver(e=>n(e.some(e=>e.isIntersecting)));return r.observe(t),()=>r.disconnect()},[e]),t})(r),l=i&&!o&&!t&&a&&s,c=S(e);y(()=>{c.current=e},[e]);let u=S({time:0,frame:0});return y(()=>{if(!l)return;let e,t=n&&n>0?1e3/n:0,r=0,i=0,o=n=>{let a=void 0===e?0:n-e;if(e=n,i+=a,i>=t){let e=t>0?i:a;i=t>0?i%t:0,u.current={time:u.current.time+e,frame:u.current.frame+1},c.current({...u.current,delta:e})}r=requestAnimationFrame(o)};return r=requestAnimationFrame(o),()=>cancelAnimationFrame(r)},[l,n]),{running:l}},jj=(e,{setup:t,draw:n,maxPixelRatio:r=2,paused:i,fps:o})=>{let a=(e=>`[plugin ${e?.definition?.type??"canvas"}${e?.id?` "${e.id}"`:""}]`)(f(ba)),s=S(null),[l,c]=T(null),[u,d]=T({width:0,height:0,pixelRatio:1}),[p,h]=T(),[g,b]=T(!1),[v,w]=T(0),k=S(null),x=S({acquire:e,setup:t,draw:n});y(()=>{x.current={acquire:e,setup:t,draw:n}},[e,t,n]);let C=m(e=>{let t=e instanceof Error?e.message:String(e);console.error(`${a} ${t}`),h(t)},[a]),E=m(e=>{s.current=e,c(e)},[]);y(()=>{if(!l)return;let e=()=>{let e=l.getBoundingClientRect(),t=Math.min(window.devicePixelRatio||1,r);l.width=Math.max(1,Math.round(e.width*t)),l.height=Math.max(1,Math.round(e.height*t)),d({width:e.width,height:e.height,pixelRatio:t})};if(e(),typeof ResizeObserver>"u")return;let t=new ResizeObserver(e);return t.observe(l),()=>t.disconnect()},[l,r]),y(()=>{if(!l)return;let e=e=>{e.preventDefault(),k.current=null,b(!1)},t=()=>w(e=>e+1);return l.addEventListener("webglcontextlost",e),l.addEventListener("webglcontextrestored",t),()=>{l.removeEventListener("webglcontextlost",e),l.removeEventListener("webglcontextrestored",t)}},[l]),y(()=>{if(l&&0!==u.width&&void 0===p)try{let e=x.current.acquire(l);if(!e)return void C(/* @__PURE__ */Error("the browser gave no drawing context (WebGL may be off)"));e.prepare(u);let t=x.current.setup?x.current.setup(e.context,u):void 0;k.current={handle:e,state:t}}catch(Oj){C(Oj)}},[l,u,v,p,C]);let A=m(e=>{let t=k.current;if(t&&void 0===p)try{t.handle.prepare(u),x.current.draw(t.handle.context,{...e,...u,state:t.state}),b(!0)}catch(e){k.current=null,C(e)}},[u,p,C]),{running:O}=$j(A,{paused:i||void 0!==p,fps:o,target:s});return y(()=>{!O&&u.width>0&&A({time:0,delta:0,frame:0})},[O,u,v,A]),{ref:E,ready:g,error:p,running:O}},zj=({attributes:e,...t})=>jj(m(t=>{let n=t.getContext("2d",e);return n&&{context:n,prepare:({pixelRatio:e})=>n.setTransform(e,0,0,e,0,0)}},[e]),t),Fj=({attributes:e,...t})=>jj(m(t=>{let n=t.getContext("webgl",e);return n&&{context:n,prepare:()=>n.viewport(0,0,t.width,t.height)}},[e]),t),Bj=({attributes:e,...t})=>jj(m(t=>{let n=t.getContext("webgl2",e);return n&&{context:n,prepare:()=>n.viewport(0,0,t.width,t.height)}},[e]),t),qj=e=>{const t=f(tm);return m(async(n,r={})=>{if(!t)return console.warn(`[plitzi] useServerAction: nothing on this page runs server actions, so "${e}" was skipped`),{ok:!1,runId:"",reason:"skipped"};const i=await t({actionId:e,input:n,...r});return"completed"!==i.status?{ok:!1,runId:i.runId,reason:i.reason??i.status,...i.error?{error:i.error}:{}}:{ok:!0,runId:i.runId,output:i.output}},[e,t])},Hj=(e,t)=>new Promise(n=>{const r=document.createElement("link");r.rel="stylesheet",r.href=e,r.dataset.plitziPlugin=t,r.onload=()=>n(),r.onerror=()=>n(),document.head.append(r)}),Uj=(e,{load:t,css:n,declaration:r})=>{let i;const o=(r,{content:s,version:l,initialItems:c,plugins:u})=>{const p=d(async()=>({default:r.reduce((t,n)=>{const r=t.plugins?.[n];if(!r)throw new Error(`[plitzi] plugin "${e}" was loaded without the "${n}" it declared`);return r},await(i??=Promise.all([t(),n?Hj(n,e):void 0]).then(([e])=>e.default)))})),h=e=>/* @__PURE__ */_(a,{fallback:null,children:/* @__PURE__ */_(p,{...e})});return h.displayName=`Deferred(${r.at(-1)??e})`,Object.assign(h,{content:s,version:l,initialItems:c,plugins:u?Object.fromEntries(Object.entries(u).map(([e,t])=>[e,o([...r,e],t)])):void 0})};return o([],r)},Wj=e=>{try{return JSON.stringify({...e},(e,t)=>"function"==typeof t?void 0:t)}catch{return}},Vj=e=>{const t=/* @__PURE__ */new Map,n=/* @__PURE__ */new Map,r=/* @__PURE__ */new Map;return{plugins:Object.fromEntries(Object.entries(e).map(([e,i])=>{t.set(e,i.component);const o=((e,r)=>{const i=(e=>t=>{const r=n.get(e)??/* @__PURE__ */new Set;return r.add(t),n.set(e,r),()=>{r.delete(t)}})(e),o=()=>t.get(e)??r,a=e=>{const t=C(i,o,o);/* @__PURE__ */
194
194
  return _(t,{...e})};return a.displayName=`Hot(${r.displayName??r.name})`,Object.assign(a,r)})(e,i.component);return r.set(e,o),[e,{...i,component:o}]})),replace:(e,i)=>{const o=t.get(e),a=r.get(e);return!(!o||!a||Wj(o)!==Wj(i)||(t.set(e,i),n.get(e)?.forEach(e=>{e()}),0))}}};Promise.resolve({ });var Gj=e=>Object.values(e?.schema.flat??{}).some(e=>"server"===e.definition.runtime);function Kj(e,t={},n={},r=!1,i=!1,{hotPlugins:o=!1}={}){const a=Object.fromEntries(Object.entries(n).map(([e,t])=>{if("component"in t)return[e,t];const{load:n,css:r,declaration:i,...o}=t;return[e,{...o,component:Uj(e,{load:n,css:r,declaration:i})}]})),s=o?Vj(a):void 0,l=s?.plugins??a,{actionRuns:c,...u}=(e=>{if(e.analytics||e.offlineMode||!e.webKey)return e;const{apiServer:t}=Sj(e.server);return t?{...e,analytics:{endpoint:`${t.replace(/\/+$/,"")}/v1/collect`,key:e.webKey}}:e})(t),d="undefined"!=typeof document?document.getElementById(e):void 0,p=u.debugMode??r;p&&c?.length&&pl(c);let f,g=u.offlineData;const b=({isHydrating:e=!1})=>{const[t,n]=T(u.offlineData);y(()=>(f=n,()=>{f=void 0}),[]);const[r,i]=T(!e);y(()=>i(!0),[]);const o=Object.keys(l).filter(e=>r||!l[e].clientOnly);p||(()=>{if(typeof window>"u")return;let e=()=>{},t=window.__REACT_DEVTOOLS_GLOBAL_HOOK__;"object"==typeof t&&Object.keys(t).forEach(n=>{let r=t[n];t[n]="function"==typeof r?e:null})})();const a=m(e=>{G$=e},[]),s=m(e=>{K$=e},[]);/* @__PURE__ */
195
- return _(Cj,{...u,offlineData:t,debugMode:p,isHydrating:e,onInitStateManager:a,onInitEventBridge:s,children:o.filter(e=>!!l[e].component).map(e=>/* @__PURE__ */_(o$.Plugin,{renderType:e,component:l[e].component,...l[e].props},e))})};if(!d)return;Mu(u.server?.scriptPolicy);const v=i?((e,t)=>{let n;if(h(()=>{n=A(e,t)}),!n)throw new Error("hydrateRoot did not run inside startTransition");return n})(d,/* @__PURE__ */_(b,{isHydrating:!0})):E(d);return i||v.render(/* @__PURE__ */_(b,{})),{unmount:()=>v.unmount(),replacePlugin:(e,t)=>s?.replace(e,t)??!1,replaceSpace:e=>!(!f||!u.offlineMode||Gj(g)||Gj(e)||(g=e,f(e),0))}}var Yj=({debugMode:e=!1,isHydrating:t=!1,children:n,webKey:r="",environment:i="main",renderMode:o=el.renderMode,...a})=>/* @__PURE__ */_(Cj,{...a,isHydrating:t,renderMode:o,debugMode:e,webKey:r,environment:i,children:n});Yj.Plugin=o$.Plugin;var Jj="0.39.9",Xj=()=>G$,Zj=()=>K$;export{Nu as A,Fs as B,gf as C,eu as ComponentContext,xj as ComponentProvider,Sd as D,zd as E,wc as F,ka as G,ws as H,vc as I,Gi as J,Qm as JsxManager,Zo as K,ml as L,Zc as M,$c as N,Fu as O,Ac as P,Pd as PlitziProvider,Wy as PluginManager,tu as PluginRemote,xM as PluginSource,qu as PluginsContext,ul as R,Vy as ReplicaProvider,Ym as RootElement,tw as S,Oj as ShaderError,lp as T,ms as U,Ts as V,gs as W,ut as X,Vi as Y,ct as Z,WM as _,W$ as a,OO as b,M$ as c,Ij as createShaderProgram,x$ as d,Yj as default,TM as elementChildren,v$ as f,XM as g,Zj as getEventBridge,Xj as getStateManager,oP as h,U$ as i,Qc as j,Bu as k,E$ as l,d$ as m,X$ as n,P$ as o,b$ as p,ko as q,V$ as r,Kj as render,N$ as s,Aj as sdkComponents,nj as t,mR as track,w$ as u,$j as useAnimationFrame,zj as useCanvas2d,yN as useChannel,wI as useDisplayMode,va as useElement,kI as useElementSize,EM as useElementVisible,kM as useFlag,wM as useJob,jD as useNotify,Md as usePlitzi,mc as usePluginRoute,AM as usePluginTrigger,Lj as useReducedMotion,gc as useRscData,fc as useRscRefresh,qj as useServerAction,Vs as useStore,Fj as useWebGL,Bj as useWebGL2,qM as v,Jj as version,Ih as w,pp as withElement,aw as x,LM as y,qs as z};
195
+ return _(Cj,{...u,offlineData:t,debugMode:p,isHydrating:e,onInitStateManager:a,onInitEventBridge:s,children:o.filter(e=>!!l[e].component).map(e=>/* @__PURE__ */_(o$.Plugin,{renderType:e,component:l[e].component,...l[e].props},e))})};if(!d)return;Mu(u.server?.scriptPolicy);const v=i?((e,t)=>{let n;if(h(()=>{n=A(e,t)}),!n)throw new Error("hydrateRoot did not run inside startTransition");return n})(d,/* @__PURE__ */_(b,{isHydrating:!0})):E(d);return i||v.render(/* @__PURE__ */_(b,{})),{unmount:()=>v.unmount(),replacePlugin:(e,t)=>s?.replace(e,t)??!1,replaceSpace:e=>!(!f||!u.offlineMode||Gj(g)||Gj(e)||(g=e,f(e),0))}}var Yj=({debugMode:e=!1,isHydrating:t=!1,children:n,webKey:r="",environment:i="main",renderMode:o=el.renderMode,...a})=>/* @__PURE__ */_(Cj,{...a,isHydrating:t,renderMode:o,debugMode:e,webKey:r,environment:i,children:n});Yj.Plugin=o$.Plugin;var Jj="0.39.11",Xj=()=>G$,Zj=()=>K$;export{Nu as A,Fs as B,gf as C,eu as ComponentContext,xj as ComponentProvider,Sd as D,zd as E,wc as F,ka as G,ws as H,vc as I,Gi as J,Qm as JsxManager,Zo as K,ml as L,Zc as M,$c as N,Fu as O,Ac as P,Pd as PlitziProvider,Wy as PluginManager,tu as PluginRemote,xM as PluginSource,qu as PluginsContext,ul as R,Vy as ReplicaProvider,Ym as RootElement,tw as S,Oj as ShaderError,lp as T,ms as U,Ts as V,gs as W,ut as X,Vi as Y,ct as Z,WM as _,W$ as a,OO as b,M$ as c,Ij as createShaderProgram,x$ as d,Yj as default,TM as elementChildren,v$ as f,XM as g,Zj as getEventBridge,Xj as getStateManager,oP as h,U$ as i,Qc as j,Bu as k,E$ as l,d$ as m,X$ as n,P$ as o,b$ as p,ko as q,V$ as r,Kj as render,N$ as s,Aj as sdkComponents,nj as t,mR as track,w$ as u,$j as useAnimationFrame,zj as useCanvas2d,yN as useChannel,wI as useDisplayMode,va as useElement,kI as useElementSize,EM as useElementVisible,kM as useFlag,wM as useJob,jD as useNotify,Md as usePlitzi,mc as usePluginRoute,AM as usePluginTrigger,Lj as useReducedMotion,gc as useRscData,fc as useRscRefresh,qj as useServerAction,Vs as useStore,Fj as useWebGL,Bj as useWebGL2,qM as v,Jj as version,Ih as w,pp as withElement,aw as x,LM as y,qs as z};
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/plitzi-sdk",
3
- "version": "0.39.9",
3
+ "version": "0.39.11",
4
4
  "homepage": "./",
5
5
  "license": "AGPL-3.0",
6
6
  "files": [
@@ -33,17 +33,17 @@
33
33
  "@fortawesome/fontawesome-free": "^7.3.1",
34
34
  "@plitzi/nexus": "^1.5.1",
35
35
  "@plitzi/plitzi-ui": "^1.6.40",
36
- "@plitzi/sdk-auth": "0.39.9",
37
- "@plitzi/sdk-dev-tools": "0.39.9",
38
- "@plitzi/sdk-elements": "0.39.9",
39
- "@plitzi/sdk-event-bridge": "0.39.9",
40
- "@plitzi/sdk-interactions": "0.39.9",
41
- "@plitzi/sdk-navigation": "0.39.9",
42
- "@plitzi/sdk-plugins": "0.39.9",
43
- "@plitzi/sdk-schema": "0.39.9",
44
- "@plitzi/sdk-shared": "0.39.9",
45
- "@plitzi/sdk-style": "0.39.9",
46
- "@plitzi/sdk-variables": "0.39.9",
36
+ "@plitzi/sdk-auth": "0.39.11",
37
+ "@plitzi/sdk-dev-tools": "0.39.11",
38
+ "@plitzi/sdk-elements": "0.39.11",
39
+ "@plitzi/sdk-event-bridge": "0.39.11",
40
+ "@plitzi/sdk-interactions": "0.39.11",
41
+ "@plitzi/sdk-navigation": "0.39.11",
42
+ "@plitzi/sdk-plugins": "0.39.11",
43
+ "@plitzi/sdk-schema": "0.39.11",
44
+ "@plitzi/sdk-shared": "0.39.11",
45
+ "@plitzi/sdk-style": "0.39.11",
46
+ "@plitzi/sdk-variables": "0.39.11",
47
47
  "clsx": "^2.1.1",
48
48
  "react-router-dom": "^7.18.5"
49
49
  },