mtxuilib 0.0.554 → 0.0.556
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/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{jsx as a,jsxs as e}from"react/jsx-runtime";import{EnvelopeClosedIcon as n,FaceIcon as r,GearIcon as l,PersonIcon as d}from"@radix-ui/react-icons";import{CalendarIcon as i,ChevronsUpDown as c}from"lucide-react";import{Avatar as p,AvatarFallback as C,AvatarImage as v}from"../ui/avatar";import{Collapsible as h,CollapsibleContent as N,CollapsibleTrigger as u}from"../ui/collapsible";import{Command as f,CommandEmpty as g,CommandGroup as o,CommandInput as x,CommandItem as m,CommandList as b,CommandSeparator as y,CommandShortcut as s}from"../ui/command";import{HoverCard as I,HoverCardContent as w,HoverCardTrigger as S}from"../ui/hover-card";import{MtButton as t}from"../ui/ui-mt/Button";const F=()=>a("div",{className:"",children:e(f,{className:"",children:[a(x,{placeholder:"Type a command or search...",className:"bg-red-100 p-1"}),e(b,{className:"flex h-full max-h-full flex-col rounded-lg",children:[a(g,{children:"No results found."}),a(o,{heading:"\u6A21\u5757",children:e(m,{children:[a(r,{className:"mr-2 h-4 w-4"}),a("span",{children:"Search Emoji"})]})}),a(y,{}),a("div",{children:e(o,{heading:"Settings",className:" justify-end ",children:[e(m,{children:[a(d,{className:"mr-2 h-4 w-4"}),a("span",{children:"Profile"}),a(s,{children:"\u2318P"})]}),e(m,{children:[a(n,{className:"mr-2 h-4 w-4"}),a("span",{children:"Mail"}),a(s,{children:"\u2318B"})]}),a(m,{children:e(h,{className:"w-full space-y-2",children:[e("div",{className:"flex items-center justify-between space-x-4 ",children:[a("h4",{className:"text-sm font-semibold",children:"\u5206\u7C7B1"}),a(u,{asChild:!0,children:e(t,{variant:"ghost",size:"sm",className:"w-9 p-0",children:[a(c,{className:"h-4 w-4"}),a("span",{className:"sr-only",children:"Toggle"})]})})]}),e(N,{className:"space-y-2",children:[a("div",{className:"rounded-md border px-4 py-3 font-mono text-sm",children:"@radix-ui/colors"}),a("div",{className:"rounded-md border px-4 py-3 font-mono text-sm",children:"@stitches/react"})]})]})}),e(m,{children:[a(l,{className:"mr-2 h-4 w-4"}),e(I,{children:[a(S,{asChild:!0,children:a(t,{variant:"link",children:"\u4E2D\u6587nextjs"})}),a(w,{className:"w-80",children:e("div",{className:"flex justify-between space-x-4",children:[e(p,{children:[a(v,{src:"https://github.com/vercel.png"}),a(C,{children:"VC"})]}),e("div",{className:"space-y-1",children:[a("h4",{className:"text-sm font-semibold",children:"@nextjs"}),a("p",{className:"text-sm",children:"The React Framework \u2013 created and maintained by @vercel."}),e("div",{className:"flex items-center pt-2",children:[a(i,{className:"mr-2 h-4 w-4 opacity-70"})," ",a("span",{className:"text-muted-foreground text-xs",children:"Joined December 2021"})]})]})]})})]}),a(s,{children:"\u2318S"})]})]})})]})]})});export{F as SideNavs};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{Fragment as C,jsx as o,jsxs as e}from"react/jsx-runtime";import{EditIcon as t}from"lucide-react";import{Suspense as a,useState as r}from"react";import{CommandDialog as s,CommandEmpty as d,CommandInput as p,CommandList as i,CommandSeparator as c}from"../ui/command";import{cn as l}from"../lib/utils";import{MtButton as u}from"../ui/ui-mt/Button";function f(){return o(C,{children:e(s,{children:[o(p,{placeholder:"Type a command or search..."}),e(i,{children:[o(d,{children:"No results found."}),o(c,{})]})]})})}const E=()=>{const[n,m]=r(!1);return e("div",{className:"fixed bottom-20 right-3",children:[o(u,{onClick:()=>{m(!0)},variant:"secondary",className:l("flex overflow-hidden rounded-full text-center shadow-md"),children:o(t,{className:"size-4"})}),n&&e(a,{children:[" ",o(f,{})]})]})};export{f as UserCommands,E as UserFab};
|