@vlrc-fe/components 2.7.0 → 2.8.0

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 (476) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/ConfirmModal.d.ts +2 -3
  3. package/dist/ConfirmModal.d.ts.map +1 -1
  4. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  5. package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
  6. package/dist/Dropdown/Dropdown.d.ts.map +1 -1
  7. package/dist/Dropdown/types.d.ts +1 -1
  8. package/dist/Dropdown/types.d.ts.map +1 -1
  9. package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
  10. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
  11. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
  12. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
  13. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
  14. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
  15. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  16. package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
  17. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
  18. package/dist/Form/FormDatePicker/types.d.ts +5 -0
  19. package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
  20. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  21. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
  22. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
  23. package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
  24. package/dist/Form/FormSelect/types.d.ts +1 -1
  25. package/dist/Form/FormSelect/types.d.ts.map +1 -1
  26. package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
  27. package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
  28. package/dist/MultiSelect/MultiSelect.d.ts +3 -31
  29. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  30. package/dist/MultiSelect/renderers.d.ts.map +1 -1
  31. package/dist/MultiSelect/type.d.ts +1 -0
  32. package/dist/MultiSelect/type.d.ts.map +1 -1
  33. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
  34. package/dist/Select/BaseSelect.d.ts.map +1 -1
  35. package/dist/Select/MultiSelectTags.d.ts.map +1 -1
  36. package/dist/Select/type.d.ts +1 -1
  37. package/dist/Select/type.d.ts.map +1 -1
  38. package/dist/Typography/Code.d.ts.map +1 -1
  39. package/dist/Typography/Link.d.ts.map +1 -1
  40. package/dist/Typography/Paragraph.d.ts.map +1 -1
  41. package/dist/Typography/Text.d.ts.map +1 -1
  42. package/dist/Typography/Title.d.ts.map +1 -1
  43. package/dist/Typography/types.d.ts +37 -1
  44. package/dist/Typography/types.d.ts.map +1 -1
  45. package/dist/Typography/utils.d.ts +3 -2
  46. package/dist/Typography/utils.d.ts.map +1 -1
  47. package/dist/assets/stylex.css +36 -24
  48. package/dist/index.cjs +1 -1
  49. package/dist/index.js +108 -108
  50. package/dist/index10.cjs +1 -1
  51. package/dist/index10.js +18 -55
  52. package/dist/index101.cjs +1 -1
  53. package/dist/index101.js +89 -89
  54. package/dist/index102.cjs +1 -1
  55. package/dist/index102.js +29 -29
  56. package/dist/index103.cjs +1 -1
  57. package/dist/index103.js +128 -124
  58. package/dist/index104.cjs +1 -1
  59. package/dist/index104.js +16 -16
  60. package/dist/index106.cjs +1 -1
  61. package/dist/index106.js +2 -2
  62. package/dist/index107.cjs +1 -1
  63. package/dist/index107.js +114 -117
  64. package/dist/index108.cjs +1 -1
  65. package/dist/index108.js +95 -92
  66. package/dist/index109.cjs +1 -1
  67. package/dist/index109.js +41 -41
  68. package/dist/index11.cjs +1 -1
  69. package/dist/index11.js +36 -164
  70. package/dist/index110.cjs +1 -1
  71. package/dist/index110.js +1 -1
  72. package/dist/index111.cjs +1 -1
  73. package/dist/index111.js +1 -1
  74. package/dist/index112.cjs +1 -1
  75. package/dist/index112.js +128 -120
  76. package/dist/index114.cjs +1 -1
  77. package/dist/index114.js +151 -151
  78. package/dist/index116.cjs +1 -1
  79. package/dist/index116.js +96 -91
  80. package/dist/index117.cjs +1 -1
  81. package/dist/index117.js +18 -18
  82. package/dist/index118.cjs +1 -1
  83. package/dist/index118.js +2 -2
  84. package/dist/index119.cjs +1 -1
  85. package/dist/index119.js +15 -15
  86. package/dist/index12.cjs +1 -1
  87. package/dist/index12.js +147 -103
  88. package/dist/index120.cjs +1 -1
  89. package/dist/index120.js +10 -10
  90. package/dist/index121.cjs +1 -1
  91. package/dist/index121.js +31 -31
  92. package/dist/index122.cjs +1 -1
  93. package/dist/index122.js +3 -3
  94. package/dist/index123.cjs +1 -1
  95. package/dist/index123.js +2 -2
  96. package/dist/index124.cjs +1 -1
  97. package/dist/index124.js +53 -49
  98. package/dist/index126.cjs +1 -1
  99. package/dist/index126.js +35 -38
  100. package/dist/index127.cjs +1 -1
  101. package/dist/index127.js +114 -107
  102. package/dist/index128.cjs +1 -1
  103. package/dist/index128.js +8 -8
  104. package/dist/index129.cjs +1 -1
  105. package/dist/index129.js +53 -53
  106. package/dist/index13.cjs +1 -1
  107. package/dist/index13.js +130 -102
  108. package/dist/index130.cjs +1 -1
  109. package/dist/index130.js +134 -130
  110. package/dist/index132.cjs +1 -1
  111. package/dist/index132.js +7 -7
  112. package/dist/index133.cjs +1 -1
  113. package/dist/index133.js +95 -95
  114. package/dist/index134.cjs +1 -1
  115. package/dist/index134.js +2 -2
  116. package/dist/index135.cjs +1 -1
  117. package/dist/index135.js +113 -99
  118. package/dist/index136.cjs +1 -1
  119. package/dist/index136.js +8 -8
  120. package/dist/index137.cjs +1 -1
  121. package/dist/index137.js +16 -16
  122. package/dist/index138.cjs +1 -1
  123. package/dist/index138.js +20 -20
  124. package/dist/index14.cjs +1 -1
  125. package/dist/index14.js +154 -80
  126. package/dist/index140.cjs +1 -1
  127. package/dist/index140.js +2 -2
  128. package/dist/index141.cjs +1 -1
  129. package/dist/index141.js +24 -24
  130. package/dist/index142.cjs +1 -1
  131. package/dist/index142.js +2 -2
  132. package/dist/index143.cjs +1 -1
  133. package/dist/index143.js +15 -15
  134. package/dist/index144.cjs +1 -1
  135. package/dist/index144.js +3 -3
  136. package/dist/index145.cjs +1 -1
  137. package/dist/index145.js +2 -2
  138. package/dist/index146.cjs +1 -1
  139. package/dist/index146.js +1 -1
  140. package/dist/index147.cjs +1 -1
  141. package/dist/index147.js +88 -88
  142. package/dist/index149.cjs +1 -1
  143. package/dist/index149.js +64 -64
  144. package/dist/index15.cjs +1 -1
  145. package/dist/index15.js +116 -63
  146. package/dist/index150.cjs +1 -1
  147. package/dist/index150.js +9 -9
  148. package/dist/index152.cjs +1 -1
  149. package/dist/index152.js +1 -1
  150. package/dist/index153.cjs +1 -1
  151. package/dist/index153.js +41 -41
  152. package/dist/index154.cjs +1 -1
  153. package/dist/index154.js +73 -73
  154. package/dist/index155.cjs +1 -1
  155. package/dist/index155.js +34 -34
  156. package/dist/index156.cjs +1 -1
  157. package/dist/index156.js +8 -8
  158. package/dist/index157.cjs +1 -1
  159. package/dist/index157.js +1 -1
  160. package/dist/index158.cjs +1 -1
  161. package/dist/index158.js +30 -30
  162. package/dist/index159.cjs +1 -1
  163. package/dist/index159.js +21 -21
  164. package/dist/index16.cjs +1 -1
  165. package/dist/index16.js +60 -91
  166. package/dist/index160.cjs +1 -1
  167. package/dist/index160.js +59 -59
  168. package/dist/index161.cjs +1 -1
  169. package/dist/index161.js +2 -2
  170. package/dist/index162.cjs +1 -1
  171. package/dist/index162.js +50 -50
  172. package/dist/index163.cjs +1 -1
  173. package/dist/index163.js +11 -11
  174. package/dist/index164.cjs +1 -1
  175. package/dist/index164.js +1 -1
  176. package/dist/index165.cjs +1 -1
  177. package/dist/index165.js +33 -33
  178. package/dist/index166.cjs +1 -1
  179. package/dist/index166.js +11 -11
  180. package/dist/index167.cjs +1 -1
  181. package/dist/index167.js +2 -2
  182. package/dist/index168.cjs +1 -1
  183. package/dist/index168.js +7 -7
  184. package/dist/index169.cjs +1 -1
  185. package/dist/index169.js +74 -65
  186. package/dist/index17.cjs +1 -1
  187. package/dist/index17.js +122 -15
  188. package/dist/index170.cjs +1 -1
  189. package/dist/index170.js +9 -9
  190. package/dist/index171.cjs +1 -1
  191. package/dist/index171.js +7 -7
  192. package/dist/index172.cjs +1 -1
  193. package/dist/index172.js +12 -12
  194. package/dist/index174.cjs +1 -1
  195. package/dist/index174.js +15 -15
  196. package/dist/index175.cjs +1 -1
  197. package/dist/index175.js +13 -13
  198. package/dist/index176.cjs +1 -1
  199. package/dist/index176.js +2 -2
  200. package/dist/index177.cjs +1 -1
  201. package/dist/index177.js +140 -115
  202. package/dist/index178.cjs +1 -1
  203. package/dist/index178.js +4 -4
  204. package/dist/index179.cjs +1 -1
  205. package/dist/index179.js +47 -47
  206. package/dist/index18.cjs +1 -1
  207. package/dist/index18.js +15 -268
  208. package/dist/index181.cjs +1 -1
  209. package/dist/index181.js +36 -25
  210. package/dist/index183.cjs +1 -1
  211. package/dist/index183.js +4 -4
  212. package/dist/index185.cjs +1 -1
  213. package/dist/index185.js +5 -8
  214. package/dist/index186.cjs +1 -1
  215. package/dist/index186.js +5 -15
  216. package/dist/index187.cjs +1 -1
  217. package/dist/index187.js +5 -20
  218. package/dist/index188.cjs +1 -1
  219. package/dist/index188.js +5 -16
  220. package/dist/index189.cjs +1 -1
  221. package/dist/index189.js +8 -5
  222. package/dist/index19.cjs +1 -1
  223. package/dist/index19.js +11 -281
  224. package/dist/index190.cjs +1 -1
  225. package/dist/index190.js +7 -4
  226. package/dist/index191.cjs +1 -1
  227. package/dist/index191.js +12 -6
  228. package/dist/index192.cjs +1 -1
  229. package/dist/index192.js +6 -5
  230. package/dist/index193.cjs +1 -1
  231. package/dist/index193.js +6 -5
  232. package/dist/index194.cjs +1 -1
  233. package/dist/index194.js +6 -7
  234. package/dist/index195.cjs +1 -1
  235. package/dist/index195.js +10 -68
  236. package/dist/index196.cjs +1 -1
  237. package/dist/index196.js +9 -10
  238. package/dist/index197.cjs +1 -1
  239. package/dist/index197.js +5 -201
  240. package/dist/index198.cjs +1 -1
  241. package/dist/index198.js +7 -123
  242. package/dist/index199.cjs +1 -1
  243. package/dist/index199.js +7 -31
  244. package/dist/index20.cjs +1 -1
  245. package/dist/index20.js +26 -11
  246. package/dist/index200.cjs +1 -1
  247. package/dist/index200.js +66 -17
  248. package/dist/index201.cjs +1 -1
  249. package/dist/index201.js +8 -68
  250. package/dist/index202.cjs +1 -1
  251. package/dist/index202.js +13 -13
  252. package/dist/index203.cjs +1 -1
  253. package/dist/index203.js +6 -6
  254. package/dist/index204.cjs +1 -1
  255. package/dist/index204.js +15 -278
  256. package/dist/index205.cjs +1 -1
  257. package/dist/index205.js +171 -126
  258. package/dist/index206.cjs +1 -1
  259. package/dist/index206.js +21 -19
  260. package/dist/index207.cjs +1 -1
  261. package/dist/index207.js +16 -8
  262. package/dist/index208.cjs +1 -1
  263. package/dist/index208.js +123 -13
  264. package/dist/index209.cjs +1 -1
  265. package/dist/index209.js +19 -7
  266. package/dist/index21.cjs +1 -1
  267. package/dist/index21.js +29 -26
  268. package/dist/index210.cjs +1 -1
  269. package/dist/index210.js +8 -6
  270. package/dist/index211.cjs +1 -1
  271. package/dist/index211.js +9 -9
  272. package/dist/index212.cjs +1 -1
  273. package/dist/index212.js +13 -8
  274. package/dist/index213.cjs +1 -1
  275. package/dist/index213.js +9 -4
  276. package/dist/index214.cjs +1 -1
  277. package/dist/index214.js +9 -6
  278. package/dist/index215.cjs +1 -1
  279. package/dist/index215.js +4 -6
  280. package/dist/index216.cjs +1 -1
  281. package/dist/index216.js +42 -9
  282. package/dist/index217.cjs +1 -1
  283. package/dist/index217.js +386 -8
  284. package/dist/index218.cjs +1 -1
  285. package/dist/index218.js +37 -14
  286. package/dist/index219.cjs +1 -1
  287. package/dist/index219.js +22 -10
  288. package/dist/index22.cjs +1 -1
  289. package/dist/index22.js +367 -59
  290. package/dist/index220.cjs +1 -1
  291. package/dist/index220.js +57 -9
  292. package/dist/index221.cjs +1 -1
  293. package/dist/index221.js +39 -4
  294. package/dist/index222.cjs +1 -1
  295. package/dist/index222.js +116 -35
  296. package/dist/index223.cjs +1 -1
  297. package/dist/index223.js +85 -387
  298. package/dist/index224.cjs +1 -1
  299. package/dist/index224.js +87 -35
  300. package/dist/index225.cjs +1 -1
  301. package/dist/index225.js +116 -18
  302. package/dist/index226.cjs +1 -1
  303. package/dist/index226.js +97 -55
  304. package/dist/index227.cjs +1 -1
  305. package/dist/index227.js +154 -37
  306. package/dist/index228.cjs +1 -1
  307. package/dist/index228.js +76 -121
  308. package/dist/index229.cjs +9 -1
  309. package/dist/index229.js +588 -77
  310. package/dist/index23.cjs +1 -1
  311. package/dist/index23.js +212 -29
  312. package/dist/index230.cjs +1 -1
  313. package/dist/index230.js +64 -68
  314. package/dist/index231.cjs +1 -1
  315. package/dist/index231.js +42 -115
  316. package/dist/index232.cjs +1 -1
  317. package/dist/index232.js +65 -98
  318. package/dist/index233.cjs +1 -1
  319. package/dist/index233.js +48 -149
  320. package/dist/index234.cjs +1 -1
  321. package/dist/index234.js +98 -68
  322. package/dist/index235.cjs +1 -9
  323. package/dist/index235.js +214 -580
  324. package/dist/index236.cjs +1 -1
  325. package/dist/index236.js +29 -66
  326. package/dist/index237.cjs +1 -1
  327. package/dist/index237.js +23 -40
  328. package/dist/index238.cjs +1 -1
  329. package/dist/index238.js +55 -59
  330. package/dist/index239.cjs +1 -1
  331. package/dist/index239.js +419 -46
  332. package/dist/index24.cjs +1 -1
  333. package/dist/index24.js +200 -312
  334. package/dist/index240.cjs +1 -1
  335. package/dist/index240.js +30 -97
  336. package/dist/index241.cjs +1 -1
  337. package/dist/index241.js +205 -196
  338. package/dist/index25.cjs +1 -1
  339. package/dist/index25.js +228 -124
  340. package/dist/index26.cjs +1 -1
  341. package/dist/index26.js +161 -86
  342. package/dist/index27.cjs +1 -1
  343. package/dist/index27.js +89 -143
  344. package/dist/index28.cjs +1 -1
  345. package/dist/index28.js +140 -76
  346. package/dist/index29.cjs +1 -1
  347. package/dist/index29.js +92 -84
  348. package/dist/index30.cjs +1 -1
  349. package/dist/index30.js +84 -26
  350. package/dist/index31.cjs +1 -1
  351. package/dist/index31.js +26 -35
  352. package/dist/index32.cjs +1 -1
  353. package/dist/index32.js +39 -86
  354. package/dist/index33.cjs +1 -1
  355. package/dist/index33.js +84 -231
  356. package/dist/index34.cjs +1 -1
  357. package/dist/index34.js +234 -44
  358. package/dist/index35.cjs +1 -1
  359. package/dist/index35.js +39 -26
  360. package/dist/index36.cjs +1 -1
  361. package/dist/index36.js +30 -14
  362. package/dist/index37.cjs +1 -1
  363. package/dist/index37.js +14 -13
  364. package/dist/index38.cjs +1 -1
  365. package/dist/index38.js +13 -3
  366. package/dist/index39.cjs +1 -1
  367. package/dist/index39.js +4 -87
  368. package/dist/index40.cjs +1 -1
  369. package/dist/index40.js +83 -174
  370. package/dist/index41.cjs +1 -1
  371. package/dist/index41.js +66 -142
  372. package/dist/index42.cjs +1 -1
  373. package/dist/index42.js +217 -62
  374. package/dist/index43.cjs +1 -1
  375. package/dist/index43.js +135 -47
  376. package/dist/index44.cjs +1 -1
  377. package/dist/index44.js +47 -260
  378. package/dist/index45.cjs +1 -1
  379. package/dist/index45.js +273 -8
  380. package/dist/index46.cjs +1 -1
  381. package/dist/index46.js +7 -4
  382. package/dist/index47.cjs +1 -1
  383. package/dist/index47.js +4 -503
  384. package/dist/index48.cjs +1 -1
  385. package/dist/index48.js +472 -177
  386. package/dist/index49.cjs +1 -1
  387. package/dist/index49.js +205 -23
  388. package/dist/index50.cjs +1 -1
  389. package/dist/index50.js +21 -1008
  390. package/dist/index51.cjs +1 -1
  391. package/dist/index51.js +1014 -21
  392. package/dist/index52.cjs +1 -1
  393. package/dist/index52.js +22 -207
  394. package/dist/index53.cjs +1 -1
  395. package/dist/index53.js +181 -130
  396. package/dist/index54.cjs +1 -1
  397. package/dist/index54.js +132 -99
  398. package/dist/index55.cjs +1 -1
  399. package/dist/index55.js +123 -19
  400. package/dist/index56.cjs +1 -1
  401. package/dist/index56.js +17 -79
  402. package/dist/index57.cjs +1 -1
  403. package/dist/index57.js +75 -90
  404. package/dist/index58.cjs +1 -1
  405. package/dist/index58.js +91 -9
  406. package/dist/index59.cjs +1 -1
  407. package/dist/index59.js +12 -91
  408. package/dist/index6.cjs +1 -1
  409. package/dist/index6.js +62 -5
  410. package/dist/index60.cjs +1 -1
  411. package/dist/index60.js +92 -31
  412. package/dist/index61.cjs +1 -1
  413. package/dist/index61.js +29 -208
  414. package/dist/index62.cjs +1 -1
  415. package/dist/index62.js +123 -99
  416. package/dist/index63.cjs +1 -1
  417. package/dist/index63.js +17 -17
  418. package/dist/index64.cjs +1 -1
  419. package/dist/index64.js +28 -28
  420. package/dist/index65.cjs +1 -1
  421. package/dist/index65.js +30 -30
  422. package/dist/index67.cjs +1 -1
  423. package/dist/index67.js +11 -11
  424. package/dist/index7.cjs +1 -1
  425. package/dist/index7.js +22 -28
  426. package/dist/index73.cjs +1 -1
  427. package/dist/index73.js +1 -1
  428. package/dist/index74.cjs +1 -1
  429. package/dist/index74.js +20 -20
  430. package/dist/index75.cjs +1 -1
  431. package/dist/index75.js +7 -7
  432. package/dist/index77.cjs +1 -1
  433. package/dist/index77.js +28 -28
  434. package/dist/index8.cjs +1 -1
  435. package/dist/index8.js +28 -61
  436. package/dist/index9.cjs +1 -1
  437. package/dist/index9.js +60 -15
  438. package/dist/ui/accordion.d.ts.map +1 -1
  439. package/dist/ui/avatar.d.ts.map +1 -1
  440. package/dist/ui/breadcrumb.d.ts.map +1 -1
  441. package/dist/ui/button.d.ts.map +1 -1
  442. package/dist/ui/calendar.d.ts +1 -1
  443. package/dist/ui/calendar.d.ts.map +1 -1
  444. package/dist/ui/command.d.ts +1 -1
  445. package/dist/ui/command.d.ts.map +1 -1
  446. package/dist/ui/context-menu.d.ts.map +1 -1
  447. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  448. package/dist/ui/editable.d.ts.map +1 -1
  449. package/dist/ui/field.d.ts.map +1 -1
  450. package/dist/ui/form.d.ts.map +1 -1
  451. package/dist/ui/input-group.d.ts.map +1 -1
  452. package/dist/ui/input-otp.d.ts +1 -1
  453. package/dist/ui/input-otp.d.ts.map +1 -1
  454. package/dist/ui/item.d.ts.map +1 -1
  455. package/dist/ui/menubar.d.ts.map +1 -1
  456. package/dist/ui/pagination.d.ts +3 -1
  457. package/dist/ui/pagination.d.ts.map +1 -1
  458. package/dist/ui/toggle-group.d.ts +1 -1
  459. package/dist/ui/toggle-group.d.ts.map +1 -1
  460. package/dist/ui/toggle.d.ts +1 -1
  461. package/dist/ui/toggle.d.ts.map +1 -1
  462. package/dist/ui/useBreakpoint.d.ts +0 -4
  463. package/dist/ui/useBreakpoint.d.ts.map +1 -1
  464. package/package.json +1 -1
  465. package/dist/index242.cjs +0 -1
  466. package/dist/index242.js +0 -25
  467. package/dist/index243.cjs +0 -1
  468. package/dist/index243.js +0 -26
  469. package/dist/index244.cjs +0 -1
  470. package/dist/index244.js +0 -63
  471. package/dist/index245.cjs +0 -1
  472. package/dist/index245.js +0 -422
  473. package/dist/index246.cjs +0 -1
  474. package/dist/index246.js +0 -25
  475. package/dist/index247.cjs +0 -1
  476. package/dist/index247.js +0 -209
package/dist/index25.js CHANGED
@@ -1,182 +1,286 @@
1
- import { resolveWidth as e } from "./index21.js";
2
- import { isComponentSize as t, resolveGap as n } from "./index22.js";
3
- import * as r from "react";
4
- import * as i from "@stylexjs/stylex";
5
- import { jsx as a } from "react/jsx-runtime";
6
- import { Slot as o } from "@radix-ui/react-slot";
7
- // src/ui/flex.tsx
8
- var s = {
9
- base: {
10
- k1xSpc: "x78zum5",
11
- kB7OPa: "x9f619",
12
- $$css: !0
13
- },
14
- inline: {
15
- k1xSpc: "x3nfvp2",
1
+ import { Text as e } from "./index14.js";
2
+ import * as t from "@stylexjs/stylex";
3
+ import { ChevronDownIcon as n } from "lucide-react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import * as a from "react";
6
+ import { c as o } from "react/compiler-runtime";
7
+ import * as s from "@radix-ui/react-accordion";
8
+ // src/ui/accordion.tsx
9
+ var c = {
10
+ root: {
11
+ kzqmXN: "xh8yej3",
16
12
  $$css: !0
17
13
  },
18
- dirRow: {
19
- kXwgrk: "x1q0g3np",
14
+ item: {
15
+ kt9PQ7: "xso031l",
16
+ kfdmCh: "x1q0q8m5",
17
+ kL6WhQ: "x1c03eaz",
20
18
  $$css: !0
21
19
  },
22
- dirRowReverse: {
23
- kXwgrk: "x15zctf7",
20
+ trigger: {
21
+ kysU6D: "xjyslct",
22
+ kWkggS: "xjbqb8w",
23
+ kMzoRj: "xc342km",
24
+ kMwMTN: "x84br7x",
25
+ k1xSpc: "x78zum5",
26
+ kUk6DE: "x845mor",
27
+ kGNEyG: "x6s0dn4",
28
+ kjj79g: "x1qughib",
29
+ kzqmXN: "xh8yej3",
30
+ kkrTdU: "x1ypdohk",
31
+ k9WMMc: "xdpxx8g",
32
+ kI3sdo: "x1a2a7pz",
33
+ k1ekBW: "xfagghw",
34
+ kIyJzY: "x13dflua",
35
+ k67Jb4: "xt0b8zv",
36
+ k3Woio: "xybh4k3",
37
+ kiEn40: "x7s97pk",
38
+ k7aC84: "x1hi7d6v",
39
+ k7HAVu: "xaqnwrm",
40
+ kWCcOm: "xijokvz",
24
41
  $$css: !0
25
42
  },
26
- dirCol: {
27
- kXwgrk: "xdt5ytf",
43
+ triggerXxs: {
44
+ k8WAf4: "x1bilvtl",
45
+ kGuDYH: "xboafo0",
46
+ k63SB2: "xk50ysn",
47
+ kOIVth: "x13z6uf9",
28
48
  $$css: !0
29
49
  },
30
- dirColReverse: {
31
- kXwgrk: "x3ieub6",
50
+ triggerXs: {
51
+ k8WAf4: "x18g2hj5",
52
+ kGuDYH: "x1dcheo9",
53
+ k63SB2: "xk50ysn",
54
+ kOIVth: "xb6y1gh",
32
55
  $$css: !0
33
56
  },
34
- alignStart: {
35
- kGNEyG: "x1cy8zhl",
57
+ triggerSm: {
58
+ k8WAf4: "xo0yzjp",
59
+ kGuDYH: "xkpwil5",
60
+ k63SB2: "xk50ysn",
61
+ kOIVth: "x8233eu",
36
62
  $$css: !0
37
63
  },
38
- alignCenter: {
39
- kGNEyG: "x6s0dn4",
64
+ triggerMd: {
65
+ k8WAf4: "xgepmj6",
66
+ kGuDYH: "x6u19be",
67
+ k63SB2: "xk50ysn",
68
+ kOIVth: "x8fetqu",
40
69
  $$css: !0
41
70
  },
42
- alignEnd: {
43
- kGNEyG: "xuk3077",
71
+ triggerLg: {
72
+ k8WAf4: "x6qoaat",
73
+ kGuDYH: "x1jchvi3",
74
+ k63SB2: "xk50ysn",
75
+ kOIVth: "x9sv3eg",
44
76
  $$css: !0
45
77
  },
46
- alignBaseline: {
47
- kGNEyG: "x1pha0wt",
78
+ triggerXl: {
79
+ k8WAf4: "x1yb22fu",
80
+ kGuDYH: "x1c3i2sq",
81
+ k63SB2: "x1s688f",
82
+ kOIVth: "x15iy025",
48
83
  $$css: !0
49
84
  },
50
- alignStretch: {
51
- kGNEyG: "x1qjc9v5",
85
+ triggerXxl: {
86
+ k8WAf4: "xn48sxs",
87
+ kGuDYH: "x1603h9y",
88
+ k63SB2: "x1s688f",
89
+ kOIVth: "xru8eyw",
52
90
  $$css: !0
53
91
  },
54
- justifyStart: {
55
- kjj79g: "x1nhvcw1",
92
+ chevron: {
93
+ kMwMTN: "xw3nh4a",
94
+ kmuXW: "x2lah0s",
95
+ kfzvcC: "x47corl",
96
+ k1ekBW: "x11xpdln",
97
+ kIyJzY: "x13dflua",
56
98
  $$css: !0
57
99
  },
58
- justifyCenter: {
59
- kjj79g: "xl56j7k",
100
+ chevronXxs: {
101
+ kzqmXN: "x1jw3ynk",
102
+ kZKoxP: "xvle69y",
60
103
  $$css: !0
61
104
  },
62
- justifyEnd: {
63
- kjj79g: "x13a6bvl",
105
+ chevronXs: {
106
+ kzqmXN: "x10rziqa",
107
+ kZKoxP: "x75iezw",
64
108
  $$css: !0
65
109
  },
66
- justifyBetween: {
67
- kjj79g: "x1qughib",
110
+ chevronSm: {
111
+ kzqmXN: "x1xvt488",
112
+ kZKoxP: "xf08kfj",
68
113
  $$css: !0
69
114
  },
70
- justifyAround: {
71
- kjj79g: "x1l1ennw",
115
+ chevronMd: {
116
+ kzqmXN: "xcdlrvm",
117
+ kZKoxP: "x1l36t39",
72
118
  $$css: !0
73
119
  },
74
- justifyEvenly: {
75
- kjj79g: "xaw8158",
120
+ chevronLg: {
121
+ kzqmXN: "xsk17dz",
122
+ kZKoxP: "xaylbqo",
76
123
  $$css: !0
77
124
  },
78
- justifyStretch: {
79
- kjj79g: "x1szn6h9",
125
+ chevronXl: {
126
+ kzqmXN: "xwqq7k2",
127
+ kZKoxP: "xmll18r",
80
128
  $$css: !0
81
129
  },
82
- wrapNowrap: {
83
- kwnvtZ: "xozqiw3",
130
+ chevronXxl: {
131
+ kzqmXN: "xp8d6y2",
132
+ kZKoxP: "xam5rvr",
84
133
  $$css: !0
85
134
  },
86
- wrapWrap: {
87
- kwnvtZ: "x1a02dak",
135
+ content: {
136
+ kVQacm: "xb3r6kr",
137
+ kMwMTN: "x84br7x",
88
138
  $$css: !0
89
139
  },
90
- wrapReverse: {
91
- kwnvtZ: "x8hhl5t",
140
+ contentInner: {
141
+ kLWn49: "x1evy7pa",
92
142
  $$css: !0
93
143
  },
94
- gapXxs: {
95
- kOIVth: "x118fsrc",
144
+ contentXxs: {
145
+ kGO01o: "x1uwplc6",
146
+ kGuDYH: "xboafo0",
96
147
  $$css: !0
97
148
  },
98
- gapXs: {
99
- kOIVth: "x1m5ztt4",
149
+ contentXs: {
150
+ kGO01o: "xmnamis",
151
+ kGuDYH: "x1dcheo9",
100
152
  $$css: !0
101
153
  },
102
- gapSm: {
103
- kOIVth: "xdkmor2",
154
+ contentSm: {
155
+ kGO01o: "xsaxbkt",
156
+ kGuDYH: "xkpwil5",
104
157
  $$css: !0
105
158
  },
106
- gapMd: {
107
- kOIVth: "x1b1hbqf",
159
+ contentMd: {
160
+ kGO01o: "x2yie3v",
161
+ kGuDYH: "xkpwil5",
108
162
  $$css: !0
109
163
  },
110
- gapLg: {
111
- kOIVth: "x1oqwmkw",
164
+ contentLg: {
165
+ kGO01o: "x10l3h1t",
166
+ kGuDYH: "x6u19be",
112
167
  $$css: !0
113
168
  },
114
- gapXl: {
115
- kOIVth: "x1d8n61f",
169
+ contentXl: {
170
+ kGO01o: "x163t5y5",
171
+ kGuDYH: "x1jchvi3",
116
172
  $$css: !0
117
173
  },
118
- gapXxl: {
119
- kOIVth: "x12iavo",
174
+ contentXxl: {
175
+ kGO01o: "x13xio2g",
176
+ kGuDYH: "x1c3i2sq",
120
177
  $$css: !0
121
178
  }
122
- }, c = {
123
- row: s.dirRow,
124
- "row-reverse": s.dirRowReverse,
125
- column: s.dirCol,
126
- "column-reverse": s.dirColReverse
127
179
  }, l = {
128
- start: s.alignStart,
129
- "flex-start": s.alignStart,
130
- center: s.alignCenter,
131
- end: s.alignEnd,
132
- "flex-end": s.alignEnd,
133
- baseline: s.alignBaseline,
134
- stretch: s.alignStretch
180
+ xxs: c.triggerXxs,
181
+ xs: c.triggerXs,
182
+ sm: c.triggerSm,
183
+ md: c.triggerMd,
184
+ lg: c.triggerLg,
185
+ xl: c.triggerXl,
186
+ xxl: c.triggerXxl
135
187
  }, u = {
136
- start: s.justifyStart,
137
- "flex-start": s.justifyStart,
138
- center: s.justifyCenter,
139
- end: s.justifyEnd,
140
- "flex-end": s.justifyEnd,
141
- "space-between": s.justifyBetween,
142
- between: s.justifyBetween,
143
- "space-around": s.justifyAround,
144
- around: s.justifyAround,
145
- "space-evenly": s.justifyEvenly,
146
- evenly: s.justifyEvenly,
147
- stretch: s.justifyStretch
188
+ xxs: c.chevronXxs,
189
+ xs: c.chevronXs,
190
+ sm: c.chevronSm,
191
+ md: c.chevronMd,
192
+ lg: c.chevronLg,
193
+ xl: c.chevronXl,
194
+ xxl: c.chevronXxl
148
195
  }, d = {
149
- nowrap: s.wrapNowrap,
150
- wrap: s.wrapWrap,
151
- "wrap-reverse": s.wrapReverse
152
- }, f = {
153
- xxs: s.gapXxs,
154
- xs: s.gapXs,
155
- sm: s.gapSm,
156
- md: s.gapMd,
157
- lg: s.gapLg,
158
- xl: s.gapXl,
159
- xxl: s.gapXxl
160
- }, p = r.forwardRef(function({ vertical: r, direction: p = "row", align: m, justify: h, wrap: g, gap: _, type: v = "flex", inline: y = !1, flex: b, grow: x, shrink: S, basis: C, width: w, height: T, asChild: E = !1, as: D = "div", className: O, style: k, sx: A, children: j, ...M }, N) {
161
- let P = y || v === "inline-flex" || v === "inline", F = r ? "column" : p, I;
162
- typeof g == "boolean" ? I = g ? "wrap" : "nowrap" : typeof g == "string" && (I = g);
163
- let L = t(_), R = L ? f[_] : void 0, z = i.props(s.base, P && s.inline, c[F], m ? l[m] : void 0, h ? u[h] : void 0, I ? d[I] : void 0, R, A), B = O ? `${z.className || ""} ${O}`.trim() : z.className, V = {
164
- ...z.style,
165
- ...k
166
- };
167
- _ !== void 0 && !L && (V.gap = n(_)), b !== void 0 && (V.flex = b), x !== void 0 && (V.flexGrow = typeof x == "boolean" ? +!!x : x), S !== void 0 && (V.flexShrink = typeof S == "boolean" ? +!!S : S), C !== void 0 && (V.flexBasis = C);
168
- let H = e(w);
169
- return H && (V.width = H), T !== void 0 && (V.height = typeof T == "number" ? `${T}px` : T), /* @__PURE__ */ a(E ? o : D, {
170
- ref: N,
171
- "data-slot": "flex",
172
- "data-direction": F,
173
- "data-inline": P ? "true" : void 0,
174
- ...z,
175
- style: V,
176
- className: B,
177
- ...M,
178
- children: j
196
+ xxs: c.contentXxs,
197
+ xs: c.contentXs,
198
+ sm: c.contentSm,
199
+ md: c.contentMd,
200
+ lg: c.contentLg,
201
+ xl: c.contentXl,
202
+ xxl: c.contentXxl
203
+ }, f = a.createContext({ size: "md" });
204
+ function p({ size: e = "md", className: n, sx: i, ...a }) {
205
+ let o = t.props(c.root, i);
206
+ return /* @__PURE__ */ r(f.Provider, {
207
+ value: { size: e },
208
+ children: /* @__PURE__ */ r(s.Root, {
209
+ "data-slot": "accordion",
210
+ "data-size": e,
211
+ ...a,
212
+ ...o,
213
+ className: n ? `${o.className || ""} ${n}`.trim() : o.className
214
+ })
179
215
  });
180
- });
181
- p.displayName = "Flex";
182
- export { p as Flex };
216
+ }
217
+ function m(e) {
218
+ let n = o(13), i, a, l;
219
+ n[0] === e ? (i = n[1], a = n[2], l = n[3]) : ({className: i, sx: l, ...a} = e, n[0] = e, n[1] = i, n[2] = a, n[3] = l);
220
+ let u;
221
+ n[4] === l ? u = n[5] : (u = t.props(c.item, l), n[4] = l, n[5] = u);
222
+ let d = u, f;
223
+ n[6] !== i || n[7] !== d.className ? (f = i ? `${d.className || ""} ${i}`.trim() : d.className, n[6] = i, n[7] = d.className, n[8] = f) : f = n[8];
224
+ let p;
225
+ return n[9] !== a || n[10] !== d || n[11] !== f ? (p = /* @__PURE__ */ r(s.Item, {
226
+ "data-slot": "accordion-item",
227
+ ...d,
228
+ className: f,
229
+ ...a
230
+ }), n[9] = a, n[10] = d, n[11] = f, n[12] = p) : p = n[12], p;
231
+ }
232
+ function h(d) {
233
+ let p = o(25), m, h, g, _, v;
234
+ p[0] === d ? (m = p[1], h = p[2], g = p[3], _ = p[4], v = p[5]) : ({size: g, className: h, children: m, sx: v, ..._} = d, p[0] = d, p[1] = m, p[2] = h, p[3] = g, p[4] = _, p[5] = v);
235
+ let y = a.useContext(f), b = g ?? y.size ?? "md", x = l[b] ?? c.triggerMd, S = u[b] ?? c.chevronMd, C;
236
+ p[6] !== v || p[7] !== x ? (C = t.props(c.trigger, x, v), p[6] = v, p[7] = x, p[8] = C) : C = p[8];
237
+ let w = C, T;
238
+ p[9] !== h || p[10] !== w.className ? (T = h ? `${w.className || ""} ${h}`.trim() : w.className, p[9] = h, p[10] = w.className, p[11] = T) : T = p[11];
239
+ let E;
240
+ p[12] === m ? E = p[13] : (E = /* @__PURE__ */ r(e, {
241
+ as: "span",
242
+ type: "inherit",
243
+ children: m
244
+ }), p[12] = m, p[13] = E);
245
+ let D;
246
+ p[14] === S ? D = p[15] : (D = t.props(c.chevron, S), p[14] = S, p[15] = D);
247
+ let O;
248
+ p[16] === D ? O = p[17] : (O = /* @__PURE__ */ r(n, { ...D }), p[16] = D, p[17] = O);
249
+ let k;
250
+ return p[18] !== _ || p[19] !== b || p[20] !== w || p[21] !== T || p[22] !== E || p[23] !== O ? (k = /* @__PURE__ */ r(s.Header, {
251
+ className: "x78zum5 x1ghz6dp xh8yej3",
252
+ children: /* @__PURE__ */ i(s.Trigger, {
253
+ "data-slot": "accordion-trigger",
254
+ "data-size": b,
255
+ ...w,
256
+ className: T,
257
+ ..._,
258
+ children: [E, O]
259
+ })
260
+ }), p[18] = _, p[19] = b, p[20] = w, p[21] = T, p[22] = E, p[23] = O, p[24] = k) : k = p[24], k;
261
+ }
262
+ function g(e) {
263
+ let n = o(22), i, l, u, p, m;
264
+ n[0] === e ? (i = n[1], l = n[2], u = n[3], p = n[4], m = n[5]) : ({size: u, className: l, children: i, sx: m, ...p} = e, n[0] = e, n[1] = i, n[2] = l, n[3] = u, n[4] = p, n[5] = m);
265
+ let h = a.useContext(f), g = u ?? h.size ?? "md", _ = d[g] ?? c.contentMd, v;
266
+ n[6] === m ? v = n[7] : (v = t.props(c.content, m), n[6] = m, n[7] = v);
267
+ let y = v, b;
268
+ n[8] !== l || n[9] !== y.className ? (b = l ? `${y.className || ""} ${l}`.trim() : y.className, n[8] = l, n[9] = y.className, n[10] = b) : b = n[10];
269
+ let x;
270
+ n[11] === _ ? x = n[12] : (x = t.props(c.contentInner, _), n[11] = _, n[12] = x);
271
+ let S;
272
+ n[13] !== i || n[14] !== x ? (S = /* @__PURE__ */ r("div", {
273
+ ...x,
274
+ children: i
275
+ }), n[13] = i, n[14] = x, n[15] = S) : S = n[15];
276
+ let C;
277
+ return n[16] !== p || n[17] !== g || n[18] !== y || n[19] !== b || n[20] !== S ? (C = /* @__PURE__ */ r(s.Content, {
278
+ "data-slot": "accordion-content",
279
+ "data-size": g,
280
+ ...y,
281
+ className: b,
282
+ ...p,
283
+ children: S
284
+ }), n[16] = p, n[17] = g, n[18] = y, n[19] = b, n[20] = S, n[21] = C) : C = n[21], C;
285
+ }
286
+ export { p as Accordion, g as AccordionContent, m as AccordionItem, h as AccordionTrigger };
package/dist/index26.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index2.cjs"),t=require("./index25.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("@radix-ui/react-slot");var o={base:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kfSwDN:`x87ps6o`,kfzvcC:`x47corl`,kMv6JI:`x4w1nh8`,k63SB2:`xk50ysn`,kLWn49:`xo5v014`,khDVqt:`xuxw1ft`,kaIpWk:`x1q0v2j7`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,k1ekBW:`x1oy24xj`,kIyJzY:`xx6bhzk`,$$css:!0},default:{kWkggS:`x1qry0bl`,kMwMTN:`xw3nh4a`,kGVxlE:`x1rbhkzv`,$$css:!0},outline:{kWkggS:`xjbqb8w`,kMwMTN:`x84br7x`,$$css:!0},sizeXs:{kAzted:`x287gpq`,k7Eaqz:`xbqenb3`,kg3NbH:`xllzysa`,k8WAf4:`x1iv7sc9`,kGuDYH:`x2ohwh0`,$$css:!0},sizeSm:{kAzted:`x2umgb4`,k7Eaqz:`x199i5n0`,kg3NbH:`x18a9hih`,k8WAf4:`x1dus959`,kGuDYH:`x12lo8hy`,$$css:!0},sizeMd:{kAzted:`x1rqwxy8`,k7Eaqz:`x1vi9356`,kg3NbH:`x97vtpp`,k8WAf4:`x5utbj`,kGuDYH:`xboafo0`,$$css:!0},sizeLg:{kAzted:`x1pw4g4d`,k7Eaqz:`x1xkahga`,kg3NbH:`xvpgqt4`,k8WAf4:`x1o5vn8x`,kGuDYH:`xkpwil5`,$$css:!0},group:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`xvh977a`,$$css:!0}},s={xs:o.sizeXs,sm:o.sizeSm,md:o.sizeMd,lg:o.sizeLg},c={default:o.default,outline:o.outline};function l({className:e,size:t=`sm`,variant:n=`default`,asChild:l=!1,sx:u,...d}){let f=l?a.Slot:`kbd`,p=t===`sm`?o.sizeSm:s[t],m=r.props(o.base,c[n],p,u);return(0,i.jsx)(f,{"data-slot":`kbd`,"data-size":t,"data-variant":n,...m,className:e?`${m.className||``} ${e}`.trim():m.className,...d})}function u({className:e,asChild:n=!1,sx:a,children:s,...c}){let l=r.props(o.group,a),u=e?`${l.className||``} ${e}`.trim():l.className;return(0,i.jsx)(t.Flex,{asChild:n,role:`group`,"data-slot":`kbd-group`,align:`center`,className:u,...c,children:s})}exports.Kbd=l,exports.KbdGroup=u;
1
+ const e=require("./index2.cjs"),t=require("./index6.cjs"),n=require("./index20.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react"),o=e.__toESM(a,1);a=e.__toESM(a);let s=require("@radix-ui/react-slot");var c={base:{k1xSpc:`x78zum5`,kB7OPa:`x9f619`,$$css:!0},inline:{k1xSpc:`x3nfvp2`,$$css:!0},dirRow:{kXwgrk:`x1q0g3np`,$$css:!0},dirRowReverse:{kXwgrk:`x15zctf7`,$$css:!0},dirCol:{kXwgrk:`xdt5ytf`,$$css:!0},dirColReverse:{kXwgrk:`x3ieub6`,$$css:!0},alignStart:{kGNEyG:`x1cy8zhl`,$$css:!0},alignCenter:{kGNEyG:`x6s0dn4`,$$css:!0},alignEnd:{kGNEyG:`xuk3077`,$$css:!0},alignBaseline:{kGNEyG:`x1pha0wt`,$$css:!0},alignStretch:{kGNEyG:`x1qjc9v5`,$$css:!0},justifyStart:{kjj79g:`x1nhvcw1`,$$css:!0},justifyCenter:{kjj79g:`xl56j7k`,$$css:!0},justifyEnd:{kjj79g:`x13a6bvl`,$$css:!0},justifyBetween:{kjj79g:`x1qughib`,$$css:!0},justifyAround:{kjj79g:`x1l1ennw`,$$css:!0},justifyEvenly:{kjj79g:`xaw8158`,$$css:!0},justifyStretch:{kjj79g:`x1szn6h9`,$$css:!0},wrapNowrap:{kwnvtZ:`xozqiw3`,$$css:!0},wrapWrap:{kwnvtZ:`x1a02dak`,$$css:!0},wrapReverse:{kwnvtZ:`x8hhl5t`,$$css:!0},gapXxs:{kOIVth:`x118fsrc`,$$css:!0},gapXs:{kOIVth:`x1m5ztt4`,$$css:!0},gapSm:{kOIVth:`xdkmor2`,$$css:!0},gapMd:{kOIVth:`x1b1hbqf`,$$css:!0},gapLg:{kOIVth:`x1oqwmkw`,$$css:!0},gapXl:{kOIVth:`x1d8n61f`,$$css:!0},gapXxl:{kOIVth:`x12iavo`,$$css:!0}},l={row:c.dirRow,"row-reverse":c.dirRowReverse,column:c.dirCol,"column-reverse":c.dirColReverse},u={start:c.alignStart,"flex-start":c.alignStart,center:c.alignCenter,end:c.alignEnd,"flex-end":c.alignEnd,baseline:c.alignBaseline,stretch:c.alignStretch},d={start:c.justifyStart,"flex-start":c.justifyStart,center:c.justifyCenter,end:c.justifyEnd,"flex-end":c.justifyEnd,"space-between":c.justifyBetween,between:c.justifyBetween,"space-around":c.justifyAround,around:c.justifyAround,"space-evenly":c.justifyEvenly,evenly:c.justifyEvenly,stretch:c.justifyStretch},f={nowrap:c.wrapNowrap,wrap:c.wrapWrap,"wrap-reverse":c.wrapReverse},p={xxs:c.gapXxs,xs:c.gapXs,sm:c.gapSm,md:c.gapMd,lg:c.gapLg,xl:c.gapXl,xxl:c.gapXxl},m=o.forwardRef(function({vertical:e,direction:a=`row`,align:o,justify:m,wrap:h,gap:g,type:_=`flex`,inline:v=!1,flex:y,grow:b,shrink:x,basis:S,width:C,height:w,asChild:T=!1,as:E=`div`,className:D,style:O,sx:k,children:A,...j},M){let N=v||_===`inline-flex`||_===`inline`,P=e?`column`:a,F;typeof h==`boolean`?F=h?`wrap`:`nowrap`:typeof h==`string`&&(F=h);let I=t.isComponentSize(g),L=I?p[g]:void 0,R=r.props(c.base,N&&c.inline,l[P],o?u[o]:void 0,m?d[m]:void 0,F?f[F]:void 0,L,k),z=D?`${R.className||``} ${D}`.trim():R.className,B={...R.style,...O};g!==void 0&&!I&&(B.gap=t.resolveGap(g)),y!==void 0&&(B.flex=y),b!==void 0&&(B.flexGrow=typeof b==`boolean`?+!!b:b),x!==void 0&&(B.flexShrink=typeof x==`boolean`?+!!x:x),S!==void 0&&(B.flexBasis=S);let V=n.resolveWidth(C);return V&&(B.width=V),w!==void 0&&(B.height=typeof w==`number`?`${w}px`:w),(0,i.jsx)(T?s.Slot:E,{ref:M,"data-slot":`flex`,"data-direction":P,"data-inline":N?`true`:void 0,...R,style:B,className:z,...j,children:A})});m.displayName=`Flex`,exports.Flex=m;