@boxcustodia/library 2.0.0-alpha.32 → 2.0.0-alpha.34
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/components/button/button.cjs.js +1 -1
- package/dist/components/button/button.es.js +5 -5
- package/dist/components/combobox/combobox.cjs.js +1 -1
- package/dist/components/combobox/combobox.es.js +198 -218
- package/dist/components/select/select.cjs.js +1 -1
- package/dist/components/select/select.es.js +139 -159
- package/dist/src/components/combobox/combobox.d.ts +4 -16
- package/dist/src/components/select/select.d.ts +4 -17
- package/dist/src/utils/internal/index.d.ts +2 -0
- package/dist/src/utils/internal/item.d.ts +27 -0
- package/dist/utils/internal/item.cjs.js +1 -0
- package/dist/utils/internal/item.es.js +25 -0
- package/package.json +1 -1
- package/src/components/button/button.tsx +2 -2
- package/src/components/combobox/combobox.test.tsx +25 -0
- package/src/components/combobox/combobox.tsx +9 -43
- package/src/components/select/select.test.tsx +18 -0
- package/src/components/select/select.tsx +12 -46
- package/src/utils/internal/index.ts +2 -0
- package/src/utils/internal/item.ts +51 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),d=require("../../node_modules/class-variance-authority/dist/index.cjs.js"),i=require("./components/base-button.cjs.js"),s=require("../../lib/cn.cjs.js"),e=d.cva(["group/button relative inline-flex shrink-0 items-center justify-center gap-1 rounded-lg border border-transparent bg-clip-padding","text-sm font-medium whitespace-nowrap transition-
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),d=require("../../node_modules/class-variance-authority/dist/index.cjs.js"),i=require("./components/base-button.cjs.js"),s=require("../../lib/cn.cjs.js"),e=d.cva(["group/button relative inline-flex shrink-0 items-center justify-center gap-1 rounded-lg border border-transparent bg-clip-padding","text-sm font-medium whitespace-nowrap transition-[background-color,border-color,box-shadow,transform,opacity] outline-none select-none","focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50","active:not-aria-[haspopup]:translate-y-px","disabled:pointer-events-none disabled:opacity-50","aria-invalid:border-error aria-invalid:ring-3 aria-invalid:ring-error/20 dark:aria-invalid:border-error/50 dark:aria-invalid:ring-error/40","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","[&[data-loading]]:text-transparent","[&[data-loading]>*:not([data-loader])]:invisible","[&[data-loading]]:pointer-events-none"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 [--btn-loader-color:var(--color-primary-foreground)]",outline:"border-border hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:hover:bg-input/50 [--btn-loader-color:var(--color-foreground)]",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground [--btn-loader-color:var(--color-secondary-foreground)]",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50 [--btn-loader-color:var(--color-foreground)]",error:"bg-error text-error-foreground hover:bg-error/90 [--btn-loader-color:var(--color-error-foreground)]",success:"bg-success text-success-foreground hover:bg-success/90 [--btn-loader-color:var(--color-success-foreground)]",warning:"bg-warning text-warning-foreground hover:bg-warning/90 [--btn-loader-color:var(--color-warning-foreground)]",link:"text-primary underline-offset-4 hover:underline [--btn-loader-color:var(--color-primary)]"},size:{default:"h-8 px-2.5",xs:"h-6 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",sm:"h-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 px-2.5",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}}),u=({variant:r,size:o,className:n,...a})=>t.jsx(i.BaseButton,{...a,className:s.cn(e({variant:r,size:o}),n),"data-variant":r||"default"});exports.Button=u;exports.buttonVariants=e;
|
|
@@ -6,11 +6,11 @@ import { cn as i } from "../../lib/cn.es.js";
|
|
|
6
6
|
const s = t(
|
|
7
7
|
[
|
|
8
8
|
"group/button relative inline-flex shrink-0 items-center justify-center gap-1 rounded-lg border border-transparent bg-clip-padding",
|
|
9
|
-
"text-sm font-medium whitespace-nowrap transition-
|
|
9
|
+
"text-sm font-medium whitespace-nowrap transition-[background-color,border-color,box-shadow,transform,opacity] outline-none select-none",
|
|
10
10
|
"focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50",
|
|
11
11
|
"active:not-aria-[haspopup]:translate-y-px",
|
|
12
12
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
13
|
-
"aria-invalid:border-
|
|
13
|
+
"aria-invalid:border-error aria-invalid:ring-3 aria-invalid:ring-error/20 dark:aria-invalid:border-error/50 dark:aria-invalid:ring-error/40",
|
|
14
14
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
15
15
|
"[&[data-loading]]:text-transparent",
|
|
16
16
|
"[&[data-loading]>*:not([data-loader])]:invisible",
|
|
@@ -44,15 +44,15 @@ const s = t(
|
|
|
44
44
|
size: "default"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
),
|
|
47
|
+
), b = ({ variant: r, size: o, className: e, ...n }) => /* @__PURE__ */ a(
|
|
48
48
|
d,
|
|
49
49
|
{
|
|
50
50
|
...n,
|
|
51
|
-
className: i(s({ variant: r, size:
|
|
51
|
+
className: i(s({ variant: r, size: o }), e),
|
|
52
52
|
"data-variant": r || "default"
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
b as Button,
|
|
57
57
|
s as buttonVariants
|
|
58
58
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),eo=require("react"),V=require("../input/input.cjs.js"),$=require("../../node_modules/lucide-react/dist/esm/icons/chevrons-up-down.cjs.js"),to=require("../field/field.cjs.js"),k=require("../../node_modules/lucide-react/dist/esm/icons/x.cjs.js"),ro=require("../../hooks/internal/use-isomorphic-layout-effect.cjs.js"),so=require("../../node_modules/@base-ui/react/combobox/root/utils/useFilter.cjs.js"),no=require("../../node_modules/@base-ui/react/combobox/root/ComboboxRoot.cjs.js"),q=require("../../node_modules/@base-ui/react/combobox/input/ComboboxInput.cjs.js"),d=require("../../lib/cn.cjs.js"),io=require("../../node_modules/@base-ui/react/combobox/input-group/ComboboxInputGroup.cjs.js"),I=require("../../node_modules/@base-ui/react/combobox/trigger/ComboboxTrigger.cjs.js"),z=require("../../node_modules/@base-ui/react/combobox/value/ComboboxValue.cjs.js"),ao=require("../../node_modules/@base-ui/react/combobox/portal/ComboboxPortal.cjs.js"),lo=require("../../node_modules/@base-ui/react/combobox/positioner/ComboboxPositioner.cjs.js"),co=require("../../node_modules/@base-ui/react/combobox/popup/ComboboxPopup.cjs.js"),bo=require("../../node_modules/@base-ui/react/combobox/item/ComboboxItem.cjs.js"),uo=require("../../node_modules/@base-ui/react/combobox/item-indicator/ComboboxItemIndicator.cjs.js"),mo=require("../../node_modules/@base-ui/react/separator/Separator.cjs.js"),xo=require("../../node_modules/@base-ui/react/combobox/group/ComboboxGroup.cjs.js"),po=require("../../node_modules/@base-ui/react/combobox/group-label/ComboboxGroupLabel.cjs.js"),fo=require("../../node_modules/@base-ui/react/combobox/empty/ComboboxEmpty.cjs.js"),ho=require("../../node_modules/@base-ui/react/combobox/row/ComboboxRow.cjs.js"),go=require("../scroll-area/scroll-area.cjs.js"),Co=require("../../node_modules/@base-ui/react/combobox/list/ComboboxList.cjs.js"),vo=require("../../node_modules/@base-ui/react/combobox/clear/ComboboxClear.cjs.js"),jo=require("../../node_modules/@base-ui/react/combobox/status/ComboboxStatus.cjs.js"),yo=require("../../node_modules/@base-ui/react/combobox/collection/ComboboxCollection.cjs.js"),wo=require("../../node_modules/@base-ui/react/field/validity/FieldValidity.cjs.js"),No=require("../../node_modules/@base-ui/react/combobox/chip/ComboboxChip.cjs.js"),So=require("../../node_modules/@base-ui/react/combobox/chip-remove/ComboboxChipRemove.cjs.js"),Io=require("../../node_modules/@base-ui/react/combobox/icon/ComboboxIcon.cjs.js"),zo=require("../../node_modules/@base-ui/react/combobox/chips/ComboboxChips.cjs.js");function qo(o){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(e,r,s.get?s:{enumerable:!0,get:()=>o[r]})}}return e.default=o,Object.freeze(e)}const p=qo(eo),C=p.createContext({chipsRef:null,multiple:!1});function E({...o}){const e=p.useRef(null);return t.jsx(C.Provider,{value:{chipsRef:e,multiple:!!o.multiple},children:t.jsx(no.ComboboxRoot,{...o})})}function L({className:o,...e}){return t.jsx(q.ComboboxInput,{className:d.cn("min-w-12 flex-1 text-base outline-none placeholder:text-muted-foreground sm:text-sm [[data-slot=combobox-chip]+&]:ps-0.5",o),"data-slot":"combobox-chips-input",...e})}function G({className:o,showTrigger:e=!0,showClear:r=!1,startAddon:s,triggerProps:a,clearProps:n,...l}){return t.jsxs(io.ComboboxInputGroup,{className:"relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64","data-slot":"combobox-input-group",children:[s&&t.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:-mx-0.5","data-slot":"combobox-start-addon",children:s}),t.jsx(q.ComboboxInput,{className:d.cn(s&&"*:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]","pr-6",o),"data-slot":"combobox-input",render:i=>t.jsx(V.Input,{className:"has-disabled:opacity-100",nativeInput:!0,...i}),...l}),t.jsx(_,{showTrigger:e,showClear:r,triggerProps:a,clearProps:n})]})}function F({className:o,children:e,...r}){return t.jsx(I.ComboboxTrigger,{className:o,"data-slot":"combobox-trigger",...r,children:e})}function _o({className:o,placeholder:e,children:r,showClear:s,clearProps:a,...n}){const l=t.jsx(I.ComboboxTrigger,{className:d.cn("relative flex w-full items-center rounded-md border border-input bg-background px-3 py-2 pe-9 text-sm outline-none transition-shadow","focus-visible:border-ring","aria-invalid:border-error focus-visible:aria-invalid:ring-error/20","data-disabled:cursor-not-allowed data-disabled:opacity-50","data-placeholder:text-muted-foreground",o),"data-slot":"combobox-select-trigger",...n,children:r??t.jsx(z.ComboboxValue,{placeholder:e})});return s?t.jsxs("div",{className:"relative w-full text-foreground has-disabled:opacity-64","data-slot":"combobox-select-trigger-group",children:[l,t.jsx(_,{showTrigger:!0,showClear:!0,clearProps:a})]}):t.jsx(I.ComboboxTrigger,{className:d.cn("relative flex w-full items-center rounded-md border border-input bg-background px-3 py-2 pe-9 text-sm outline-none transition-shadow","focus-visible:border-ring","aria-invalid:border-error focus-visible:aria-invalid:ring-error/20","data-disabled:cursor-not-allowed data-disabled:opacity-50","data-placeholder:text-muted-foreground",o),"data-slot":"combobox-select-trigger",...n,children:r??t.jsxs(t.Fragment,{children:[t.jsx(z.ComboboxValue,{placeholder:e}),t.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute end-0.5 top-1/2 inline-flex size-8 -translate-y-1/2 items-center justify-center text-muted-foreground opacity-80 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4",children:t.jsx($.default,{})})]})})}function Ro({className:o,...e}){return t.jsx("div",{className:"border-b p-2","data-slot":"combobox-search-input-wrapper",children:t.jsx(q.ComboboxInput,{className:d.cn("flex h-9 w-full rounded-md bg-transparent text-base placeholder:text-muted-foreground outline-none disabled:cursor-not-allowed disabled:opacity-64 sm:h-8 sm:text-sm",o),autoComplete:"off","data-slot":"combobox-search-input",...e})})}function O({className:o,children:e,side:r="bottom",sideOffset:s=4,alignOffset:a,align:n="start",anchor:l,portalProps:i,...b}){const{chipsRef:u}=p.useContext(C),f=l??u;return t.jsx(ao.ComboboxPortal,{...i,children:t.jsx(lo.ComboboxPositioner,{align:n,alignOffset:a,anchor:f,className:"z-50 select-none","data-slot":"combobox-positioner",side:r,sideOffset:s,children:t.jsx(co.ComboboxPopup,{className:d.cn("relative flex max-h-[min(var(--available-height),23rem)] min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) flex-1 flex-col rounded-lg border bg-popover not-dark:bg-clip-padding text-foreground shadow-lg/5","before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]","duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",o),"data-slot":"combobox-popup",...b,children:e})})})}function D({className:o,children:e,...r}){return t.jsxs(bo.ComboboxItem,{className:d.cn("flex justify-between min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 px-2 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",o),"data-slot":"combobox-item",...r,children:[e,t.jsx(uo.ComboboxItemIndicator,{className:"col-end-1",children:t.jsx("svg",{"aria-hidden":"true",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M5.252 12.7 10.2 18.63 18.748 5.37"})})})]})}function Po({className:o,...e}){return t.jsx(mo.Separator,{className:d.cn("mx-2 my-1 h-px bg-border last:hidden",o),"data-slot":"combobox-separator",...e})}function To({className:o,...e}){return t.jsx(xo.ComboboxGroup,{className:d.cn("[[role=group]+&]:mt-1.5",o),"data-slot":"combobox-group",...e})}function Vo({className:o,...e}){return t.jsx(po.ComboboxGroupLabel,{className:d.cn("px-2 py-1.5 font-medium text-muted-foreground text-xs",o),"data-slot":"combobox-group-label",...e})}function M({className:o,...e}){return t.jsx(fo.ComboboxEmpty,{className:d.cn("not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm",o),"data-slot":"combobox-empty",...e})}function $o({className:o,...e}){return t.jsx(ho.ComboboxRow,{className:o,"data-slot":"combobox-row",...e})}function W({...o}){return t.jsx(z.ComboboxValue,{"data-slot":"combobox-value",...o})}function A({className:o,...e}){return t.jsx(go.ScrollArea,{scrollbarGutter:!0,scrollFade:!0,children:t.jsx(Co.ComboboxList,{className:d.cn("not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",o),"data-slot":"combobox-list",...e})})}function B({className:o,...e}){return t.jsx(vo.ComboboxClear,{className:o,"data-slot":"combobox-clear",...e})}const T="absolute end-0.5 top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";function _({showTrigger:o=!0,showClear:e=!1,triggerProps:r,clearProps:s}){return!o&&!e?null:t.jsxs("div",{className:"text-muted-foreground hover:text-foreground transition-colors",children:[o&&t.jsx(F,{className:d.cn(T,"text-muted-foreground has-[+[data-slot=combobox-clear]]:hidden"),...r,children:t.jsx(Io.ComboboxIcon,{"data-slot":"combobox-icon",children:t.jsx($.default,{})})}),e&&t.jsx(B,{className:T,...s,children:t.jsx(k.default,{})})]})}function ko({className:o,...e}){return t.jsx(jo.ComboboxStatus,{className:d.cn("px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0",o),"data-slot":"combobox-status",...e})}function Eo(o){return t.jsx(yo.ComboboxCollection,{"data-slot":"combobox-collection",...o})}function H({className:o,children:e,startAddon:r,...s}){const{chipsRef:a}=p.useContext(C),n=to.useIsInsideFieldRoot(),l=i=>t.jsxs(zo.ComboboxChips,{"aria-invalid":i,className:d.cn(V.inputBaseClasses,"relative inline-flex pr-6 w-full flex-wrap gap-1","placeholder:text-muted-foreground","focus-within:border-ring","aria-invalid:border-error focus-within:aria-invalid:ring-error/20","has-disabled:cursor-not-allowed has-disabled:opacity-50",o),"data-slot":"combobox-chips",ref:a,...s,children:[r&&t.jsx("div",{"aria-hidden":"true",className:"flex shrink-0 items-center ps-2 opacity-80 has-[+[data-slot=combobox-chip]]:pe-2 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-ms-0.5 [&_svg]:-me-1.5","data-slot":"combobox-start-addon",children:r}),e]});return n?t.jsx(wo.FieldValidity,{children:({validity:i})=>l(i.valid===!1?!0:void 0)}):l(void 0)}function K({children:o,removeProps:e,...r}){return t.jsxs(No.ComboboxChip,{className:"flex my-auto items-center pl-1 rounded-[calc(var(--radius-md)-1px)] bg-accent font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5 h-6","data-slot":"combobox-chip",...r,children:[o,t.jsx(Q,{...e})]})}function Q(o){return t.jsx(So.ComboboxChipRemove,{"aria-label":"Quitar",className:"h-full shrink-0 cursor-pointer px-1 opacity-80 hover:opacity-100 [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5","data-slot":"combobox-chip-remove",...o,children:t.jsx(k.default,{})})}const N=4,Lo=24,Go=36,Fo=68;function S(o,e){const r=o-Lo-Go;let s=0,a=0;for(let n=0;n<e.length;n++){const l=e[n],i=n<e.length-1;if(s+(n>0?N:0)+l+(i?N+Fo:0)>r)break;s+=(n>0?N:0)+l,a++}return a}function Oo(o,e){const[r,s]=p.useState(null),a=p.useRef([]),n=r===null||r.items!==o;return ro.useIsomorphicLayoutEffect(()=>{if(!n)return;const l=e?.current;if(!l)return;const i=l.querySelectorAll('[data-slot="combobox-chip"]');a.current=Array.from(i).map(u=>u.offsetWidth);const b=S(l.clientWidth,a.current);s({items:o,visible:b})},[n,o,e]),p.useEffect(()=>{const l=a.current.length>0&&a.current.every(x=>x===0);if(!n&&!l)return;const i=e?.current;if(!i)return;const b=i.querySelectorAll('[data-slot="combobox-chip"]');if(!b.length)return;const u=Array.from(b).map(x=>x.offsetWidth);if(u.every(x=>x===0))return;a.current=u;const f=S(i.clientWidth,u);s(x=>x?{...x,visible:f}:{items:o,visible:f})},[n,o,e]),p.useEffect(()=>{const l=e?.current;if(!l)return;const i=new ResizeObserver(()=>{if(!a.current.length)return;const b=S(l.clientWidth,a.current);s(u=>u?{...u,visible:b}:null)});return i.observe(l),()=>i.disconnect()},[e]),{visibleCount:r?.visible??o,isMeasuring:n}}function Do({value:o,getLabel:e,getId:r}){const{chipsRef:s}=p.useContext(C),{visibleCount:a,isMeasuring:n}=Oo(o.length,s),l=n?o:o.slice(0,a),i=n?0:o.length-a;return t.jsxs(t.Fragment,{children:[l.map(b=>t.jsx(K,{"aria-label":e(b),children:e(b)},r(b))),i>0&&t.jsxs("span",{className:"flex items-center whitespace-nowrap px-1 text-sm text-muted-foreground",children:["+",i," más"]})]})}function Mo(o){if(o==null)return"";if(typeof o=="string"||typeof o=="number")return String(o);if(typeof o=="object"){const e=o;if("label"in e)return String(e.label);if("name"in e)return String(e.name);if("title"in e)return String(e.title)}return String(o)}function Wo(o){if(o==null)return"";if(typeof o=="string"||typeof o=="number")return String(o);if(typeof o=="object"){const e=o;if("id"in e)return String(e.id);if("value"in e)return String(e.value)}return String(o)}function Ao({placeholder:o,showClear:e,startAddon:r,className:s}){return t.jsx(G,{className:s,placeholder:o,showClear:e,startAddon:r})}function Bo({getLabel:o,getId:e,showClear:r,startAddon:s,className:a}){return t.jsxs(H,{className:a,startAddon:s,children:[t.jsx(W,{children:n=>t.jsx(Do,{value:n,getLabel:o,getId:e})}),t.jsx(_,{showTrigger:!r,showClear:r})]})}function Ho(o){const{items:e,getLabel:r,getId:s,renderItem:a,placeholder:n,emptyText:l="Sin resultados.",multiple:i,onValueChange:b,value:u,defaultValue:f,startAddon:x,classNames:h,showClear:R=!0,searchable:U=!0,...X}=o,y=r??Mo,g=s??Wo,v=c=>String(g(c)),j=c=>e.find(m=>v(m)===c)??null,P=p.useRef(!1);if(process.env.NODE_ENV!=="production"&&!P.current){const c=new Set,m=new Set;for(const oo of e){const w=v(oo);c.has(w)&&m.add(w),c.add(w)}m.size>0&&(P.current=!0,console.warn(`[Combobox] Multiple items resolve to the same id (${[...m].join(", ")}). Provide a \`getId\` that returns a unique value per item.`))}const J=i?u?.map(c=>j(String(c))).filter(Boolean):u==null?u:j(String(u)),Y=i?f?.map(c=>j(String(c))).filter(Boolean):f==null?void 0:j(String(f)),Z=c=>{if(i){const m=c??[];b?.(m.map(g),m)}else{const m=c??null;b?.(m?g(m):null,m)}};return t.jsxs(E,{items:e,itemToStringLabel:y,itemToStringValue:g,multiple:i,onValueChange:Z,value:J,defaultValue:Y,isItemEqualToValue:(c,m)=>v(c)===v(m),autoHighlight:!0,loopFocus:!0,...X,children:[i?t.jsx(Bo,{getLabel:y,getId:g,showClear:R,startAddon:x,className:h?.chips}):t.jsx(Ao,{placeholder:n,showClear:R,startAddon:x,className:h?.input}),t.jsxs(O,{className:h?.popup,children:[i&&U&&t.jsx("div",{className:"border-b p-2","data-slot":"combobox-chips-input-wrapper",children:t.jsx(L,{className:h?.chipsInput,placeholder:n})}),t.jsx(M,{className:h?.empty,children:l}),t.jsx(A,{className:h?.list,children:c=>t.jsx(D,{value:c,className:h?.item,children:a?a(c):y(c)},g(c))})]})]})}const Ko=so.useComboboxFilter;exports.Combobox=Ho;exports.ComboboxChip=K;exports.ComboboxChipRemove=Q;exports.ComboboxChips=H;exports.ComboboxChipsInput=L;exports.ComboboxClear=B;exports.ComboboxCollection=Eo;exports.ComboboxContext=C;exports.ComboboxEmpty=M;exports.ComboboxGroup=To;exports.ComboboxGroupLabel=Vo;exports.ComboboxInput=G;exports.ComboboxItem=D;exports.ComboboxList=A;exports.ComboboxPopup=O;exports.ComboboxRoot=E;exports.ComboboxRow=$o;exports.ComboboxSearchInput=Ro;exports.ComboboxSelectTrigger=_o;exports.ComboboxSeparator=Po;exports.ComboboxStatus=ko;exports.ComboboxTrigger=F;exports.ComboboxValue=W;exports.useComboboxFilter=Ko;
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),to=require("react"),$=require("../input/input.cjs.js"),k=require("../../node_modules/lucide-react/dist/esm/icons/chevrons-up-down.cjs.js"),so=require("../field/field.cjs.js"),E=require("../../node_modules/lucide-react/dist/esm/icons/x.cjs.js"),T=require("../../utils/internal/item.cjs.js"),ro=require("../../hooks/internal/use-isomorphic-layout-effect.cjs.js"),no=require("../../node_modules/@base-ui/react/combobox/root/utils/useFilter.cjs.js"),io=require("../../node_modules/@base-ui/react/combobox/root/ComboboxRoot.cjs.js"),_=require("../../node_modules/@base-ui/react/combobox/input/ComboboxInput.cjs.js"),d=require("../../lib/cn.cjs.js"),ao=require("../../node_modules/@base-ui/react/combobox/input-group/ComboboxInputGroup.cjs.js"),q=require("../../node_modules/@base-ui/react/combobox/trigger/ComboboxTrigger.cjs.js"),z=require("../../node_modules/@base-ui/react/combobox/value/ComboboxValue.cjs.js"),lo=require("../../node_modules/@base-ui/react/combobox/portal/ComboboxPortal.cjs.js"),co=require("../../node_modules/@base-ui/react/combobox/positioner/ComboboxPositioner.cjs.js"),bo=require("../../node_modules/@base-ui/react/combobox/popup/ComboboxPopup.cjs.js"),uo=require("../../node_modules/@base-ui/react/combobox/item/ComboboxItem.cjs.js"),mo=require("../../node_modules/@base-ui/react/combobox/item-indicator/ComboboxItemIndicator.cjs.js"),xo=require("../../node_modules/@base-ui/react/separator/Separator.cjs.js"),po=require("../../node_modules/@base-ui/react/combobox/group/ComboboxGroup.cjs.js"),fo=require("../../node_modules/@base-ui/react/combobox/group-label/ComboboxGroupLabel.cjs.js"),ho=require("../../node_modules/@base-ui/react/combobox/empty/ComboboxEmpty.cjs.js"),go=require("../../node_modules/@base-ui/react/combobox/row/ComboboxRow.cjs.js"),Co=require("../scroll-area/scroll-area.cjs.js"),vo=require("../../node_modules/@base-ui/react/combobox/list/ComboboxList.cjs.js"),jo=require("../../node_modules/@base-ui/react/combobox/clear/ComboboxClear.cjs.js"),yo=require("../../node_modules/@base-ui/react/combobox/status/ComboboxStatus.cjs.js"),wo=require("../../node_modules/@base-ui/react/combobox/collection/ComboboxCollection.cjs.js"),No=require("../../node_modules/@base-ui/react/field/validity/FieldValidity.cjs.js"),Io=require("../../node_modules/@base-ui/react/combobox/chip/ComboboxChip.cjs.js"),qo=require("../../node_modules/@base-ui/react/combobox/chip-remove/ComboboxChipRemove.cjs.js"),zo=require("../../node_modules/@base-ui/react/combobox/icon/ComboboxIcon.cjs.js"),_o=require("../../node_modules/@base-ui/react/combobox/chips/ComboboxChips.cjs.js");function So(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const p=So(to),C=p.createContext({chipsRef:null,multiple:!1});function L({...o}){const t=p.useRef(null);return e.jsx(C.Provider,{value:{chipsRef:t,multiple:!!o.multiple},children:e.jsx(io.ComboboxRoot,{...o})})}function G({className:o,...t}){return e.jsx(_.ComboboxInput,{className:d.cn("min-w-12 flex-1 text-base outline-none placeholder:text-muted-foreground sm:text-sm [[data-slot=combobox-chip]+&]:ps-0.5",o),"data-slot":"combobox-chips-input",...t})}function F({className:o,showTrigger:t=!0,showClear:s=!1,startAddon:r,triggerProps:a,clearProps:n,...l}){return e.jsxs(ao.ComboboxInputGroup,{className:"relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64","data-slot":"combobox-input-group",children:[r&&e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:-mx-0.5","data-slot":"combobox-start-addon",children:r}),e.jsx(_.ComboboxInput,{className:d.cn(r&&"*:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]","pr-6",o),"data-slot":"combobox-input",render:i=>e.jsx($.Input,{className:"has-disabled:opacity-100",nativeInput:!0,...i}),...l}),e.jsx(S,{showTrigger:t,showClear:s,triggerProps:a,clearProps:n})]})}function O({className:o,children:t,...s}){return e.jsx(q.ComboboxTrigger,{className:o,"data-slot":"combobox-trigger",...s,children:t})}function Ro({className:o,placeholder:t,children:s,showClear:r,clearProps:a,...n}){const l=e.jsx(q.ComboboxTrigger,{className:d.cn("relative flex w-full items-center rounded-md border border-input bg-background px-3 py-2 pe-9 text-sm outline-none transition-shadow","focus-visible:border-ring","aria-invalid:border-error focus-visible:aria-invalid:ring-error/20","data-disabled:cursor-not-allowed data-disabled:opacity-50","data-placeholder:text-muted-foreground",o),"data-slot":"combobox-select-trigger",...n,children:s??e.jsx(z.ComboboxValue,{placeholder:t})});return r?e.jsxs("div",{className:"relative w-full text-foreground has-disabled:opacity-64","data-slot":"combobox-select-trigger-group",children:[l,e.jsx(S,{showTrigger:!0,showClear:!0,clearProps:a})]}):e.jsx(q.ComboboxTrigger,{className:d.cn("relative flex w-full items-center rounded-md border border-input bg-background px-3 py-2 pe-9 text-sm outline-none transition-shadow","focus-visible:border-ring","aria-invalid:border-error focus-visible:aria-invalid:ring-error/20","data-disabled:cursor-not-allowed data-disabled:opacity-50","data-placeholder:text-muted-foreground",o),"data-slot":"combobox-select-trigger",...n,children:s??e.jsxs(e.Fragment,{children:[e.jsx(z.ComboboxValue,{placeholder:t}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute end-0.5 top-1/2 inline-flex size-8 -translate-y-1/2 items-center justify-center text-muted-foreground opacity-80 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4",children:e.jsx(k.default,{})})]})})}function Po({className:o,...t}){return e.jsx("div",{className:"border-b p-2","data-slot":"combobox-search-input-wrapper",children:e.jsx(_.ComboboxInput,{className:d.cn("flex h-9 w-full rounded-md bg-transparent text-base placeholder:text-muted-foreground outline-none disabled:cursor-not-allowed disabled:opacity-64 sm:h-8 sm:text-sm",o),autoComplete:"off","data-slot":"combobox-search-input",...t})})}function D({className:o,children:t,side:s="bottom",sideOffset:r=4,alignOffset:a,align:n="start",anchor:l,portalProps:i,...b}){const{chipsRef:u}=p.useContext(C),f=l??u;return e.jsx(lo.ComboboxPortal,{...i,children:e.jsx(co.ComboboxPositioner,{align:n,alignOffset:a,anchor:f,className:"z-50 select-none","data-slot":"combobox-positioner",side:s,sideOffset:r,children:e.jsx(bo.ComboboxPopup,{className:d.cn("relative flex max-h-[min(var(--available-height),23rem)] min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) flex-1 flex-col rounded-lg border bg-popover not-dark:bg-clip-padding text-foreground shadow-lg/5","before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]","duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",o),"data-slot":"combobox-popup",...b,children:t})})})}function M({className:o,children:t,...s}){return e.jsxs(uo.ComboboxItem,{className:d.cn("flex justify-between min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 px-2 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",o),"data-slot":"combobox-item",...s,children:[t,e.jsx(mo.ComboboxItemIndicator,{className:"col-end-1",children:e.jsx("svg",{"aria-hidden":"true",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M5.252 12.7 10.2 18.63 18.748 5.37"})})})]})}function To({className:o,...t}){return e.jsx(xo.Separator,{className:d.cn("mx-2 my-1 h-px bg-border last:hidden",o),"data-slot":"combobox-separator",...t})}function Vo({className:o,...t}){return e.jsx(po.ComboboxGroup,{className:d.cn("[[role=group]+&]:mt-1.5",o),"data-slot":"combobox-group",...t})}function $o({className:o,...t}){return e.jsx(fo.ComboboxGroupLabel,{className:d.cn("px-2 py-1.5 font-medium text-muted-foreground text-xs",o),"data-slot":"combobox-group-label",...t})}function W({className:o,...t}){return e.jsx(ho.ComboboxEmpty,{className:d.cn("not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm",o),"data-slot":"combobox-empty",...t})}function ko({className:o,...t}){return e.jsx(go.ComboboxRow,{className:o,"data-slot":"combobox-row",...t})}function A({...o}){return e.jsx(z.ComboboxValue,{"data-slot":"combobox-value",...o})}function B({className:o,...t}){return e.jsx(Co.ScrollArea,{scrollbarGutter:!0,scrollFade:!0,children:e.jsx(vo.ComboboxList,{className:d.cn("not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",o),"data-slot":"combobox-list",...t})})}function H({className:o,...t}){return e.jsx(jo.ComboboxClear,{className:o,"data-slot":"combobox-clear",...t})}const V="absolute end-0.5 top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";function S({showTrigger:o=!0,showClear:t=!1,triggerProps:s,clearProps:r}){return!o&&!t?null:e.jsxs("div",{className:"text-muted-foreground hover:text-foreground transition-colors",children:[o&&e.jsx(O,{className:d.cn(V,"text-muted-foreground has-[+[data-slot=combobox-clear]]:hidden"),...s,children:e.jsx(zo.ComboboxIcon,{"data-slot":"combobox-icon",children:e.jsx(k.default,{})})}),t&&e.jsx(H,{className:V,...r,children:e.jsx(E.default,{})})]})}function Eo({className:o,...t}){return e.jsx(yo.ComboboxStatus,{className:d.cn("px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0",o),"data-slot":"combobox-status",...t})}function Lo(o){return e.jsx(wo.ComboboxCollection,{"data-slot":"combobox-collection",...o})}function K({className:o,children:t,startAddon:s,...r}){const{chipsRef:a}=p.useContext(C),n=so.useIsInsideFieldRoot(),l=i=>e.jsxs(_o.ComboboxChips,{"aria-invalid":i,className:d.cn($.inputBaseClasses,"relative inline-flex pr-6 w-full flex-wrap gap-1","placeholder:text-muted-foreground","focus-within:border-ring","aria-invalid:border-error focus-within:aria-invalid:ring-error/20","has-disabled:cursor-not-allowed has-disabled:opacity-50",o),"data-slot":"combobox-chips",ref:a,...r,children:[s&&e.jsx("div",{"aria-hidden":"true",className:"flex shrink-0 items-center ps-2 opacity-80 has-[+[data-slot=combobox-chip]]:pe-2 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-ms-0.5 [&_svg]:-me-1.5","data-slot":"combobox-start-addon",children:s}),t]});return n?e.jsx(No.FieldValidity,{children:({validity:i})=>l(i.valid===!1?!0:void 0)}):l(void 0)}function Q({children:o,removeProps:t,...s}){return e.jsxs(Io.ComboboxChip,{className:"flex my-auto items-center pl-1 rounded-[calc(var(--radius-md)-1px)] bg-accent font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5 h-6","data-slot":"combobox-chip",...s,children:[o,e.jsx(U,{...t})]})}function U(o){return e.jsx(qo.ComboboxChipRemove,{"aria-label":"Quitar",className:"h-full shrink-0 cursor-pointer px-1 opacity-80 hover:opacity-100 [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5","data-slot":"combobox-chip-remove",...o,children:e.jsx(E.default,{})})}const N=4,Go=24,Fo=36,Oo=68;function I(o,t){const s=o-Go-Fo;let r=0,a=0;for(let n=0;n<t.length;n++){const l=t[n],i=n<t.length-1;if(r+(n>0?N:0)+l+(i?N+Oo:0)>s)break;r+=(n>0?N:0)+l,a++}return a}function Do(o,t){const[s,r]=p.useState(null),a=p.useRef([]),n=s===null||s.items!==o;return ro.useIsomorphicLayoutEffect(()=>{if(!n)return;const l=t?.current;if(!l)return;const i=l.querySelectorAll('[data-slot="combobox-chip"]');a.current=Array.from(i).map(u=>u.offsetWidth);const b=I(l.clientWidth,a.current);r({items:o,visible:b})},[n,o,t]),p.useEffect(()=>{const l=a.current.length>0&&a.current.every(x=>x===0);if(!n&&!l)return;const i=t?.current;if(!i)return;const b=i.querySelectorAll('[data-slot="combobox-chip"]');if(!b.length)return;const u=Array.from(b).map(x=>x.offsetWidth);if(u.every(x=>x===0))return;a.current=u;const f=I(i.clientWidth,u);r(x=>x?{...x,visible:f}:{items:o,visible:f})},[n,o,t]),p.useEffect(()=>{const l=t?.current;if(!l)return;const i=new ResizeObserver(()=>{if(!a.current.length)return;const b=I(l.clientWidth,a.current);r(u=>u?{...u,visible:b}:null)});return i.observe(l),()=>i.disconnect()},[t]),{visibleCount:s?.visible??o,isMeasuring:n}}function Mo({value:o,getLabel:t,getId:s}){const{chipsRef:r}=p.useContext(C),{visibleCount:a,isMeasuring:n}=Do(o.length,r),l=n?o:o.slice(0,a),i=n?0:o.length-a;return e.jsxs(e.Fragment,{children:[l.map(b=>e.jsx(Q,{"aria-label":t(b),children:t(b)},s(b))),i>0&&e.jsxs("span",{className:"flex items-center whitespace-nowrap px-1 text-sm text-muted-foreground",children:["+",i," más"]})]})}function Wo({placeholder:o,showClear:t,startAddon:s,className:r}){return e.jsx(F,{className:r,placeholder:o,showClear:t,startAddon:s})}function Ao({getLabel:o,getId:t,showClear:s,startAddon:r,className:a}){return e.jsxs(K,{className:a,startAddon:r,children:[e.jsx(A,{children:n=>e.jsx(Mo,{value:n,getLabel:o,getId:t})}),e.jsx(S,{showTrigger:!s,showClear:s})]})}function Bo(o){const{items:t,getLabel:s,getId:r,renderItem:a,placeholder:n,emptyText:l="Sin resultados.",multiple:i,onValueChange:b,value:u,defaultValue:f,startAddon:x,classNames:h,showClear:R=!0,searchable:X=!0,...J}=o,y=s??T.defaultGetLabel,g=r??T.defaultGetId,v=c=>String(g(c)),j=c=>t.find(m=>v(m)===c)??null,P=p.useRef(!1);if(process.env.NODE_ENV!=="production"&&!P.current){const c=new Set,m=new Set;for(const eo of t){const w=v(eo);c.has(w)&&m.add(w),c.add(w)}m.size>0&&(P.current=!0,console.warn(`[Combobox] Multiple items resolve to the same id (${[...m].join(", ")}). Provide a \`getId\` that returns a unique value per item.`))}const Y=i?u?.map(c=>j(String(c))).filter(Boolean):u==null?u:j(String(u)),Z=i?f?.map(c=>j(String(c))).filter(Boolean):f==null?void 0:j(String(f)),oo=c=>{if(i){const m=c??[];b?.(m.map(g),m)}else{const m=c??null;b?.(m?g(m):null,m)}};return e.jsxs(L,{items:t,itemToStringLabel:y,itemToStringValue:g,multiple:i,onValueChange:oo,value:Y,defaultValue:Z,isItemEqualToValue:(c,m)=>v(c)===v(m),autoHighlight:!0,loopFocus:!0,...J,children:[i?e.jsx(Ao,{getLabel:y,getId:g,showClear:R,startAddon:x,className:h?.chips}):e.jsx(Wo,{placeholder:n,showClear:R,startAddon:x,className:h?.input}),e.jsxs(D,{className:h?.popup,children:[i&&X&&e.jsx("div",{className:"border-b p-2","data-slot":"combobox-chips-input-wrapper",children:e.jsx(G,{className:h?.chipsInput,placeholder:n})}),e.jsx(W,{className:h?.empty,children:l}),e.jsx(B,{className:h?.list,children:c=>e.jsx(M,{value:c,className:h?.item,children:a?a(c):y(c)},g(c))})]})]})}const Ho=no.useComboboxFilter;exports.Combobox=Bo;exports.ComboboxChip=Q;exports.ComboboxChipRemove=U;exports.ComboboxChips=K;exports.ComboboxChipsInput=G;exports.ComboboxClear=H;exports.ComboboxCollection=Lo;exports.ComboboxContext=C;exports.ComboboxEmpty=W;exports.ComboboxGroup=Vo;exports.ComboboxGroupLabel=$o;exports.ComboboxInput=F;exports.ComboboxItem=M;exports.ComboboxList=B;exports.ComboboxPopup=D;exports.ComboboxRoot=L;exports.ComboboxRow=ko;exports.ComboboxSearchInput=Po;exports.ComboboxSelectTrigger=Ro;exports.ComboboxSeparator=To;exports.ComboboxStatus=Eo;exports.ComboboxTrigger=O;exports.ComboboxValue=A;exports.useComboboxFilter=Ho;
|