@vlrc-fe/components 1.0.6 → 1.0.8

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 (452) hide show
  1. package/dist/Form/FormFileUpload/index.d.ts +1 -1
  2. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  3. package/dist/Form/index.d.ts +1 -1
  4. package/dist/Form/index.d.ts.map +1 -1
  5. package/dist/MultiSelect/type.d.ts +2 -2
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.js +64 -40
  8. package/dist/index10.cjs +1 -1
  9. package/dist/index10.js +46 -80
  10. package/dist/index100.cjs +1 -1
  11. package/dist/index100.js +22 -60
  12. package/dist/index101.cjs +1 -1
  13. package/dist/index101.js +1147 -43
  14. package/dist/index102.cjs +1 -1
  15. package/dist/index102.js +30 -64
  16. package/dist/index103.cjs +1 -1
  17. package/dist/index103.js +31 -147
  18. package/dist/index104.cjs +1 -1
  19. package/dist/index104.js +93 -19
  20. package/dist/index105.cjs +1 -1
  21. package/dist/index105.js +80 -25
  22. package/dist/index106.cjs +1 -1
  23. package/dist/index106.js +9 -50
  24. package/dist/index107.cjs +1 -1
  25. package/dist/index107.js +30 -156
  26. package/dist/index108.cjs +1 -1
  27. package/dist/index108.js +350 -14
  28. package/dist/index109.cjs +1 -1
  29. package/dist/index109.js +11 -0
  30. package/dist/index11.cjs +1 -1
  31. package/dist/index11.js +55 -60
  32. package/dist/index110.cjs +1 -0
  33. package/dist/index110.js +430 -0
  34. package/dist/index111.cjs +1 -0
  35. package/dist/index111.js +36 -0
  36. package/dist/index112.cjs +1 -0
  37. package/dist/index112.js +28 -0
  38. package/dist/index113.cjs +1 -0
  39. package/dist/index113.js +14 -0
  40. package/dist/index114.cjs +1 -0
  41. package/dist/index114.js +156 -0
  42. package/dist/index115.cjs +1 -0
  43. package/dist/index115.js +19 -0
  44. package/dist/index116.cjs +1 -0
  45. package/dist/index116.js +67 -0
  46. package/dist/index117.cjs +1 -0
  47. package/dist/index117.js +118 -0
  48. package/dist/index118.cjs +1 -0
  49. package/dist/index118.js +36 -0
  50. package/dist/index119.cjs +1 -0
  51. package/dist/index119.js +13 -0
  52. package/dist/index12.cjs +1 -1
  53. package/dist/index12.js +44 -121
  54. package/dist/index120.cjs +1 -0
  55. package/dist/index120.js +31 -0
  56. package/dist/index121.cjs +1 -0
  57. package/dist/index121.js +37 -0
  58. package/dist/index122.cjs +1 -0
  59. package/dist/index122.js +123 -0
  60. package/dist/index123.cjs +1 -0
  61. package/dist/index123.js +44 -0
  62. package/dist/index124.cjs +1 -0
  63. package/dist/index124.js +43 -0
  64. package/dist/index125.cjs +1 -0
  65. package/dist/index125.js +14 -0
  66. package/dist/index126.cjs +1 -0
  67. package/dist/index126.js +64 -0
  68. package/dist/index127.cjs +1 -0
  69. package/dist/index127.js +23 -0
  70. package/dist/index128.cjs +1 -0
  71. package/dist/index128.js +34 -0
  72. package/dist/index129.cjs +1 -0
  73. package/dist/index129.js +27 -0
  74. package/dist/index13.cjs +1 -1
  75. package/dist/index13.js +30 -12
  76. package/dist/index130.cjs +1 -0
  77. package/dist/index130.js +26 -0
  78. package/dist/index131.cjs +1 -0
  79. package/dist/index131.js +157 -0
  80. package/dist/index132.cjs +1 -0
  81. package/dist/index132.js +34 -0
  82. package/dist/index133.cjs +1 -0
  83. package/dist/index133.js +46 -0
  84. package/dist/index134.cjs +1 -0
  85. package/dist/index134.js +142 -0
  86. package/dist/index135.cjs +1 -0
  87. package/dist/index135.js +125 -0
  88. package/dist/index136.cjs +1 -0
  89. package/dist/index136.js +26 -0
  90. package/dist/index137.cjs +1 -0
  91. package/dist/index137.js +88 -0
  92. package/dist/index138.cjs +1 -0
  93. package/dist/index138.js +221 -0
  94. package/dist/index139.cjs +1 -0
  95. package/dist/index139.js +166 -0
  96. package/dist/index14.cjs +1 -1
  97. package/dist/index14.js +8 -12
  98. package/dist/index140.cjs +1 -0
  99. package/dist/index140.js +126 -0
  100. package/dist/index141.cjs +1 -0
  101. package/dist/index141.js +15 -0
  102. package/dist/index142.cjs +1 -0
  103. package/dist/index142.js +9 -0
  104. package/dist/index143.cjs +1 -0
  105. package/dist/index143.js +17 -0
  106. package/dist/index144.cjs +1 -0
  107. package/dist/index144.js +22 -0
  108. package/dist/index145.cjs +1 -0
  109. package/dist/index145.js +18 -0
  110. package/dist/index146.cjs +1 -0
  111. package/dist/index146.js +6 -0
  112. package/dist/index147.cjs +1 -0
  113. package/dist/index147.js +7 -0
  114. package/dist/index148.cjs +1 -0
  115. package/dist/index148.js +8 -0
  116. package/dist/index149.cjs +1 -0
  117. package/dist/index149.js +7 -0
  118. package/dist/index15.cjs +1 -1
  119. package/dist/index15.js +12 -112
  120. package/dist/index150.cjs +1 -0
  121. package/dist/index150.js +7 -0
  122. package/dist/index151.cjs +1 -0
  123. package/dist/index151.js +9 -0
  124. package/dist/index152.cjs +1 -0
  125. package/dist/index152.js +69 -0
  126. package/dist/index153.cjs +1 -0
  127. package/dist/index153.js +11 -0
  128. package/dist/index154.cjs +1 -0
  129. package/dist/index154.js +202 -0
  130. package/dist/index155.cjs +1 -0
  131. package/dist/index155.js +124 -0
  132. package/dist/index156.cjs +1 -0
  133. package/dist/index156.js +32 -0
  134. package/dist/index157.cjs +1 -0
  135. package/dist/index157.js +20 -0
  136. package/dist/index158.cjs +1 -0
  137. package/dist/index158.js +69 -0
  138. package/dist/index159.cjs +1 -0
  139. package/dist/index159.js +32 -0
  140. package/dist/index16.cjs +1 -1
  141. package/dist/index16.js +4 -726
  142. package/dist/index160.cjs +1 -0
  143. package/dist/index160.js +11 -0
  144. package/dist/index161.cjs +1 -0
  145. package/dist/index161.js +280 -0
  146. package/dist/index162.cjs +1 -0
  147. package/dist/index162.js +157 -0
  148. package/dist/index163.cjs +1 -0
  149. package/dist/index163.js +20 -0
  150. package/dist/index164.cjs +1 -0
  151. package/dist/index164.js +10 -0
  152. package/dist/index165.cjs +1 -0
  153. package/dist/index165.js +14 -0
  154. package/dist/index166.cjs +1 -0
  155. package/dist/index166.js +8 -0
  156. package/dist/index167.cjs +1 -0
  157. package/dist/index167.js +8 -0
  158. package/dist/index168.cjs +1 -0
  159. package/dist/index168.js +11 -0
  160. package/dist/index169.cjs +1 -0
  161. package/dist/index169.js +10 -0
  162. package/dist/index17.cjs +1 -1
  163. package/dist/index17.js +79 -339
  164. package/dist/index170.cjs +1 -0
  165. package/dist/index170.js +6 -0
  166. package/dist/index171.cjs +1 -0
  167. package/dist/index171.js +8 -0
  168. package/dist/index172.cjs +1 -0
  169. package/dist/index172.js +8 -0
  170. package/dist/index173.cjs +1 -0
  171. package/dist/index173.js +10 -0
  172. package/dist/index174.cjs +1 -0
  173. package/dist/index174.js +11 -0
  174. package/dist/index175.cjs +1 -0
  175. package/dist/index175.js +15 -0
  176. package/dist/index176.cjs +1 -0
  177. package/dist/index176.js +11 -0
  178. package/dist/index177.cjs +1 -0
  179. package/dist/index177.js +11 -0
  180. package/dist/index178.cjs +1 -0
  181. package/dist/index178.js +6 -0
  182. package/dist/index179.cjs +1 -0
  183. package/dist/index179.js +43 -0
  184. package/dist/index18.cjs +1 -1
  185. package/dist/index18.js +19 -66
  186. package/dist/index180.cjs +1 -0
  187. package/dist/index180.js +382 -0
  188. package/dist/index181.cjs +1 -0
  189. package/dist/index181.js +40 -0
  190. package/dist/index182.cjs +1 -0
  191. package/dist/index182.js +23 -0
  192. package/dist/index183.cjs +1 -0
  193. package/dist/index183.js +59 -0
  194. package/dist/index184.cjs +1 -0
  195. package/dist/index184.js +55 -0
  196. package/dist/index185.cjs +1 -0
  197. package/dist/index185.js +54 -0
  198. package/dist/index186.cjs +1 -0
  199. package/dist/index186.js +57 -0
  200. package/dist/index187.cjs +1 -0
  201. package/dist/index187.js +57 -0
  202. package/dist/index188.cjs +1 -0
  203. package/dist/index188.js +88 -0
  204. package/dist/index189.cjs +1 -0
  205. package/dist/index189.js +66 -0
  206. package/dist/index19.cjs +1 -1
  207. package/dist/index19.js +18 -8
  208. package/dist/index190.cjs +1 -0
  209. package/dist/index190.js +594 -0
  210. package/dist/index191.cjs +9 -0
  211. package/dist/index191.js +30 -0
  212. package/dist/index192.cjs +1 -0
  213. package/dist/index192.js +50 -0
  214. package/dist/index193.cjs +1 -0
  215. package/dist/index193.js +65 -0
  216. package/dist/index194.cjs +1 -0
  217. package/dist/index194.js +48 -0
  218. package/dist/index195.cjs +1 -0
  219. package/dist/index195.js +67 -0
  220. package/dist/index196.cjs +1 -0
  221. package/dist/index196.js +151 -0
  222. package/dist/index197.cjs +1 -0
  223. package/dist/index197.js +23 -0
  224. package/dist/index198.cjs +1 -0
  225. package/dist/index198.js +27 -0
  226. package/dist/index199.cjs +1 -0
  227. package/dist/index199.js +53 -0
  228. package/dist/index20.cjs +1 -1
  229. package/dist/index20.js +51 -98
  230. package/dist/index200.cjs +1 -0
  231. package/dist/index200.js +161 -0
  232. package/dist/index201.cjs +1 -0
  233. package/dist/index201.js +16 -0
  234. package/dist/index202.cjs +1 -0
  235. package/dist/index21.cjs +1 -1
  236. package/dist/index21.js +81 -28
  237. package/dist/index22.cjs +1 -1
  238. package/dist/index22.js +64 -14
  239. package/dist/index23.cjs +1 -1
  240. package/dist/index23.js +25 -22
  241. package/dist/index24.cjs +1 -1
  242. package/dist/index24.js +1014 -33
  243. package/dist/index25.cjs +1 -1
  244. package/dist/index25.js +22 -96
  245. package/dist/index26.cjs +1 -1
  246. package/dist/index26.js +108 -25
  247. package/dist/index27.cjs +1 -1
  248. package/dist/index27.js +15 -9
  249. package/dist/index28.cjs +1 -1
  250. package/dist/index28.js +20 -66
  251. package/dist/index29.cjs +1 -1
  252. package/dist/index29.js +81 -11
  253. package/dist/index30.cjs +1 -1
  254. package/dist/index30.js +91 -29
  255. package/dist/index31.cjs +1 -1
  256. package/dist/index31.js +14 -41
  257. package/dist/index32.cjs +1 -1
  258. package/dist/index32.js +93 -12
  259. package/dist/index33.cjs +1 -1
  260. package/dist/index33.js +22 -62
  261. package/dist/index34.cjs +1 -1
  262. package/dist/index34.js +84 -22
  263. package/dist/index35.cjs +1 -1
  264. package/dist/index35.js +85 -33
  265. package/dist/index36.cjs +1 -1
  266. package/dist/index36.js +407 -25
  267. package/dist/index37.cjs +1 -1
  268. package/dist/index37.js +170 -25
  269. package/dist/index38.cjs +1 -1
  270. package/dist/index38.js +28 -154
  271. package/dist/index39.cjs +1 -1
  272. package/dist/index39.js +158 -33
  273. package/dist/index40.cjs +1 -1
  274. package/dist/index40.js +104 -45
  275. package/dist/index41.cjs +1 -1
  276. package/dist/index41.js +337 -140
  277. package/dist/index42.cjs +1 -1
  278. package/dist/index42.js +96 -124
  279. package/dist/index43.cjs +1 -1
  280. package/dist/index43.js +319 -23
  281. package/dist/index44.cjs +1 -1
  282. package/dist/index44.js +205 -81
  283. package/dist/index45.cjs +1 -1
  284. package/dist/index45.js +33 -220
  285. package/dist/index46.cjs +1 -1
  286. package/dist/index46.js +161 -163
  287. package/dist/index47.cjs +1 -1
  288. package/dist/index47.js +20 -125
  289. package/dist/index48.cjs +1 -1
  290. package/dist/index48.js +24 -14
  291. package/dist/index49.cjs +1 -1
  292. package/dist/index49.js +167 -7
  293. package/dist/index5.js +26 -14
  294. package/dist/index50.cjs +1 -1
  295. package/dist/index50.js +44 -15
  296. package/dist/index51.cjs +1 -1
  297. package/dist/index51.js +15 -18
  298. package/dist/index52.cjs +1 -1
  299. package/dist/index52.js +3 -17
  300. package/dist/index53.cjs +1 -1
  301. package/dist/index53.js +5 -5
  302. package/dist/index54.cjs +1 -1
  303. package/dist/index54.js +19 -4
  304. package/dist/index55.cjs +1 -1
  305. package/dist/index55.js +24 -6
  306. package/dist/index56.cjs +1 -1
  307. package/dist/index56.js +66 -4
  308. package/dist/index57.cjs +1 -1
  309. package/dist/index57.js +14 -5
  310. package/dist/index58.cjs +1 -1
  311. package/dist/index58.js +4 -8
  312. package/dist/index59.cjs +1 -1
  313. package/dist/index59.js +50 -67
  314. package/dist/index6.cjs +1 -1
  315. package/dist/index6.js +85 -46
  316. package/dist/index60.cjs +1 -1
  317. package/dist/index60.js +6 -10
  318. package/dist/index61.cjs +1 -1
  319. package/dist/index61.js +25 -199
  320. package/dist/index62.cjs +1 -1
  321. package/dist/index62.js +13 -122
  322. package/dist/index63.cjs +1 -1
  323. package/dist/index63.js +9 -30
  324. package/dist/index64.cjs +1 -1
  325. package/dist/index64.js +3 -20
  326. package/dist/index65.cjs +1 -1
  327. package/dist/index65.js +24 -66
  328. package/dist/index66.cjs +1 -1
  329. package/dist/index66.js +68 -30
  330. package/dist/index67.cjs +38 -1
  331. package/dist/index67.js +3 -11
  332. package/dist/index68.cjs +1 -1
  333. package/dist/index68.js +12 -279
  334. package/dist/index69.cjs +1 -1
  335. package/dist/index69.js +50 -155
  336. package/dist/index7.cjs +1 -1
  337. package/dist/index7.js +29 -85
  338. package/dist/index70.cjs +1 -1
  339. package/dist/index70.js +115 -19
  340. package/dist/index71.cjs +4 -1
  341. package/dist/index71.js +6 -9
  342. package/dist/index72.cjs +1 -1
  343. package/dist/index72.js +12 -12
  344. package/dist/index73.cjs +1 -1
  345. package/dist/index73.js +539 -6
  346. package/dist/index74.cjs +1 -1
  347. package/dist/index74.js +197 -6
  348. package/dist/index75.cjs +1 -1
  349. package/dist/index75.js +120 -9
  350. package/dist/index76.cjs +1 -1
  351. package/dist/index76.js +912 -8
  352. package/dist/index77.cjs +3 -1
  353. package/dist/index77.js +76 -4
  354. package/dist/index78.cjs +1 -1
  355. package/dist/index78.js +120 -6
  356. package/dist/index79.cjs +1 -1
  357. package/dist/index79.js +12 -6
  358. package/dist/index8.cjs +1 -1
  359. package/dist/index8.js +35 -62
  360. package/dist/index80.cjs +1 -1
  361. package/dist/index80.js +14 -8
  362. package/dist/index81.cjs +1 -1
  363. package/dist/index81.js +113 -9
  364. package/dist/index82.cjs +1 -1
  365. package/dist/index82.js +725 -13
  366. package/dist/index83.cjs +1 -1
  367. package/dist/index83.js +346 -9
  368. package/dist/index84.cjs +1 -1
  369. package/dist/index84.js +74 -9
  370. package/dist/index85.cjs +1 -1
  371. package/dist/index85.js +148 -4
  372. package/dist/index86.cjs +1 -1
  373. package/dist/index86.js +31 -42
  374. package/dist/index87.cjs +1 -1
  375. package/dist/index87.js +12 -380
  376. package/dist/index88.cjs +1 -1
  377. package/dist/index88.js +345 -37
  378. package/dist/index89.cjs +20 -1
  379. package/dist/index89.js +40 -18
  380. package/dist/index9.cjs +1 -1
  381. package/dist/index9.js +85 -17
  382. package/dist/index90.cjs +1 -1
  383. package/dist/index90.js +113 -56
  384. package/dist/index91.cjs +1 -1
  385. package/dist/index91.js +272 -51
  386. package/dist/index92.cjs +1 -1
  387. package/dist/index92.js +129 -50
  388. package/dist/index93.cjs +1 -1
  389. package/dist/index93.js +13 -54
  390. package/dist/index94.cjs +1 -1
  391. package/dist/index94.js +28 -55
  392. package/dist/index95.cjs +1 -1
  393. package/dist/index95.js +525 -80
  394. package/dist/index96.cjs +1 -1
  395. package/dist/index96.js +75 -61
  396. package/dist/index97.cjs +1 -1
  397. package/dist/index97.js +67 -583
  398. package/dist/index98.cjs +1 -9
  399. package/dist/index98.js +32 -27
  400. package/dist/index99.cjs +1 -1
  401. package/dist/index99.js +17 -49
  402. package/dist/ui/alert-dialog.d.ts +15 -0
  403. package/dist/ui/alert-dialog.d.ts.map +1 -0
  404. package/dist/ui/alert.d.ts +10 -0
  405. package/dist/ui/alert.d.ts.map +1 -0
  406. package/dist/ui/aspect-ratio.d.ts +4 -0
  407. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  408. package/dist/ui/avatar.d.ts +7 -0
  409. package/dist/ui/avatar.d.ts.map +1 -0
  410. package/dist/ui/badge.d.ts +1 -1
  411. package/dist/ui/breadcrumb.d.ts +12 -0
  412. package/dist/ui/breadcrumb.d.ts.map +1 -0
  413. package/dist/ui/button.d.ts +1 -1
  414. package/dist/ui/carousel.d.ts +20 -0
  415. package/dist/ui/carousel.d.ts.map +1 -0
  416. package/dist/ui/collapsible.d.ts +6 -0
  417. package/dist/ui/collapsible.d.ts.map +1 -0
  418. package/dist/ui/context-menu.d.ts +26 -0
  419. package/dist/ui/context-menu.d.ts.map +1 -0
  420. package/dist/ui/drawer.d.ts +14 -0
  421. package/dist/ui/drawer.d.ts.map +1 -0
  422. package/dist/ui/hover-card.d.ts +7 -0
  423. package/dist/ui/hover-card.d.ts.map +1 -0
  424. package/dist/ui/index.d.ts +23 -0
  425. package/dist/ui/index.d.ts.map +1 -1
  426. package/dist/ui/input-otp.d.ts +12 -0
  427. package/dist/ui/input-otp.d.ts.map +1 -0
  428. package/dist/ui/menubar.d.ts +27 -0
  429. package/dist/ui/menubar.d.ts.map +1 -0
  430. package/dist/ui/navigation-menu.d.ts +15 -0
  431. package/dist/ui/navigation-menu.d.ts.map +1 -0
  432. package/dist/ui/pagination.d.ts +14 -0
  433. package/dist/ui/pagination.d.ts.map +1 -0
  434. package/dist/ui/resizable.d.ts +9 -0
  435. package/dist/ui/resizable.d.ts.map +1 -0
  436. package/dist/ui/sheet.d.ts +14 -0
  437. package/dist/ui/sheet.d.ts.map +1 -0
  438. package/dist/ui/sidebar.d.ts +70 -0
  439. package/dist/ui/sidebar.d.ts.map +1 -0
  440. package/dist/ui/skeleton.d.ts +3 -0
  441. package/dist/ui/skeleton.d.ts.map +1 -0
  442. package/dist/ui/slider.d.ts +5 -0
  443. package/dist/ui/slider.d.ts.map +1 -0
  444. package/dist/ui/switch.d.ts +5 -0
  445. package/dist/ui/switch.d.ts.map +1 -0
  446. package/dist/ui/tabs.d.ts +8 -0
  447. package/dist/ui/tabs.d.ts.map +1 -0
  448. package/dist/ui/toggle-group.d.ts +8 -0
  449. package/dist/ui/toggle-group.d.ts.map +1 -0
  450. package/dist/ui/toggle.d.ts +10 -0
  451. package/dist/ui/toggle.d.ts.map +1 -0
  452. package/package.json +23 -5
package/dist/index49.js CHANGED
@@ -1,9 +1,169 @@
1
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
2
- function e(e) {
3
- return (t = {}) => {
4
- let n = t.width ? String(t.width) : e.defaultWidth;
5
- return e.formats[n] || e.formats[e.defaultWidth];
6
- };
1
+ "use client";
2
+ import { createContextScope as e } from "./index6.js";
3
+ import { useComposedRefs as t } from "./index7.js";
4
+ import { composeEventHandlers as n } from "./index8.js";
5
+ import { Primitive as r } from "./index12.js";
6
+ import { useCallbackRef as i } from "./index15.js";
7
+ import { useLayoutEffect2 as a } from "./index16.js";
8
+ import { useControllableState as o } from "./index29.js";
9
+ import { useId as s } from "./index31.js";
10
+ import { createCollection as c } from "./index36.js";
11
+ import { useIsHydrated2 as l } from "./index48.js";
12
+ import * as u from "react";
13
+ import { jsx as d } from "react/jsx-runtime";
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.2.3_@types+react@19.2.17__@type_1ba36d19799ef89b87b035255f196a64/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
16
+ var p = Object.defineProperty, m = (e, t) => p(e, "name", {
17
+ value: t,
18
+ configurable: !0
19
+ }), h = "rovingFocusGroup.onEntryFocus", g = {
20
+ bubbles: !1,
21
+ cancelable: !0
22
+ }, _ = "RovingFocusGroup", [v, y, b] = c(_), [x, S] = e(_, [b]), [C, w] = x(_), T = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ m(function(e, t) {
23
+ return /* @__PURE__ */ d(v.Provider, {
24
+ scope: e.__scopeRovingFocusGroup,
25
+ children: /* @__PURE__ */ d(v.Slot, {
26
+ scope: e.__scopeRovingFocusGroup,
27
+ children: /* @__PURE__ */ d(E, {
28
+ ...e,
29
+ ref: t
30
+ })
31
+ })
32
+ });
33
+ }, "RovingFocusGroup")), E = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ m(function(e, a) {
34
+ let { __scopeRovingFocusGroup: s, orientation: c, loop: l = !1, dir: p, currentTabStopId: m, defaultCurrentTabStopId: v, onCurrentTabStopIdChange: b, onEntryFocus: x, preventScrollOnEntryFocus: S = !1, ...w } = e, T = u.useRef(null), E = t(a, T), D = f(p), [O, k] = o({
35
+ prop: m,
36
+ defaultProp: v ?? null,
37
+ onChange: b,
38
+ caller: _
39
+ }), [A, j] = u.useState(!1), N = i(x), P = y(s), F = u.useRef(!1), [I, L] = u.useState(0);
40
+ return u.useEffect(() => {
41
+ let e = T.current;
42
+ if (e) return e.addEventListener(h, N), () => e.removeEventListener(h, N);
43
+ }, [N]), /* @__PURE__ */ d(C, {
44
+ scope: s,
45
+ orientation: c,
46
+ dir: D,
47
+ loop: l,
48
+ currentTabStopId: O,
49
+ onItemFocus: u.useCallback((e) => k(e), [k]),
50
+ onItemShiftTab: u.useCallback(() => j(!0), []),
51
+ onFocusableItemAdd: u.useCallback(() => L((e) => e + 1), []),
52
+ onFocusableItemRemove: u.useCallback(() => L((e) => e - 1), []),
53
+ children: /* @__PURE__ */ d(r.div, {
54
+ tabIndex: A || I === 0 ? -1 : 0,
55
+ "data-orientation": c,
56
+ ...w,
57
+ ref: E,
58
+ style: {
59
+ outline: "none",
60
+ ...e.style
61
+ },
62
+ onMouseDown: n(e.onMouseDown, () => {
63
+ F.current = !0;
64
+ }),
65
+ onFocus: n(e.onFocus, (e) => {
66
+ let t = !F.current;
67
+ if (e.target === e.currentTarget && t && !A) {
68
+ let t = new CustomEvent(h, g);
69
+ if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
70
+ let e = P().filter((e) => e.focusable);
71
+ M([
72
+ e.find((e) => e.active),
73
+ e.find((e) => e.id === O),
74
+ ...e
75
+ ].filter(Boolean).map((e) => e.ref.current), S);
76
+ }
77
+ }
78
+ F.current = !1;
79
+ }),
80
+ onBlur: n(e.onBlur, () => j(!1))
81
+ })
82
+ });
83
+ }, "RovingFocusGroupImpl")), D = "RovingFocusGroupItem", O = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ m(function(e, t) {
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
+ return a(() => {
86
+ if (!(!E || !o)) return S(), () => C();
87
+ }, [
88
+ E,
89
+ o,
90
+ S,
91
+ C
92
+ ]), u.useEffect(() => {
93
+ if (!(E || !o)) return S(), () => C();
94
+ }, [
95
+ E,
96
+ o,
97
+ S,
98
+ C
99
+ ]), /* @__PURE__ */ d(v.ItemSlot, {
100
+ scope: i,
101
+ id: g,
102
+ focusable: o,
103
+ active: c,
104
+ children: /* @__PURE__ */ d(r.span, {
105
+ tabIndex: b ? 0 : -1,
106
+ "data-orientation": _.orientation,
107
+ ...m,
108
+ ref: t,
109
+ onMouseDown: n(e.onMouseDown, (e) => {
110
+ o ? _.onItemFocus(g) : e.preventDefault();
111
+ }),
112
+ onFocus: n(e.onFocus, () => _.onItemFocus(g)),
113
+ onKeyDown: n(e.onKeyDown, (e) => {
114
+ if (e.key === "Tab" && e.shiftKey) {
115
+ _.onItemShiftTab();
116
+ return;
117
+ }
118
+ if (e.target !== e.currentTarget) return;
119
+ let t = j(e, _.orientation, _.dir);
120
+ if (t !== void 0) {
121
+ if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
122
+ e.preventDefault();
123
+ let n = x().filter((e) => e.focusable).map((e) => e.ref.current);
124
+ if (t === "last") n.reverse();
125
+ else if (t === "prev" || t === "next") {
126
+ t === "prev" && n.reverse();
127
+ let r = n.indexOf(e.currentTarget);
128
+ n = _.loop ? N(n, r + 1) : n.slice(r + 1);
129
+ }
130
+ setTimeout(() => M(n));
131
+ }
132
+ }),
133
+ children: typeof p == "function" ? p({
134
+ isCurrentTabStop: b,
135
+ hasTabStop: T != null
136
+ }) : p
137
+ })
138
+ });
139
+ }, "RovingFocusGroupItem")), k = {
140
+ ArrowLeft: "prev",
141
+ ArrowUp: "prev",
142
+ ArrowRight: "next",
143
+ ArrowDown: "next",
144
+ PageUp: "first",
145
+ Home: "first",
146
+ PageDown: "last",
147
+ End: "last"
148
+ };
149
+ function A(e, t) {
150
+ return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
7
151
  }
152
+ m(A, "getDirectionAwareKey");
153
+ function j(e, t, n) {
154
+ let r = A(e.key, n);
155
+ if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return k[r];
156
+ }
157
+ m(j, "getFocusIntent");
158
+ function M(e, t = !1) {
159
+ let n = document.activeElement;
160
+ for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
161
+ }
162
+ m(M, "focusFirst");
163
+ function N(e, t) {
164
+ return e.map((n, r) => e[(t + r) % e.length]);
165
+ }
166
+ m(N, "wrapArray");
167
+ var P = T, F = O;
8
168
  //#endregion
9
- export { e as buildFormatLongFn };
169
+ export { F as Item, P as Root, S as createRovingFocusGroupScope };
package/dist/index5.js CHANGED
@@ -1,24 +1,36 @@
1
1
  import { cn as e } from "./index3.js";
2
2
  import "react";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
- import { Slot as n } from "@radix-ui/react-slot";
5
- import { cva as r } from "class-variance-authority";
6
- //#region src/ui/badge.tsx
7
- var i = r("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
4
+ import { cva as n } from "class-variance-authority";
5
+ //#region src/ui/alert.tsx
6
+ var r = n("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
8
7
  variants: { variant: {
9
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
10
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
11
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
12
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
8
+ default: "bg-card text-card-foreground",
9
+ destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
13
10
  } },
14
11
  defaultVariants: { variant: "default" }
15
12
  });
16
- function a({ className: r, variant: a, asChild: o = !1, ...s }) {
17
- return /* @__PURE__ */ t(o ? n : "span", {
18
- "data-slot": "badge",
19
- className: e(i({ variant: a }), r),
20
- ...s
13
+ function i({ className: n, variant: i, ...a }) {
14
+ return /* @__PURE__ */ t("div", {
15
+ "data-slot": "alert",
16
+ role: "alert",
17
+ className: e(r({ variant: i }), n),
18
+ ...a
19
+ });
20
+ }
21
+ function a({ className: n, ...r }) {
22
+ return /* @__PURE__ */ t("div", {
23
+ "data-slot": "alert-title",
24
+ className: e("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", n),
25
+ ...r
26
+ });
27
+ }
28
+ function o({ className: n, ...r }) {
29
+ return /* @__PURE__ */ t("div", {
30
+ "data-slot": "alert-description",
31
+ className: e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n),
32
+ ...r
21
33
  });
22
34
  }
23
35
  //#endregion
24
- export { a as Badge, i as badgeVariants };
36
+ export { i as Alert, o as AlertDescription, a as AlertTitle };
package/dist/index50.cjs CHANGED
@@ -1 +1 @@
1
- function e(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}exports.buildFormatLongFn=e;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index8.cjs"),r=require("./index9.cjs"),i=require("./index13.cjs"),a=require("./index16.cjs"),o=require("./index17.cjs"),s=require("./index30.cjs"),c=require("./index32.cjs"),l=require("./index37.cjs"),u=require("./index49.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;
package/dist/index50.js CHANGED
@@ -1,17 +1,46 @@
1
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
2
- function e(e) {
3
- return (t, n) => {
4
- let r = n?.context ? String(n.context) : "standalone", i;
5
- if (r === "formatting" && e.formattingValues) {
6
- let t = e.defaultFormattingWidth || e.defaultWidth, r = n?.width ? String(n.width) : t;
7
- i = e.formattingValues[r] || e.formattingValues[t];
8
- } else {
9
- let t = e.defaultWidth, r = n?.width ? String(n.width) : e.defaultWidth;
10
- i = e.values[r] || e.values[t];
11
- }
12
- let a = e.argumentCallback ? e.argumentCallback(t) : t;
13
- return i[a];
1
+ //#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
2
+ var e = function(e) {
3
+ return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
4
+ }, t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = {}, i = 0, a = function(e) {
5
+ return e && (e.host || a(e.parentNode));
6
+ }, o = function(e, t) {
7
+ return t.map(function(t) {
8
+ if (e.contains(t)) return t;
9
+ var n = a(t);
10
+ return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
11
+ }).filter(function(e) {
12
+ return !!e;
13
+ });
14
+ }, s = function(e, a, s, c) {
15
+ var l = o(a, Array.isArray(e) ? e : [e]);
16
+ r[s] || (r[s] = /* @__PURE__ */ new WeakMap());
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));
14
19
  };
15
- }
20
+ l.forEach(m);
21
+ var h = function(e) {
22
+ !e || p.has(e) || Array.prototype.forEach.call(e.children, function(e) {
23
+ if (f.has(e)) h(e);
24
+ else try {
25
+ var r = e.getAttribute(c), i = r !== null && r !== "false", a = (t.get(e) || 0) + 1, o = (u.get(e) || 0) + 1;
26
+ 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");
27
+ } catch (t) {
28
+ console.error("aria-hidden: cannot operate on ", e, t);
29
+ }
30
+ });
31
+ };
32
+ return h(a), f.clear(), i++, function() {
33
+ d.forEach(function(e) {
34
+ var r = t.get(e) - 1, i = u.get(e) - 1;
35
+ t.set(e, r), u.set(e, i), r || (n.has(e) || e.removeAttribute(c), n.delete(e)), i || e.removeAttribute(s);
36
+ }), i--, i || (t = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = {});
37
+ };
38
+ }, c = function(t, n, r) {
39
+ r === void 0 && (r = "data-aria-hidden");
40
+ var i = Array.from(Array.isArray(t) ? t : [t]), a = n || e(t);
41
+ return a ? (i.push.apply(i, Array.from(a.querySelectorAll("[aria-live], script"))), s(i, a, r, "aria-hidden")) : function() {
42
+ return null;
43
+ };
44
+ };
16
45
  //#endregion
17
- export { e as buildLocalizeFn };
46
+ export { c as hideOthers };
package/dist/index51.cjs CHANGED
@@ -1 +1 @@
1
- function e(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}exports.buildLocalizeFn=e;
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/index51.js CHANGED
@@ -1,22 +1,19 @@
1
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
2
- function e(e) {
3
- return (r, i = {}) => {
4
- let a = i.width, o = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], s = r.match(o);
5
- if (!s) return null;
6
- let c = s[0], l = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(l) ? n(l, (e) => e.test(c)) : t(l, (e) => e.test(c)), d;
7
- d = e.valueCallback ? e.valueCallback(u) : u, d = i.valueCallback ? i.valueCallback(d) : d;
8
- let f = r.slice(c.length);
9
- return {
10
- value: d,
11
- rest: f
12
- };
13
- };
14
- }
1
+ //#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
2
+ var e = function() {
3
+ return e = Object.assign || function(e) {
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]);
5
+ return e;
6
+ }, e.apply(this, arguments);
7
+ };
15
8
  function t(e, t) {
16
- for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
9
+ var n = {};
10
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
11
+ if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
12
+ return n;
17
13
  }
18
- function n(e, t) {
19
- for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
14
+ function n(e, t, n) {
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
+ return e.concat(a || Array.prototype.slice.call(t));
20
17
  }
21
18
  //#endregion
22
- export { e as buildMatchFn };
19
+ export { e as __assign, t as __rest, n as __spreadArray };
package/dist/index52.cjs CHANGED
@@ -1 +1 @@
1
- function e(e){return(r,i={})=>{let a=i.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=r.match(o);if(!s)return null;let c=s[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?n(l,e=>e.test(c)):t(l,e=>e.test(c)),d;d=e.valueCallback?e.valueCallback(u):u,d=i.valueCallback?i.valueCallback(d):d;let f=r.slice(c.length);return{value:d,rest:f}}}function t(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function n(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}exports.buildMatchFn=e;
1
+ var e=function(){return e=Object.assign||function(e){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]);return e},e.apply(this,arguments)};function t(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function n(e,t,n){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]);return e.concat(a||Array.prototype.slice.call(t))}Object.defineProperty(exports,"__assign",{enumerable:!0,get:function(){return e}}),exports.__rest=t,exports.__spreadArray=n;
package/dist/index52.js CHANGED
@@ -1,18 +1,4 @@
1
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
2
- function e(e) {
3
- return (t, n = {}) => {
4
- let r = t.match(e.matchPattern);
5
- if (!r) return null;
6
- let i = r[0], a = t.match(e.parsePattern);
7
- if (!a) return null;
8
- let o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
9
- o = n.valueCallback ? n.valueCallback(o) : o;
10
- let s = t.slice(i.length);
11
- return {
12
- value: o,
13
- rest: s
14
- };
15
- };
16
- }
1
+ //#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.17_react@19.2.8/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
2
+ var e = "right-scroll-bar-position", t = "width-before-scroll-bar", n = "with-scroll-bars-hidden", r = "--removed-body-scroll-bar-size";
17
3
  //#endregion
18
- export { e as buildMatchPatternFn };
4
+ export { t as fullWidthClassName, n as noScrollbarsClassName, r as removedBarSizeVariable, e as zeroRightClassName };
package/dist/index53.cjs CHANGED
@@ -1 +1 @@
1
- function e(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}exports.buildMatchPatternFn=e;
1
+ var e=`right-scroll-bar-position`,t=`width-before-scroll-bar`,n=`with-scroll-bars-hidden`,r=`--removed-body-scroll-bar-size`;exports.fullWidthClassName=t,exports.noScrollbarsClassName=n,exports.removedBarSizeVariable=r,exports.zeroRightClassName=e;
package/dist/index53.js CHANGED
@@ -1,6 +1,6 @@
1
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
2
- var e = 365.2425, t = 6048e5, n = 864e5, r = 3600 * 24;
3
- r * 7, r * e / 12 * 3;
4
- var i = Symbol.for("constructDateFrom");
1
+ //#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/use-callback-ref/dist/es2015/assignRef.js
2
+ function e(e, t) {
3
+ return typeof e == "function" ? e(t) : e && (e.current = t), e;
4
+ }
5
5
  //#endregion
6
- export { i as constructFromSymbol, n as millisecondsInDay, t as millisecondsInWeek };
6
+ export { e as assignRef };
package/dist/index54.cjs CHANGED
@@ -1 +1 @@
1
- var e=365.2425,t=6048e5,n=864e5,r=3600*24;r*7,r*e/12*3;var i=Symbol.for(`constructDateFrom`);exports.constructFromSymbol=i,exports.millisecondsInDay=n,exports.millisecondsInWeek=t;
1
+ function e(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}exports.assignRef=e;
package/dist/index54.js CHANGED
@@ -1,7 +1,22 @@
1
- import { constructFromSymbol as e } from "./index53.js";
2
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
1
+ import { useState as e } from "react";
2
+ //#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/use-callback-ref/dist/es2015/useRef.js
3
3
  function t(t, n) {
4
- return typeof t == "function" ? t(n) : t && typeof t == "object" && e in t ? t[e](n) : t instanceof Date ? new t.constructor(n) : new Date(n);
4
+ var r = e(function() {
5
+ return {
6
+ value: t,
7
+ callback: n,
8
+ facade: {
9
+ get current() {
10
+ return r.value;
11
+ },
12
+ set current(e) {
13
+ var t = r.value;
14
+ t !== e && (r.value = e, r.callback(e, t));
15
+ }
16
+ }
17
+ };
18
+ })[0];
19
+ return r.callback = n, r.facade;
5
20
  }
6
21
  //#endregion
7
- export { t as default };
22
+ export { t as useCallbackRef };
package/dist/index55.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index54.cjs");function t(t,n){return typeof t==`function`?t(n):t&&typeof t==`object`&&e.constructFromSymbol in t?t[e.constructFromSymbol](n):t instanceof Date?new t.constructor(n):new Date(n)}exports.default=t;
1
+ let e=require("react");function t(t,n){var r=(0,e.useState)(function(){return{value:t,callback:n,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0];return r.callback=n,r.facade}exports.useCallbackRef=t;
package/dist/index55.js CHANGED
@@ -1,8 +1,26 @@
1
- import e from "./index54.js";
2
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
3
- function t(t, ...n) {
4
- let r = e.bind(null, t || n.find((e) => typeof e == "object"));
5
- return n.map(r);
1
+ import { assignRef as e } from "./index53.js";
2
+ import { useCallbackRef as t } from "./index54.js";
3
+ import * as n from "react";
4
+ //#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
5
+ var r = typeof window < "u" ? n.useLayoutEffect : n.useEffect, i = /* @__PURE__ */ new WeakMap();
6
+ function a(n, a) {
7
+ var o = t(a || null, function(t) {
8
+ return n.forEach(function(n) {
9
+ return e(n, t);
10
+ });
11
+ });
12
+ return r(function() {
13
+ var t = i.get(o);
14
+ if (t) {
15
+ var r = new Set(t), a = new Set(n), s = o.current;
16
+ r.forEach(function(t) {
17
+ a.has(t) || e(t, null);
18
+ }), a.forEach(function(t) {
19
+ r.has(t) || e(t, s);
20
+ });
21
+ }
22
+ i.set(o, n);
23
+ }, [n]), o;
6
24
  }
7
25
  //#endregion
8
- export { t as normalizeDates };
26
+ export { a as useMergeRefs };
package/dist/index56.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index55.cjs");function t(t,...n){let r=e.default.bind(null,t||n.find(e=>typeof e==`object`));return n.map(r)}exports.normalizeDates=t;
1
+ const e=require("./index2.cjs"),t=require("./index54.cjs"),n=require("./index55.cjs");let r=require("react");r=e.__toESM(r);var i=typeof window<`u`?r.useLayoutEffect:r.useEffect,a=new WeakMap;function o(e,r){var o=n.useCallbackRef(r||null,function(n){return e.forEach(function(e){return t.assignRef(e,n)})});return i(function(){var n=a.get(o);if(n){var r=new Set(n),i=new Set(e),s=o.current;r.forEach(function(e){i.has(e)||t.assignRef(e,null)}),i.forEach(function(e){r.has(e)||t.assignRef(e,s)})}a.set(o,e)},[e]),o}exports.useMergeRefs=o;
package/dist/index56.js CHANGED
@@ -1,7 +1,69 @@
1
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js
2
- var e = {};
3
- function t() {
1
+ import { __assign as e } from "./index51.js";
2
+ //#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.17_react@19.2.8/node_modules/use-sidecar/dist/es2015/medium.js
3
+ function t(e) {
4
4
  return e;
5
5
  }
6
+ function n(e, n) {
7
+ n === void 0 && (n = t);
8
+ var r = [], i = !1;
9
+ return {
10
+ read: function() {
11
+ if (i) throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
12
+ return r.length ? r[r.length - 1] : e;
13
+ },
14
+ useMedium: function(e) {
15
+ var t = n(e, i);
16
+ return r.push(t), function() {
17
+ r = r.filter(function(e) {
18
+ return e !== t;
19
+ });
20
+ };
21
+ },
22
+ assignSyncMedium: function(e) {
23
+ for (i = !0; r.length;) {
24
+ var t = r;
25
+ r = [], t.forEach(e);
26
+ }
27
+ r = {
28
+ push: function(t) {
29
+ return e(t);
30
+ },
31
+ filter: function() {
32
+ return r;
33
+ }
34
+ };
35
+ },
36
+ assignMedium: function(e) {
37
+ i = !0;
38
+ var t = [];
39
+ if (r.length) {
40
+ var n = r;
41
+ r = [], n.forEach(e), t = r;
42
+ }
43
+ var a = function() {
44
+ var n = t;
45
+ t = [], n.forEach(e);
46
+ }, o = function() {
47
+ return Promise.resolve().then(a);
48
+ };
49
+ o(), r = {
50
+ push: function(e) {
51
+ t.push(e), o();
52
+ },
53
+ filter: function(e) {
54
+ return t = t.filter(e), r;
55
+ }
56
+ };
57
+ }
58
+ };
59
+ }
60
+ function r(t) {
61
+ t === void 0 && (t = {});
62
+ var r = n(null);
63
+ return r.options = e({
64
+ async: !0,
65
+ ssr: !1
66
+ }, t), r;
67
+ }
6
68
  //#endregion
7
- export { t as getDefaultOptions };
69
+ export { r as createSidecarMedium };
package/dist/index57.cjs CHANGED
@@ -1 +1 @@
1
- var e={};function t(){return e}exports.getDefaultOptions=t;
1
+ const e=require("./index52.cjs");function t(e){return e}function n(e,n){n===void 0&&(n=t);var r=[],i=!1;return{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var t=n(e,i);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){i=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),r={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),r}}}}}function r(t){t===void 0&&(t={});var r=n(null);return r.options=e.__assign({async:!0,ssr:!1},t),r}exports.createSidecarMedium=r;
package/dist/index57.js CHANGED
@@ -1,7 +1,16 @@
1
- import e from "./index54.js";
2
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
3
- function t(t, n) {
4
- return e(n || t, t);
1
+ import { __assign as e, __rest as t } from "./index51.js";
2
+ import * as n from "react";
3
+ //#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.17_react@19.2.8/node_modules/use-sidecar/dist/es2015/exports.js
4
+ var r = function(r) {
5
+ var i = r.sideCar, a = t(r, ["sideCar"]);
6
+ if (!i) throw Error("Sidecar: please provide `sideCar` property to import the right car");
7
+ var o = i.read();
8
+ if (!o) throw Error("Sidecar medium not found");
9
+ return n.createElement(o, e({}, a));
10
+ };
11
+ r.isSideCarExport = !0;
12
+ function i(e, t) {
13
+ return e.useMedium(t), r;
5
14
  }
6
15
  //#endregion
7
- export { t as default };
16
+ export { i as exportSidecar };
package/dist/index58.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index55.cjs");function t(t,n){return e.default(n||t,t)}exports.default=t;
1
+ const e=require("./index2.cjs"),t=require("./index52.cjs");let n=require("react");n=e.__toESM(n);var r=function(e){var r=e.sideCar,i=t.__rest(e,[`sideCar`]);if(!r)throw Error("Sidecar: please provide `sideCar` property to import the right car");var a=r.read();if(!a)throw Error(`Sidecar medium not found`);return n.createElement(a,t.__assign({},i))};r.isSideCarExport=!0;function i(e,t){return e.useMedium(t),r}exports.exportSidecar=i;
package/dist/index58.js CHANGED
@@ -1,9 +1,5 @@
1
- import { getDefaultOptions as e } from "./index56.js";
2
- import t from "./index57.js";
3
- //#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
4
- function n(n, r) {
5
- let i = e(), a = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, o = t(n, r?.in), s = o.getDay(), c = (s < a ? 7 : 0) + s - a;
6
- return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
7
- }
1
+ import { createSidecarMedium as e } from "./index56.js";
2
+ //#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.17_react@19.2.8/node_modules/react-remove-scroll/dist/es2015/medium.js
3
+ var t = e();
8
4
  //#endregion
9
- export { n as default };
5
+ export { t as effectCar };
package/dist/index59.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index57.cjs"),t=require("./index58.cjs");function n(n,r){let i=e.getDefaultOptions(),a=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,o=t.default(n,r?.in),s=o.getDay(),c=(s<a?7:0)+s-a;return o.setDate(o.getDate()-c),o.setHours(0,0,0,0),o}exports.default=n;
1
+ var e=require("./index57.cjs").createSidecarMedium();exports.effectCar=e;