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,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.9
3
+ * amotify 0.1.10
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
@@ -1 +1 @@
1
- import"../chunk-VY3566IV.js";import{Fragment as u,jsx as e,jsxs as f}from"react/jsx-runtime";import{$$ as r,Config as o}from"./_";import d,{useEffect as C}from"react";import y from"react-dom/client";import*as b from"react-router-dom";import M from"./useRecycle";import A from"../atoms/Box";import n from"../fn/Sheet";import E from"../fn/Snackbar";import S from"../fn/Loader/_";const k=()=>(C(()=>{setTimeout(()=>{console.log("launched"),console.log(o.get()),n.open({type:"normal.middleCenter",content:e(n.Comps.Body,{children:e("div",{children:"dsvafsbgsdfgbdsgbdgb"})})})},1e3)},[]),null),x=a=>{let t=M.set("RootViewController_"+o.get().sessionUID);return d.createElement("amotify-app",{id:"appRoot_"+o.get().sessionUID},f(u,{children:[e(S.Wrapper,{}),e(E.Wrapper,{}),e(n.Wrapper,{}),e(k,{}),e(A,{className:"AMOTIFY_be AMOTIFY_be_root AMOTIFY_be_origin",children:e(b.BrowserRouter,{children:a.children},t)})]}))},c=a=>{let{shadowRoot:t,baseElement:R,reactElement:s,inlineCSS:h,appearances:g}=a,p=r(R);if(!p[0]||!s)return;t&&o.update.appRoot(t);let{roundness:m,themeColor:i,darkMode:l}=g||{};r.is.exist(m)&&o.update.roundness(m),r.is.exist(i)&&o.update.themeColor(i),r.is.exist(l)&&o.update.darkMode(l),y.createRoot(p[0]).render(f(u,{children:[e("style",{children:h}),e(x,{children:s})]}))};export{c as LaunchReactApp,d as React,c as default};
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
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.9
3
+ * amotify 0.1.10
4
4
  * https://mingoo.co.jp/
5
5
 
6
6
  * Copyright (c) mingoo, LLC.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.1.9",
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
+ }