amotify 0.1.9 → 0.1.10
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-VY3566IV.js";import{Fragment as
|
|
1
|
+
import"../chunk-VY3566IV.js";import{Fragment as d,jsx as e,jsxs as R}from"react/jsx-runtime";import{$$ as r,Config as o}from"./_";import l from"react";import C from"react-dom/client";import*as M from"react-router-dom";import y from"./useRecycle";import A from"../atoms/Box";import E from"../fn/Sheet";import b from"../fn/Snackbar";import k from"../fn/Loader/_";const x=a=>{let t=y.set("RootViewController_"+o.get().sessionUID);return l.createElement("amotify-app",{id:"appRoot_"+o.get().sessionUID},R(d,{children:[e(k.Wrapper,{}),e(b.Wrapper,{}),e(E.Wrapper,{}),e(A,{className:"AMOTIFY_be AMOTIFY_be_root AMOTIFY_be_origin",children:e(M.BrowserRouter,{children:a.children},t)})]}))},c=a=>{let{shadowRoot:t,baseElement:u,reactElement:n,inlineCSS:f,appearances:h}=a,p=r(u);if(!p[0]||!n)return;t&&o.update.appRoot(t);let{roundness:s,themeColor:i,darkMode:m}=h||{};r.is.exist(s)&&o.update.roundness(s),r.is.exist(i)&&o.update.themeColor(i),r.is.exist(m)&&o.update.darkMode(m),C.createRoot(p[0]).render(R(d,{children:[e("style",{children:f}),e(x,{children:n})]}))};export{c as LaunchReactApp,l as React,c as default};
|
package/dist/style.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amotify",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "UI FW for React",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rimraf dist",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"@types/react": "^18.3.1",
|
|
38
38
|
"@types/react-dom": "^18.3.0",
|
|
39
39
|
"esbuild": "^0.20.2",
|
|
40
|
-
"esbuild-plugin-alias-path": "^2.0.2",
|
|
41
40
|
"esbuild-sass-plugin": "^3.2.0",
|
|
42
41
|
"nodemon": "^3.1.0",
|
|
43
42
|
"npm-run-all": "^4.1.5",
|
|
@@ -100,4 +99,4 @@
|
|
|
100
99
|
]
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
|
-
}
|
|
102
|
+
}
|