mtxuilib 0.0.355 → 0.0.357

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
- "use client";var t=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var p=(n,e)=>{var r={};for(var o in n)i.call(n,o)&&e.indexOf(o)<0&&(r[o]=n[o]);if(n!=null&&t)for(var o of t(n))e.indexOf(o)<0&&M.call(n,o)&&(r[o]=n[o]);return r};import{jsx as m}from"react/jsx-runtime";import{MtLink as d}from"../../common/mtlink";import{DropdownMenuItem as f}from"../dropdown-menu";const k=n=>{const o=n,{href:e}=o,r=p(o,["href"]);return m(d,{href:e,children:m(f,{children:"Edit"})})};export{k as DropdownMenuItemLink};
1
+ "use client";var u=Object.defineProperty;var t=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var p=(o,e,n)=>e in o?u(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,M=(o,e)=>{for(var n in e||(e={}))m.call(e,n)&&p(o,n,e[n]);if(t)for(var n of t(e))i.call(e,n)&&p(o,n,e[n]);return o};var f=(o,e)=>{var n={};for(var r in o)m.call(o,r)&&e.indexOf(r)<0&&(n[r]=o[r]);if(o!=null&&t)for(var r of t(o))e.indexOf(r)<0&&i.call(o,r)&&(n[r]=o[r]);return n};import{jsx as s}from"react/jsx-runtime";import{MtLink as d}from"../../common/mtlink";import{DropdownMenuItem as w}from"../dropdown-menu";const c=o=>{const r=o,{href:e}=r,n=f(r,["href"]);return s(d,{href:e,children:s(w,M({},n))})};export{c as DropdownMenuItemLink};
@@ -0,0 +1,3 @@
1
+ import { PropsWithChildren } from "react";
2
+ export declare const FullScreenPanel: (props: {} & PropsWithChildren) => import("react").JSX.Element;
3
+ export declare const FullScreenPanelContent: (props: {} & PropsWithChildren) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ import{jsx as o}from"react/jsx-runtime";import{useRef as t}from"react";import{useScroll as n}from"react-use";const a=l=>{const{children:e}=l,r=t(null),{x:i,y:s}=n(r);return o("div",{ref:r,className:" fixed left-0 top-0 z-30 mx-auto max-h-full min-h-full w-full overflow-auto ",children:o("div",{className:"relative mx-auto",children:e})})},d=l=>{const{children:e}=l;return o("div",{className:"flex h-full flex-col p-2",children:e})};export{a as FullScreenPanel,d as FullScreenPanelContent};