mtxuilib 0.0.514 → 0.0.516
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/suspense-ssr/ExamplePage.js +1 -1
- package/dist/esm/store/MtAppProvider.js +1 -1
- package/dist/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/esm/demos/suspense-ssr/ReactQueryError.d.ts +0 -4
- package/dist/esm/demos/suspense-ssr/ReactQueryError.js +0 -1
- package/dist/esm/demos/suspense-ssr/examples.d.ts +0 -6
- package/dist/esm/demos/suspense-ssr/examples.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{Fragment as
|
|
1
|
+
"use client";import{Fragment as d,jsx as r,jsxs as e}from"react/jsx-runtime";import s from"next/dynamic";import{Card as n,CardContent as a,CardTitle as i}from"../../ui/card";import{QueryErrorResetBoundary as C}from"@tanstack/react-query";import{ErrorBoundary as c}from"react-error-boundary";import{MtButton as u}from"../../ui/ui-mt/Button";const y=s(()=>import("./ExampleLazyComponent").then(t=>t.ExampleLazyComponent),{}),R=()=>e(d,{children:[r("h3",{children:"with AutoSuspense"}),e(n,{children:[r(i,{children:"lazy example"}),r(a,{})]}),e(n,{children:[r(i,{children:"lazy example"}),r(a,{children:r(y,{})})]}),r(n,{children:r(a,{})})]});function z(t){const{children:m}=t;return r(d,{children:r(C,{children:({reset:p})=>r(c,{onReset:p,fallbackRender:({resetErrorBoundary:l,error:o})=>e("div",{className:"green-red-100 prose dark:prose-invert container m-1 mx-auto border p-1 text-lg",children:[e("div",{className:"flex gap-2",children:[r("h1",{className:"pb-1 text-center",children:" error"}),r(u,{onClick:()=>l(),variant:"ghost",children:"Retry"})]}),r("pre",{children:o==null?void 0:o.toString()}),r("div",{className:"flex items-center justify-center p-1"})]}),children:m})})})}export{R as ExamplePage,z as RqErrorBoundary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as i}from"react/jsx-runtime";import{
|
|
1
|
+
"use client";import{Fragment as t,jsx as i}from"react/jsx-runtime";import{atom as n}from"jotai";const l=n([]),c=n(null);function p(e){const{children:r,initExtKv:o}=e;return i(t,{children:r})}export{p as MtAppProvider,c as editParamAtom,l as userAdvanceMenusAtom};
|