@vlrc-fe/components 2.0.1 → 2.0.2

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 (469) hide show
  1. package/CHANGELOG.md +44 -29
  2. package/LICENSE +21 -0
  3. package/README.md +228 -141
  4. package/dist/ConfirmModal.d.ts +1 -1
  5. package/dist/ConfirmModal.d.ts.map +1 -1
  6. package/dist/DataTable/DataTable.d.ts +1 -1
  7. package/dist/DataTable/DataTable.d.ts.map +1 -1
  8. package/dist/DataTable/components/DataTablePagination.d.ts +1 -1
  9. package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
  10. package/dist/DataTable/components/DataTableRowActions.d.ts +1 -1
  11. package/dist/DataTable/components/DataTableRowActions.d.ts.map +1 -1
  12. package/dist/DataTable/components/DataTableTable.d.ts +1 -1
  13. package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
  14. package/dist/DataTable/components/DataTableToolbar.d.ts +1 -1
  15. package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -1
  16. package/dist/DataTable/components/DataTableViewOptions.d.ts +1 -1
  17. package/dist/DataTable/components/DataTableViewOptions.d.ts.map +1 -1
  18. package/dist/DataTable/index.d.ts +1 -1
  19. package/dist/DataTable/index.d.ts.map +1 -1
  20. package/dist/DataTable/render/createColumns.d.ts.map +1 -1
  21. package/dist/Form/Form.d.ts +1 -1
  22. package/dist/Form/Form.d.ts.map +1 -1
  23. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +1 -1
  24. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
  25. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +1 -1
  26. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  27. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
  28. package/dist/Form/FormDatePicker/index.d.ts +2 -2
  29. package/dist/Form/FormDatePicker/index.d.ts.map +1 -1
  30. package/dist/Form/FormFileUpload/FileUpload.d.ts +1 -1
  31. package/dist/Form/FormFileUpload/FileUpload.d.ts.map +1 -1
  32. package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -1
  33. package/dist/Form/FormNumberInput/StepperControls.d.ts +1 -1
  34. package/dist/Form/FormNumberInput/StepperControls.d.ts.map +1 -1
  35. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +1 -1
  36. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
  37. package/dist/Form/FormRadioGroup/FormRadio.d.ts +1 -1
  38. package/dist/Form/FormRadioGroup/FormRadio.d.ts.map +1 -1
  39. package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
  40. package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
  41. package/dist/Icons/Icons.d.ts.map +1 -1
  42. package/dist/Modal.d.ts +1 -1
  43. package/dist/Modal.d.ts.map +1 -1
  44. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  45. package/dist/MultiSelect/renderers.d.ts +3 -3
  46. package/dist/MultiSelect/renderers.d.ts.map +1 -1
  47. package/dist/MultiSelect/type.d.ts.map +1 -1
  48. package/dist/MultiSelect/utils.d.ts.map +1 -1
  49. package/dist/Select/BaseSelect.d.ts.map +1 -1
  50. package/dist/Select/MultiSelectTags.d.ts +1 -1
  51. package/dist/Select/MultiSelectTags.d.ts.map +1 -1
  52. package/dist/index.cjs +1 -1
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +6 -6
  55. package/dist/index10.cjs +1 -1
  56. package/dist/index10.js +2 -3
  57. package/dist/index100.js +1 -2
  58. package/dist/index101.cjs +1 -1
  59. package/dist/index101.js +1 -2
  60. package/dist/index102.js +1 -2
  61. package/dist/index103.cjs +1 -1
  62. package/dist/index103.js +373 -383
  63. package/dist/index104.js +1 -2
  64. package/dist/index105.js +1 -2
  65. package/dist/index106.js +1 -2
  66. package/dist/index107.js +1 -2
  67. package/dist/index108.js +1 -2
  68. package/dist/index109.js +1 -2
  69. package/dist/index11.cjs +1 -1
  70. package/dist/index11.js +6 -7
  71. package/dist/index110.cjs +1 -1
  72. package/dist/index110.js +47 -49
  73. package/dist/index111.js +1 -2
  74. package/dist/index112.cjs +1 -1
  75. package/dist/index112.js +17 -16
  76. package/dist/index113.cjs +1 -1
  77. package/dist/index113.js +4 -5
  78. package/dist/index114.js +1 -2
  79. package/dist/index115.js +1 -2
  80. package/dist/index116.cjs +1 -1
  81. package/dist/index116.js +3 -4
  82. package/dist/index117.cjs +1 -1
  83. package/dist/index117.js +2 -3
  84. package/dist/index118.js +1 -2
  85. package/dist/index119.cjs +1 -1
  86. package/dist/index119.js +4 -5
  87. package/dist/index12.js +1 -2
  88. package/dist/index120.cjs +1 -1
  89. package/dist/index120.js +2 -3
  90. package/dist/index121.js +1 -2
  91. package/dist/index122.cjs +1 -1
  92. package/dist/index122.js +1 -2
  93. package/dist/index123.js +1 -2
  94. package/dist/index124.cjs +1 -1
  95. package/dist/index124.js +4 -5
  96. package/dist/index125.cjs +1 -1
  97. package/dist/index125.js +14 -15
  98. package/dist/index126.js +1 -2
  99. package/dist/index127.js +1 -2
  100. package/dist/index128.js +1 -2
  101. package/dist/index129.js +1 -2
  102. package/dist/index13.cjs +1 -1
  103. package/dist/index13.js +2 -3
  104. package/dist/index130.cjs +1 -1
  105. package/dist/index130.js +2 -7
  106. package/dist/index131.js +1 -2
  107. package/dist/index132.js +1 -2
  108. package/dist/index133.cjs +1 -1
  109. package/dist/index133.js +2 -3
  110. package/dist/index134.js +1 -2
  111. package/dist/index135.js +1 -2
  112. package/dist/index136.js +1 -2
  113. package/dist/index137.cjs +1 -1
  114. package/dist/index137.js +13 -12
  115. package/dist/index138.js +1 -2
  116. package/dist/index139.js +1 -2
  117. package/dist/index14.cjs +1 -1
  118. package/dist/index14.js +1 -2
  119. package/dist/index140.js +1 -2
  120. package/dist/index141.js +1 -2
  121. package/dist/index142.js +1 -2
  122. package/dist/index143.cjs +1 -1
  123. package/dist/index143.js +2 -3
  124. package/dist/index144.js +1 -2
  125. package/dist/index145.js +1 -2
  126. package/dist/index146.js +1 -2
  127. package/dist/index147.js +1 -2
  128. package/dist/index148.cjs +1 -1
  129. package/dist/index148.js +5 -6
  130. package/dist/index149.cjs +1 -1
  131. package/dist/index149.js +2 -3
  132. package/dist/index15.cjs +1 -1
  133. package/dist/index15.js +4 -5
  134. package/dist/index150.cjs +1 -1
  135. package/dist/index150.js +2 -3
  136. package/dist/index151.js +1 -2
  137. package/dist/index152.cjs +1 -1
  138. package/dist/index152.js +3 -4
  139. package/dist/index153.cjs +1 -1
  140. package/dist/index153.js +2 -3
  141. package/dist/index154.js +1 -2
  142. package/dist/index155.js +1 -2
  143. package/dist/index156.js +0 -1
  144. package/dist/index157.js +0 -1
  145. package/dist/index158.js +0 -1
  146. package/dist/index159.cjs +1 -1
  147. package/dist/index159.js +2 -3
  148. package/dist/index16.js +1 -2
  149. package/dist/index160.js +1 -2
  150. package/dist/index161.js +0 -1
  151. package/dist/index162.js +1 -2
  152. package/dist/index163.js +0 -1
  153. package/dist/index164.js +0 -1
  154. package/dist/index165.cjs +1 -1
  155. package/dist/index165.js +2 -3
  156. package/dist/index166.cjs +1 -1
  157. package/dist/index166.js +2 -3
  158. package/dist/index167.cjs +1 -1
  159. package/dist/index167.js +3 -4
  160. package/dist/index168.cjs +1 -1
  161. package/dist/index168.js +2 -3
  162. package/dist/index169.cjs +1 -1
  163. package/dist/index169.js +2 -3
  164. package/dist/index17.cjs +1 -1
  165. package/dist/index17.js +1 -2
  166. package/dist/index170.cjs +1 -1
  167. package/dist/index170.js +2 -3
  168. package/dist/index171.cjs +1 -1
  169. package/dist/index171.js +3 -4
  170. package/dist/index172.cjs +1 -1
  171. package/dist/index172.js +2 -3
  172. package/dist/index173.cjs +1 -1
  173. package/dist/index173.js +2 -3
  174. package/dist/index174.cjs +1 -1
  175. package/dist/index174.js +2 -3
  176. package/dist/index175.cjs +1 -1
  177. package/dist/index175.js +2 -3
  178. package/dist/index176.cjs +1 -1
  179. package/dist/index176.js +3 -4
  180. package/dist/index177.cjs +1 -1
  181. package/dist/index177.js +3 -4
  182. package/dist/index178.cjs +1 -1
  183. package/dist/index178.js +3 -4
  184. package/dist/index179.cjs +1 -1
  185. package/dist/index179.js +3 -4
  186. package/dist/index18.cjs +1 -1
  187. package/dist/index18.js +2 -3
  188. package/dist/index180.js +1 -2
  189. package/dist/index181.cjs +1 -1
  190. package/dist/index181.js +3 -4
  191. package/dist/index182.cjs +1 -1
  192. package/dist/index182.js +12 -6
  193. package/dist/index183.cjs +1 -1
  194. package/dist/index183.js +2 -5
  195. package/dist/index184.js +1 -2
  196. package/dist/index185.cjs +1 -1
  197. package/dist/index185.js +2 -3
  198. package/dist/index186.cjs +1 -1
  199. package/dist/index186.js +6 -4
  200. package/dist/index187.cjs +1 -1
  201. package/dist/index187.js +2 -3
  202. package/dist/index188.cjs +1 -1
  203. package/dist/index188.js +2 -3
  204. package/dist/index189.cjs +1 -1
  205. package/dist/index189.js +2 -3
  206. package/dist/index19.cjs +1 -1
  207. package/dist/index19.js +3 -4
  208. package/dist/index190.cjs +1 -1
  209. package/dist/index190.js +5 -6
  210. package/dist/index191.cjs +1 -1
  211. package/dist/index191.js +3 -4
  212. package/dist/index192.cjs +2 -2
  213. package/dist/index192.js +17 -23
  214. package/dist/index193.js +1 -2
  215. package/dist/index194.js +1 -2
  216. package/dist/index195.js +1 -2
  217. package/dist/index196.js +1 -2
  218. package/dist/index197.js +1 -2
  219. package/dist/index198.cjs +1 -1
  220. package/dist/index198.js +17 -14
  221. package/dist/index199.cjs +1 -1
  222. package/dist/index199.js +2 -3
  223. package/dist/index2.cjs +1 -1
  224. package/dist/index2.js +1 -2
  225. package/dist/index20.js +1 -2
  226. package/dist/index200.cjs +1 -1
  227. package/dist/index200.js +2 -3
  228. package/dist/index201.js +1 -2
  229. package/dist/index202.cjs +1 -1
  230. package/dist/index202.js +19 -31
  231. package/dist/index203.cjs +1 -1
  232. package/dist/index203.js +2 -3
  233. package/dist/index204.cjs +1 -1
  234. package/dist/index204.js +2 -3
  235. package/dist/index21.js +1 -2
  236. package/dist/index22.js +1 -2
  237. package/dist/index23.cjs +1 -1
  238. package/dist/index23.js +1 -2
  239. package/dist/index24.js +1 -2
  240. package/dist/index25.cjs +1 -1
  241. package/dist/index25.js +2 -3
  242. package/dist/index26.cjs +1 -1
  243. package/dist/index26.js +7 -7
  244. package/dist/index27.cjs +1 -1
  245. package/dist/index27.js +5 -5
  246. package/dist/index28.cjs +1 -1
  247. package/dist/index28.js +3 -4
  248. package/dist/index29.js +1 -2
  249. package/dist/index3.js +1 -2
  250. package/dist/index30.cjs +1 -1
  251. package/dist/index30.js +2 -3
  252. package/dist/index31.cjs +1 -1
  253. package/dist/index31.js +3 -4
  254. package/dist/index32.cjs +1 -1
  255. package/dist/index32.js +4 -4
  256. package/dist/index33.cjs +1 -1
  257. package/dist/index33.js +2 -3
  258. package/dist/index34.cjs +1 -1
  259. package/dist/index34.js +3 -4
  260. package/dist/index35.js +1 -2
  261. package/dist/index36.js +1 -2
  262. package/dist/index37.js +1 -2
  263. package/dist/index38.cjs +1 -1
  264. package/dist/index38.js +11 -11
  265. package/dist/index39.cjs +1 -1
  266. package/dist/index39.js +2 -3
  267. package/dist/index4.cjs +1 -1
  268. package/dist/index4.js +3 -4
  269. package/dist/index40.cjs +1 -1
  270. package/dist/index40.js +2 -3
  271. package/dist/index41.cjs +1 -1
  272. package/dist/index41.js +1 -2
  273. package/dist/index42.cjs +1 -1
  274. package/dist/index42.js +2 -3
  275. package/dist/index43.cjs +1 -1
  276. package/dist/index43.js +6 -9
  277. package/dist/index44.cjs +1 -1
  278. package/dist/index44.js +4 -4
  279. package/dist/index45.cjs +1 -1
  280. package/dist/index45.js +3 -4
  281. package/dist/index46.cjs +1 -1
  282. package/dist/index46.js +57 -58
  283. package/dist/index47.cjs +1 -1
  284. package/dist/index47.js +4 -4
  285. package/dist/index48.cjs +1 -1
  286. package/dist/index48.js +39 -40
  287. package/dist/index49.cjs +1 -1
  288. package/dist/index49.js +2 -3
  289. package/dist/index5.js +1 -2
  290. package/dist/index50.cjs +1 -1
  291. package/dist/index50.js +2 -3
  292. package/dist/index51.cjs +1 -1
  293. package/dist/index51.js +6 -7
  294. package/dist/index52.cjs +1 -1
  295. package/dist/index52.js +3 -4
  296. package/dist/index53.js +1 -2
  297. package/dist/index54.js +1 -2
  298. package/dist/index55.js +1 -2
  299. package/dist/index56.js +1 -2
  300. package/dist/index57.js +1 -2
  301. package/dist/index58.js +1 -2
  302. package/dist/index59.js +1 -2
  303. package/dist/index6.js +1 -2
  304. package/dist/index60.js +1 -2
  305. package/dist/index61.js +1 -2
  306. package/dist/index62.js +3 -5
  307. package/dist/index63.js +1 -2
  308. package/dist/index64.js +1 -2
  309. package/dist/index65.js +1 -2
  310. package/dist/index66.cjs +1 -1
  311. package/dist/index66.js +1 -1
  312. package/dist/index67.cjs +1 -1
  313. package/dist/index67.js +2 -3
  314. package/dist/index68.cjs +1 -1
  315. package/dist/index68.js +2 -3
  316. package/dist/index69.cjs +1 -1
  317. package/dist/index69.js +1 -1
  318. package/dist/index7.js +1 -2
  319. package/dist/index70.js +1 -2
  320. package/dist/index71.js +1 -2
  321. package/dist/index72.cjs +1 -1
  322. package/dist/index72.js +5 -9
  323. package/dist/index73.js +1 -2
  324. package/dist/index74.js +1 -2
  325. package/dist/index75.cjs +1 -1
  326. package/dist/index75.js +76 -74
  327. package/dist/index76.cjs +1 -1
  328. package/dist/index76.js +74 -75
  329. package/dist/index77.cjs +1 -1
  330. package/dist/index77.js +2 -3
  331. package/dist/index78.cjs +2 -2
  332. package/dist/index78.js +108 -134
  333. package/dist/index79.js +1 -2
  334. package/dist/index8.cjs +1 -1
  335. package/dist/index8.js +4 -5
  336. package/dist/index80.js +1 -2
  337. package/dist/index81.js +1 -2
  338. package/dist/index82.js +1 -2
  339. package/dist/index83.js +1 -2
  340. package/dist/index84.cjs +1 -1
  341. package/dist/index84.js +12 -8
  342. package/dist/index85.cjs +1 -1
  343. package/dist/index85.js +3 -4
  344. package/dist/index86.cjs +1 -1
  345. package/dist/index86.js +1 -2
  346. package/dist/index87.cjs +1 -1
  347. package/dist/index87.js +5 -6
  348. package/dist/index88.cjs +1 -1
  349. package/dist/index88.js +2 -3
  350. package/dist/index89.js +1 -2
  351. package/dist/index9.cjs +1 -1
  352. package/dist/index9.js +2 -3
  353. package/dist/index90.cjs +2 -2
  354. package/dist/index90.js +7 -16
  355. package/dist/index91.cjs +1 -1
  356. package/dist/index91.js +2 -3
  357. package/dist/index92.js +1 -2
  358. package/dist/index93.cjs +1 -1
  359. package/dist/index93.js +85 -86
  360. package/dist/index94.cjs +1 -1
  361. package/dist/index94.js +2 -3
  362. package/dist/index95.cjs +1 -1
  363. package/dist/index95.js +1 -2
  364. package/dist/index96.cjs +1 -1
  365. package/dist/index96.js +3 -4
  366. package/dist/index97.cjs +1 -1
  367. package/dist/index97.js +121 -117
  368. package/dist/index98.cjs +1 -1
  369. package/dist/index98.js +2 -3
  370. package/dist/index99.js +1 -2
  371. package/dist/ui/accordion.d.ts +2 -2
  372. package/dist/ui/accordion.d.ts.map +1 -1
  373. package/dist/ui/alert-dialog.d.ts.map +1 -1
  374. package/dist/ui/alert.d.ts.map +1 -1
  375. package/dist/ui/alert.test.d.ts +2 -0
  376. package/dist/ui/alert.test.d.ts.map +1 -0
  377. package/dist/ui/aspect-ratio.d.ts +1 -1
  378. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  379. package/dist/ui/avatar.d.ts +2 -2
  380. package/dist/ui/avatar.d.ts.map +1 -1
  381. package/dist/ui/badge.d.ts.map +1 -1
  382. package/dist/ui/badge.test.d.ts +2 -0
  383. package/dist/ui/badge.test.d.ts.map +1 -0
  384. package/dist/ui/breadcrumb.d.ts +8 -8
  385. package/dist/ui/breadcrumb.d.ts.map +1 -1
  386. package/dist/ui/button.d.ts.map +1 -1
  387. package/dist/ui/button.test.d.ts +2 -0
  388. package/dist/ui/button.test.d.ts.map +1 -0
  389. package/dist/ui/card.d.ts.map +1 -1
  390. package/dist/ui/card.test.d.ts +2 -0
  391. package/dist/ui/card.test.d.ts.map +1 -0
  392. package/dist/ui/carousel.d.ts +7 -7
  393. package/dist/ui/carousel.d.ts.map +1 -1
  394. package/dist/ui/checkbox.d.ts.map +1 -1
  395. package/dist/ui/checkbox.test.d.ts +2 -0
  396. package/dist/ui/checkbox.test.d.ts.map +1 -0
  397. package/dist/ui/collapsible.d.ts +1 -1
  398. package/dist/ui/collapsible.d.ts.map +1 -1
  399. package/dist/ui/command.d.ts +4 -4
  400. package/dist/ui/command.d.ts.map +1 -1
  401. package/dist/ui/context-menu.d.ts +4 -4
  402. package/dist/ui/context-menu.d.ts.map +1 -1
  403. package/dist/ui/dialog.d.ts.map +1 -1
  404. package/dist/ui/drawer.d.ts +4 -4
  405. package/dist/ui/drawer.d.ts.map +1 -1
  406. package/dist/ui/dropdown-menu.d.ts +4 -4
  407. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  408. package/dist/ui/field.d.ts +1 -1
  409. package/dist/ui/field.d.ts.map +1 -1
  410. package/dist/ui/file-upload.d.ts +1 -1
  411. package/dist/ui/file-upload.d.ts.map +1 -1
  412. package/dist/ui/form.d.ts +7 -7
  413. package/dist/ui/form.d.ts.map +1 -1
  414. package/dist/ui/hover-card.d.ts +2 -2
  415. package/dist/ui/hover-card.d.ts.map +1 -1
  416. package/dist/ui/input-otp.d.ts +5 -5
  417. package/dist/ui/input-otp.d.ts.map +1 -1
  418. package/dist/ui/input.d.ts.map +1 -1
  419. package/dist/ui/input.test.d.ts +2 -0
  420. package/dist/ui/input.test.d.ts.map +1 -0
  421. package/dist/ui/item.d.ts +12 -12
  422. package/dist/ui/item.d.ts.map +1 -1
  423. package/dist/ui/label.test.d.ts +2 -0
  424. package/dist/ui/label.test.d.ts.map +1 -0
  425. package/dist/ui/menubar.d.ts +4 -4
  426. package/dist/ui/menubar.d.ts.map +1 -1
  427. package/dist/ui/navigation-menu.d.ts +2 -2
  428. package/dist/ui/navigation-menu.d.ts.map +1 -1
  429. package/dist/ui/pagination.d.ts +7 -7
  430. package/dist/ui/pagination.d.ts.map +1 -1
  431. package/dist/ui/progress.d.ts.map +1 -1
  432. package/dist/ui/radio-group.d.ts.map +1 -1
  433. package/dist/ui/resizable.d.ts +2 -2
  434. package/dist/ui/resizable.d.ts.map +1 -1
  435. package/dist/ui/scroll-area.d.ts +2 -2
  436. package/dist/ui/scroll-area.d.ts.map +1 -1
  437. package/dist/ui/select.d.ts +3 -3
  438. package/dist/ui/select.d.ts.map +1 -1
  439. package/dist/ui/separator.test.d.ts +2 -0
  440. package/dist/ui/separator.test.d.ts.map +1 -0
  441. package/dist/ui/sheet.d.ts +5 -5
  442. package/dist/ui/sheet.d.ts.map +1 -1
  443. package/dist/ui/sidebar.d.ts +31 -31
  444. package/dist/ui/sidebar.d.ts.map +1 -1
  445. package/dist/ui/skeleton.test.d.ts +2 -0
  446. package/dist/ui/skeleton.test.d.ts.map +1 -0
  447. package/dist/ui/slider.d.ts.map +1 -1
  448. package/dist/ui/sonner.d.ts +1 -1
  449. package/dist/ui/sonner.d.ts.map +1 -1
  450. package/dist/ui/spinner.test.d.ts +2 -0
  451. package/dist/ui/spinner.test.d.ts.map +1 -0
  452. package/dist/ui/switch.d.ts.map +1 -1
  453. package/dist/ui/switch.test.d.ts +2 -0
  454. package/dist/ui/switch.test.d.ts.map +1 -0
  455. package/dist/ui/table.d.ts +1 -1
  456. package/dist/ui/table.d.ts.map +1 -1
  457. package/dist/ui/table.test.d.ts +2 -0
  458. package/dist/ui/table.test.d.ts.map +1 -0
  459. package/dist/ui/tabs.d.ts +2 -2
  460. package/dist/ui/tabs.d.ts.map +1 -1
  461. package/dist/ui/textarea.d.ts.map +1 -1
  462. package/dist/ui/textarea.test.d.ts +2 -0
  463. package/dist/ui/textarea.test.d.ts.map +1 -0
  464. package/dist/ui/toggle-group.d.ts +4 -4
  465. package/dist/ui/toggle-group.d.ts.map +1 -1
  466. package/dist/ui/toggle.d.ts +3 -3
  467. package/dist/ui/toggle.d.ts.map +1 -1
  468. package/package.json +88 -18
  469. package/MIGRATION_GUIDE.md +0 -121
package/dist/index48.js CHANGED
@@ -3,13 +3,13 @@ import { createContextScope as e } from "./index8.js";
3
3
  import { useComposedRefs as t } from "./index9.js";
4
4
  import { Primitive as n } from "./index14.js";
5
5
  import { useCallbackRef as r } from "./index17.js";
6
- import { useLayoutEffect2 as i } from "./index18.js";
6
+ import { useLayoutEffect as i } from "./index18.js";
7
7
  import { autoUpdate as a } from "./index45.js";
8
8
  import { arrow as o, flip as s, hide as c, limitShift as l, offset as u, shift as d, size as f, useFloating as p } from "./index46.js";
9
9
  import { useSize as m } from "./index47.js";
10
10
  import * as h from "react";
11
11
  import { jsx as g } from "react/jsx-runtime";
12
- //#region ../../node_modules/.pnpm/@radix-ui+react-popper@1.3.7_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.mjs
12
+ // ../../node_modules/.pnpm/@radix-ui+react-popper@1.3.7_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.mjs
13
13
  var _ = Object.defineProperty, v = (e, t) => _(e, "name", {
14
14
  value: t,
15
15
  configurable: !0
@@ -24,83 +24,83 @@ var _ = Object.defineProperty, v = (e, t) => _(e, "name", {
24
24
  children: n
25
25
  });
26
26
  }, "Popper"), T = "PopperAnchor", E = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ v(function(e, r) {
27
- let { __scopePopper: i, virtualRef: a, ...o } = e, s = C(T, i), c = h.useRef(null), l = s.onAnchorChange, u = t(r, h.useCallback((e) => {
27
+ let { __scopePopper: i, virtualRef: a, ...o } = e, s = C(T, i), c = h.useRef(null), l = s.onAnchorChange, u = h.useCallback((e) => {
28
28
  c.current = e, e && l(e);
29
- }, [l])), d = h.useRef(null);
29
+ }, [l]), d = t(r, u), f = h.useRef(null);
30
30
  h.useEffect(() => {
31
31
  if (!a) return;
32
- let e = d.current;
33
- d.current = a.current, e !== d.current && l(d.current);
32
+ let e = f.current;
33
+ f.current = a.current, e !== f.current && l(f.current);
34
34
  });
35
- let f = s.placementState && M(s.placementState), p = f?.[0], m = f?.[1];
35
+ let p = s.placementState && M(s.placementState), m = p?.[0], _ = p?.[1];
36
36
  return a ? null : /* @__PURE__ */ g(n.div, {
37
- "data-radix-popper-side": p,
38
- "data-radix-popper-align": m,
37
+ "data-radix-popper-side": m,
38
+ "data-radix-popper-align": _,
39
39
  ...o,
40
- ref: u
40
+ ref: d
41
41
  });
42
42
  }, "PopperAnchor")), D = "PopperContent", [O, k] = b(D), A = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ v(function(e, _) {
43
- let { __scopePopper: y, side: b = "bottom", sideOffset: x = 0, align: S = "center", alignOffset: w = 0, arrowPadding: T = 0, avoidCollisions: E = !0, collisionBoundary: k = [], collisionPadding: A = 0, sticky: N = "partial", hideWhenDetached: P = !1, updatePositionStrategy: F = "optimized", onPlaced: te, ...I } = e, L = C(D, y), [R, ne] = h.useState(null), re = t(_, ne), [z, ie] = h.useState(null), B = m(z), ae = B?.width ?? 0, V = B?.height ?? 0, oe = b + (S === "center" ? "" : "-" + S), se = typeof A == "number" ? A : {
43
+ let { __scopePopper: y, side: b = "bottom", sideOffset: x = 0, align: S = "center", alignOffset: w = 0, arrowPadding: T = 0, avoidCollisions: E = !0, collisionBoundary: k = [], collisionPadding: A = 0, sticky: N = "partial", hideWhenDetached: P = !1, updatePositionStrategy: F = "optimized", onPlaced: I, ...L } = e, R = C(D, y), [z, te] = h.useState(null), ne = t(_, te), [B, re] = h.useState(null), V = m(B), ie = V?.width ?? 0, H = V?.height ?? 0, ae = b + (S === "center" ? "" : "-" + S), oe = typeof A == "number" ? A : {
44
44
  top: 0,
45
45
  right: 0,
46
46
  bottom: 0,
47
47
  left: 0,
48
48
  ...A
49
- }, H = Array.isArray(k) ? k : [k], U = H.length > 0, W = {
50
- padding: se,
51
- boundary: H.filter(j),
52
- altBoundary: U
53
- }, { refs: G, floatingStyles: K, placement: q, isPositioned: J, middlewareData: Y } = p({
49
+ }, U = Array.isArray(k) ? k : [k], W = U.length > 0, G = {
50
+ padding: oe,
51
+ boundary: U.filter(j),
52
+ altBoundary: W
53
+ }, { refs: se, floatingStyles: K, placement: q, isPositioned: J, middlewareData: Y } = p({
54
54
  strategy: "fixed",
55
- placement: oe,
55
+ placement: ae,
56
56
  whileElementsMounted: /* @__PURE__ */ v((...e) => a(...e, { animationFrame: F === "always" }), "whileElementsMounted"),
57
- elements: { reference: L.anchor },
57
+ elements: { reference: R.anchor },
58
58
  middleware: [
59
59
  u({
60
- mainAxis: x + V,
60
+ mainAxis: x + H,
61
61
  alignmentAxis: w
62
62
  }),
63
63
  E && d({
64
64
  mainAxis: !0,
65
65
  crossAxis: !1,
66
66
  limiter: N === "partial" ? l() : void 0,
67
- ...W
67
+ ...G
68
68
  }),
69
- E && s({ ...W }),
69
+ E && s({ ...G }),
70
70
  f({
71
- ...W,
71
+ ...G,
72
72
  apply: /* @__PURE__ */ v(({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
73
73
  let { width: i, height: a } = t.reference, o = e.floating.style;
74
74
  o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
75
75
  }, "apply")
76
76
  }),
77
- z && o({
78
- element: z,
77
+ B && o({
78
+ element: B,
79
79
  padding: T
80
80
  }),
81
81
  ee({
82
- arrowWidth: ae,
83
- arrowHeight: V
82
+ arrowWidth: ie,
83
+ arrowHeight: H
84
84
  }),
85
85
  P && c({
86
86
  strategy: "referenceHidden",
87
- ...W,
88
- boundary: U ? W.boundary : void 0
87
+ ...G,
88
+ boundary: W ? G.boundary : void 0
89
89
  })
90
90
  ]
91
- }), X = L.setPlacementState;
91
+ }), X = R.setPlacementState;
92
92
  i(() => (X(q), () => {
93
93
  X(void 0);
94
94
  }), [q, X]);
95
- let [Z, Q] = M(q), $ = r(te);
95
+ let [Z, Q] = M(q), $ = r(I);
96
96
  i(() => {
97
97
  J && $?.();
98
98
  }, [J, $]);
99
99
  let ce = Y.arrow?.x, le = Y.arrow?.y, ue = Y.arrow?.centerOffset !== 0, [de, fe] = h.useState();
100
100
  return i(() => {
101
- R && fe(window.getComputedStyle(R).zIndex);
102
- }, [R]), /* @__PURE__ */ g("div", {
103
- ref: G.setFloating,
101
+ z && fe(window.getComputedStyle(z).zIndex);
102
+ }, [z]), /* @__PURE__ */ g("div", {
103
+ ref: se.setFloating,
104
104
  "data-radix-popper-content-wrapper": "",
105
105
  style: {
106
106
  ...K,
@@ -118,18 +118,18 @@ var _ = Object.defineProperty, v = (e, t) => _(e, "name", {
118
118
  scope: y,
119
119
  placedSide: Z,
120
120
  placedAlign: Q,
121
- onArrowChange: ie,
121
+ onArrowChange: re,
122
122
  arrowX: ce,
123
123
  arrowY: le,
124
124
  shouldHideArrow: ue,
125
125
  children: /* @__PURE__ */ g(n.div, {
126
126
  "data-side": Z,
127
127
  "data-align": Q,
128
- ...I,
129
- ref: re,
128
+ ...L,
129
+ ref: ne,
130
130
  style: {
131
- ...I.style,
132
- animation: J ? I.style?.animation : "none"
131
+ ...L.style,
132
+ animation: J ? L.style?.animation : "none"
133
133
  }
134
134
  })
135
135
  })
@@ -160,5 +160,4 @@ function M(e) {
160
160
  }
161
161
  v(M, "getSideAndAlignFromPlacement");
162
162
  var N = w, P = E, F = A;
163
- //#endregion
164
- export { P as Anchor, F as Content, N as Root2, x as createPopperScope };
163
+ export { P as Anchor, F as Content, w as Popper, E as PopperAnchor, A as PopperContent, N as Root, x as createPopperScope };
package/dist/index49.cjs CHANGED
@@ -1 +1 @@
1
- "use client";const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index18.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react-dom");a=e.__toESM(a,1);var o=Object.defineProperty,s=r.forwardRef(((e,t)=>o(e,`name`,{value:t,configurable:!0}))(function(e,o){let{container:s,...c}=e,[l,u]=r.useState(!1);n.useLayoutEffect2(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?a.createPortal((0,i.jsx)(t.Primitive.div,{...c,ref:o}),d):null},`Portal`));exports.Portal=s;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index18.cjs");let r=require("react"),i=e.__toESM(r,1);r=e.__toESM(r);let a=require("react/jsx-runtime"),o=require("react-dom");o=e.__toESM(o,1);var s=Object.defineProperty,c=i.forwardRef(((e,t)=>s(e,`name`,{value:t,configurable:!0}))(function(e,r){let{container:s,...c}=e,[l,u]=i.useState(!1);n.useLayoutEffect(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?o.createPortal((0,a.jsx)(t.Primitive.div,{...c,ref:r}),d):null},`Portal`));exports.Portal=c;
package/dist/index49.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { Primitive as e } from "./index14.js";
3
- import { useLayoutEffect2 as t } from "./index18.js";
3
+ import { useLayoutEffect as t } from "./index18.js";
4
4
  import * as n from "react";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
6
  import * as i from "react-dom";
7
- //#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.17_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.mjs
7
+ // ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.17_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.mjs
8
8
  var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */ ((e, t) => a(e, "name", {
9
9
  value: t,
10
10
  configurable: !0
@@ -17,5 +17,4 @@ var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */
17
17
  ref: o
18
18
  }), d) : null;
19
19
  }, "Portal"));
20
- //#endregion
21
20
  export { o as Portal };
package/dist/index5.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import "@stylexjs/stylex";
2
2
  import { clsx as e } from "clsx";
3
3
  import { twMerge as t } from "tailwind-merge";
4
- //#region src/utils.ts
4
+ // src/utils.ts
5
5
  function n(...n) {
6
6
  return t(e(n));
7
7
  }
8
- //#endregion
9
8
  export { n as cn };
package/dist/index50.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index2.cjs");let t=require("react");t=e.__toESM(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0}),i=!1;function a(){let[e,n]=t.useState(i);return t.useEffect(()=>{i||(i=!0,n(!0))},[]),e}r(a,`useIsHydrated`);var o=t.useSyncExternalStore;function s(){return()=>{}}r(s,`subscribe`);function c(){return o(s,()=>!0,()=>!1)}r(c,`useIsHydratedModern`);var l=typeof o==`function`?c:a;exports.useIsHydrated2=l;
1
+ const e=require("./index2.cjs");let t=require("react"),n=e.__toESM(t,1);t=e.__toESM(t);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0}),a=!1;function o(){let[e,t]=n.useState(a);return n.useEffect(()=>{a||(a=!0,t(!0))},[]),e}i(o,`useIsHydrated`);var s=n.useSyncExternalStore;function c(){return()=>{}}i(c,`subscribe`);function l(){return s(c,()=>!0,()=>!1)}i(l,`useIsHydratedModern`);var u=typeof s==`function`?l:o;exports.useIsHydrated=u;
package/dist/index50.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- //#region ../../node_modules/.pnpm/@radix-ui+react-use-is-hydrated@0.1.3_@types+react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
2
+ // ../../node_modules/.pnpm/@radix-ui+react-use-is-hydrated@0.1.3_@types+react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
3
3
  var t = Object.defineProperty, n = (e, n) => t(e, "name", {
4
4
  value: n,
5
5
  configurable: !0
@@ -21,5 +21,4 @@ function s() {
21
21
  }
22
22
  n(s, "useIsHydratedModern");
23
23
  var c = typeof a == "function" ? s : i;
24
- //#endregion
25
- export { c as useIsHydrated2 };
24
+ export { c as useIsHydrated };
package/dist/index51.cjs CHANGED
@@ -1 +1 @@
1
- "use client";const e=require("./index2.cjs"),t=require("./index8.cjs"),n=require("./index9.cjs"),r=require("./index10.cjs"),i=require("./index14.cjs"),a=require("./index17.cjs"),o=require("./index18.cjs"),s=require("./index31.cjs"),c=require("./index33.cjs"),l=require("./index38.cjs"),u=require("./index50.cjs");let d=require("react");d=e.__toESM(d,1);let f=require("react/jsx-runtime"),p=require("@radix-ui/react-direction");var m=Object.defineProperty,h=(e,t)=>m(e,`name`,{value:t,configurable:!0}),g=`rovingFocusGroup.onEntryFocus`,_={bubbles:!1,cancelable:!0},v=`RovingFocusGroup`,[y,b,x]=l.createCollection(v),[S,C]=t.createContextScope(v,[x]),[w,T]=S(v),E=d.forwardRef(h(function(e,t){return(0,f.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(D,{...e,ref:t})})})},`RovingFocusGroup`)),D=d.forwardRef(h(function(e,t){let{__scopeRovingFocusGroup:o,orientation:c,loop:l=!1,dir:u,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:y,onEntryFocus:x,preventScrollOnEntryFocus:S=!1,...C}=e,T=d.useRef(null),E=n.useComposedRefs(t,T),D=(0,p.useDirection)(u),[O,k]=s.useControllableState({prop:m,defaultProp:h??null,onChange:y,caller:v}),[A,j]=d.useState(!1),M=a.useCallbackRef(x),P=b(o),F=d.useRef(!1),[I,L]=d.useState(0);return d.useEffect(()=>{let e=T.current;if(e)return e.addEventListener(g,M),()=>e.removeEventListener(g,M)},[M]),(0,f.jsx)(w,{scope:o,orientation:c,dir:D,loop:l,currentTabStopId:O,onItemFocus:d.useCallback(e=>k(e),[k]),onItemShiftTab:d.useCallback(()=>j(!0),[]),onFocusableItemAdd:d.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:d.useCallback(()=>L(e=>e-1),[]),children:(0,f.jsx)(i.Primitive.div,{tabIndex:A||I===0?-1:0,"data-orientation":c,...C,ref:E,style:{outline:`none`,...e.style},onMouseDown:r.composeEventHandlers(e.onMouseDown,()=>{F.current=!0}),onFocus:r.composeEventHandlers(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(g,_);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);N([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),S)}}F.current=!1}),onBlur:r.composeEventHandlers(e.onBlur,()=>j(!1))})})},`RovingFocusGroupImpl`)),O=`RovingFocusGroupItem`,k=d.forwardRef(h(function(e,t){let{__scopeRovingFocusGroup:n,focusable:a=!0,active:s=!1,tabStopId:l,children:p,...m}=e,h=c.useId(),g=l||h,_=T(O,n),v=_.currentTabStopId===g,x=b(n),{onFocusableItemAdd:S,onFocusableItemRemove:C,currentTabStopId:w}=_,E=u.useIsHydrated2();return o.useLayoutEffect2(()=>{if(!(!E||!a))return S(),()=>C()},[E,a,S,C]),d.useEffect(()=>{if(!(E||!a))return S(),()=>C()},[E,a,S,C]),(0,f.jsx)(y.ItemSlot,{scope:n,id:g,focusable:a,active:s,children:(0,f.jsx)(i.Primitive.span,{tabIndex:v?0:-1,"data-orientation":_.orientation,...m,ref:t,onMouseDown:r.composeEventHandlers(e.onMouseDown,e=>{a?_.onItemFocus(g):e.preventDefault()}),onFocus:r.composeEventHandlers(e.onFocus,()=>_.onItemFocus(g)),onKeyDown:r.composeEventHandlers(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){_.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=M(e,_.orientation,_.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=x().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=_.loop?P(n,r+1):n.slice(r+1)}setTimeout(()=>N(n))}}),children:typeof p==`function`?p({isCurrentTabStop:v,hasTabStop:w!=null}):p})})},`RovingFocusGroupItem`)),A={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function j(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}h(j,`getDirectionAwareKey`);function M(e,t,n){let r=j(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return A[r]}h(M,`getFocusIntent`);function N(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}h(N,`focusFirst`);function P(e,t){return e.map((n,r)=>e[(t+r)%e.length])}h(P,`wrapArray`);var F=E,I=k;exports.Item=I,exports.Root=F,exports.createRovingFocusGroupScope=C;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index8.cjs"),n=require("./index9.cjs"),r=require("./index10.cjs"),i=require("./index14.cjs"),a=require("./index17.cjs"),o=require("./index18.cjs"),s=require("./index31.cjs"),c=require("./index33.cjs"),l=require("./index38.cjs"),u=require("./index50.cjs");let d=require("react"),f=e.__toESM(d,1);d=e.__toESM(d);let p=require("react/jsx-runtime"),m=require("@radix-ui/react-direction");var h=Object.defineProperty,g=(e,t)=>h(e,`name`,{value:t,configurable:!0}),_=`rovingFocusGroup.onEntryFocus`,v={bubbles:!1,cancelable:!0},y=`RovingFocusGroup`,[b,x,S]=l.createCollection(y),[C,w]=t.createContextScope(y,[S]),[T,E]=C(y),D=f.forwardRef(g(function(e,t){return(0,p.jsx)(b.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(b.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(O,{...e,ref:t})})})},`RovingFocusGroup`)),O=f.forwardRef(g(function(e,t){let{__scopeRovingFocusGroup:o,orientation:c,loop:l=!1,dir:u,currentTabStopId:d,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:b,preventScrollOnEntryFocus:S=!1,...C}=e,w=f.useRef(null),E=n.useComposedRefs(t,w),D=(0,m.useDirection)(u),[O,k]=s.useControllableState({prop:d,defaultProp:h??null,onChange:g,caller:y}),[A,j]=f.useState(!1),M=a.useCallbackRef(b),N=x(o),F=f.useRef(!1),[I,L]=f.useState(0);return f.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(_,M),()=>e.removeEventListener(_,M)},[M]),(0,p.jsx)(T,{scope:o,orientation:c,dir:D,loop:l,currentTabStopId:O,onItemFocus:f.useCallback(e=>k(e),[k]),onItemShiftTab:f.useCallback(()=>j(!0),[]),onFocusableItemAdd:f.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:f.useCallback(()=>L(e=>e-1),[]),children:(0,p.jsx)(i.Primitive.div,{tabIndex:A||I===0?-1:0,"data-orientation":c,...C,ref:E,style:{outline:`none`,...e.style},onMouseDown:r.composeEventHandlers(e.onMouseDown,()=>{F.current=!0}),onFocus:r.composeEventHandlers(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(_,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),S)}}F.current=!1}),onBlur:r.composeEventHandlers(e.onBlur,()=>j(!1))})})},`RovingFocusGroupImpl`)),k=`RovingFocusGroupItem`,A=f.forwardRef(g(function(e,t){let{__scopeRovingFocusGroup:n,focusable:a=!0,active:s=!1,tabStopId:l,children:d,...m}=e,h=c.useId(),g=l||h,_=E(k,n),v=_.currentTabStopId===g,y=x(n),{onFocusableItemAdd:S,onFocusableItemRemove:C,currentTabStopId:w}=_,T=u.useIsHydrated();return o.useLayoutEffect(()=>{if(T&&a)return S(),()=>C()},[T,a,S,C]),f.useEffect(()=>{if(!T&&a)return S(),()=>C()},[T,a,S,C]),(0,p.jsx)(b.ItemSlot,{scope:n,id:g,focusable:a,active:s,children:(0,p.jsx)(i.Primitive.span,{tabIndex:v?0:-1,"data-orientation":_.orientation,...m,ref:t,onMouseDown:r.composeEventHandlers(e.onMouseDown,e=>{a?_.onItemFocus(g):e.preventDefault()}),onFocus:r.composeEventHandlers(e.onFocus,()=>_.onItemFocus(g)),onKeyDown:r.composeEventHandlers(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){_.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=N(e,_.orientation,_.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=y().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=_.loop?F(n,r+1):n.slice(r+1)}setTimeout(()=>P(n))}}),children:typeof d==`function`?d({isCurrentTabStop:v,hasTabStop:w!=null}):d})})},`RovingFocusGroupItem`)),j={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function M(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}g(M,`getDirectionAwareKey`);function N(e,t,n){let r=M(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return j[r]}g(N,`getFocusIntent`);function P(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}g(P,`focusFirst`);function F(e,t){return e.map((n,r)=>e[(t+r)%e.length])}g(F,`wrapArray`);var I=D,L=A;exports.Item=L,exports.Root=I,exports.RovingFocusGroup=D,exports.RovingFocusGroupItem=A,exports.createRovingFocusGroupScope=w;
package/dist/index51.js CHANGED
@@ -4,15 +4,15 @@ import { useComposedRefs as t } from "./index9.js";
4
4
  import { composeEventHandlers as n } from "./index10.js";
5
5
  import { Primitive as r } from "./index14.js";
6
6
  import { useCallbackRef as i } from "./index17.js";
7
- import { useLayoutEffect2 as a } from "./index18.js";
7
+ import { useLayoutEffect as a } from "./index18.js";
8
8
  import { useControllableState as o } from "./index31.js";
9
9
  import { useId as s } from "./index33.js";
10
10
  import { createCollection as c } from "./index38.js";
11
- import { useIsHydrated2 as l } from "./index50.js";
11
+ import { useIsHydrated as l } from "./index50.js";
12
12
  import * as u from "react";
13
13
  import { jsx as d } from "react/jsx-runtime";
14
14
  import { useDirection as f } from "@radix-ui/react-direction";
15
- //#region ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.19_@types+react-dom@19.3.0_@types+react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
15
+ // ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.19_@types+react-dom@19.3.0_@types+react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
16
16
  var p = Object.defineProperty, m = (e, t) => p(e, "name", {
17
17
  value: t,
18
18
  configurable: !0
@@ -83,14 +83,14 @@ var p = Object.defineProperty, m = (e, t) => p(e, "name", {
83
83
  }, "RovingFocusGroupImpl")), D = "RovingFocusGroupItem", O = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ m(function(e, t) {
84
84
  let { __scopeRovingFocusGroup: i, focusable: o = !0, active: c = !1, tabStopId: f, children: p, ...m } = e, h = s(), g = f || h, _ = w(D, i), b = _.currentTabStopId === g, x = y(i), { onFocusableItemAdd: S, onFocusableItemRemove: C, currentTabStopId: T } = _, E = l();
85
85
  return a(() => {
86
- if (!(!E || !o)) return S(), () => C();
86
+ if (E && o) return S(), () => C();
87
87
  }, [
88
88
  E,
89
89
  o,
90
90
  S,
91
91
  C
92
92
  ]), u.useEffect(() => {
93
- if (!(E || !o)) return S(), () => C();
93
+ if (!E && o) return S(), () => C();
94
94
  }, [
95
95
  E,
96
96
  o,
@@ -165,5 +165,4 @@ function N(e, t) {
165
165
  }
166
166
  m(N, "wrapArray");
167
167
  var P = T, F = O;
168
- //#endregion
169
- export { F as Item, P as Root, S as createRovingFocusGroupScope };
168
+ export { F as Item, P as Root, T as RovingFocusGroup, O as RovingFocusGroupItem, S as createRovingFocusGroupScope };
package/dist/index52.cjs CHANGED
@@ -1 +1 @@
1
- var e=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},t=new WeakMap,n=new WeakMap,r={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=a(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},s=function(e,a,s,c){var l=o(a,Array.isArray(e)?e:[e]);r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,p=new Set(l),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};l.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var r=e.getAttribute(c),i=r!==null&&r!==`false`,a=(t.get(e)||0)+1,o=(u.get(e)||0)+1;t.set(e,a),u.set(e,o),d.push(e),a===1&&i&&n.set(e,!0),o===1&&e.setAttribute(s,`true`),i||e.setAttribute(c,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return h(a),f.clear(),i++,function(){d.forEach(function(e){var r=t.get(e)-1,i=u.get(e)-1;t.set(e,r),u.set(e,i),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),i||e.removeAttribute(s)}),i--,i||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}},c=function(t,n,r){r===void 0&&(r=`data-aria-hidden`);var i=Array.from(Array.isArray(t)?t:[t]),a=n||e(t);return a?(i.push.apply(i,Array.from(a.querySelectorAll(`[aria-live], script`))),s(i,a,r,`aria-hidden`)):function(){return null}};exports.hideOthers=c;
1
+ var e=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},t=new WeakMap,n=new WeakMap,r={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=a(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},s=function(e,a,s,c){var l=o(a,Array.isArray(e)?e:[e]);r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,p=new Set(l),m=function(e){e&&!f.has(e)&&(f.add(e),m(e.parentNode))};l.forEach(m);var h=function(e){e&&!p.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var r=e.getAttribute(c),i=r!==null&&r!==`false`,a=(t.get(e)||0)+1,o=(u.get(e)||0)+1;t.set(e,a),u.set(e,o),d.push(e),a===1&&i&&n.set(e,!0),o===1&&e.setAttribute(s,`true`),i||e.setAttribute(c,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return h(a),f.clear(),i++,function(){d.forEach(function(e){var r=t.get(e)-1,i=u.get(e)-1;t.set(e,r),u.set(e,i),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),i||e.removeAttribute(s)}),i--,i||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}},c=function(t,n,r){r===void 0&&(r=`data-aria-hidden`);var i=Array.from(Array.isArray(t)?t:[t]),a=n||e(t);return a?(i.push.apply(i,Array.from(a.querySelectorAll(`[aria-live], script`))),s(i,a,r,`aria-hidden`)):function(){return null}};exports.hideOthers=c;
package/dist/index52.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
1
+ // ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
2
2
  var e = function(e) {
3
3
  return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
4
4
  }, t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = {}, i = 0, a = function(e) {
@@ -15,11 +15,11 @@ var e = function(e) {
15
15
  var l = o(a, Array.isArray(e) ? e : [e]);
16
16
  r[s] || (r[s] = /* @__PURE__ */ new WeakMap());
17
17
  var u = r[s], d = [], f = /* @__PURE__ */ new Set(), p = new Set(l), m = function(e) {
18
- !e || f.has(e) || (f.add(e), m(e.parentNode));
18
+ e && !f.has(e) && (f.add(e), m(e.parentNode));
19
19
  };
20
20
  l.forEach(m);
21
21
  var h = function(e) {
22
- !e || p.has(e) || Array.prototype.forEach.call(e.children, function(e) {
22
+ e && !p.has(e) && Array.prototype.forEach.call(e.children, function(e) {
23
23
  if (f.has(e)) h(e);
24
24
  else try {
25
25
  var r = e.getAttribute(c), i = r !== null && r !== "false", a = (t.get(e) || 0) + 1, o = (u.get(e) || 0) + 1;
@@ -42,5 +42,4 @@ var e = function(e) {
42
42
  return null;
43
43
  };
44
44
  };
45
- //#endregion
46
45
  export { c as hideOthers };
package/dist/index53.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
1
+ // ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
2
2
  var e = function() {
3
3
  return e = Object.assign || function(e) {
4
4
  for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
@@ -15,5 +15,4 @@ function n(e, t, n) {
15
15
  if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
16
16
  return e.concat(a || Array.prototype.slice.call(t));
17
17
  }
18
- //#endregion
19
18
  export { e as __assign, t as __rest, n as __spreadArray };
package/dist/index54.js CHANGED
@@ -1,4 +1,3 @@
1
- //#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
1
+ // ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
2
2
  var e = "right-scroll-bar-position", t = "width-before-scroll-bar", n = "with-scroll-bars-hidden", r = "--removed-body-scroll-bar-size";
3
- //#endregion
4
3
  export { t as fullWidthClassName, n as noScrollbarsClassName, r as removedBarSizeVariable, e as zeroRightClassName };
package/dist/index55.js CHANGED
@@ -1,6 +1,5 @@
1
- //#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js
1
+ // ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js
2
2
  function e(e, t) {
3
3
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
4
4
  }
5
- //#endregion
6
5
  export { e as assignRef };
package/dist/index56.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { useState as e } from "react";
2
- //#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js
2
+ // ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js
3
3
  function t(t, n) {
4
4
  var r = e(function() {
5
5
  return {
@@ -18,5 +18,4 @@ function t(t, n) {
18
18
  })[0];
19
19
  return r.callback = n, r.facade;
20
20
  }
21
- //#endregion
22
21
  export { t as useCallbackRef };
package/dist/index57.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { assignRef as e } from "./index55.js";
2
2
  import { useCallbackRef as t } from "./index56.js";
3
3
  import * as n from "react";
4
- //#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
4
+ // ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
5
5
  var r = typeof window < "u" ? n.useLayoutEffect : n.useEffect, i = /* @__PURE__ */ new WeakMap();
6
6
  function a(n, a) {
7
7
  var o = t(a || null, function(t) {
@@ -22,5 +22,4 @@ function a(n, a) {
22
22
  i.set(o, n);
23
23
  }, [n]), o;
24
24
  }
25
- //#endregion
26
25
  export { a as useMergeRefs };
package/dist/index58.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __assign as e } from "./index53.js";
2
- //#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js
2
+ // ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js
3
3
  function t(e) {
4
4
  return e;
5
5
  }
@@ -65,5 +65,4 @@ function r(t) {
65
65
  ssr: !1
66
66
  }, t), r;
67
67
  }
68
- //#endregion
69
68
  export { r as createSidecarMedium };
package/dist/index59.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { __assign as e, __rest as t } from "./index53.js";
2
2
  import * as n from "react";
3
- //#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js
3
+ // ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js
4
4
  var r = function(r) {
5
5
  var i = r.sideCar, a = t(r, ["sideCar"]);
6
6
  if (!i) throw Error("Sidecar: please provide `sideCar` property to import the right car");
@@ -12,5 +12,4 @@ r.isSideCarExport = !0;
12
12
  function i(e, t) {
13
13
  return e.useMedium(t), r;
14
14
  }
15
- //#endregion
16
15
  export { i as exportSidecar };
package/dist/index6.js CHANGED
@@ -4,7 +4,7 @@ import "react";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
5
  import { c as i } from "react/compiler-runtime";
6
6
  import * as a from "@radix-ui/react-accordion";
7
- //#region src/ui/accordion.tsx
7
+ // src/ui/accordion.tsx
8
8
  function o(e) {
9
9
  let t = i(4), r;
10
10
  t[0] === e ? r = t[1] : ({...r} = e, t[0] = e, t[1] = r);
@@ -62,5 +62,4 @@ function l(t) {
62
62
  children: u
63
63
  }), r[9] = c, r[10] = u, r[11] = d) : d = r[11], d;
64
64
  }
65
- //#endregion
66
65
  export { o as Accordion, l as AccordionContent, s as AccordionItem, c as AccordionTrigger };
package/dist/index60.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { createSidecarMedium as e } from "./index58.js";
2
- //#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js
2
+ // ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js
3
3
  var t = e();
4
- //#endregion
5
4
  export { t as effectCar };
package/dist/index61.js CHANGED
@@ -3,7 +3,7 @@ import { fullWidthClassName as n, zeroRightClassName as r } from "./index54.js";
3
3
  import { useMergeRefs as i } from "./index57.js";
4
4
  import { effectCar as a } from "./index60.js";
5
5
  import * as o from "react";
6
- //#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js
6
+ // ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js
7
7
  var s = function() {}, c = o.forwardRef(function(n, r) {
8
8
  var c = o.useRef(null), l = o.useState({
9
9
  onScrollCapture: s,
@@ -48,5 +48,4 @@ c.defaultProps = {
48
48
  fullWidth: n,
49
49
  zeroRight: r
50
50
  };
51
- //#endregion
52
51
  export { c as RemoveScroll };
package/dist/index62.js CHANGED
@@ -1,7 +1,5 @@
1
- //#region ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
2
- var e, t = function() {
3
- if (e) return e;
1
+ // ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
2
+ var e = function() {
4
3
  if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
5
4
  };
6
- //#endregion
7
- export { t as getNonce };
5
+ export { e as getNonce };
package/dist/index63.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getNonce as e } from "./index62.js";
2
- //#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js
2
+ // ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js
3
3
  function t() {
4
4
  if (!document) return null;
5
5
  var t = document.createElement("style");
@@ -24,5 +24,4 @@ var i = function() {
24
24
  }
25
25
  };
26
26
  };
27
- //#endregion
28
27
  export { i as stylesheetSingleton };
package/dist/index64.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { stylesheetSingleton as e } from "./index63.js";
2
2
  import * as t from "react";
3
- //#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js
3
+ // ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js
4
4
  var n = function() {
5
5
  var n = e();
6
6
  return function(e, r) {
@@ -11,5 +11,4 @@ var n = function() {
11
11
  }, [e && r]);
12
12
  };
13
13
  };
14
- //#endregion
15
14
  export { n as styleHookSingleton };
package/dist/index65.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { styleHookSingleton as e } from "./index64.js";
2
- //#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js
2
+ // ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js
3
3
  var t = function() {
4
4
  var t = e();
5
5
  return function(e) {
@@ -7,5 +7,4 @@ var t = function() {
7
7
  return t(n, r), null;
8
8
  };
9
9
  };
10
- //#endregion
11
10
  export { t as styleSingleton };
package/dist/index66.cjs CHANGED
@@ -1 +1 @@
1
- require("./index63.cjs"),require("./index64.cjs"),require("./index65.cjs");
1
+ require("./index63.cjs"),require("./index64.cjs");const e=require("./index65.cjs");exports.styleSingleton=e.styleSingleton;
package/dist/index66.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import "./index63.js";
2
2
  import "./index64.js";
3
- import "./index65.js";
3
+ export { styleSingleton } from "./index65.js";
package/dist/index67.cjs CHANGED
@@ -1 +1 @@
1
- var e={left:0,top:0,right:0,gap:0},t=function(e){return parseInt(e||``,10)||0},n=function(e){var n=window.getComputedStyle(document.body),r=n[e===`padding`?`paddingLeft`:`marginLeft`],i=n[e===`padding`?`paddingTop`:`marginTop`],a=n[e===`padding`?`paddingRight`:`marginRight`];return[t(r),t(i),t(a)]},r=function(t){if(t===void 0&&(t=`margin`),typeof window>`u`)return e;var r=n(t),i=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-i+r[2]-r[0])}};exports.getGapWidth=r;
1
+ var e={left:0,top:0,right:0,gap:0},t=function(e){return parseInt(e||``,10)||0},n=function(e){var n=window.getComputedStyle(document.body),r=n[e===`padding`?`paddingLeft`:`marginLeft`],i=n[e===`padding`?`paddingTop`:`marginTop`],a=n[e===`padding`?`paddingRight`:`marginRight`];return[t(r),t(i),t(a)]},r=function(t){if(t===void 0&&(t=`margin`),typeof window>`u`)return e;var r=n(t),i=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-i+r[2]-r[0])}};exports.getGapWidth=r,exports.zeroGap=e;
package/dist/index67.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
1
+ // ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
2
2
  var e = {
3
3
  left: 0,
4
4
  top: 0,
@@ -23,5 +23,4 @@ var e = {
23
23
  gap: Math.max(0, a - i + r[2] - r[0])
24
24
  };
25
25
  };
26
- //#endregion
27
- export { r as getGapWidth };
26
+ export { r as getGapWidth, e as zeroGap };
package/dist/index68.cjs CHANGED
@@ -35,4 +35,4 @@ const e=require("./index2.cjs"),t=require("./index54.cjs"),n=require("./index65.
35
35
  body[${o}] {
36
36
  ${t.removedBarSizeVariable}: ${l}px;
37
37
  }
38
- `},c=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},l=function(){i.useEffect(function(){return document.body.setAttribute(o,(c()+1).toString()),function(){var e=c()-1;e<=0?document.body.removeAttribute(o):document.body.setAttribute(o,e.toString())}},[])},u=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,c=o===void 0?`margin`:o;l();var u=i.useMemo(function(){return r.getGapWidth(c)},[c]);return i.createElement(a,{styles:s(u,!t,c,n?``:`!important`)})};exports.RemoveScrollBar=u;
38
+ `},c=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},l=function(){i.useEffect(function(){return document.body.setAttribute(o,(c()+1).toString()),function(){var e=c()-1;e<=0?document.body.removeAttribute(o):document.body.setAttribute(o,e.toString())}},[])},u=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,c=o===void 0?`margin`:o;l();var u=i.useMemo(function(){return r.getGapWidth(c)},[c]);return i.createElement(a,{styles:s(u,!t,c,n?``:`!important`)})};exports.RemoveScrollBar=u,exports.lockAttribute=o,exports.useLockAttribute=l;
package/dist/index68.js CHANGED
@@ -3,7 +3,7 @@ import { styleSingleton as i } from "./index65.js";
3
3
  import "./index66.js";
4
4
  import { getGapWidth as a } from "./index67.js";
5
5
  import * as o from "react";
6
- //#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js
6
+ // ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js
7
7
  var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
8
8
  var l = i.left, u = i.top, d = i.right, f = i.gap;
9
9
  return o === void 0 && (o = "margin"), `
@@ -66,5 +66,4 @@ var s = i(), c = "data-scroll-locked", l = function(i, a, o, s) {
66
66
  }, [i]);
67
67
  return o.createElement(s, { styles: l(c, !t, i, n ? "" : "!important") });
68
68
  };
69
- //#endregion
70
- export { f as RemoveScrollBar };
69
+ export { f as RemoveScrollBar, c as lockAttribute, d as useLockAttribute };
package/dist/index69.cjs CHANGED
@@ -1 +1 @@
1
- require("./index54.cjs"),require("./index67.cjs"),require("./index68.cjs");
1
+ require("./index54.cjs"),require("./index67.cjs");const e=require("./index68.cjs");exports.RemoveScrollBar=e.RemoveScrollBar;
package/dist/index69.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import "./index54.js";
2
2
  import "./index67.js";
3
- import "./index68.js";
3
+ export { RemoveScrollBar } from "./index68.js";
package/dist/index7.js CHANGED
@@ -2,7 +2,7 @@ import "react";
2
2
  import * as e from "@stylexjs/stylex";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  import { c as n } from "react/compiler-runtime";
5
- //#region src/ui/alert.tsx
5
+ // src/ui/alert.tsx
6
6
  var r = {
7
7
  root: {
8
8
  kVAEAm: "x1n2onr6",
@@ -94,5 +94,4 @@ function c(t) {
94
94
  let n = t?.variant || "default";
95
95
  return e.props(r.root, i[n]).className || "";
96
96
  }
97
- //#endregion
98
97
  export { a as Alert, s as AlertDescription, o as AlertTitle, c as alertVariants };
package/dist/index70.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
1
+ // ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
2
2
  var e = !1;
3
3
  if (typeof window < "u") try {
4
4
  var t = Object.defineProperty({}, "passive", { get: function() {
@@ -9,5 +9,4 @@ if (typeof window < "u") try {
9
9
  e = !1;
10
10
  }
11
11
  var n = e ? { passive: !1 } : !1;
12
- //#endregion
13
12
  export { n as nonPassive };
package/dist/index71.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
1
+ // ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
2
2
  var e = function(e) {
3
3
  return e.tagName === "TEXTAREA";
4
4
  }, t = function(t, n) {
@@ -48,5 +48,4 @@ var e = function(e) {
48
48
  } while (!d && u !== document.body || d && (t.contains(u) || t === u));
49
49
  return (p && (i && Math.abs(m) < 1 || !i && o > m) || !p && (i && Math.abs(h) < 1 || !i && -o > h)) && (f = !0), f;
50
50
  };
51
- //#endregion
52
51
  export { u as handleScroll, i as locationCouldBeScrolled };