ivt 0.2.9 → 0.3.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.
Files changed (166) hide show
  1. package/dist/accordion/index.mjs +1 -1
  2. package/dist/alert/index.mjs +1 -1
  3. package/dist/alert-dialog/index.mjs +1 -1
  4. package/dist/avatar/index.mjs +1 -1
  5. package/dist/badge/index.d.ts +2 -1
  6. package/dist/badge/index.mjs +1 -1
  7. package/dist/base/index.mjs +1 -1
  8. package/dist/base/index.mjs.map +1 -1
  9. package/dist/button/index.mjs +1 -1
  10. package/dist/calendar/index.mjs +1 -1
  11. package/dist/card/index.mjs +1 -1
  12. package/dist/chart/index.mjs +1 -1
  13. package/dist/checkbox/index.mjs +1 -1
  14. package/dist/chunks/{_commonjsHelpers-Bjj-JKBe.mjs → _commonjsHelpers-6qLFzZa5.mjs} +1 -1
  15. package/dist/chunks/_commonjsHelpers-6qLFzZa5.mjs.map +1 -0
  16. package/dist/chunks/{accordion-Dl9OR3bi.mjs → accordion-CdshDFZC.mjs} +2 -2
  17. package/dist/chunks/{accordion-Dl9OR3bi.mjs.map → accordion-CdshDFZC.mjs.map} +1 -1
  18. package/dist/chunks/badge-BYqshEmA.mjs +2 -0
  19. package/dist/chunks/badge-BYqshEmA.mjs.map +1 -0
  20. package/dist/chunks/{bundle-mjs-DRUwh-0R.mjs → bundle-mjs-9BXytT_r.mjs} +1 -1
  21. package/dist/chunks/{bundle-mjs-DRUwh-0R.mjs.map → bundle-mjs-9BXytT_r.mjs.map} +1 -1
  22. package/dist/chunks/{button-Dhe5fFAk.mjs → button-DrFZXJ7z.mjs} +2 -2
  23. package/dist/chunks/{button-Dhe5fFAk.mjs.map → button-DrFZXJ7z.mjs.map} +1 -1
  24. package/dist/chunks/{calendar-CvUHWFGI.mjs → calendar-BY6t8wdJ.mjs} +2 -2
  25. package/dist/chunks/{calendar-CvUHWFGI.mjs.map → calendar-BY6t8wdJ.mjs.map} +1 -1
  26. package/dist/chunks/check-CimnOyD7.mjs +2 -0
  27. package/dist/chunks/{check-CTdDPXjk.mjs.map → check-CimnOyD7.mjs.map} +1 -1
  28. package/dist/chunks/chevron-down-D3fvbjxE.mjs +2 -0
  29. package/dist/chunks/{chevron-down-DDHw_qmV.mjs.map → chevron-down-D3fvbjxE.mjs.map} +1 -1
  30. package/dist/chunks/chevron-left-CrN7DlXg.mjs +2 -0
  31. package/dist/chunks/{chevron-left-CjUEKmgQ.mjs.map → chevron-left-CrN7DlXg.mjs.map} +1 -1
  32. package/dist/chunks/chevron-right-BMSCuDGK.mjs +2 -0
  33. package/dist/chunks/{chevron-right-BaRUY2Lm.mjs.map → chevron-right-BMSCuDGK.mjs.map} +1 -1
  34. package/dist/chunks/chevrons-up-down-DBgvRkZm.mjs +2 -0
  35. package/dist/chunks/chevrons-up-down-DBgvRkZm.mjs.map +1 -0
  36. package/dist/chunks/circle-CGqt18Bd.mjs +2 -0
  37. package/dist/chunks/{circle-B6AT9LZB.mjs.map → circle-CGqt18Bd.mjs.map} +1 -1
  38. package/dist/chunks/{command-B20MmNTS.mjs → command-C6ON-ciq.mjs} +2 -2
  39. package/dist/chunks/{command-B20MmNTS.mjs.map → command-C6ON-ciq.mjs.map} +1 -1
  40. package/dist/chunks/{createLucideIcon-Bub0IDlo.mjs → createLucideIcon-L-tld2uc.mjs} +1 -1
  41. package/dist/chunks/{createLucideIcon-Bub0IDlo.mjs.map → createLucideIcon-L-tld2uc.mjs.map} +1 -1
  42. package/dist/chunks/{dialog-DvFOk-pv.mjs → dialog-36eqHzT3.mjs} +2 -2
  43. package/dist/chunks/{dialog-DvFOk-pv.mjs.map → dialog-36eqHzT3.mjs.map} +1 -1
  44. package/dist/chunks/{hover-card-D8uFTCNm.mjs → hover-card-Cnd58du6.mjs} +2 -2
  45. package/dist/chunks/{hover-card-D8uFTCNm.mjs.map → hover-card-Cnd58du6.mjs.map} +1 -1
  46. package/dist/chunks/{index-Bv09gbbz.mjs → index-B4QsDzeM.mjs} +1 -1
  47. package/dist/chunks/{index-Bv09gbbz.mjs.map → index-B4QsDzeM.mjs.map} +1 -1
  48. package/dist/chunks/{index-B7nzlBcT.mjs → index-BdpYc58_.mjs} +2 -2
  49. package/dist/chunks/{index-B7nzlBcT.mjs.map → index-BdpYc58_.mjs.map} +1 -1
  50. package/dist/chunks/{index-DBp_Gx1M.mjs → index-CCcl327A.mjs} +1 -1
  51. package/dist/chunks/{index-DBp_Gx1M.mjs.map → index-CCcl327A.mjs.map} +1 -1
  52. package/dist/chunks/{index-DZgHf-gI.mjs → index-CLtWFQL5.mjs} +1 -1
  53. package/dist/chunks/{index-DZgHf-gI.mjs.map → index-CLtWFQL5.mjs.map} +1 -1
  54. package/dist/chunks/{index-DmBXPUeL.mjs → index-COvW87ew.mjs} +1 -1
  55. package/dist/chunks/{index-DmBXPUeL.mjs.map → index-COvW87ew.mjs.map} +1 -1
  56. package/dist/chunks/{index-ZCQr-O7f.mjs → index-CRxQlsb9.mjs} +2 -2
  57. package/dist/chunks/{index-ZCQr-O7f.mjs.map → index-CRxQlsb9.mjs.map} +1 -1
  58. package/dist/chunks/{index-Bt73Afz2.mjs → index-CU_y1XAz.mjs} +1 -1
  59. package/dist/chunks/{index-Bt73Afz2.mjs.map → index-CU_y1XAz.mjs.map} +1 -1
  60. package/dist/chunks/{index-Cu6LwID6.mjs → index-CXszXOf_.mjs} +1 -1
  61. package/dist/chunks/{index-Cu6LwID6.mjs.map → index-CXszXOf_.mjs.map} +1 -1
  62. package/dist/chunks/{index-CaYe_hNP.mjs → index-CdJCOoFA.mjs} +1 -1
  63. package/dist/chunks/{index-CaYe_hNP.mjs.map → index-CdJCOoFA.mjs.map} +1 -1
  64. package/dist/chunks/{index-DheYAHt3.mjs → index-Cpq7N5Ej.mjs} +1 -1
  65. package/dist/chunks/{index-DheYAHt3.mjs.map → index-Cpq7N5Ej.mjs.map} +1 -1
  66. package/dist/chunks/{index-VuwFoF4R.mjs → index-CybgQKpz.mjs} +2 -2
  67. package/dist/chunks/{index-VuwFoF4R.mjs.map → index-CybgQKpz.mjs.map} +1 -1
  68. package/dist/chunks/{index-C4C3l5WF.mjs → index-D2sZp5OP.mjs} +2 -2
  69. package/dist/chunks/{index-C4C3l5WF.mjs.map → index-D2sZp5OP.mjs.map} +1 -1
  70. package/dist/chunks/{index-Bo9g9ZHj.mjs → index-DOyt-JEx.mjs} +2 -2
  71. package/dist/chunks/{index-Bo9g9ZHj.mjs.map → index-DOyt-JEx.mjs.map} +1 -1
  72. package/dist/chunks/{index-BOWDavn2.mjs → index-DUNcuWJE.mjs} +2 -2
  73. package/dist/chunks/{index-BOWDavn2.mjs.map → index-DUNcuWJE.mjs.map} +1 -1
  74. package/dist/chunks/{index-czDftnY4.mjs → index-DZHMFdr0.mjs} +2 -2
  75. package/dist/chunks/{index-czDftnY4.mjs.map → index-DZHMFdr0.mjs.map} +1 -1
  76. package/dist/chunks/{index-0ahJ1Q21.mjs → index-LvOFIVGz.mjs} +2 -2
  77. package/dist/chunks/{index-0ahJ1Q21.mjs.map → index-LvOFIVGz.mjs.map} +1 -1
  78. package/dist/chunks/{index-CzTsDkbO.mjs → index-lvPXnk5F.mjs} +2 -2
  79. package/dist/chunks/{index-CzTsDkbO.mjs.map → index-lvPXnk5F.mjs.map} +1 -1
  80. package/dist/chunks/{index-gfwlB8lL.mjs → index-vmPXTidH.mjs} +2 -2
  81. package/dist/chunks/{index-gfwlB8lL.mjs.map → index-vmPXTidH.mjs.map} +1 -1
  82. package/dist/chunks/{index-DuDVR7ID.mjs → index-w9bxia3O.mjs} +1 -1
  83. package/dist/chunks/{index-DuDVR7ID.mjs.map → index-w9bxia3O.mjs.map} +1 -1
  84. package/dist/chunks/{index-GOFmxCuq.mjs → index-xew3kygQ.mjs} +2 -2
  85. package/dist/chunks/{index-GOFmxCuq.mjs.map → index-xew3kygQ.mjs.map} +1 -1
  86. package/dist/chunks/{input-DnILT0JB.mjs → input-85UFztMJ.mjs} +2 -2
  87. package/dist/chunks/{input-DnILT0JB.mjs.map → input-85UFztMJ.mjs.map} +1 -1
  88. package/dist/chunks/{label-C4MbS7O2.mjs → label-CICFzZIt.mjs} +2 -2
  89. package/dist/chunks/{label-C4MbS7O2.mjs.map → label-CICFzZIt.mjs.map} +1 -1
  90. package/dist/chunks/{pagination-BvnQsAX6.mjs → pagination-CReDQes6.mjs} +2 -2
  91. package/dist/chunks/{pagination-BvnQsAX6.mjs.map → pagination-CReDQes6.mjs.map} +1 -1
  92. package/dist/chunks/{popover-CLYjD1Mz.mjs → popover-Cn2ZTvKd.mjs} +2 -2
  93. package/dist/chunks/{popover-CLYjD1Mz.mjs.map → popover-Cn2ZTvKd.mjs.map} +1 -1
  94. package/dist/chunks/{progress-B7e979vj.mjs → progress-CSxQH6-f.mjs} +2 -2
  95. package/dist/chunks/{progress-B7e979vj.mjs.map → progress-CSxQH6-f.mjs.map} +1 -1
  96. package/dist/chunks/{scroll-area-DeP5Jei7.mjs → scroll-area-CvCz7cL_.mjs} +2 -2
  97. package/dist/chunks/{scroll-area-DeP5Jei7.mjs.map → scroll-area-CvCz7cL_.mjs.map} +1 -1
  98. package/dist/chunks/select-BR6_N_Yo.mjs +2 -0
  99. package/dist/chunks/select-BR6_N_Yo.mjs.map +1 -0
  100. package/dist/chunks/{separator-DbIrm4r-.mjs → separator-BB6-E9Z1.mjs} +2 -2
  101. package/dist/chunks/{separator-DbIrm4r-.mjs.map → separator-BB6-E9Z1.mjs.map} +1 -1
  102. package/dist/chunks/{skeleton-j85jApz0.mjs → skeleton-XPWWiaac.mjs} +2 -2
  103. package/dist/chunks/{skeleton-j85jApz0.mjs.map → skeleton-XPWWiaac.mjs.map} +1 -1
  104. package/dist/chunks/{sortable-D6tXnjgL.mjs → sortable-CqPFGn8Q.mjs} +2 -2
  105. package/dist/chunks/{sortable-D6tXnjgL.mjs.map → sortable-CqPFGn8Q.mjs.map} +1 -1
  106. package/dist/chunks/{table-BsrKQPpM.mjs → table-LQIHzPHi.mjs} +2 -2
  107. package/dist/chunks/{table-BsrKQPpM.mjs.map → table-LQIHzPHi.mjs.map} +1 -1
  108. package/dist/chunks/{toggle-DFi2H45K.mjs → toggle-Co72WXGd.mjs} +2 -2
  109. package/dist/chunks/{toggle-DFi2H45K.mjs.map → toggle-Co72WXGd.mjs.map} +1 -1
  110. package/dist/chunks/tooltip-qX2HjdJP.mjs +2 -0
  111. package/dist/chunks/tooltip-qX2HjdJP.mjs.map +1 -0
  112. package/dist/chunks/{tslib.es6-mR5Ag05r.mjs → tslib.es6-cMGqxriw.mjs} +1 -1
  113. package/dist/chunks/{tslib.es6-mR5Ag05r.mjs.map → tslib.es6-cMGqxriw.mjs.map} +1 -1
  114. package/dist/chunks/{utils-C1EKaz-p.mjs → utils-BctauAA9.mjs} +2 -2
  115. package/dist/chunks/{utils-C1EKaz-p.mjs.map → utils-BctauAA9.mjs.map} +1 -1
  116. package/dist/chunks/x-BNLl0E-E.mjs +2 -0
  117. package/dist/chunks/{x-B1PdcxpA.mjs.map → x-BNLl0E-E.mjs.map} +1 -1
  118. package/dist/combobox/index.mjs +1 -1
  119. package/dist/combobox/index.mjs.map +1 -1
  120. package/dist/command/index.mjs +1 -1
  121. package/dist/data-table/index.mjs +1 -1
  122. package/dist/dialog/index.mjs +1 -1
  123. package/dist/dropdown-menu/index.mjs +1 -1
  124. package/dist/dropzone/index.mjs +1 -1
  125. package/dist/form/index.mjs +1 -1
  126. package/dist/hover-card/index.mjs +1 -1
  127. package/dist/icon/index.mjs +1 -1
  128. package/dist/index.css +1 -1
  129. package/dist/input/index.mjs +1 -1
  130. package/dist/ivt.css +1 -1
  131. package/dist/label/index.mjs +1 -1
  132. package/dist/menubar/index.mjs +1 -1
  133. package/dist/multi-select/index.d.ts +5 -1
  134. package/dist/multi-select/index.mjs +1 -1
  135. package/dist/multi-select/index.mjs.map +1 -1
  136. package/dist/pagination/index.mjs +1 -1
  137. package/dist/popover/index.mjs +1 -1
  138. package/dist/progress/index.mjs +1 -1
  139. package/dist/radio-group/index.mjs +1 -1
  140. package/dist/scroll-area/index.mjs +1 -1
  141. package/dist/select/index.d.ts +13 -11
  142. package/dist/select/index.mjs +1 -1
  143. package/dist/separator/index.mjs +1 -1
  144. package/dist/sheet/index.mjs +1 -1
  145. package/dist/skeleton/index.mjs +1 -1
  146. package/dist/sortable/index.mjs +1 -1
  147. package/dist/table/index.mjs +1 -1
  148. package/dist/tabs/index.mjs +1 -1
  149. package/dist/textarea/index.mjs +1 -1
  150. package/dist/toast/index.mjs +1 -1
  151. package/dist/toggle/index.mjs +1 -1
  152. package/dist/toggle-group/index.mjs +1 -1
  153. package/dist/tooltip/index.mjs +1 -1
  154. package/dist/tooltip/index.mjs.map +1 -1
  155. package/package.json +3 -3
  156. package/dist/chunks/_commonjsHelpers-Bjj-JKBe.mjs.map +0 -1
  157. package/dist/chunks/badge-CPhxsSVZ.mjs +0 -2
  158. package/dist/chunks/badge-CPhxsSVZ.mjs.map +0 -1
  159. package/dist/chunks/check-CTdDPXjk.mjs +0 -2
  160. package/dist/chunks/chevron-down-DDHw_qmV.mjs +0 -2
  161. package/dist/chunks/chevron-left-CjUEKmgQ.mjs +0 -2
  162. package/dist/chunks/chevron-right-BaRUY2Lm.mjs +0 -2
  163. package/dist/chunks/circle-B6AT9LZB.mjs +0 -2
  164. package/dist/chunks/select-BdrpNh7G.mjs +0 -2
  165. package/dist/chunks/select-BdrpNh7G.mjs.map +0 -1
  166. package/dist/chunks/x-B1PdcxpA.mjs +0 -2
@@ -1,2 +1,2 @@
1
- import{c as e}from"../chunks/utils-C1EKaz-p.mjs";import*as t from"react";import n from"react";import{c as o}from"../chunks/index-CaYe_hNP.mjs";import{c as r}from"../chunks/index-DmBXPUeL.mjs";import{c as a}from"../chunks/index-DBp_Gx1M.mjs";import{u as d}from"../chunks/index-VuwFoF4R.mjs";import{P as s}from"../chunks/index-DuDVR7ID.mjs";import{c as i,R as c,P as u,A as p,C as l,G as m,L as f,I as g,a as h,b as w,d as v,e as x,S as b,f as _,g as D,h as y,i as N}from"../chunks/index-czDftnY4.mjs";import{u as k}from"../chunks/index-ZCQr-O7f.mjs";import{jsx as M}from"react/jsx-runtime";import{C as j}from"../chunks/check-CTdDPXjk.mjs";import{C as E}from"../chunks/circle-B6AT9LZB.mjs";import{C as R}from"../chunks/chevron-right-BaRUY2Lm.mjs";import"../chunks/bundle-mjs-DRUwh-0R.mjs";import"../chunks/index-DZgHf-gI.mjs";import"react-dom";import"@radix-ui/react-slot";import"@radix-ui/react-collection";import"../chunks/index-Bt73Afz2.mjs";import"../chunks/index-GOFmxCuq.mjs";import"../chunks/index-Cu6LwID6.mjs";import"../chunks/index-CzTsDkbO.mjs";import"../chunks/tslib.es6-mR5Ag05r.mjs";import"../chunks/index-Bo9g9ZHj.mjs";import"../chunks/index-gfwlB8lL.mjs";import"../chunks/index-B7nzlBcT.mjs";import"../chunks/index-0ahJ1Q21.mjs";import"../chunks/createLucideIcon-Bub0IDlo.mjs";var C="DropdownMenu",[z,I]=a(C,[i]),O=i(),[P,A]=z(C),K=e=>{const{__scopeDropdownMenu:n,children:o,dir:r,open:a,defaultOpen:s,onOpenChange:i,modal:u=!0}=e,p=O(n),l=t.useRef(null),[m,f]=d({prop:a,defaultProp:s??!1,onChange:i,caller:C});return M(P,{scope:n,triggerId:k(),triggerRef:l,contentId:k(),open:m,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),modal:u,children:M(c,{...p,open:m,onOpenChange:f,dir:r,modal:u,children:o})})};K.displayName=C;var S="DropdownMenuTrigger",T=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:a=!1,...d}=e,i=A(S,n),c=O(n);return M(p,{asChild:!0,...c,children:M(s.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...d,ref:r(t,i.triggerRef),onPointerDown:o(e.onPointerDown,e=>{a||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:o(e.onKeyDown,e=>{a||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});T.displayName=S;var G=e=>{const{__scopeDropdownMenu:t,...n}=e,o=O(t);return M(u,{...o,...n})};G.displayName="DropdownMenuPortal";var L="DropdownMenuContent",F=t.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,d=A(L,r),s=O(r),i=t.useRef(!1);return M(l,{id:d.contentId,"aria-labelledby":d.triggerId,...s,...a,ref:n,onCloseAutoFocus:o(e.onCloseAutoFocus,e=>{i.current||d.triggerRef.current?.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:o(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;d.modal&&!o||(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});F.displayName=L;var B=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(m,{...r,...o,ref:t})});B.displayName="DropdownMenuGroup";var J=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(f,{...r,...o,ref:t})});J.displayName="DropdownMenuLabel";var q=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(g,{...r,...o,ref:t})});q.displayName="DropdownMenuItem";var H=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(h,{...r,...o,ref:t})});H.displayName="DropdownMenuCheckboxItem";var Q=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(v,{...r,...o,ref:t})});Q.displayName="DropdownMenuRadioGroup";var U=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(x,{...r,...o,ref:t})});U.displayName="DropdownMenuRadioItem";var V=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(w,{...r,...o,ref:t})});V.displayName="DropdownMenuItemIndicator";var W=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(b,{...r,...o,ref:t})});W.displayName="DropdownMenuSeparator";t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(N,{...r,...o,ref:t})}).displayName="DropdownMenuArrow";var X=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(D,{...r,...o,ref:t})});X.displayName="DropdownMenuSubTrigger";var Y=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(y,{...r,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Y.displayName="DropdownMenuSubContent";var Z=K,$=T,ee=G,te=F,ne=B,oe=J,re=q,ae=H,de=Q,se=U,ie=V,ce=W,ue=e=>{const{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:r,defaultOpen:a}=e,s=O(t),[i,c]=d({prop:o,defaultProp:a??!1,onChange:r,caller:"DropdownMenuSub"});return M(_,{...s,open:i,onOpenChange:c,children:n})},pe=X,le=Y;function me({...e}){return n.createElement(Z,{"data-slot":"dropdown-menu",...e})}function fe({...e}){return n.createElement(ee,{"data-slot":"dropdown-menu-portal",...e})}function ge({...e}){return n.createElement($,{"data-slot":"dropdown-menu-trigger",...e})}function he({className:t,sideOffset:o=4,...r}){return n.createElement(ee,null,n.createElement(te,{"data-slot":"dropdown-menu-content",sideOffset:o,className:e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...r}))}function we({...e}){return n.createElement(ne,{"data-slot":"dropdown-menu-group",...e})}function ve({className:t,inset:o,variant:r="default",...a}){return n.createElement(re,{"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":r,className:e("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:bg-destructive/10 data-[variant=destructive]:text-foreground data-[variant=destructive]:focus:bg-destructive/90 dark:data-[variant=destructive]:focus:bg-destructive/90 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...a})}function xe({className:t,children:o,checked:r,...a}){return n.createElement(ae,{"data-slot":"dropdown-menu-checkbox-item",className:e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:r,...a},n.createElement("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center"},n.createElement(ie,null,n.createElement(j,{className:"size-4"}))),o)}function be({...e}){return n.createElement(de,{"data-slot":"dropdown-menu-radio-group",...e})}function _e({className:t,children:o,...r}){return n.createElement(se,{"data-slot":"dropdown-menu-radio-item",className:e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r},n.createElement("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center"},n.createElement(ie,null,n.createElement(E,{className:"size-2 fill-current"}))),o)}function De({className:t,inset:o,...r}){return n.createElement(oe,{"data-slot":"dropdown-menu-label","data-inset":o,className:e("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...r})}function ye({className:t,...o}){return n.createElement(ce,{"data-slot":"dropdown-menu-separator",className:e("bg-border -mx-1 my-1 h-px",t),...o})}function Ne({className:t,...o}){return n.createElement("span",{"data-slot":"dropdown-menu-shortcut",className:e("text-muted-foreground ml-auto text-xs tracking-widest",t),...o})}function ke({...e}){return n.createElement(ue,{"data-slot":"dropdown-menu-sub",...e})}function Me({className:t,inset:o,children:r,...a}){return n.createElement(pe,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:e("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",t),...a},r,n.createElement(R,{className:"ml-auto size-4"}))}function je({className:t,...o}){return n.createElement(le,{"data-slot":"dropdown-menu-sub-content",className:e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg",t),...o})}export{me as DropdownMenu,xe as DropdownMenuCheckboxItem,he as DropdownMenuContent,we as DropdownMenuGroup,ve as DropdownMenuItem,De as DropdownMenuLabel,fe as DropdownMenuPortal,be as DropdownMenuRadioGroup,_e as DropdownMenuRadioItem,ye as DropdownMenuSeparator,Ne as DropdownMenuShortcut,ke as DropdownMenuSub,je as DropdownMenuSubContent,Me as DropdownMenuSubTrigger,ge as DropdownMenuTrigger};
1
+ import{c as e}from"../chunks/utils-BctauAA9.mjs";import*as t from"react";import n from"react";import{c as o}from"../chunks/index-CdJCOoFA.mjs";import{c as r}from"../chunks/index-COvW87ew.mjs";import{c as a}from"../chunks/index-CCcl327A.mjs";import{u as d}from"../chunks/index-CybgQKpz.mjs";import{P as s}from"../chunks/index-w9bxia3O.mjs";import{c as i,R as c,P as u,A as p,C as l,G as m,L as f,I as g,a as h,b as w,d as v,e as x,S as b,f as _,g as D,h as y,i as N}from"../chunks/index-DZHMFdr0.mjs";import{u as k}from"../chunks/index-CRxQlsb9.mjs";import{jsx as M}from"react/jsx-runtime";import{C as j}from"../chunks/check-CimnOyD7.mjs";import{C as E}from"../chunks/circle-CGqt18Bd.mjs";import{C as R}from"../chunks/chevron-right-BMSCuDGK.mjs";import"../chunks/bundle-mjs-9BXytT_r.mjs";import"../chunks/index-CLtWFQL5.mjs";import"react-dom";import"@radix-ui/react-slot";import"@radix-ui/react-collection";import"../chunks/index-CU_y1XAz.mjs";import"../chunks/index-xew3kygQ.mjs";import"../chunks/index-CXszXOf_.mjs";import"../chunks/index-lvPXnk5F.mjs";import"../chunks/tslib.es6-cMGqxriw.mjs";import"../chunks/index-DOyt-JEx.mjs";import"../chunks/index-vmPXTidH.mjs";import"../chunks/index-BdpYc58_.mjs";import"../chunks/index-LvOFIVGz.mjs";import"../chunks/createLucideIcon-L-tld2uc.mjs";var C="DropdownMenu",[z,I]=a(C,[i]),O=i(),[P,A]=z(C),S=e=>{const{__scopeDropdownMenu:n,children:o,dir:r,open:a,defaultOpen:s,onOpenChange:i,modal:u=!0}=e,p=O(n),l=t.useRef(null),[m,f]=d({prop:a,defaultProp:s??!1,onChange:i,caller:C});return M(P,{scope:n,triggerId:k(),triggerRef:l,contentId:k(),open:m,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),modal:u,children:M(c,{...p,open:m,onOpenChange:f,dir:r,modal:u,children:o})})};S.displayName=C;var T="DropdownMenuTrigger",K=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:a=!1,...d}=e,i=A(T,n),c=O(n);return M(p,{asChild:!0,...c,children:M(s.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...d,ref:r(t,i.triggerRef),onPointerDown:o(e.onPointerDown,e=>{a||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:o(e.onKeyDown,e=>{a||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});K.displayName=T;var G=e=>{const{__scopeDropdownMenu:t,...n}=e,o=O(t);return M(u,{...o,...n})};G.displayName="DropdownMenuPortal";var L="DropdownMenuContent",F=t.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,d=A(L,r),s=O(r),i=t.useRef(!1);return M(l,{id:d.contentId,"aria-labelledby":d.triggerId,...s,...a,ref:n,onCloseAutoFocus:o(e.onCloseAutoFocus,e=>{i.current||d.triggerRef.current?.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:o(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;d.modal&&!o||(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});F.displayName=L;var B=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(m,{...r,...o,ref:t})});B.displayName="DropdownMenuGroup";var q=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(f,{...r,...o,ref:t})});q.displayName="DropdownMenuLabel";var H=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(g,{...r,...o,ref:t})});H.displayName="DropdownMenuItem";var J=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(h,{...r,...o,ref:t})});J.displayName="DropdownMenuCheckboxItem";var Q=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(v,{...r,...o,ref:t})});Q.displayName="DropdownMenuRadioGroup";var U=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(x,{...r,...o,ref:t})});U.displayName="DropdownMenuRadioItem";var V=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(w,{...r,...o,ref:t})});V.displayName="DropdownMenuItemIndicator";var W=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(b,{...r,...o,ref:t})});W.displayName="DropdownMenuSeparator";t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(N,{...r,...o,ref:t})}).displayName="DropdownMenuArrow";var X=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(D,{...r,...o,ref:t})});X.displayName="DropdownMenuSubTrigger";var Y=t.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=O(n);return M(y,{...r,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Y.displayName="DropdownMenuSubContent";var Z=S,$=K,ee=G,te=F,ne=B,oe=q,re=H,ae=J,de=Q,se=U,ie=V,ce=W,ue=e=>{const{__scopeDropdownMenu:t,children:n,open:o,onOpenChange:r,defaultOpen:a}=e,s=O(t),[i,c]=d({prop:o,defaultProp:a??!1,onChange:r,caller:"DropdownMenuSub"});return M(_,{...s,open:i,onOpenChange:c,children:n})},pe=X,le=Y;function me({...e}){return n.createElement(Z,{"data-slot":"dropdown-menu",...e})}function fe({...e}){return n.createElement(ee,{"data-slot":"dropdown-menu-portal",...e})}function ge({...e}){return n.createElement($,{"data-slot":"dropdown-menu-trigger",...e})}function he({className:t,sideOffset:o=4,...r}){return n.createElement(ee,null,n.createElement(te,{"data-slot":"dropdown-menu-content",sideOffset:o,className:e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...r}))}function we({...e}){return n.createElement(ne,{"data-slot":"dropdown-menu-group",...e})}function ve({className:t,inset:o,variant:r="default",...a}){return n.createElement(re,{"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":r,className:e("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:bg-destructive/10 data-[variant=destructive]:text-foreground data-[variant=destructive]:focus:bg-destructive/90 dark:data-[variant=destructive]:focus:bg-destructive/90 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...a})}function xe({className:t,children:o,checked:r,...a}){return n.createElement(ae,{"data-slot":"dropdown-menu-checkbox-item",className:e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:r,...a},n.createElement("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center"},n.createElement(ie,null,n.createElement(j,{className:"size-4"}))),o)}function be({...e}){return n.createElement(de,{"data-slot":"dropdown-menu-radio-group",...e})}function _e({className:t,children:o,...r}){return n.createElement(se,{"data-slot":"dropdown-menu-radio-item",className:e("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r},n.createElement("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center"},n.createElement(ie,null,n.createElement(E,{className:"size-2 fill-current"}))),o)}function De({className:t,inset:o,...r}){return n.createElement(oe,{"data-slot":"dropdown-menu-label","data-inset":o,className:e("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...r})}function ye({className:t,...o}){return n.createElement(ce,{"data-slot":"dropdown-menu-separator",className:e("bg-border -mx-1 my-1 h-px",t),...o})}function Ne({className:t,...o}){return n.createElement("span",{"data-slot":"dropdown-menu-shortcut",className:e("text-muted-foreground ml-auto text-xs tracking-widest",t),...o})}function ke({...e}){return n.createElement(ue,{"data-slot":"dropdown-menu-sub",...e})}function Me({className:t,inset:o,children:r,...a}){return n.createElement(pe,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:e("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",t),...a},r,n.createElement(R,{className:"ml-auto size-4"}))}function je({className:t,...o}){return n.createElement(le,{"data-slot":"dropdown-menu-sub-content",className:e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg",t),...o})}export{me as DropdownMenu,xe as DropdownMenuCheckboxItem,he as DropdownMenuContent,we as DropdownMenuGroup,ve as DropdownMenuItem,De as DropdownMenuLabel,fe as DropdownMenuPortal,be as DropdownMenuRadioGroup,_e as DropdownMenuRadioItem,ye as DropdownMenuSeparator,Ne as DropdownMenuShortcut,ke as DropdownMenuSub,je as DropdownMenuSubContent,Me as DropdownMenuSubTrigger,ge as DropdownMenuTrigger};
2
2
  //# sourceMappingURL=index.mjs.map