@nqlib/nqui 0.6.0 → 0.6.1
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/{command-palette-DhoWGyk_.js → command-palette-CHUiGh5m.js} +2 -2
- package/dist/{command-palette-D24rOeE6.cjs → command-palette-DsvP2QNP.cjs} +2 -2
- package/dist/command.cjs.js +1 -1
- package/dist/command.es.js +1 -1
- package/dist/components/custom/table-of-contents.d.ts +2 -2
- package/dist/components/custom/table-of-contents.d.ts.map +1 -1
- package/dist/components/ui/combobox.d.ts +5 -3
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/{debug-panel-BjfW-YVo.js → debug-panel-BcYzsTp2.js} +1 -1
- package/dist/{debug-panel-CpqsKuxd.cjs → debug-panel-mwtujy5J.cjs} +1 -1
- package/dist/debug.cjs.js +1 -1
- package/dist/debug.es.js +1 -1
- package/dist/{input-shared-CDgy_NdJ.cjs → input-shared-C9Try5fg.cjs} +1 -1
- package/dist/{input-shared-NnOiyHpu.js → input-shared-DXf3Edqt.js} +1 -1
- package/dist/lib/floating-surface.d.ts +6 -2
- package/dist/lib/floating-surface.d.ts.map +1 -1
- package/dist/nqui.cjs.js +10 -10
- package/dist/nqui.es.js +17 -16
- package/dist/styles.css +9 -9
- package/docs/components/README.md +2 -0
- package/docs/components/nqui-combobox.md +15 -2
- package/docs/components/nqui-command-palette.md +7 -0
- package/docs/components/nqui-command.md +41 -0
- package/docs/nqui-skills/ELEVATION.md +33 -6
- package/docs/nqui-skills/RECIPES.md +85 -0
- package/docs/nqui-skills/_claude-commands/README.md +50 -0
- package/docs/nqui-skills/_claude-commands/design/SKILL.md +111 -0
- package/docs/nqui-skills/_claude-commands/edit/SKILL.md +97 -0
- package/docs/nqui-skills/nqui-components/SKILL.md +1 -0
- package/package.json +1 -1
- package/scripts/build-styles.js +4 -3
- package/scripts/install-claude-skills.js +46 -7
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as p, Fragment as z } from "react/jsx-runtime";
|
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import { Command as h } from "cmdk";
|
|
4
4
|
import { c as l } from "./utils-B6yFEsav.js";
|
|
5
|
-
import { c as X, a as ee, u as te, b as k, d as w, P as D, e as x, f as R, g as oe, h as ae, R as ne, i as re, F as se, D as ie, j as le, k as de, l as ce, m as ue } from "./input-shared-
|
|
5
|
+
import { c as X, a as ee, u as te, b as k, d as w, P as D, e as x, f as R, g as oe, h as ae, R as ne, i as re, F as se, D as ie, j as le, k as de, l as ce, m as ue } from "./input-shared-DXf3Edqt.js";
|
|
6
6
|
import { B as _ } from "./button-S6w9SzkF.js";
|
|
7
7
|
import { HugeiconsIcon as I } from "@hugeicons/react";
|
|
8
8
|
import { Cancel01Icon as pe, SearchIcon as ge, Tick02Icon as fe } from "@hugeicons/core-free-icons";
|
|
@@ -631,7 +631,7 @@ function xt({
|
|
|
631
631
|
"span",
|
|
632
632
|
{
|
|
633
633
|
"data-slot": "command-shortcut",
|
|
634
|
-
className: l("text-muted-foreground group-
|
|
634
|
+
className: l("text-muted-foreground group-aria-selected/command-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", e),
|
|
635
635
|
...t
|
|
636
636
|
}
|
|
637
637
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),me=require("react"),x=require("cmdk"),c=require("./utils-IjLH3w2e.cjs"),i=require("./input-shared-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),me=require("react"),x=require("cmdk"),c=require("./utils-IjLH3w2e.cjs"),i=require("./input-shared-C9Try5fg.cjs"),I=require("./button-DGv8EsM0.cjs"),N=require("@hugeicons/react"),k=require("@hugeicons/core-free-icons"),fe=require("@radix-ui/react-slot"),O=require("class-variance-authority"),j=require("./keyboard-BapbM2wb.cjs");function xe(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=xe(me);var D="Dialog",[T,he]=i.createContextScope(D),[ve,p]=T(D),S=e=>{const{__scopeDialog:t,children:n,open:a,defaultOpen:s,onOpenChange:r,modal:u=!0}=e,d=l.useRef(null),m=l.useRef(null),[h,g]=i.useControllableState({prop:a,defaultProp:s??!1,onChange:r,caller:D});return o.jsx(ve,{scope:t,triggerRef:d,contentRef:m,contentId:i.useId(),titleId:i.useId(),descriptionId:i.useId(),open:h,onOpenChange:g,onOpenToggle:l.useCallback(()=>g(v=>!v),[g]),modal:u,children:n})};S.displayName=D;var A="DialogTrigger",G=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(A,n),r=i.useComposedRefs(t,s.triggerRef);return o.jsx(i.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":_(s.open),...a,ref:r,onClick:i.composeEventHandlers(e.onClick,s.onOpenToggle)})});G.displayName=A;var w="DialogPortal",[be,z]=T(w,{forceMount:void 0}),M=e=>{const{__scopeDialog:t,forceMount:n,children:a,container:s}=e,r=p(w,t);return o.jsx(be,{scope:t,forceMount:n,children:l.Children.map(a,u=>o.jsx(i.Presence,{present:n||r.open,children:o.jsx(i.Portal,{asChild:!0,container:s,children:u})}))})};M.displayName=w;var C="DialogOverlay",F=l.forwardRef((e,t)=>{const n=z(C,e.__scopeDialog),{forceMount:a=n.forceMount,...s}=e,r=p(C,e.__scopeDialog);return r.modal?o.jsx(i.Presence,{present:a||r.open,children:o.jsx(De,{...s,ref:t})}):null});F.displayName=C;var Ce=fe.createSlot("DialogOverlay.RemoveScroll"),De=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(C,n);return o.jsx(i.ReactRemoveScroll,{as:Ce,allowPinchZoom:!0,shards:[s.contentRef],children:o.jsx(i.Primitive.div,{"data-state":_(s.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),f="DialogContent",W=l.forwardRef((e,t)=>{const n=z(f,e.__scopeDialog),{forceMount:a=n.forceMount,...s}=e,r=p(f,e.__scopeDialog);return o.jsx(i.Presence,{present:a||r.open,children:r.modal?o.jsx(ye,{...s,ref:t}):o.jsx(je,{...s,ref:t})})});W.displayName=f;var ye=l.forwardRef((e,t)=>{const n=p(f,e.__scopeDialog),a=l.useRef(null),s=i.useComposedRefs(t,n.contentRef,a);return l.useEffect(()=>{const r=a.current;if(r)return i.hideOthers(r)},[]),o.jsx(L,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i.composeEventHandlers(e.onCloseAutoFocus,r=>{r.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:i.composeEventHandlers(e.onPointerDownOutside,r=>{const u=r.detail.originalEvent,d=u.button===0&&u.ctrlKey===!0;(u.button===2||d)&&r.preventDefault()}),onFocusOutside:i.composeEventHandlers(e.onFocusOutside,r=>r.preventDefault())})}),je=l.forwardRef((e,t)=>{const n=p(f,e.__scopeDialog),a=l.useRef(!1),s=l.useRef(!1);return o.jsx(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(a.current||n.triggerRef.current?.focus(),r.preventDefault()),a.current=!1,s.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(a.current=!0,r.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const u=r.target;n.triggerRef.current?.contains(u)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&s.current&&r.preventDefault()}})}),L=l.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:r,...u}=e,d=p(f,n),m=l.useRef(null),h=i.useComposedRefs(t,m);return i.useFocusGuards(),o.jsxs(o.Fragment,{children:[o.jsx(i.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:s,onUnmountAutoFocus:r,children:o.jsx(i.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":_(d.open),...u,ref:h,onDismiss:()=>d.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(Ne,{titleId:d.titleId}),o.jsx(we,{contentRef:m,descriptionId:d.descriptionId})]})]})}),R="DialogTitle",$=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(R,n);return o.jsx(i.Primitive.h2,{id:s.titleId,...a,ref:t})});$.displayName=R;var q="DialogDescription",H=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(q,n);return o.jsx(i.Primitive.p,{id:s.descriptionId,...a,ref:t})});H.displayName=q;var B="DialogClose",V=l.forwardRef((e,t)=>{const{__scopeDialog:n,...a}=e,s=p(B,n);return o.jsx(i.Primitive.button,{type:"button",...a,ref:t,onClick:i.composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});V.displayName=B;function _(e){return e?"open":"closed"}var K="DialogTitleWarning",[Ie,U]=i.createContext2(K,{contentName:f,titleName:R,docsSlug:"dialog"}),Ne=({titleId:e})=>{const t=U(K),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
3
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4
4
|
|
|
5
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ke="DialogDescriptionWarning",we=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${U(ke).contentName}}.`;return l.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},Y=S,Z=G,J=M,Q=F,X=W,ee=$,te=H,y=V;function oe({...e}){return o.jsx(Y,{"data-slot":"dialog",...e})}function Re({...e}){return o.jsx(Z,{"data-slot":"dialog-trigger",...e})}function ne({...e}){return o.jsx(J,{"data-slot":"dialog-portal",...e})}function _e({...e}){return o.jsx(y,{"data-slot":"dialog-close",...e})}function ae({className:e,...t}){return o.jsx(Q,{"data-slot":"dialog-overlay",className:c.cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-[var(--z-modal-backdrop)]",e),...t})}function re({className:e,children:t,showCloseButton:n=!0,...a}){return o.jsxs(ne,{children:[o.jsx(ae,{}),o.jsxs(X,{"data-slot":"dialog-content",className:c.cn("bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-xs ring-1 duration-100 sm:max-w-sm fixed top-1/2 left-1/2 z-[var(--z-modal)] w-full -translate-x-1/2 -translate-y-1/2",e),...a,children:[t,n&&o.jsx(y,{"data-slot":"dialog-close",asChild:!0,children:o.jsxs(I.Button,{variant:"ghost",className:"absolute top-2 right-2",size:"icon",children:[o.jsx(N.HugeiconsIcon,{icon:k.Cancel01Icon,strokeWidth:2}),o.jsx("span",{className:"sr-only",children:"Close"})]})})]})]})}function se({className:e,...t}){return o.jsx("div",{"data-slot":"dialog-header",className:c.cn("gap-1 flex flex-col",e),...t})}function Pe({className:e,showCloseButton:t=!1,children:n,...a}){return o.jsxs("div",{"data-slot":"dialog-footer",className:c.cn("gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...a,children:[n,t&&o.jsx(y,{asChild:!0,children:o.jsx(I.Button,{variant:"outline",children:"Close"})})]})}function ie({className:e,...t}){return o.jsx(ee,{"data-slot":"dialog-title",className:c.cn("text-sm font-medium",e),...t})}function le({className:e,...t}){return o.jsx(te,{"data-slot":"dialog-description",className:c.cn("text-muted-foreground *:[a]:hover:text-foreground text-xs *:[a]:underline *:[a]:underline-offset-3",e),...t})}function ce({className:e,...t}){return o.jsx("div",{"data-slot":"input-group",role:"group",className:c.cn("group/input-group relative flex items-center outline-none",i.inputFieldShellBase,i.inputFieldSingleRowHeight,"has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:min-h-0 has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:min-h-0 has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 has-[>textarea]:h-auto","has-[[data-slot=input-group-control]:focus-visible]:outline-none has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 has-[[data-slot=input-group-control]:focus-visible]:ring-offset-background","has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-2 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:ring-offset-2 has-[[data-slot][aria-invalid=true]]:ring-offset-background dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40","has-[input:disabled]:opacity-50 has-[textarea:disabled]:opacity-50","in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0",e),...t})}const Ee=O.cva("text-muted-foreground gap-2 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"self-stretch py-0 pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"self-stretch py-0 pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function de({className:e,align:t="inline-start",...n}){return o.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":t,className:c.cn(Ee({align:t}),e),onClick:a=>{a.target.closest("button")||a.currentTarget.parentElement?.querySelector("input")?.focus()},...n})}const Oe=O.cva("gap-2 text-sm flex items-center shadow-none",{variants:{size:{xs:"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"","icon-xs":"size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}});function Te({className:e,type:t="button",variant:n="ghost",size:a="xs",...s}){return o.jsx(I.Button,{type:t,"data-size":a,variant:n,className:c.cn(Oe({size:a}),e),...s})}function Se({className:e,...t}){return o.jsx("span",{className:c.cn("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...t})}function Ae({className:e,type:t,...n}){return o.jsx("input",{type:t,"data-slot":"input-group-control",className:c.cn("flex h-7 w-full rounded-none border-0 bg-transparent px-3 py-1.5 text-sm shadow-none ring-0 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent dark:placeholder:text-muted-foreground/70 flex-1",t==="number"&&"tabular-nums [-moz-appearance:textfield] [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none",e),...n})}function Ge({className:e,...t}){return o.jsx("textarea",{"data-slot":"input-group-control",className:c.cn("flex h-auto w-full min-h-[2.5rem] rounded-none resize-none border-0 bg-transparent px-3 py-1.5 text-sm shadow-none ring-0 outline-none placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent dark:placeholder:text-muted-foreground/70",e),...t})}function ue({className:e,...t}){return o.jsx(x.Command,{"data-slot":"command",className:c.cn(i.floatingSurface,"p-1 flex size-full flex-col overflow-hidden",e),...t})}function pe({title:e="Command Palette",description:t="Search for a command to run...",children:n,className:a,showCloseButton:s=!1,...r}){return o.jsxs(oe,{...r,children:[o.jsxs(se,{className:"sr-only",children:[o.jsx(ie,{children:e}),o.jsx(le,{children:t})]}),o.jsx(re,{className:c.cn("border-0 bg-transparent p-0 shadow-none ring-0 rounded-lg! overflow-hidden",a),showCloseButton:s,children:n})]})}function ze({className:e,...t}){return o.jsx("div",{"data-slot":"command-input-wrapper",className:"p-1 pb-0",children:o.jsxs(ce,{className:"bg-input/20 dark:bg-input/30",children:[o.jsx(x.Command.Input,{"data-slot":"command-input",className:c.cn("w-full text-xs outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t}),o.jsx(de,{children:o.jsx(N.HugeiconsIcon,{icon:k.SearchIcon,strokeWidth:2,className:"size-3.5 shrink-0 opacity-50"})})]})})}const ge=l.forwardRef(({className:e,...t},n)=>o.jsx(x.Command.List,{ref:n,"data-slot":"command-list",className:c.cn("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",e),...t}));ge.displayName="CommandList";function Me({className:e,...t}){return o.jsx(x.Command.Empty,{"data-slot":"command-empty",className:c.cn("py-6 text-center text-xs",e),...t})}function Fe({className:e,...t}){return o.jsx(x.Command.Group,{"data-slot":"command-group",className:c.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function We({className:e,...t}){return o.jsx(x.Command.Separator,{"data-slot":"command-separator",className:c.cn("bg-border/50 -mx-1 my-1 h-px",e),...t})}function Le({className:e,children:t,...n}){return o.jsxs(x.Command.Item,{"data-slot":"command-item",className:c.cn(i.floatingListItemInteractive,"relative flex min-h-7 cursor-default items-center gap-2 px-2.5 py-1.5 text-xs select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[t,o.jsx(N.HugeiconsIcon,{icon:k.Tick02Icon,strokeWidth:2,className:"ml-auto opacity-0 group-has-[[data-slot=command-shortcut]]/command-item:hidden group-data-[checked=true]/command-item:opacity-100"})]})}function $e({className:e,...t}){return o.jsx("span",{"data-slot":"command-shortcut",className:c.cn("text-muted-foreground group-data-selected/command-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest",e),...t})}function qe({title:e="Command Palette",description:t="Search for a command to run...",shortcutEnabled:n=!0,open:a,onOpenChange:s,children:r,...u}){const[d,m]=l.useState(!1),h=a!==void 0,g=h?a:d,v=h?s:m,P=l.useRef(g);return l.useEffect(()=>{P.current=g},[g]),l.useEffect(()=>{if(!n)return;const E=b=>{j.shouldIgnoreKeyboardShortcut(b.target)||b.key===j.SHORTCUT_KEYS.commandPalette&&j.isMod(b)&&(b.preventDefault(),v?.(!P.current))};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[n,v]),o.jsx(pe,{...u,title:e,description:t,open:g,onOpenChange:v,children:o.jsx(ue,{children:r})})}exports.Close=y;exports.Command=ue;exports.CommandDialog=pe;exports.CommandEmpty=Me;exports.CommandGroup=Fe;exports.CommandInput=ze;exports.CommandItem=Le;exports.CommandList=ge;exports.CommandPalette=qe;exports.CommandSeparator=We;exports.CommandShortcut=$e;exports.Content=X;exports.Description=te;exports.Dialog=oe;exports.DialogClose=_e;exports.DialogContent=re;exports.DialogDescription=le;exports.DialogFooter=Pe;exports.DialogHeader=se;exports.DialogOverlay=ae;exports.DialogPortal=ne;exports.DialogTitle=ie;exports.DialogTrigger=Re;exports.InputGroup=ce;exports.InputGroupAddon=de;exports.InputGroupButton=Te;exports.InputGroupInput=Ae;exports.InputGroupText=Se;exports.InputGroupTextarea=Ge;exports.Overlay=Q;exports.Portal=J;exports.Root=Y;exports.Title=ee;exports.Trigger=Z;exports.WarningProvider=Ie;exports.createDialogScope=he;
|
|
5
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ke="DialogDescriptionWarning",we=({contentRef:e,descriptionId:t})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${U(ke).contentName}}.`;return l.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},Y=S,Z=G,J=M,Q=F,X=W,ee=$,te=H,y=V;function oe({...e}){return o.jsx(Y,{"data-slot":"dialog",...e})}function Re({...e}){return o.jsx(Z,{"data-slot":"dialog-trigger",...e})}function ne({...e}){return o.jsx(J,{"data-slot":"dialog-portal",...e})}function _e({...e}){return o.jsx(y,{"data-slot":"dialog-close",...e})}function ae({className:e,...t}){return o.jsx(Q,{"data-slot":"dialog-overlay",className:c.cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-[var(--z-modal-backdrop)]",e),...t})}function re({className:e,children:t,showCloseButton:n=!0,...a}){return o.jsxs(ne,{children:[o.jsx(ae,{}),o.jsxs(X,{"data-slot":"dialog-content",className:c.cn("bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-xs ring-1 duration-100 sm:max-w-sm fixed top-1/2 left-1/2 z-[var(--z-modal)] w-full -translate-x-1/2 -translate-y-1/2",e),...a,children:[t,n&&o.jsx(y,{"data-slot":"dialog-close",asChild:!0,children:o.jsxs(I.Button,{variant:"ghost",className:"absolute top-2 right-2",size:"icon",children:[o.jsx(N.HugeiconsIcon,{icon:k.Cancel01Icon,strokeWidth:2}),o.jsx("span",{className:"sr-only",children:"Close"})]})})]})]})}function se({className:e,...t}){return o.jsx("div",{"data-slot":"dialog-header",className:c.cn("gap-1 flex flex-col",e),...t})}function Pe({className:e,showCloseButton:t=!1,children:n,...a}){return o.jsxs("div",{"data-slot":"dialog-footer",className:c.cn("gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...a,children:[n,t&&o.jsx(y,{asChild:!0,children:o.jsx(I.Button,{variant:"outline",children:"Close"})})]})}function ie({className:e,...t}){return o.jsx(ee,{"data-slot":"dialog-title",className:c.cn("text-sm font-medium",e),...t})}function le({className:e,...t}){return o.jsx(te,{"data-slot":"dialog-description",className:c.cn("text-muted-foreground *:[a]:hover:text-foreground text-xs *:[a]:underline *:[a]:underline-offset-3",e),...t})}function ce({className:e,...t}){return o.jsx("div",{"data-slot":"input-group",role:"group",className:c.cn("group/input-group relative flex items-center outline-none",i.inputFieldShellBase,i.inputFieldSingleRowHeight,"has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:min-h-0 has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:min-h-0 has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 has-[>textarea]:h-auto","has-[[data-slot=input-group-control]:focus-visible]:outline-none has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 has-[[data-slot=input-group-control]:focus-visible]:ring-offset-background","has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-2 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:ring-offset-2 has-[[data-slot][aria-invalid=true]]:ring-offset-background dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40","has-[input:disabled]:opacity-50 has-[textarea:disabled]:opacity-50","in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0",e),...t})}const Ee=O.cva("text-muted-foreground gap-2 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"self-stretch py-0 pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"self-stretch py-0 pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function de({className:e,align:t="inline-start",...n}){return o.jsx("div",{role:"group","data-slot":"input-group-addon","data-align":t,className:c.cn(Ee({align:t}),e),onClick:a=>{a.target.closest("button")||a.currentTarget.parentElement?.querySelector("input")?.focus()},...n})}const Oe=O.cva("gap-2 text-sm flex items-center shadow-none",{variants:{size:{xs:"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"","icon-xs":"size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}});function Te({className:e,type:t="button",variant:n="ghost",size:a="xs",...s}){return o.jsx(I.Button,{type:t,"data-size":a,variant:n,className:c.cn(Oe({size:a}),e),...s})}function Se({className:e,...t}){return o.jsx("span",{className:c.cn("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",e),...t})}function Ae({className:e,type:t,...n}){return o.jsx("input",{type:t,"data-slot":"input-group-control",className:c.cn("flex h-7 w-full rounded-none border-0 bg-transparent px-3 py-1.5 text-sm shadow-none ring-0 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent dark:placeholder:text-muted-foreground/70 flex-1",t==="number"&&"tabular-nums [-moz-appearance:textfield] [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none",e),...n})}function Ge({className:e,...t}){return o.jsx("textarea",{"data-slot":"input-group-control",className:c.cn("flex h-auto w-full min-h-[2.5rem] rounded-none resize-none border-0 bg-transparent px-3 py-1.5 text-sm shadow-none ring-0 outline-none placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent dark:placeholder:text-muted-foreground/70",e),...t})}function ue({className:e,...t}){return o.jsx(x.Command,{"data-slot":"command",className:c.cn(i.floatingSurface,"p-1 flex size-full flex-col overflow-hidden",e),...t})}function pe({title:e="Command Palette",description:t="Search for a command to run...",children:n,className:a,showCloseButton:s=!1,...r}){return o.jsxs(oe,{...r,children:[o.jsxs(se,{className:"sr-only",children:[o.jsx(ie,{children:e}),o.jsx(le,{children:t})]}),o.jsx(re,{className:c.cn("border-0 bg-transparent p-0 shadow-none ring-0 rounded-lg! overflow-hidden",a),showCloseButton:s,children:n})]})}function ze({className:e,...t}){return o.jsx("div",{"data-slot":"command-input-wrapper",className:"p-1 pb-0",children:o.jsxs(ce,{className:"bg-input/20 dark:bg-input/30",children:[o.jsx(x.Command.Input,{"data-slot":"command-input",className:c.cn("w-full text-xs outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t}),o.jsx(de,{children:o.jsx(N.HugeiconsIcon,{icon:k.SearchIcon,strokeWidth:2,className:"size-3.5 shrink-0 opacity-50"})})]})})}const ge=l.forwardRef(({className:e,...t},n)=>o.jsx(x.Command.List,{ref:n,"data-slot":"command-list",className:c.cn("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",e),...t}));ge.displayName="CommandList";function Me({className:e,...t}){return o.jsx(x.Command.Empty,{"data-slot":"command-empty",className:c.cn("py-6 text-center text-xs",e),...t})}function Fe({className:e,...t}){return o.jsx(x.Command.Group,{"data-slot":"command-group",className:c.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function We({className:e,...t}){return o.jsx(x.Command.Separator,{"data-slot":"command-separator",className:c.cn("bg-border/50 -mx-1 my-1 h-px",e),...t})}function Le({className:e,children:t,...n}){return o.jsxs(x.Command.Item,{"data-slot":"command-item",className:c.cn(i.floatingListItemInteractive,"relative flex min-h-7 cursor-default items-center gap-2 px-2.5 py-1.5 text-xs select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),...n,children:[t,o.jsx(N.HugeiconsIcon,{icon:k.Tick02Icon,strokeWidth:2,className:"ml-auto opacity-0 group-has-[[data-slot=command-shortcut]]/command-item:hidden group-data-[checked=true]/command-item:opacity-100"})]})}function $e({className:e,...t}){return o.jsx("span",{"data-slot":"command-shortcut",className:c.cn("text-muted-foreground group-aria-selected/command-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest",e),...t})}function qe({title:e="Command Palette",description:t="Search for a command to run...",shortcutEnabled:n=!0,open:a,onOpenChange:s,children:r,...u}){const[d,m]=l.useState(!1),h=a!==void 0,g=h?a:d,v=h?s:m,P=l.useRef(g);return l.useEffect(()=>{P.current=g},[g]),l.useEffect(()=>{if(!n)return;const E=b=>{j.shouldIgnoreKeyboardShortcut(b.target)||b.key===j.SHORTCUT_KEYS.commandPalette&&j.isMod(b)&&(b.preventDefault(),v?.(!P.current))};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[n,v]),o.jsx(pe,{...u,title:e,description:t,open:g,onOpenChange:v,children:o.jsx(ue,{children:r})})}exports.Close=y;exports.Command=ue;exports.CommandDialog=pe;exports.CommandEmpty=Me;exports.CommandGroup=Fe;exports.CommandInput=ze;exports.CommandItem=Le;exports.CommandList=ge;exports.CommandPalette=qe;exports.CommandSeparator=We;exports.CommandShortcut=$e;exports.Content=X;exports.Description=te;exports.Dialog=oe;exports.DialogClose=_e;exports.DialogContent=re;exports.DialogDescription=le;exports.DialogFooter=Pe;exports.DialogHeader=se;exports.DialogOverlay=ae;exports.DialogPortal=ne;exports.DialogTitle=ie;exports.DialogTrigger=Re;exports.InputGroup=ce;exports.InputGroupAddon=de;exports.InputGroupButton=Te;exports.InputGroupInput=Ae;exports.InputGroupText=Se;exports.InputGroupTextarea=Ge;exports.Overlay=Q;exports.Portal=J;exports.Root=Y;exports.Title=ee;exports.Trigger=Z;exports.WarningProvider=Ie;exports.createDialogScope=he;
|
package/dist/command.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-palette-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-palette-DsvP2QNP.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandPalette=m.CommandPalette;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
|
package/dist/command.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as o, a as d, d as n, e as s, b as C, f as t, c as e, i as r, h as p, g as i } from "./command-palette-
|
|
1
|
+
import { C as o, a as d, d as n, e as s, b as C, f as t, c as e, i as r, h as p, g as i } from "./command-palette-CHUiGh5m.js";
|
|
2
2
|
export {
|
|
3
3
|
o as Command,
|
|
4
4
|
d as CommandDialog,
|
|
@@ -23,13 +23,13 @@ export interface TableOfContentsProps extends React.HTMLAttributes<HTMLDivElemen
|
|
|
23
23
|
* If provided, only headings within this container will be detected.
|
|
24
24
|
* If not provided, searches the entire document (useful for full-page documents).
|
|
25
25
|
*/
|
|
26
|
-
container?: HTMLElement | React.RefObject<HTMLElement> | string | null;
|
|
26
|
+
container?: HTMLElement | React.RefObject<HTMLElement | null> | string | null;
|
|
27
27
|
/**
|
|
28
28
|
* Scroll container element, ref, or selector for actual scrolling.
|
|
29
29
|
* If not provided, uses the container prop or falls back to window scroll.
|
|
30
30
|
* Useful when heading detection container is different from scroll container.
|
|
31
31
|
*/
|
|
32
|
-
scrollContainer?: HTMLElement | React.RefObject<HTMLElement> | string | null;
|
|
32
|
+
scrollContainer?: HTMLElement | React.RefObject<HTMLElement | null> | string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Controlled active section ID (overrides scroll spy)
|
|
35
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-of-contents.d.ts","sourceRoot":"","sources":["../../../src/components/custom/table-of-contents.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB;AAaD,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"table-of-contents.d.ts","sourceRoot":"","sources":["../../../src/components/custom/table-of-contents.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB;AAaD,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;IAC7E;;;;OAIG;IACH,eAAe,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;IACnF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;CACzC;AA+FD;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,eAAe,6FA2PpB,CAAA;AA09BD,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -13,7 +13,7 @@ type ComboboxProps = Omit<React.ComponentProps<typeof PopoverPrimitive.Root>, "c
|
|
|
13
13
|
value?: string | string[];
|
|
14
14
|
defaultValue?: string | string[];
|
|
15
15
|
onValueChange?: (value: string | string[]) => void;
|
|
16
|
-
items?: unknown[];
|
|
16
|
+
items?: readonly unknown[];
|
|
17
17
|
multiple?: boolean;
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
/** Placeholder for the filter field inside the dropdown (shadcn-style). */
|
|
@@ -74,8 +74,10 @@ declare function ComboboxBadgeTrigger({ className, placeholder, maxShownItems, i
|
|
|
74
74
|
placeholder?: string;
|
|
75
75
|
maxShownItems?: number;
|
|
76
76
|
}): import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
declare function ComboboxList({ className, children, ...props }: React.ComponentProps<typeof CommandList> & {
|
|
78
|
-
children?: React.ReactNode
|
|
77
|
+
declare function ComboboxList({ className, children, renderItem, ...props }: Omit<React.ComponentProps<typeof CommandList>, "children"> & {
|
|
78
|
+
children?: React.ReactNode;
|
|
79
|
+
/** Render each entry from the parent `Combobox` `items` array (typed alternative to a function child). */
|
|
80
|
+
renderItem?: (item: unknown) => React.ReactNode;
|
|
79
81
|
}): import("react/jsx-runtime").JSX.Element;
|
|
80
82
|
declare function ComboboxItem({ className, children, value: itemValue, keywords: keywordsProp, onPointerDown: userPointerDown, onMouseDown: userMouseDown, onSelect: userOnSelect, ...props }: Omit<React.ComponentProps<typeof CommandItem>, "value"> & {
|
|
81
83
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/combobox.tsx"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAOtD,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAgB,EACjB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAGL,gBAAgB,EAChB,eAAe,EAChB,MAAM,6BAA6B,CAAA;AAyHpC,KAAK,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1F,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAA;IAClD,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/combobox.tsx"],"names":[],"mappings":"AA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,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,cAAc,EACd,aAAa,EACb,iBAAiB,GAClB,CAAA"}
|
|
@@ -8,7 +8,7 @@ import { c as Z } from "./utils-B6yFEsav.js";
|
|
|
8
8
|
import * as wo from "react-dom";
|
|
9
9
|
import { createSlot as $t, createSlottable as Si } from "@radix-ui/react-slot";
|
|
10
10
|
import { cva as pt } from "class-variance-authority";
|
|
11
|
-
import { P as Q, c as Ie, d as ce, u as ze, b as qe, e as K, f as ht, n as Ce, o as yo, g as Co, h as _r, R as Ar, i as Ir, F as $r, D as So, l as Or, m as Ni, j as Ei, k as Ri } from "./input-shared-
|
|
11
|
+
import { P as Q, c as Ie, d as ce, u as ze, b as qe, e as K, f as ht, n as Ce, o as yo, g as Co, h as _r, R as Ar, i as Ir, F as $r, D as So, l as Or, m as Ni, j as Ei, k as Ri } from "./input-shared-DXf3Edqt.js";
|
|
12
12
|
import { E as ae, w as Pi } from "./button-S6w9SzkF.js";
|
|
13
13
|
import { u as Ti } from "./compose-refs-CPmUP25k.js";
|
|
14
14
|
var Lr = Object.freeze({
|