amotify 0.1.27 → 0.1.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/@declaration/module.d.ts +4 -1
- package/dist/@styles/componentClasses/_.css +1 -1
- package/dist/@styles/index.css +1 -1
- package/dist/@styles/init.css +1 -1
- package/dist/@styles/style.css +1 -1
- package/dist/@styles/var.css +1 -1
- package/dist/@utils/LaunchReactApp.d.ts +1 -0
- package/dist/@utils/LaunchReactApp.js +1 -1
- package/dist/@utils/fin.js +1 -1
- package/package.json +1 -1
package/dist/@styles/index.css
CHANGED
package/dist/@styles/init.css
CHANGED
package/dist/@styles/style.css
CHANGED
package/dist/@styles/var.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-VY3566IV.js";import{Fragment as
|
|
1
|
+
import"../chunk-VY3566IV.js";import{Fragment as R,jsx as e,jsxs as f}from"react/jsx-runtime";import{$$ as a,Config as o}from"./_";import l from"react";import M from"react-dom/client";import*as y from"react-router-dom";import A from"./useRecycle";import E from"../atoms/Box";import b from"../fn/Sheet";import k from"../fn/Snackbar";import x from"../fn/Loader/_";import d from"../fn/Effect/_";const I=t=>{let r=A.set("RootViewController_"+o.get().sessionUID);return l.createElement("amotify-app",{id:"appRoot_"+o.get().sessionUID},f(R,{children:[e(d.Pudding.Wrapper,{}),e(d.Ripple.Wrapper,{}),e(x.Wrapper,{}),e(k.Wrapper,{}),e(b.Wrapper,{}),e(E,{className:`AMOTIFY_be AMOTIFY_be_root ${t.originClassName}`,children:e(y.BrowserRouter,{children:t.children},r)})]}))},c=t=>{let{shadowRoot:r,baseElement:u,reactElement:n,inlineCSS:h,originClassName:C="AMOTIFY_be_origin",appearances:g}=t,s=a(u);if(!s[0]||!n)return;r&&o.update.appRoot(r);let{roundness:i,themeColor:p,darkMode:m}=g||{};a.is.exist(i)&&o.update.roundness(i),a.is.exist(p)&&o.update.themeColor(p),a.is.exist(m)&&o.update.darkMode(m),M.createRoot(s[0]).render(f(R,{children:[e("style",{children:h}),e(I,{originClassName:C,children:n})]}))};export{c as LaunchReactApp,l as React,c as default};
|
package/dist/@utils/fin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$$ as o,Config as i,SetThemeColorTag as l}from"./_";o(document.body).addClass(["
|
|
1
|
+
import{$$ as o,Config as i,SetThemeColorTag as l}from"./_";o(document.body).addClass(["usrDevice_"+i.get().deviceIs,"bdsDM_"+i.get().darkMode,"bdsTC_"+i.get().themeColor]),o(window).addEvent({eventType:"load",callback:()=>{let e=document.body.style,t=o(document.body),r=Number(t.getStyleProperty("--topNavHeight").removeLetters()||0),n=Number(t.getStyleProperty("--footerNavHeight").removeLetters()||0),d=window.innerHeight-r-n;e.setProperty("--viewHeight",window.innerHeight+"px"),e.setProperty("--contentHeight",d+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{i.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let e=o(document.body),t=window.innerHeight,r=Number(e.getStyleProperty("--topNavHeight").removeLetters()),n=Number(e.getStyleProperty("--footerNavHeight").removeLetters()),g=t-r-n;e.setStyleProperty("--viewHeight",t+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px")}}),l();
|