mtxuilib 0.0.490 → 0.0.492
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/esm/demos/demo-react-use.d.ts +2 -0
- package/dist/esm/demos/demo-react-use.js +1 -0
- package/dist/esm/demos/lz/by-name.d.ts +3 -0
- package/dist/esm/demos/lz/by-name.js +1 -0
- package/dist/esm/lz-components.js +1 -0
- package/dist/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/esm/dynComponents.js +0 -1
- /package/dist/esm/{dynComponents.d.ts → lz-components.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";var l=(r,u,t)=>new Promise((c,o)=>{var f=e=>{try{s(t.next(e))}catch(a){o(a)}},p=e=>{try{s(t.throw(e))}catch(a){o(a)}},s=e=>e.done?c(e.value):Promise.resolve(e.value).then(f,p);s((t=t.apply(r,u)).next())});import{jsx as i}from"react/jsx-runtime";import{use as m,useMemo as y}from"react";let n=null;const d=()=>l(void 0,null,function*(){return n||(n=yield fetch("https://reqres.in/api/users/1?delay=1").then(r=>r.json()),n)});function g(){const r=y(()=>m(d()),[]);return i("div",{className:" max-h24 overflow-scroll bg-red-200 p-2",children:i("pre",{children:JSON.stringify(r,null,2)})})}export{g as DemoReactUse};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{jsx as e,jsxs as t}from"react/jsx-runtime";import i from"next/dynamic";const d="../bigcode/BigCode",m=i(()=>import(d).then(o=>o.BigCode),{ssr:!0}),n=()=>t("div",{children:[e("h1",{children:"LzBigCodeByName"}),e(m,{})]});export{n as DemoLzByName,m as LzBigCodeByName};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import o from"next/dynamic";const i=o(()=>import("./demos/bigcode/BigCode").then(e=>e.BigCode),{ssr:!0});export{i as LzBigCode};
|