ivt 0.3.2 → 0.3.4

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 (257) hide show
  1. package/dist/accordion/index.mjs +19 -1
  2. package/dist/accordion/index.mjs.map +1 -1
  3. package/dist/alert/index.mjs +43 -1
  4. package/dist/alert/index.mjs.map +1 -1
  5. package/dist/alert-dialog/index.mjs +260 -1
  6. package/dist/alert-dialog/index.mjs.map +1 -1
  7. package/dist/avatar/index.mjs +164 -1
  8. package/dist/avatar/index.mjs.map +1 -1
  9. package/dist/badge/index.mjs +6 -1
  10. package/dist/badge/index.mjs.map +1 -1
  11. package/dist/base/index.mjs +760 -1
  12. package/dist/base/index.mjs.map +1 -1
  13. package/dist/button/index.mjs +6 -1
  14. package/dist/button/index.mjs.map +1 -1
  15. package/dist/calendar/index.mjs +11 -1
  16. package/dist/calendar/index.mjs.map +1 -1
  17. package/dist/card/index.mjs +55 -1
  18. package/dist/card/index.mjs.map +1 -1
  19. package/dist/chart/index.mjs +17042 -1
  20. package/dist/chart/index.mjs.map +1 -1
  21. package/dist/checkbox/index.mjs +223 -1
  22. package/dist/checkbox/index.mjs.map +1 -1
  23. package/dist/chunks/_commonjsHelpers-DqEvkrE1.mjs +6 -0
  24. package/dist/chunks/_commonjsHelpers-DqEvkrE1.mjs.map +1 -0
  25. package/dist/chunks/accordion-BMP2PSSC.mjs +455 -0
  26. package/dist/chunks/{accordion-CdshDFZC.mjs.map → accordion-BMP2PSSC.mjs.map} +1 -1
  27. package/dist/chunks/badge-DxuZhgBF.mjs +57 -0
  28. package/dist/chunks/{badge-BYqshEmA.mjs.map → badge-DxuZhgBF.mjs.map} +1 -1
  29. package/dist/chunks/bundle-mjs-tFg__FnT.mjs +4491 -0
  30. package/dist/chunks/{bundle-mjs-9BXytT_r.mjs.map → bundle-mjs-tFg__FnT.mjs.map} +1 -1
  31. package/dist/chunks/button-CX0htulo.mjs +47 -0
  32. package/dist/chunks/{button-DrFZXJ7z.mjs.map → button-CX0htulo.mjs.map} +1 -1
  33. package/dist/chunks/calendar-B4IV5RyM.mjs +7106 -0
  34. package/dist/chunks/calendar-B4IV5RyM.mjs.map +1 -0
  35. package/dist/chunks/check-B7209s3e.mjs +15 -0
  36. package/dist/chunks/{check-CimnOyD7.mjs.map → check-B7209s3e.mjs.map} +1 -1
  37. package/dist/chunks/chevron-down-D84DRJBv.mjs +15 -0
  38. package/dist/chunks/{chevron-down-D3fvbjxE.mjs.map → chevron-down-D84DRJBv.mjs.map} +1 -1
  39. package/dist/chunks/chevron-left-DtL1t1DJ.mjs +15 -0
  40. package/dist/chunks/{chevron-left-CrN7DlXg.mjs.map → chevron-left-DtL1t1DJ.mjs.map} +1 -1
  41. package/dist/chunks/chevron-right-Cdxg1JSQ.mjs +15 -0
  42. package/dist/chunks/{chevron-right-BMSCuDGK.mjs.map → chevron-right-Cdxg1JSQ.mjs.map} +1 -1
  43. package/dist/chunks/chevrons-up-down-DtBUG1i8.mjs +22 -0
  44. package/dist/chunks/{chevrons-up-down-DBgvRkZm.mjs.map → chevrons-up-down-DtBUG1i8.mjs.map} +1 -1
  45. package/dist/chunks/circle-BLWMZ9yp.mjs +17 -0
  46. package/dist/chunks/{circle-CGqt18Bd.mjs.map → circle-BLWMZ9yp.mjs.map} +1 -1
  47. package/dist/chunks/command-C8cVzg-x.mjs +611 -0
  48. package/dist/chunks/command-C8cVzg-x.mjs.map +1 -0
  49. package/dist/chunks/createLucideIcon-Ba0IWqsz.mjs +60 -0
  50. package/dist/chunks/{createLucideIcon-L-tld2uc.mjs.map → createLucideIcon-Ba0IWqsz.mjs.map} +1 -1
  51. package/dist/chunks/dialog-D9vbxUuQ.mjs +80 -0
  52. package/dist/chunks/{dialog-36eqHzT3.mjs.map → dialog-D9vbxUuQ.mjs.map} +1 -1
  53. package/dist/chunks/hover-card-idvDPXrI.mjs +274 -0
  54. package/dist/chunks/{hover-card-Cnd58du6.mjs.map → hover-card-idvDPXrI.mjs.map} +1 -1
  55. package/dist/chunks/index-6JUj2Tld.mjs +18 -0
  56. package/dist/chunks/{index-CRxQlsb9.mjs.map → index-6JUj2Tld.mjs.map} +1 -1
  57. package/dist/chunks/index-B0IElWB4.mjs +51 -0
  58. package/dist/chunks/{index-vmPXTidH.mjs.map → index-B0IElWB4.mjs.map} +1 -1
  59. package/dist/chunks/index-B4VRyyD1.mjs +40 -0
  60. package/dist/chunks/index-B4VRyyD1.mjs.map +1 -0
  61. package/dist/chunks/index-BE-_q4IW.mjs +266 -0
  62. package/dist/chunks/index-BE-_q4IW.mjs.map +1 -0
  63. package/dist/chunks/index-BNxaLFA6.mjs +216 -0
  64. package/dist/chunks/{index-LvOFIVGz.mjs.map → index-BNxaLFA6.mjs.map} +1 -1
  65. package/dist/chunks/index-BZUrHhU8.mjs +7 -0
  66. package/dist/chunks/{index-CLtWFQL5.mjs.map → index-BZUrHhU8.mjs.map} +1 -1
  67. package/dist/chunks/index-B_FsTtnF.mjs +110 -0
  68. package/dist/chunks/{index-CCcl327A.mjs.map → index-B_FsTtnF.mjs.map} +1 -1
  69. package/dist/chunks/index-CAg47KJ6.mjs +13 -0
  70. package/dist/chunks/{index-CXszXOf_.mjs.map → index-CAg47KJ6.mjs.map} +1 -1
  71. package/dist/chunks/index-CXuEm8w1.mjs +12 -0
  72. package/dist/chunks/{index-CU_y1XAz.mjs.map → index-CXuEm8w1.mjs.map} +1 -1
  73. package/dist/chunks/index-C_jFwfR_.mjs +77 -0
  74. package/dist/chunks/{index-CybgQKpz.mjs.map → index-C_jFwfR_.mjs.map} +1 -1
  75. package/dist/chunks/index-CglX-DNW.mjs +21 -0
  76. package/dist/chunks/index-CglX-DNW.mjs.map +1 -0
  77. package/dist/chunks/index-CyMuypYR.mjs +324 -0
  78. package/dist/chunks/{index-DUNcuWJE.mjs.map → index-CyMuypYR.mjs.map} +1 -1
  79. package/dist/chunks/index-D0S6rRRE.mjs +50 -0
  80. package/dist/chunks/{index-w9bxia3O.mjs.map → index-D0S6rRRE.mjs.map} +1 -1
  81. package/dist/chunks/index-D23BhVQG.mjs +859 -0
  82. package/dist/chunks/{index-DZHMFdr0.mjs.map → index-D23BhVQG.mjs.map} +1 -1
  83. package/dist/chunks/index-D2wfJaZh.mjs +145 -0
  84. package/dist/chunks/index-D2wfJaZh.mjs.map +1 -0
  85. package/dist/chunks/index-DNvm9MP3.mjs +34 -0
  86. package/dist/chunks/{index-D2sZp5OP.mjs.map → index-DNvm9MP3.mjs.map} +1 -1
  87. package/dist/chunks/index-Dm4_czlz.mjs +12 -0
  88. package/dist/chunks/index-Dm4_czlz.mjs.map +1 -0
  89. package/dist/chunks/index-PaJVyocC.mjs +151 -0
  90. package/dist/chunks/index-PaJVyocC.mjs.map +1 -0
  91. package/dist/chunks/index-kr6_v_F8.mjs +2370 -0
  92. package/dist/chunks/index-kr6_v_F8.mjs.map +1 -0
  93. package/dist/chunks/index-sz_BcBbA.mjs +1210 -0
  94. package/dist/chunks/index-sz_BcBbA.mjs.map +1 -0
  95. package/dist/chunks/input-DK1slFF1.mjs +14 -0
  96. package/dist/chunks/{input-85UFztMJ.mjs.map → input-DK1slFF1.mjs.map} +1 -1
  97. package/dist/chunks/label-D7ONQdHc.mjs +32 -0
  98. package/dist/chunks/{label-CICFzZIt.mjs.map → label-D7ONQdHc.mjs.map} +1 -1
  99. package/dist/chunks/pagination-BM_IQ6Qk.mjs +106 -0
  100. package/dist/chunks/{pagination-CReDQes6.mjs.map → pagination-BM_IQ6Qk.mjs.map} +1 -1
  101. package/dist/chunks/popover-D3F326FR.mjs +308 -0
  102. package/dist/chunks/{popover-Cn2ZTvKd.mjs.map → popover-D3F326FR.mjs.map} +1 -1
  103. package/dist/chunks/progress-BCl5yD5Q.mjs +99 -0
  104. package/dist/chunks/{progress-CSxQH6-f.mjs.map → progress-BCl5yD5Q.mjs.map} +1 -1
  105. package/dist/chunks/scroll-area-DB3eUx8V.mjs +791 -0
  106. package/dist/chunks/scroll-area-DB3eUx8V.mjs.map +1 -0
  107. package/dist/chunks/select-Cw81y8pT.mjs +104 -0
  108. package/dist/chunks/{select-BR6_N_Yo.mjs.map → select-Cw81y8pT.mjs.map} +1 -1
  109. package/dist/chunks/separator-2k1C7RSn.mjs +48 -0
  110. package/dist/chunks/{separator-BB6-E9Z1.mjs.map → separator-2k1C7RSn.mjs.map} +1 -1
  111. package/dist/chunks/skeleton-qx8-vr62.mjs +13 -0
  112. package/dist/chunks/{skeleton-XPWWiaac.mjs.map → skeleton-qx8-vr62.mjs.map} +1 -1
  113. package/dist/chunks/sortable-D8ayoe_b.mjs +4221 -0
  114. package/dist/chunks/sortable-D8ayoe_b.mjs.map +1 -0
  115. package/dist/chunks/table-BDNUhtz-.mjs +62 -0
  116. package/dist/chunks/{table-LQIHzPHi.mjs.map → table-BDNUhtz-.mjs.map} +1 -1
  117. package/dist/chunks/toggle-CE2ycSdL.mjs +65 -0
  118. package/dist/chunks/{toggle-Co72WXGd.mjs.map → toggle-CE2ycSdL.mjs.map} +1 -1
  119. package/dist/chunks/tooltip-DLD0ycR4.mjs +596 -0
  120. package/dist/chunks/{tooltip-qX2HjdJP.mjs.map → tooltip-DLD0ycR4.mjs.map} +1 -1
  121. package/dist/chunks/tslib.es6-BgHLrbno.mjs +61 -0
  122. package/dist/chunks/{tslib.es6-cMGqxriw.mjs.map → tslib.es6-BgHLrbno.mjs.map} +1 -1
  123. package/dist/chunks/utils-BUelq9Ro.mjs +42 -0
  124. package/dist/chunks/utils-BUelq9Ro.mjs.map +1 -0
  125. package/dist/chunks/x-Bjz0Vo6R.mjs +22 -0
  126. package/dist/chunks/{x-BNLl0E-E.mjs.map → x-Bjz0Vo6R.mjs.map} +1 -1
  127. package/dist/combobox/index.mjs +65 -1
  128. package/dist/combobox/index.mjs.map +1 -1
  129. package/dist/command/index.mjs +23 -1
  130. package/dist/command/index.mjs.map +1 -1
  131. package/dist/data-table/index.mjs +673 -1
  132. package/dist/data-table/index.mjs.map +1 -1
  133. package/dist/dialog/index.mjs +22 -1
  134. package/dist/dialog/index.mjs.map +1 -1
  135. package/dist/dropdown-menu/index.mjs +438 -1
  136. package/dist/dropdown-menu/index.mjs.map +1 -1
  137. package/dist/dropzone/index.mjs +7839 -1
  138. package/dist/dropzone/index.mjs.map +1 -1
  139. package/dist/form/index.mjs +649 -1
  140. package/dist/form/index.mjs.map +1 -1
  141. package/dist/hover-card/index.mjs +18 -1
  142. package/dist/hover-card/index.mjs.map +1 -1
  143. package/dist/icon/index.mjs +317 -1
  144. package/dist/icon/index.mjs.map +1 -1
  145. package/dist/index.css +1 -1
  146. package/dist/input/index.mjs +4 -1
  147. package/dist/input/index.mjs.map +1 -1
  148. package/dist/ivt.css +1 -1
  149. package/dist/label/index.mjs +8 -1
  150. package/dist/label/index.mjs.map +1 -1
  151. package/dist/menubar/index.mjs +583 -1
  152. package/dist/menubar/index.mjs.map +1 -1
  153. package/dist/multi-select/index.mjs +297 -1
  154. package/dist/multi-select/index.mjs.map +1 -1
  155. package/dist/pagination/index.mjs +10 -1
  156. package/dist/pagination/index.mjs.map +1 -1
  157. package/dist/popover/index.mjs +21 -1
  158. package/dist/popover/index.mjs.map +1 -1
  159. package/dist/progress/index.mjs +9 -1
  160. package/dist/progress/index.mjs.map +1 -1
  161. package/dist/radio-group/index.mjs +267 -1
  162. package/dist/radio-group/index.mjs.map +1 -1
  163. package/dist/scroll-area/index.mjs +15 -1
  164. package/dist/scroll-area/index.mjs.map +1 -1
  165. package/dist/select/index.mjs +8 -1
  166. package/dist/select/index.mjs.map +1 -1
  167. package/dist/separator/index.mjs +8 -1
  168. package/dist/separator/index.mjs.map +1 -1
  169. package/dist/sheet/index.mjs +96 -1
  170. package/dist/sheet/index.mjs.map +1 -1
  171. package/dist/skeleton/index.mjs +4 -1
  172. package/dist/skeleton/index.mjs.map +1 -1
  173. package/dist/sonner/index.mjs +1140 -1
  174. package/dist/sonner/index.mjs.map +1 -1
  175. package/dist/sortable/index.mjs +8 -1
  176. package/dist/sortable/index.mjs.map +1 -1
  177. package/dist/table/index.mjs +4 -1
  178. package/dist/table/index.mjs.map +1 -1
  179. package/dist/tabs/index.mjs +193 -1
  180. package/dist/tabs/index.mjs.map +1 -1
  181. package/dist/textarea/index.mjs +13 -1
  182. package/dist/textarea/index.mjs.map +1 -1
  183. package/dist/toast/index.mjs +705 -1
  184. package/dist/toast/index.mjs.map +1 -1
  185. package/dist/toggle/index.mjs +12 -1
  186. package/dist/toggle/index.mjs.map +1 -1
  187. package/dist/toggle-group/index.mjs +219 -1
  188. package/dist/toggle-group/index.mjs.map +1 -1
  189. package/dist/tooltip/index.mjs +20 -1
  190. package/dist/tooltip/index.mjs.map +1 -1
  191. package/package.json +2 -2
  192. package/dist/chunks/_commonjsHelpers-6qLFzZa5.mjs +0 -2
  193. package/dist/chunks/_commonjsHelpers-6qLFzZa5.mjs.map +0 -1
  194. package/dist/chunks/accordion-CdshDFZC.mjs +0 -2
  195. package/dist/chunks/badge-BYqshEmA.mjs +0 -2
  196. package/dist/chunks/bundle-mjs-9BXytT_r.mjs +0 -2
  197. package/dist/chunks/button-DrFZXJ7z.mjs +0 -2
  198. package/dist/chunks/calendar-BY6t8wdJ.mjs +0 -2
  199. package/dist/chunks/calendar-BY6t8wdJ.mjs.map +0 -1
  200. package/dist/chunks/check-CimnOyD7.mjs +0 -2
  201. package/dist/chunks/chevron-down-D3fvbjxE.mjs +0 -2
  202. package/dist/chunks/chevron-left-CrN7DlXg.mjs +0 -2
  203. package/dist/chunks/chevron-right-BMSCuDGK.mjs +0 -2
  204. package/dist/chunks/chevrons-up-down-DBgvRkZm.mjs +0 -2
  205. package/dist/chunks/circle-CGqt18Bd.mjs +0 -2
  206. package/dist/chunks/command-C6ON-ciq.mjs +0 -2
  207. package/dist/chunks/command-C6ON-ciq.mjs.map +0 -1
  208. package/dist/chunks/createLucideIcon-L-tld2uc.mjs +0 -2
  209. package/dist/chunks/dialog-36eqHzT3.mjs +0 -2
  210. package/dist/chunks/hover-card-Cnd58du6.mjs +0 -2
  211. package/dist/chunks/index-B4QsDzeM.mjs +0 -2
  212. package/dist/chunks/index-B4QsDzeM.mjs.map +0 -1
  213. package/dist/chunks/index-BdpYc58_.mjs +0 -2
  214. package/dist/chunks/index-BdpYc58_.mjs.map +0 -1
  215. package/dist/chunks/index-CCcl327A.mjs +0 -2
  216. package/dist/chunks/index-CLtWFQL5.mjs +0 -2
  217. package/dist/chunks/index-COvW87ew.mjs +0 -2
  218. package/dist/chunks/index-COvW87ew.mjs.map +0 -1
  219. package/dist/chunks/index-CRxQlsb9.mjs +0 -2
  220. package/dist/chunks/index-CU_y1XAz.mjs +0 -2
  221. package/dist/chunks/index-CXszXOf_.mjs +0 -2
  222. package/dist/chunks/index-CdJCOoFA.mjs +0 -2
  223. package/dist/chunks/index-CdJCOoFA.mjs.map +0 -1
  224. package/dist/chunks/index-Cpq7N5Ej.mjs +0 -2
  225. package/dist/chunks/index-Cpq7N5Ej.mjs.map +0 -1
  226. package/dist/chunks/index-CybgQKpz.mjs +0 -2
  227. package/dist/chunks/index-D2sZp5OP.mjs +0 -2
  228. package/dist/chunks/index-DOyt-JEx.mjs +0 -2
  229. package/dist/chunks/index-DOyt-JEx.mjs.map +0 -1
  230. package/dist/chunks/index-DUNcuWJE.mjs +0 -2
  231. package/dist/chunks/index-DZHMFdr0.mjs +0 -2
  232. package/dist/chunks/index-LvOFIVGz.mjs +0 -2
  233. package/dist/chunks/index-lvPXnk5F.mjs +0 -2
  234. package/dist/chunks/index-lvPXnk5F.mjs.map +0 -1
  235. package/dist/chunks/index-vmPXTidH.mjs +0 -2
  236. package/dist/chunks/index-w9bxia3O.mjs +0 -2
  237. package/dist/chunks/index-xew3kygQ.mjs +0 -2
  238. package/dist/chunks/index-xew3kygQ.mjs.map +0 -1
  239. package/dist/chunks/input-85UFztMJ.mjs +0 -2
  240. package/dist/chunks/label-CICFzZIt.mjs +0 -2
  241. package/dist/chunks/pagination-CReDQes6.mjs +0 -2
  242. package/dist/chunks/popover-Cn2ZTvKd.mjs +0 -2
  243. package/dist/chunks/progress-CSxQH6-f.mjs +0 -2
  244. package/dist/chunks/scroll-area-CvCz7cL_.mjs +0 -2
  245. package/dist/chunks/scroll-area-CvCz7cL_.mjs.map +0 -1
  246. package/dist/chunks/select-BR6_N_Yo.mjs +0 -2
  247. package/dist/chunks/separator-BB6-E9Z1.mjs +0 -2
  248. package/dist/chunks/skeleton-XPWWiaac.mjs +0 -2
  249. package/dist/chunks/sortable-CqPFGn8Q.mjs +0 -2
  250. package/dist/chunks/sortable-CqPFGn8Q.mjs.map +0 -1
  251. package/dist/chunks/table-LQIHzPHi.mjs +0 -2
  252. package/dist/chunks/toggle-Co72WXGd.mjs +0 -2
  253. package/dist/chunks/tooltip-qX2HjdJP.mjs +0 -2
  254. package/dist/chunks/tslib.es6-cMGqxriw.mjs +0 -2
  255. package/dist/chunks/utils-BctauAA9.mjs +0 -2
  256. package/dist/chunks/utils-BctauAA9.mjs.map +0 -1
  257. package/dist/chunks/x-BNLl0E-E.mjs +0 -2
@@ -0,0 +1,611 @@
1
+ import { c as cn } from './utils-BUelq9Ro.mjs';
2
+ import { R as Root, P as Portal, O as Overlay, a as Content } from './index-CyMuypYR.mjs';
3
+ import * as React from 'react';
4
+ import React__default from 'react';
5
+ import { P as Primitive } from './index-D0S6rRRE.mjs';
6
+ import { u as useId } from './index-6JUj2Tld.mjs';
7
+ import { c as composeRefs } from './index-B4VRyyD1.mjs';
8
+ import { D as Dialog, e as DialogHeader, h as DialogTitle, c as DialogDescription, b as DialogContent } from './dialog-D9vbxUuQ.mjs';
9
+ import { c as createLucideIcon } from './createLucideIcon-Ba0IWqsz.mjs';
10
+
11
+ const __iconNode = [
12
+ [
13
+ "circle",
14
+ {
15
+ cx: "11",
16
+ cy: "11",
17
+ r: "8",
18
+ key: "4ej97u"
19
+ }
20
+ ],
21
+ [
22
+ "path",
23
+ {
24
+ d: "m21 21-4.3-4.3",
25
+ key: "1qie3q"
26
+ }
27
+ ]
28
+ ];
29
+ const Search = createLucideIcon("Search", __iconNode);
30
+
31
+ var U = 1, Y$1 = .9, H = .8, J = .17, p = .1, u = .999, $ = .9999;
32
+ var k$1 = .99, m = /[\\\/_+.#"@\[\(\{&]/, B$1 = /[\\\/_+.#"@\[\(\{&]/g, K$1 = /[\s-]/, X = /[\s-]/g;
33
+ function G(_, C, h, P, A, f, O) {
34
+ if (f === C.length) return A === _.length ? U : k$1;
35
+ var T = `${A},${f}`;
36
+ if (O[T] !== void 0) return O[T];
37
+ for(var L = P.charAt(f), c = h.indexOf(L, A), S = 0, E, N, R, M; c >= 0;)E = G(_, C, h, P, c + 1, f + 1, O), E > S && (c === A ? E *= U : m.test(_.charAt(c - 1)) ? (E *= H, R = _.slice(A, c - 1).match(B$1), R && A > 0 && (E *= Math.pow(u, R.length))) : K$1.test(_.charAt(c - 1)) ? (E *= Y$1, M = _.slice(A, c - 1).match(X), M && A > 0 && (E *= Math.pow(u, M.length))) : (E *= J, A > 0 && (E *= Math.pow(u, c - A))), _.charAt(c) !== C.charAt(f) && (E *= $)), (E < p && h.charAt(c - 1) === P.charAt(f + 1) || P.charAt(f + 1) === P.charAt(f) && h.charAt(c - 1) !== P.charAt(f)) && (N = G(_, C, h, P, c + 1, f + 2, O), N * p > E && (E = N * p)), E > S && (S = E), c = h.indexOf(L, c + 1);
38
+ return O[T] = S, S;
39
+ }
40
+ function D(_) {
41
+ return _.toLowerCase().replace(X, " ");
42
+ }
43
+ function W(_, C, h) {
44
+ return _ = h && h.length > 0 ? `${_ + " " + h.join(" ")}` : _, G(_, C, D(_), D(C), 0, 0, {});
45
+ }
46
+
47
+ var N = '[cmdk-group=""]', Y = '[cmdk-group-items=""]', be = '[cmdk-group-heading=""]', le = '[cmdk-item=""]', ce = `${le}:not([aria-disabled="true"])`, Z = "cmdk-item-select", T = "data-value", Re = (r, o, n)=>W(r, o, n), ue = React.createContext(void 0), K = ()=>React.useContext(ue), de = React.createContext(void 0), ee = ()=>React.useContext(de), fe = React.createContext(void 0), me = React.forwardRef((r, o)=>{
48
+ let n = L(()=>{
49
+ var e, a;
50
+ return {
51
+ search: "",
52
+ value: (a = (e = r.value) != null ? e : r.defaultValue) != null ? a : "",
53
+ selectedItemId: void 0,
54
+ filtered: {
55
+ count: 0,
56
+ items: new Map,
57
+ groups: new Set
58
+ }
59
+ };
60
+ }), u = L(()=>new Set), c = L(()=>new Map), d = L(()=>new Map), f = L(()=>new Set), p = pe(r), { label: b, children: m, value: R, onValueChange: x, filter: C, shouldFilter: S, loop: A, disablePointerSelection: ge = false, vimBindings: j = true, ...O } = r, $ = useId(), q = useId(), _ = useId(), I = React.useRef(null), v = ke();
61
+ k(()=>{
62
+ if (R !== void 0) {
63
+ let e = R.trim();
64
+ n.current.value = e, E.emit();
65
+ }
66
+ }, [
67
+ R
68
+ ]), k(()=>{
69
+ v(6, ne);
70
+ }, []);
71
+ let E = React.useMemo(()=>({
72
+ subscribe: (e)=>(f.current.add(e), ()=>f.current.delete(e)),
73
+ snapshot: ()=>n.current,
74
+ setState: (e, a, s)=>{
75
+ var i, l, g, y;
76
+ if (!Object.is(n.current[e], a)) {
77
+ if (n.current[e] = a, e === "search") J(), z(), v(1, W);
78
+ else if (e === "value") {
79
+ if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
80
+ let h = document.getElementById(_);
81
+ h ? h.focus() : (i = document.getElementById($)) == null || i.focus();
82
+ }
83
+ if (v(7, ()=>{
84
+ var h;
85
+ n.current.selectedItemId = (h = M()) == null ? void 0 : h.id, E.emit();
86
+ }), s || v(5, ne), ((l = p.current) == null ? void 0 : l.value) !== void 0) {
87
+ let h = a != null ? a : "";
88
+ (y = (g = p.current).onValueChange) == null || y.call(g, h);
89
+ return;
90
+ }
91
+ }
92
+ E.emit();
93
+ }
94
+ },
95
+ emit: ()=>{
96
+ f.current.forEach((e)=>e());
97
+ }
98
+ }), []), U = React.useMemo(()=>({
99
+ value: (e, a, s)=>{
100
+ var i;
101
+ a !== ((i = d.current.get(e)) == null ? void 0 : i.value) && (d.current.set(e, {
102
+ value: a,
103
+ keywords: s
104
+ }), n.current.filtered.items.set(e, te(a, s)), v(2, ()=>{
105
+ z(), E.emit();
106
+ }));
107
+ },
108
+ item: (e, a)=>(u.current.add(e), a && (c.current.has(a) ? c.current.get(a).add(e) : c.current.set(a, new Set([
109
+ e
110
+ ]))), v(3, ()=>{
111
+ J(), z(), n.current.value || W(), E.emit();
112
+ }), ()=>{
113
+ d.current.delete(e), u.current.delete(e), n.current.filtered.items.delete(e);
114
+ let s = M();
115
+ v(4, ()=>{
116
+ J(), (s == null ? void 0 : s.getAttribute("id")) === e && W(), E.emit();
117
+ });
118
+ }),
119
+ group: (e)=>(c.current.has(e) || c.current.set(e, new Set), ()=>{
120
+ d.current.delete(e), c.current.delete(e);
121
+ }),
122
+ filter: ()=>p.current.shouldFilter,
123
+ label: b || r["aria-label"],
124
+ getDisablePointerSelection: ()=>p.current.disablePointerSelection,
125
+ listId: $,
126
+ inputId: _,
127
+ labelId: q,
128
+ listInnerRef: I
129
+ }), []);
130
+ function te(e, a) {
131
+ var i, l;
132
+ let s = (l = (i = p.current) == null ? void 0 : i.filter) != null ? l : Re;
133
+ return e ? s(e, n.current.search, a) : 0;
134
+ }
135
+ function z() {
136
+ if (!n.current.search || p.current.shouldFilter === false) return;
137
+ let e = n.current.filtered.items, a = [];
138
+ n.current.filtered.groups.forEach((i)=>{
139
+ let l = c.current.get(i), g = 0;
140
+ l.forEach((y)=>{
141
+ let h = e.get(y);
142
+ g = Math.max(h, g);
143
+ }), a.push([
144
+ i,
145
+ g
146
+ ]);
147
+ });
148
+ let s = I.current;
149
+ V().sort((i, l)=>{
150
+ var h, F;
151
+ let g = i.getAttribute("id"), y = l.getAttribute("id");
152
+ return ((h = e.get(y)) != null ? h : 0) - ((F = e.get(g)) != null ? F : 0);
153
+ }).forEach((i)=>{
154
+ let l = i.closest(Y);
155
+ l ? l.appendChild(i.parentElement === l ? i : i.closest(`${Y} > *`)) : s.appendChild(i.parentElement === s ? i : i.closest(`${Y} > *`));
156
+ }), a.sort((i, l)=>l[1] - i[1]).forEach((i)=>{
157
+ var g;
158
+ let l = (g = I.current) == null ? void 0 : g.querySelector(`${N}[${T}="${encodeURIComponent(i[0])}"]`);
159
+ l == null || l.parentElement.appendChild(l);
160
+ });
161
+ }
162
+ function W() {
163
+ let e = V().find((s)=>s.getAttribute("aria-disabled") !== "true"), a = e == null ? void 0 : e.getAttribute(T);
164
+ E.setState("value", a || void 0);
165
+ }
166
+ function J() {
167
+ var a, s, i, l;
168
+ if (!n.current.search || p.current.shouldFilter === false) {
169
+ n.current.filtered.count = u.current.size;
170
+ return;
171
+ }
172
+ n.current.filtered.groups = new Set;
173
+ let e = 0;
174
+ for (let g of u.current){
175
+ let y = (s = (a = d.current.get(g)) == null ? void 0 : a.value) != null ? s : "", h = (l = (i = d.current.get(g)) == null ? void 0 : i.keywords) != null ? l : [], F = te(y, h);
176
+ n.current.filtered.items.set(g, F), F > 0 && e++;
177
+ }
178
+ for (let [g, y] of c.current)for (let h of y)if (n.current.filtered.items.get(h) > 0) {
179
+ n.current.filtered.groups.add(g);
180
+ break;
181
+ }
182
+ n.current.filtered.count = e;
183
+ }
184
+ function ne() {
185
+ var a, s, i;
186
+ let e = M();
187
+ e && (((a = e.parentElement) == null ? void 0 : a.firstChild) === e && ((i = (s = e.closest(N)) == null ? void 0 : s.querySelector(be)) == null || i.scrollIntoView({
188
+ block: "nearest"
189
+ })), e.scrollIntoView({
190
+ block: "nearest"
191
+ }));
192
+ }
193
+ function M() {
194
+ var e;
195
+ return (e = I.current) == null ? void 0 : e.querySelector(`${le}[aria-selected="true"]`);
196
+ }
197
+ function V() {
198
+ var e;
199
+ return Array.from(((e = I.current) == null ? void 0 : e.querySelectorAll(ce)) || []);
200
+ }
201
+ function X(e) {
202
+ let s = V()[e];
203
+ s && E.setState("value", s.getAttribute(T));
204
+ }
205
+ function Q(e) {
206
+ var g;
207
+ let a = M(), s = V(), i = s.findIndex((y)=>y === a), l = s[i + e];
208
+ (g = p.current) != null && g.loop && (l = i + e < 0 ? s[s.length - 1] : i + e === s.length ? s[0] : s[i + e]), l && E.setState("value", l.getAttribute(T));
209
+ }
210
+ function re(e) {
211
+ let a = M(), s = a == null ? void 0 : a.closest(N), i;
212
+ for(; s && !i;)s = e > 0 ? we(s, N) : De(s, N), i = s == null ? void 0 : s.querySelector(ce);
213
+ i ? E.setState("value", i.getAttribute(T)) : Q(e);
214
+ }
215
+ let oe = ()=>X(V().length - 1), ie = (e)=>{
216
+ e.preventDefault(), e.metaKey ? oe() : e.altKey ? re(1) : Q(1);
217
+ }, se = (e)=>{
218
+ e.preventDefault(), e.metaKey ? X(0) : e.altKey ? re(-1) : Q(-1);
219
+ };
220
+ return React.createElement(Primitive.div, {
221
+ ref: o,
222
+ tabIndex: -1,
223
+ ...O,
224
+ "cmdk-root": "",
225
+ onKeyDown: (e)=>{
226
+ var s;
227
+ (s = O.onKeyDown) == null || s.call(O, e);
228
+ let a = e.nativeEvent.isComposing || e.keyCode === 229;
229
+ if (!(e.defaultPrevented || a)) switch(e.key){
230
+ case "n":
231
+ case "j":
232
+ {
233
+ j && e.ctrlKey && ie(e);
234
+ break;
235
+ }
236
+ case "ArrowDown":
237
+ {
238
+ ie(e);
239
+ break;
240
+ }
241
+ case "p":
242
+ case "k":
243
+ {
244
+ j && e.ctrlKey && se(e);
245
+ break;
246
+ }
247
+ case "ArrowUp":
248
+ {
249
+ se(e);
250
+ break;
251
+ }
252
+ case "Home":
253
+ {
254
+ e.preventDefault(), X(0);
255
+ break;
256
+ }
257
+ case "End":
258
+ {
259
+ e.preventDefault(), oe();
260
+ break;
261
+ }
262
+ case "Enter":
263
+ {
264
+ e.preventDefault();
265
+ let i = M();
266
+ if (i) {
267
+ let l = new Event(Z);
268
+ i.dispatchEvent(l);
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }, React.createElement("label", {
274
+ "cmdk-label": "",
275
+ htmlFor: U.inputId,
276
+ id: U.labelId,
277
+ style: Te
278
+ }, b), B(r, (e)=>React.createElement(de.Provider, {
279
+ value: E
280
+ }, React.createElement(ue.Provider, {
281
+ value: U
282
+ }, e))));
283
+ }), he = React.forwardRef((r, o)=>{
284
+ var _, I;
285
+ let n = useId(), u = React.useRef(null), c = React.useContext(fe), d = K(), f = pe(r), p = (I = (_ = f.current) == null ? void 0 : _.forceMount) != null ? I : c == null ? void 0 : c.forceMount;
286
+ k(()=>{
287
+ if (!p) return d.item(n, c == null ? void 0 : c.id);
288
+ }, [
289
+ p
290
+ ]);
291
+ let b = ve(n, u, [
292
+ r.value,
293
+ r.children,
294
+ u
295
+ ], r.keywords), m = ee(), R = P((v)=>v.value && v.value === b.current), x = P((v)=>p || d.filter() === false ? true : v.search ? v.filtered.items.get(n) > 0 : true);
296
+ React.useEffect(()=>{
297
+ let v = u.current;
298
+ if (!(!v || r.disabled)) return v.addEventListener(Z, C), ()=>v.removeEventListener(Z, C);
299
+ }, [
300
+ x,
301
+ r.onSelect,
302
+ r.disabled
303
+ ]);
304
+ function C() {
305
+ var v, E;
306
+ S(), (E = (v = f.current).onSelect) == null || E.call(v, b.current);
307
+ }
308
+ function S() {
309
+ m.setState("value", b.current, true);
310
+ }
311
+ if (!x) return null;
312
+ let { disabled: A, value: ge, onSelect: j, forceMount: O, keywords: $, ...q } = r;
313
+ return React.createElement(Primitive.div, {
314
+ ref: composeRefs(u, o),
315
+ ...q,
316
+ id: n,
317
+ "cmdk-item": "",
318
+ role: "option",
319
+ "aria-disabled": !!A,
320
+ "aria-selected": !!R,
321
+ "data-disabled": !!A,
322
+ "data-selected": !!R,
323
+ onPointerMove: A || d.getDisablePointerSelection() ? void 0 : S,
324
+ onClick: A ? void 0 : C
325
+ }, r.children);
326
+ }), Ee = React.forwardRef((r, o)=>{
327
+ let { heading: n, children: u, forceMount: c, ...d } = r, f = useId(), p = React.useRef(null), b = React.useRef(null), m = useId(), R = K(), x = P((S)=>c || R.filter() === false ? true : S.search ? S.filtered.groups.has(f) : true);
328
+ k(()=>R.group(f), []), ve(f, p, [
329
+ r.value,
330
+ r.heading,
331
+ b
332
+ ]);
333
+ let C = React.useMemo(()=>({
334
+ id: f,
335
+ forceMount: c
336
+ }), [
337
+ c
338
+ ]);
339
+ return React.createElement(Primitive.div, {
340
+ ref: composeRefs(p, o),
341
+ ...d,
342
+ "cmdk-group": "",
343
+ role: "presentation",
344
+ hidden: x ? void 0 : true
345
+ }, n && React.createElement("div", {
346
+ ref: b,
347
+ "cmdk-group-heading": "",
348
+ "aria-hidden": true,
349
+ id: m
350
+ }, n), B(r, (S)=>React.createElement("div", {
351
+ "cmdk-group-items": "",
352
+ role: "group",
353
+ "aria-labelledby": n ? m : void 0
354
+ }, React.createElement(fe.Provider, {
355
+ value: C
356
+ }, S))));
357
+ }), ye = React.forwardRef((r, o)=>{
358
+ let { alwaysRender: n, ...u } = r, c = React.useRef(null), d = P((f)=>!f.search);
359
+ return !n && !d ? null : React.createElement(Primitive.div, {
360
+ ref: composeRefs(c, o),
361
+ ...u,
362
+ "cmdk-separator": "",
363
+ role: "separator"
364
+ });
365
+ }), Se = React.forwardRef((r, o)=>{
366
+ let { onValueChange: n, ...u } = r, c = r.value != null, d = ee(), f = P((m)=>m.search), p = P((m)=>m.selectedItemId), b = K();
367
+ return React.useEffect(()=>{
368
+ r.value != null && d.setState("search", r.value);
369
+ }, [
370
+ r.value
371
+ ]), React.createElement(Primitive.input, {
372
+ ref: o,
373
+ ...u,
374
+ "cmdk-input": "",
375
+ autoComplete: "off",
376
+ autoCorrect: "off",
377
+ spellCheck: false,
378
+ "aria-autocomplete": "list",
379
+ role: "combobox",
380
+ "aria-expanded": true,
381
+ "aria-controls": b.listId,
382
+ "aria-labelledby": b.labelId,
383
+ "aria-activedescendant": p,
384
+ id: b.inputId,
385
+ type: "text",
386
+ value: c ? r.value : f,
387
+ onChange: (m)=>{
388
+ c || d.setState("search", m.target.value), n == null || n(m.target.value);
389
+ }
390
+ });
391
+ }), Ce = React.forwardRef((r, o)=>{
392
+ let { children: n, label: u = "Suggestions", ...c } = r, d = React.useRef(null), f = React.useRef(null), p = P((m)=>m.selectedItemId), b = K();
393
+ return React.useEffect(()=>{
394
+ if (f.current && d.current) {
395
+ let m = f.current, R = d.current, x, C = new ResizeObserver(()=>{
396
+ x = requestAnimationFrame(()=>{
397
+ let S = m.offsetHeight;
398
+ R.style.setProperty("--cmdk-list-height", S.toFixed(1) + "px");
399
+ });
400
+ });
401
+ return C.observe(m), ()=>{
402
+ cancelAnimationFrame(x), C.unobserve(m);
403
+ };
404
+ }
405
+ }, []), React.createElement(Primitive.div, {
406
+ ref: composeRefs(d, o),
407
+ ...c,
408
+ "cmdk-list": "",
409
+ role: "listbox",
410
+ tabIndex: -1,
411
+ "aria-activedescendant": p,
412
+ "aria-label": u,
413
+ id: b.listId
414
+ }, B(r, (m)=>React.createElement("div", {
415
+ ref: composeRefs(f, b.listInnerRef),
416
+ "cmdk-list-sizer": ""
417
+ }, m)));
418
+ }), xe = React.forwardRef((r, o)=>{
419
+ let { open: n, onOpenChange: u, overlayClassName: c, contentClassName: d, container: f, ...p } = r;
420
+ return React.createElement(Root, {
421
+ open: n,
422
+ onOpenChange: u
423
+ }, React.createElement(Portal, {
424
+ container: f
425
+ }, React.createElement(Overlay, {
426
+ "cmdk-overlay": "",
427
+ className: c
428
+ }), React.createElement(Content, {
429
+ "aria-label": r.label,
430
+ "cmdk-dialog": "",
431
+ className: d
432
+ }, React.createElement(me, {
433
+ ref: o,
434
+ ...p
435
+ }))));
436
+ }), Ie = React.forwardRef((r, o)=>P((u)=>u.filtered.count === 0) ? React.createElement(Primitive.div, {
437
+ ref: o,
438
+ ...r,
439
+ "cmdk-empty": "",
440
+ role: "presentation"
441
+ }) : null), Pe = React.forwardRef((r, o)=>{
442
+ let { progress: n, children: u, label: c = "Loading...", ...d } = r;
443
+ return React.createElement(Primitive.div, {
444
+ ref: o,
445
+ ...d,
446
+ "cmdk-loading": "",
447
+ role: "progressbar",
448
+ "aria-valuenow": n,
449
+ "aria-valuemin": 0,
450
+ "aria-valuemax": 100,
451
+ "aria-label": c
452
+ }, B(r, (f)=>React.createElement("div", {
453
+ "aria-hidden": true
454
+ }, f)));
455
+ }), _e = Object.assign(me, {
456
+ List: Ce,
457
+ Item: he,
458
+ Input: Se,
459
+ Group: Ee,
460
+ Separator: ye,
461
+ Dialog: xe,
462
+ Empty: Ie,
463
+ Loading: Pe
464
+ });
465
+ function we(r, o) {
466
+ let n = r.nextElementSibling;
467
+ for(; n;){
468
+ if (n.matches(o)) return n;
469
+ n = n.nextElementSibling;
470
+ }
471
+ }
472
+ function De(r, o) {
473
+ let n = r.previousElementSibling;
474
+ for(; n;){
475
+ if (n.matches(o)) return n;
476
+ n = n.previousElementSibling;
477
+ }
478
+ }
479
+ function pe(r) {
480
+ let o = React.useRef(r);
481
+ return k(()=>{
482
+ o.current = r;
483
+ }), o;
484
+ }
485
+ var k = typeof window == "undefined" ? React.useEffect : React.useLayoutEffect;
486
+ function L(r) {
487
+ let o = React.useRef();
488
+ return o.current === void 0 && (o.current = r()), o;
489
+ }
490
+ function P(r) {
491
+ let o = ee(), n = ()=>r(o.snapshot());
492
+ return React.useSyncExternalStore(o.subscribe, n, n);
493
+ }
494
+ function ve(r, o, n, u = []) {
495
+ let c = React.useRef(), d = K();
496
+ return k(()=>{
497
+ var b;
498
+ let f = (()=>{
499
+ var m;
500
+ for (let R of n){
501
+ if (typeof R == "string") return R.trim();
502
+ if (typeof R == "object" && "current" in R) return R.current ? (m = R.current.textContent) == null ? void 0 : m.trim() : c.current;
503
+ }
504
+ })(), p = u.map((m)=>m.trim());
505
+ d.value(r, f, p), (b = o.current) == null || b.setAttribute(T, f), c.current = f;
506
+ }), c;
507
+ }
508
+ var ke = ()=>{
509
+ let [r, o] = React.useState(), n = L(()=>new Map);
510
+ return k(()=>{
511
+ n.current.forEach((u)=>u()), n.current = new Map;
512
+ }, [
513
+ r
514
+ ]), (u, c)=>{
515
+ n.current.set(u, c), o({});
516
+ };
517
+ };
518
+ function Me(r) {
519
+ let o = r.type;
520
+ return typeof o == "function" ? o(r.props) : "render" in o ? o.render(r.props) : r;
521
+ }
522
+ function B({ asChild: r, children: o }, n) {
523
+ return r && React.isValidElement(o) ? React.cloneElement(Me(o), {
524
+ ref: o.ref
525
+ }, n(o.props.children)) : n(o);
526
+ }
527
+ var Te = {
528
+ position: "absolute",
529
+ width: "1px",
530
+ height: "1px",
531
+ padding: "0",
532
+ margin: "-1px",
533
+ overflow: "hidden",
534
+ clip: "rect(0, 0, 0, 0)",
535
+ whiteSpace: "nowrap",
536
+ borderWidth: "0"
537
+ };
538
+
539
+ function Command({ className, ...props }) {
540
+ return /*#__PURE__*/ React__default.createElement(_e, {
541
+ "data-slot": "command",
542
+ className: cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className),
543
+ ...props
544
+ });
545
+ }
546
+ function CommandDialog({ title = "Command Palette", description = "Search for a command to run...", children, ...props }) {
547
+ return /*#__PURE__*/ React__default.createElement(Dialog, props, /*#__PURE__*/ React__default.createElement(DialogHeader, {
548
+ className: "sr-only"
549
+ }, /*#__PURE__*/ React__default.createElement(DialogTitle, null, title), /*#__PURE__*/ React__default.createElement(DialogDescription, null, description)), /*#__PURE__*/ React__default.createElement(DialogContent, {
550
+ className: "overflow-hidden p-0"
551
+ }, /*#__PURE__*/ React__default.createElement(Command, {
552
+ className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"
553
+ }, children)));
554
+ }
555
+ function CommandInput({ className, ...props }) {
556
+ return /*#__PURE__*/ React__default.createElement("div", {
557
+ "data-slot": "command-input-wrapper",
558
+ className: "flex h-9 items-center gap-2 border-b px-3"
559
+ }, /*#__PURE__*/ React__default.createElement(Search, {
560
+ className: "size-4 shrink-0 opacity-50"
561
+ }), /*#__PURE__*/ React__default.createElement(_e.Input, {
562
+ "data-slot": "command-input",
563
+ className: cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className),
564
+ ...props
565
+ }));
566
+ }
567
+ function CommandList({ className, ...props }) {
568
+ return /*#__PURE__*/ React__default.createElement(_e.List, {
569
+ "data-slot": "command-list",
570
+ className: cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className),
571
+ ...props
572
+ });
573
+ }
574
+ function CommandEmpty({ ...props }) {
575
+ return /*#__PURE__*/ React__default.createElement(_e.Empty, {
576
+ "data-slot": "command-empty",
577
+ className: "py-6 text-center text-sm",
578
+ ...props
579
+ });
580
+ }
581
+ function CommandGroup({ className, ...props }) {
582
+ return /*#__PURE__*/ React__default.createElement(_e.Group, {
583
+ "data-slot": "command-group",
584
+ className: cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
585
+ ...props
586
+ });
587
+ }
588
+ function CommandSeparator({ className, ...props }) {
589
+ return /*#__PURE__*/ React__default.createElement(_e.Separator, {
590
+ "data-slot": "command-separator",
591
+ className: cn("bg-border -mx-1 h-px", className),
592
+ ...props
593
+ });
594
+ }
595
+ function CommandItem({ className, ...props }) {
596
+ return /*#__PURE__*/ React__default.createElement(_e.Item, {
597
+ "data-slot": "command-item",
598
+ className: cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-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=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
599
+ ...props
600
+ });
601
+ }
602
+ function CommandShortcut({ className, ...props }) {
603
+ return /*#__PURE__*/ React__default.createElement("span", {
604
+ "data-slot": "command-shortcut",
605
+ className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
606
+ ...props
607
+ });
608
+ }
609
+
610
+ export { Command as C, Search as S, CommandDialog as a, CommandInput as b, CommandList as c, CommandEmpty as d, CommandGroup as e, CommandItem as f, CommandShortcut as g, CommandSeparator as h };
611
+ //# sourceMappingURL=command-C8cVzg-x.mjs.map