@anoki/fse-ui 1.0.640 → 1.0.641

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 (785) hide show
  1. package/dist/components/ui/AuthorWithImage/AuthorWithImage.css +1 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.cjs10.js.map +1 -1
  4. package/dist/index.cjs100.js.map +1 -1
  5. package/dist/index.cjs102.js.map +1 -1
  6. package/dist/index.cjs104.js.map +1 -1
  7. package/dist/index.cjs105.js.map +1 -1
  8. package/dist/index.cjs106.js.map +1 -1
  9. package/dist/index.cjs107.js.map +1 -1
  10. package/dist/index.cjs108.js.map +1 -1
  11. package/dist/index.cjs109.js.map +1 -1
  12. package/dist/index.cjs11.js.map +1 -1
  13. package/dist/index.cjs110.js.map +1 -1
  14. package/dist/index.cjs111.js.map +1 -1
  15. package/dist/index.cjs112.js.map +1 -1
  16. package/dist/index.cjs113.js.map +1 -1
  17. package/dist/index.cjs115.js.map +1 -1
  18. package/dist/index.cjs116.js.map +1 -1
  19. package/dist/index.cjs118.js.map +1 -1
  20. package/dist/index.cjs12.js.map +1 -1
  21. package/dist/index.cjs120.js.map +1 -1
  22. package/dist/index.cjs121.js.map +1 -1
  23. package/dist/index.cjs122.js.map +1 -1
  24. package/dist/index.cjs123.js.map +1 -1
  25. package/dist/index.cjs124.js.map +1 -1
  26. package/dist/index.cjs125.js.map +1 -1
  27. package/dist/index.cjs126.js.map +1 -1
  28. package/dist/index.cjs127.js.map +1 -1
  29. package/dist/index.cjs128.js.map +1 -1
  30. package/dist/index.cjs129.js.map +1 -1
  31. package/dist/index.cjs13.js.map +1 -1
  32. package/dist/index.cjs130.js.map +1 -1
  33. package/dist/index.cjs131.js.map +1 -1
  34. package/dist/index.cjs132.js.map +1 -1
  35. package/dist/index.cjs133.js.map +1 -1
  36. package/dist/index.cjs134.js.map +1 -1
  37. package/dist/index.cjs135.js.map +1 -1
  38. package/dist/index.cjs136.js.map +1 -1
  39. package/dist/index.cjs137.js.map +1 -1
  40. package/dist/index.cjs138.js.map +1 -1
  41. package/dist/index.cjs139.js.map +1 -1
  42. package/dist/index.cjs14.js.map +1 -1
  43. package/dist/index.cjs140.js.map +1 -1
  44. package/dist/index.cjs141.js.map +1 -1
  45. package/dist/index.cjs142.js.map +1 -1
  46. package/dist/index.cjs143.js.map +1 -1
  47. package/dist/index.cjs144.js.map +1 -1
  48. package/dist/index.cjs145.js.map +1 -1
  49. package/dist/index.cjs146.js.map +1 -1
  50. package/dist/index.cjs147.js.map +1 -1
  51. package/dist/index.cjs148.js.map +1 -1
  52. package/dist/index.cjs149.js.map +1 -1
  53. package/dist/index.cjs15.js.map +1 -1
  54. package/dist/index.cjs150.js.map +1 -1
  55. package/dist/index.cjs151.js.map +1 -1
  56. package/dist/index.cjs152.js.map +1 -1
  57. package/dist/index.cjs153.js.map +1 -1
  58. package/dist/index.cjs154.js.map +1 -1
  59. package/dist/index.cjs155.js.map +1 -1
  60. package/dist/index.cjs156.js.map +1 -1
  61. package/dist/index.cjs157.js.map +1 -1
  62. package/dist/index.cjs158.js.map +1 -1
  63. package/dist/index.cjs159.js.map +1 -1
  64. package/dist/index.cjs16.js.map +1 -1
  65. package/dist/index.cjs160.js.map +1 -1
  66. package/dist/index.cjs161.js.map +1 -1
  67. package/dist/index.cjs162.js.map +1 -1
  68. package/dist/index.cjs163.js.map +1 -1
  69. package/dist/index.cjs164.js.map +1 -1
  70. package/dist/index.cjs165.js.map +1 -1
  71. package/dist/index.cjs166.js.map +1 -1
  72. package/dist/index.cjs167.js.map +1 -1
  73. package/dist/index.cjs168.js.map +1 -1
  74. package/dist/index.cjs17.js.map +1 -1
  75. package/dist/index.cjs174.js.map +1 -1
  76. package/dist/index.cjs175.js.map +1 -1
  77. package/dist/index.cjs176.js.map +1 -1
  78. package/dist/index.cjs18.js.map +1 -1
  79. package/dist/index.cjs19.js.map +1 -1
  80. package/dist/index.cjs20.js.map +1 -1
  81. package/dist/index.cjs200.js +1 -1
  82. package/dist/index.cjs207.js +1 -1
  83. package/dist/index.cjs209.js.map +1 -1
  84. package/dist/index.cjs21.js.map +1 -1
  85. package/dist/index.cjs212.js.map +1 -1
  86. package/dist/index.cjs215.js.map +1 -1
  87. package/dist/index.cjs219.js.map +1 -1
  88. package/dist/index.cjs22.js.map +1 -1
  89. package/dist/index.cjs222.js.map +1 -1
  90. package/dist/index.cjs225.js +1 -1
  91. package/dist/index.cjs228.js.map +1 -1
  92. package/dist/index.cjs229.js +1 -1
  93. package/dist/index.cjs229.js.map +1 -1
  94. package/dist/index.cjs23.js.map +1 -1
  95. package/dist/index.cjs230.js.map +1 -1
  96. package/dist/index.cjs236.js +1 -1
  97. package/dist/index.cjs237.js.map +1 -1
  98. package/dist/index.cjs240.js.map +1 -1
  99. package/dist/index.cjs245.js.map +1 -1
  100. package/dist/index.cjs246.js +1 -1
  101. package/dist/index.cjs25.js.map +1 -1
  102. package/dist/index.cjs251.js.map +1 -1
  103. package/dist/index.cjs253.js +1 -1
  104. package/dist/index.cjs254.js.map +1 -1
  105. package/dist/index.cjs255.js.map +1 -1
  106. package/dist/index.cjs256.js.map +1 -1
  107. package/dist/index.cjs257.js.map +1 -1
  108. package/dist/index.cjs259.js.map +1 -1
  109. package/dist/index.cjs26.js.map +1 -1
  110. package/dist/index.cjs260.js +1 -1
  111. package/dist/index.cjs260.js.map +1 -1
  112. package/dist/index.cjs261.js +1 -1
  113. package/dist/index.cjs261.js.map +1 -1
  114. package/dist/index.cjs264.js.map +1 -1
  115. package/dist/index.cjs265.js +1 -1
  116. package/dist/index.cjs265.js.map +1 -1
  117. package/dist/index.cjs27.js.map +1 -1
  118. package/dist/index.cjs270.js +1 -1
  119. package/dist/index.cjs270.js.map +1 -1
  120. package/dist/index.cjs271.js.map +1 -1
  121. package/dist/index.cjs272.js +1 -1
  122. package/dist/index.cjs272.js.map +1 -1
  123. package/dist/index.cjs274.js.map +1 -1
  124. package/dist/index.cjs275.js.map +1 -1
  125. package/dist/index.cjs276.js.map +1 -1
  126. package/dist/index.cjs279.js.map +1 -1
  127. package/dist/index.cjs28.js.map +1 -1
  128. package/dist/index.cjs280.js +1 -1
  129. package/dist/index.cjs30.js.map +1 -1
  130. package/dist/index.cjs31.js.map +1 -1
  131. package/dist/index.cjs318.js +1 -1
  132. package/dist/index.cjs32.js.map +1 -1
  133. package/dist/index.cjs326.js.map +1 -1
  134. package/dist/index.cjs33.js.map +1 -1
  135. package/dist/index.cjs331.js +1 -1
  136. package/dist/index.cjs337.js.map +1 -1
  137. package/dist/index.cjs339.js.map +1 -1
  138. package/dist/index.cjs343.js.map +1 -1
  139. package/dist/index.cjs345.js +1 -1
  140. package/dist/index.cjs346.js +1 -1
  141. package/dist/index.cjs347.js +1 -1
  142. package/dist/index.cjs35.js.map +1 -1
  143. package/dist/index.cjs355.js +1 -1
  144. package/dist/index.cjs356.js +1 -1
  145. package/dist/index.cjs357.js +1 -27
  146. package/dist/index.cjs357.js.map +1 -1
  147. package/dist/index.cjs358.js +2 -1
  148. package/dist/index.cjs358.js.map +1 -1
  149. package/dist/index.cjs359.js +27 -1
  150. package/dist/index.cjs359.js.map +1 -1
  151. package/dist/index.cjs36.js.map +1 -1
  152. package/dist/index.cjs360.js +1 -1
  153. package/dist/index.cjs360.js.map +1 -1
  154. package/dist/index.cjs361.js +1 -2
  155. package/dist/index.cjs361.js.map +1 -1
  156. package/dist/index.cjs362.js +2 -0
  157. package/dist/index.cjs362.js.map +1 -0
  158. package/dist/index.cjs366.js +1 -1
  159. package/dist/index.cjs366.js.map +1 -1
  160. package/dist/index.cjs367.js +1 -1
  161. package/dist/index.cjs367.js.map +1 -1
  162. package/dist/index.cjs368.js +1 -1
  163. package/dist/index.cjs368.js.map +1 -1
  164. package/dist/index.cjs369.js +1 -1
  165. package/dist/index.cjs369.js.map +1 -1
  166. package/dist/index.cjs37.js.map +1 -1
  167. package/dist/index.cjs370.js +1 -1
  168. package/dist/index.cjs370.js.map +1 -1
  169. package/dist/index.cjs371.js +2 -0
  170. package/dist/index.cjs371.js.map +1 -0
  171. package/dist/index.cjs372.js +2 -0
  172. package/dist/index.cjs372.js.map +1 -0
  173. package/dist/index.cjs376.js +1 -1
  174. package/dist/index.cjs376.js.map +1 -1
  175. package/dist/index.cjs377.js +1 -1
  176. package/dist/index.cjs377.js.map +1 -1
  177. package/dist/index.cjs378.js +1 -1
  178. package/dist/index.cjs378.js.map +1 -1
  179. package/dist/index.cjs379.js +2 -0
  180. package/dist/index.cjs379.js.map +1 -0
  181. package/dist/index.cjs38.js.map +1 -1
  182. package/dist/index.cjs380.js +2 -0
  183. package/dist/index.cjs380.js.map +1 -0
  184. package/dist/index.cjs381.js +2 -0
  185. package/dist/index.cjs381.js.map +1 -0
  186. package/dist/index.cjs382.js +1 -1
  187. package/dist/index.cjs382.js.map +1 -1
  188. package/dist/index.cjs383.js +1 -1
  189. package/dist/index.cjs383.js.map +1 -1
  190. package/dist/index.cjs384.js +1 -1
  191. package/dist/index.cjs384.js.map +1 -1
  192. package/dist/index.cjs385.js +1 -1
  193. package/dist/index.cjs385.js.map +1 -1
  194. package/dist/index.cjs39.js.map +1 -1
  195. package/dist/index.cjs397.js +2 -0
  196. package/dist/index.cjs397.js.map +1 -0
  197. package/dist/index.cjs40.js.map +1 -1
  198. package/dist/index.cjs401.js +1 -1
  199. package/dist/index.cjs401.js.map +1 -1
  200. package/dist/index.cjs402.js +1 -1
  201. package/dist/index.cjs402.js.map +1 -1
  202. package/dist/index.cjs403.js +1 -1
  203. package/dist/index.cjs403.js.map +1 -1
  204. package/dist/index.cjs404.js +1 -1
  205. package/dist/index.cjs404.js.map +1 -1
  206. package/dist/index.cjs405.js +1 -1
  207. package/dist/index.cjs405.js.map +1 -1
  208. package/dist/{index.cjs400.js → index.cjs406.js} +1 -1
  209. package/dist/{index.cjs400.js.map → index.cjs406.js.map} +1 -1
  210. package/dist/index.cjs407.js +1 -1
  211. package/dist/index.cjs407.js.map +1 -1
  212. package/dist/index.cjs408.js +1 -1
  213. package/dist/index.cjs408.js.map +1 -1
  214. package/dist/index.cjs409.js +1 -1
  215. package/dist/index.cjs409.js.map +1 -1
  216. package/dist/index.cjs41.js.map +1 -1
  217. package/dist/index.cjs410.js +1 -1
  218. package/dist/index.cjs410.js.map +1 -1
  219. package/dist/index.cjs411.js +1 -1
  220. package/dist/index.cjs411.js.map +1 -1
  221. package/dist/index.cjs412.js +1 -1
  222. package/dist/index.cjs412.js.map +1 -1
  223. package/dist/index.cjs413.js +1 -1
  224. package/dist/index.cjs413.js.map +1 -1
  225. package/dist/index.cjs414.js +1 -1
  226. package/dist/index.cjs414.js.map +1 -1
  227. package/dist/index.cjs415.js +1 -1
  228. package/dist/index.cjs415.js.map +1 -1
  229. package/dist/index.cjs416.js +1 -1
  230. package/dist/index.cjs416.js.map +1 -1
  231. package/dist/index.cjs417.js +1 -4
  232. package/dist/index.cjs417.js.map +1 -1
  233. package/dist/index.cjs418.js +1 -1
  234. package/dist/index.cjs418.js.map +1 -1
  235. package/dist/index.cjs419.js +1 -1
  236. package/dist/index.cjs419.js.map +1 -1
  237. package/dist/index.cjs42.js.map +1 -1
  238. package/dist/index.cjs420.js +1 -1
  239. package/dist/index.cjs420.js.map +1 -1
  240. package/dist/index.cjs421.js +1 -1
  241. package/dist/index.cjs421.js.map +1 -1
  242. package/dist/index.cjs422.js +1 -38
  243. package/dist/index.cjs422.js.map +1 -1
  244. package/dist/index.cjs423.js +1 -1
  245. package/dist/index.cjs423.js.map +1 -1
  246. package/dist/index.cjs424.js +1 -1
  247. package/dist/index.cjs424.js.map +1 -1
  248. package/dist/index.cjs425.js +1 -1
  249. package/dist/index.cjs425.js.map +1 -1
  250. package/dist/index.cjs426.js +1 -1
  251. package/dist/index.cjs426.js.map +1 -1
  252. package/dist/index.cjs427.js +1 -1
  253. package/dist/index.cjs427.js.map +1 -1
  254. package/dist/index.cjs428.js +1 -1
  255. package/dist/index.cjs428.js.map +1 -1
  256. package/dist/index.cjs429.js +1 -1
  257. package/dist/index.cjs429.js.map +1 -1
  258. package/dist/index.cjs43.js.map +1 -1
  259. package/dist/index.cjs430.js +1 -1
  260. package/dist/index.cjs430.js.map +1 -1
  261. package/dist/index.cjs431.js +1 -1
  262. package/dist/index.cjs431.js.map +1 -1
  263. package/dist/index.cjs432.js +1 -1
  264. package/dist/index.cjs432.js.map +1 -1
  265. package/dist/index.cjs433.js +2 -0
  266. package/dist/index.cjs433.js.map +1 -0
  267. package/dist/index.cjs434.js +2 -0
  268. package/dist/index.cjs434.js.map +1 -0
  269. package/dist/index.cjs435.js +1 -1
  270. package/dist/index.cjs435.js.map +1 -1
  271. package/dist/index.cjs436.js +4 -1
  272. package/dist/index.cjs436.js.map +1 -1
  273. package/dist/index.cjs437.js +1 -1
  274. package/dist/index.cjs437.js.map +1 -1
  275. package/dist/index.cjs438.js +5 -1
  276. package/dist/index.cjs438.js.map +1 -1
  277. package/dist/index.cjs439.js +1 -1
  278. package/dist/index.cjs439.js.map +1 -1
  279. package/dist/index.cjs44.js.map +1 -1
  280. package/dist/index.cjs440.js +1 -1
  281. package/dist/index.cjs440.js.map +1 -1
  282. package/dist/index.cjs441.js +1 -1
  283. package/dist/index.cjs441.js.map +1 -1
  284. package/dist/index.cjs442.js +1 -1
  285. package/dist/index.cjs442.js.map +1 -1
  286. package/dist/index.cjs443.js +1 -1
  287. package/dist/index.cjs443.js.map +1 -1
  288. package/dist/index.cjs444.js +1 -1
  289. package/dist/index.cjs444.js.map +1 -1
  290. package/dist/index.cjs445.js +1 -1
  291. package/dist/index.cjs445.js.map +1 -1
  292. package/dist/index.cjs446.js +1 -1
  293. package/dist/index.cjs446.js.map +1 -1
  294. package/dist/index.cjs447.js +1 -1
  295. package/dist/index.cjs447.js.map +1 -1
  296. package/dist/index.cjs448.js +1 -1
  297. package/dist/index.cjs448.js.map +1 -1
  298. package/dist/index.cjs449.js +38 -1
  299. package/dist/index.cjs449.js.map +1 -1
  300. package/dist/index.cjs45.js.map +1 -1
  301. package/dist/index.cjs450.js +1 -5
  302. package/dist/index.cjs450.js.map +1 -1
  303. package/dist/index.cjs451.js +1 -1
  304. package/dist/index.cjs451.js.map +1 -1
  305. package/dist/index.cjs452.js +1 -1
  306. package/dist/index.cjs452.js.map +1 -1
  307. package/dist/index.cjs453.js +1 -1
  308. package/dist/index.cjs453.js.map +1 -1
  309. package/dist/index.cjs454.js +1 -1
  310. package/dist/index.cjs454.js.map +1 -1
  311. package/dist/index.cjs455.js +1 -1
  312. package/dist/index.cjs455.js.map +1 -1
  313. package/dist/index.cjs456.js +1 -1
  314. package/dist/index.cjs456.js.map +1 -1
  315. package/dist/index.cjs457.js +1 -1
  316. package/dist/index.cjs457.js.map +1 -1
  317. package/dist/index.cjs458.js +1 -1
  318. package/dist/index.cjs458.js.map +1 -1
  319. package/dist/index.cjs459.js +1 -1
  320. package/dist/index.cjs459.js.map +1 -1
  321. package/dist/index.cjs46.js.map +1 -1
  322. package/dist/index.cjs460.js +1 -1
  323. package/dist/index.cjs460.js.map +1 -1
  324. package/dist/index.cjs47.js.map +1 -1
  325. package/dist/index.cjs48.js.map +1 -1
  326. package/dist/index.cjs49.js.map +1 -1
  327. package/dist/index.cjs50.js.map +1 -1
  328. package/dist/index.cjs51.js.map +1 -1
  329. package/dist/index.cjs52.js.map +1 -1
  330. package/dist/index.cjs53.js.map +1 -1
  331. package/dist/index.cjs54.js.map +1 -1
  332. package/dist/index.cjs55.js.map +1 -1
  333. package/dist/index.cjs57.js.map +1 -1
  334. package/dist/index.cjs58.js.map +1 -1
  335. package/dist/index.cjs59.js.map +1 -1
  336. package/dist/index.cjs6.js.map +1 -1
  337. package/dist/index.cjs60.js.map +1 -1
  338. package/dist/index.cjs61.js.map +1 -1
  339. package/dist/index.cjs62.js.map +1 -1
  340. package/dist/index.cjs63.js.map +1 -1
  341. package/dist/index.cjs64.js.map +1 -1
  342. package/dist/index.cjs65.js.map +1 -1
  343. package/dist/index.cjs68.js.map +1 -1
  344. package/dist/index.cjs69.js.map +1 -1
  345. package/dist/index.cjs7.js.map +1 -1
  346. package/dist/index.cjs70.js.map +1 -1
  347. package/dist/index.cjs72.js.map +1 -1
  348. package/dist/index.cjs73.js.map +1 -1
  349. package/dist/index.cjs74.js.map +1 -1
  350. package/dist/index.cjs75.js.map +1 -1
  351. package/dist/index.cjs76.js.map +1 -1
  352. package/dist/index.cjs77.js.map +1 -1
  353. package/dist/index.cjs78.js.map +1 -1
  354. package/dist/index.cjs79.js.map +1 -1
  355. package/dist/index.cjs8.js.map +1 -1
  356. package/dist/index.cjs80.js.map +1 -1
  357. package/dist/index.cjs81.js.map +1 -1
  358. package/dist/index.cjs82.js.map +1 -1
  359. package/dist/index.cjs83.js.map +1 -1
  360. package/dist/index.cjs84.js.map +1 -1
  361. package/dist/index.cjs85.js.map +1 -1
  362. package/dist/index.cjs86.js.map +1 -1
  363. package/dist/index.cjs87.js.map +1 -1
  364. package/dist/index.cjs88.js.map +1 -1
  365. package/dist/index.cjs89.js.map +1 -1
  366. package/dist/index.cjs91.js.map +1 -1
  367. package/dist/index.cjs92.js.map +1 -1
  368. package/dist/index.cjs93.js.map +1 -1
  369. package/dist/index.cjs95.js.map +1 -1
  370. package/dist/index.cjs96.js.map +1 -1
  371. package/dist/index.cjs97.js.map +1 -1
  372. package/dist/index.cjs98.js.map +1 -1
  373. package/dist/index.cjs99.js.map +1 -1
  374. package/dist/index.es.js.map +1 -1
  375. package/dist/index.es10.js.map +1 -1
  376. package/dist/index.es100.js.map +1 -1
  377. package/dist/index.es102.js.map +1 -1
  378. package/dist/index.es104.js.map +1 -1
  379. package/dist/index.es105.js.map +1 -1
  380. package/dist/index.es106.js.map +1 -1
  381. package/dist/index.es107.js.map +1 -1
  382. package/dist/index.es108.js.map +1 -1
  383. package/dist/index.es109.js.map +1 -1
  384. package/dist/index.es11.js.map +1 -1
  385. package/dist/index.es110.js.map +1 -1
  386. package/dist/index.es111.js.map +1 -1
  387. package/dist/index.es112.js.map +1 -1
  388. package/dist/index.es113.js.map +1 -1
  389. package/dist/index.es115.js.map +1 -1
  390. package/dist/index.es116.js.map +1 -1
  391. package/dist/index.es118.js.map +1 -1
  392. package/dist/index.es12.js.map +1 -1
  393. package/dist/index.es120.js.map +1 -1
  394. package/dist/index.es121.js.map +1 -1
  395. package/dist/index.es122.js.map +1 -1
  396. package/dist/index.es123.js.map +1 -1
  397. package/dist/index.es124.js.map +1 -1
  398. package/dist/index.es125.js.map +1 -1
  399. package/dist/index.es126.js.map +1 -1
  400. package/dist/index.es127.js.map +1 -1
  401. package/dist/index.es128.js.map +1 -1
  402. package/dist/index.es129.js.map +1 -1
  403. package/dist/index.es13.js.map +1 -1
  404. package/dist/index.es130.js.map +1 -1
  405. package/dist/index.es131.js.map +1 -1
  406. package/dist/index.es132.js.map +1 -1
  407. package/dist/index.es133.js.map +1 -1
  408. package/dist/index.es134.js.map +1 -1
  409. package/dist/index.es135.js.map +1 -1
  410. package/dist/index.es136.js.map +1 -1
  411. package/dist/index.es137.js.map +1 -1
  412. package/dist/index.es138.js.map +1 -1
  413. package/dist/index.es139.js.map +1 -1
  414. package/dist/index.es14.js.map +1 -1
  415. package/dist/index.es140.js.map +1 -1
  416. package/dist/index.es141.js.map +1 -1
  417. package/dist/index.es142.js.map +1 -1
  418. package/dist/index.es143.js.map +1 -1
  419. package/dist/index.es144.js.map +1 -1
  420. package/dist/index.es145.js.map +1 -1
  421. package/dist/index.es146.js.map +1 -1
  422. package/dist/index.es147.js.map +1 -1
  423. package/dist/index.es148.js.map +1 -1
  424. package/dist/index.es149.js.map +1 -1
  425. package/dist/index.es15.js.map +1 -1
  426. package/dist/index.es150.js.map +1 -1
  427. package/dist/index.es151.js.map +1 -1
  428. package/dist/index.es152.js.map +1 -1
  429. package/dist/index.es153.js.map +1 -1
  430. package/dist/index.es154.js.map +1 -1
  431. package/dist/index.es155.js.map +1 -1
  432. package/dist/index.es156.js.map +1 -1
  433. package/dist/index.es157.js.map +1 -1
  434. package/dist/index.es158.js.map +1 -1
  435. package/dist/index.es159.js.map +1 -1
  436. package/dist/index.es16.js.map +1 -1
  437. package/dist/index.es160.js.map +1 -1
  438. package/dist/index.es161.js.map +1 -1
  439. package/dist/index.es162.js.map +1 -1
  440. package/dist/index.es163.js.map +1 -1
  441. package/dist/index.es164.js.map +1 -1
  442. package/dist/index.es165.js.map +1 -1
  443. package/dist/index.es166.js.map +1 -1
  444. package/dist/index.es167.js.map +1 -1
  445. package/dist/index.es168.js.map +1 -1
  446. package/dist/index.es17.js.map +1 -1
  447. package/dist/index.es174.js.map +1 -1
  448. package/dist/index.es175.js.map +1 -1
  449. package/dist/index.es176.js.map +1 -1
  450. package/dist/index.es18.js.map +1 -1
  451. package/dist/index.es19.js.map +1 -1
  452. package/dist/index.es20.js.map +1 -1
  453. package/dist/index.es200.js +1 -1
  454. package/dist/index.es207.js +2 -2
  455. package/dist/index.es209.js.map +1 -1
  456. package/dist/index.es21.js.map +1 -1
  457. package/dist/index.es212.js.map +1 -1
  458. package/dist/index.es215.js.map +1 -1
  459. package/dist/index.es219.js.map +1 -1
  460. package/dist/index.es22.js.map +1 -1
  461. package/dist/index.es222.js.map +1 -1
  462. package/dist/index.es225.js +7 -7
  463. package/dist/index.es228.js.map +1 -1
  464. package/dist/index.es229.js +1 -1
  465. package/dist/index.es229.js.map +1 -1
  466. package/dist/index.es23.js.map +1 -1
  467. package/dist/index.es230.js.map +1 -1
  468. package/dist/index.es236.js +8 -8
  469. package/dist/index.es237.js.map +1 -1
  470. package/dist/index.es240.js.map +1 -1
  471. package/dist/index.es245.js.map +1 -1
  472. package/dist/index.es246.js +1 -1
  473. package/dist/index.es25.js.map +1 -1
  474. package/dist/index.es251.js.map +1 -1
  475. package/dist/index.es253.js +14 -14
  476. package/dist/index.es254.js.map +1 -1
  477. package/dist/index.es255.js.map +1 -1
  478. package/dist/index.es256.js.map +1 -1
  479. package/dist/index.es257.js.map +1 -1
  480. package/dist/index.es259.js.map +1 -1
  481. package/dist/index.es26.js.map +1 -1
  482. package/dist/index.es260.js +1 -1
  483. package/dist/index.es260.js.map +1 -1
  484. package/dist/index.es261.js +1 -1
  485. package/dist/index.es261.js.map +1 -1
  486. package/dist/index.es264.js.map +1 -1
  487. package/dist/index.es265.js +1 -1
  488. package/dist/index.es265.js.map +1 -1
  489. package/dist/index.es27.js.map +1 -1
  490. package/dist/index.es270.js +1 -1
  491. package/dist/index.es270.js.map +1 -1
  492. package/dist/index.es271.js.map +1 -1
  493. package/dist/index.es272.js +1 -1
  494. package/dist/index.es272.js.map +1 -1
  495. package/dist/index.es274.js.map +1 -1
  496. package/dist/index.es275.js.map +1 -1
  497. package/dist/index.es276.js.map +1 -1
  498. package/dist/index.es279.js.map +1 -1
  499. package/dist/index.es28.js.map +1 -1
  500. package/dist/index.es280.js +7 -7
  501. package/dist/index.es30.js.map +1 -1
  502. package/dist/index.es31.js.map +1 -1
  503. package/dist/index.es318.js +4 -4
  504. package/dist/index.es32.js.map +1 -1
  505. package/dist/index.es326.js.map +1 -1
  506. package/dist/index.es33.js.map +1 -1
  507. package/dist/index.es331.js +8 -8
  508. package/dist/index.es337.js.map +1 -1
  509. package/dist/index.es339.js.map +1 -1
  510. package/dist/index.es343.js.map +1 -1
  511. package/dist/index.es345.js +3 -3
  512. package/dist/index.es346.js +2 -2
  513. package/dist/index.es347.js +3 -3
  514. package/dist/index.es35.js.map +1 -1
  515. package/dist/index.es355.js +1 -1
  516. package/dist/index.es356.js +1 -1
  517. package/dist/index.es357.js +5 -3674
  518. package/dist/index.es357.js.map +1 -1
  519. package/dist/index.es358.js +520 -5
  520. package/dist/index.es358.js.map +1 -1
  521. package/dist/index.es359.js +3675 -2
  522. package/dist/index.es359.js.map +1 -1
  523. package/dist/index.es36.js.map +1 -1
  524. package/dist/index.es360.js +5 -5
  525. package/dist/index.es360.js.map +1 -1
  526. package/dist/index.es361.js +2 -521
  527. package/dist/index.es361.js.map +1 -1
  528. package/dist/index.es362.js +18 -0
  529. package/dist/index.es362.js.map +1 -0
  530. package/dist/index.es366.js +6 -29
  531. package/dist/index.es366.js.map +1 -1
  532. package/dist/index.es367.js +26 -32
  533. package/dist/index.es367.js.map +1 -1
  534. package/dist/index.es368.js +63 -617
  535. package/dist/index.es368.js.map +1 -1
  536. package/dist/index.es369.js +29 -10
  537. package/dist/index.es369.js.map +1 -1
  538. package/dist/index.es37.js.map +1 -1
  539. package/dist/index.es370.js +33 -15
  540. package/dist/index.es370.js.map +1 -1
  541. package/dist/index.es371.js +625 -0
  542. package/dist/index.es371.js.map +1 -0
  543. package/dist/index.es372.js +14 -0
  544. package/dist/index.es372.js.map +1 -0
  545. package/dist/index.es376.js +6 -2
  546. package/dist/index.es376.js.map +1 -1
  547. package/dist/index.es377.js +25 -2
  548. package/dist/index.es377.js.map +1 -1
  549. package/dist/index.es378.js +67 -13
  550. package/dist/index.es378.js.map +1 -1
  551. package/dist/index.es379.js +128 -0
  552. package/dist/index.es379.js.map +1 -0
  553. package/dist/index.es38.js.map +1 -1
  554. package/dist/index.es380.js +138 -0
  555. package/dist/index.es380.js.map +1 -0
  556. package/dist/index.es381.js +17 -0
  557. package/dist/index.es381.js.map +1 -0
  558. package/dist/index.es382.js +12 -122
  559. package/dist/index.es382.js.map +1 -1
  560. package/dist/index.es383.js +8 -134
  561. package/dist/index.es383.js.map +1 -1
  562. package/dist/index.es384.js +50 -14
  563. package/dist/index.es384.js.map +1 -1
  564. package/dist/index.es385.js +51 -13
  565. package/dist/index.es385.js.map +1 -1
  566. package/dist/index.es39.js.map +1 -1
  567. package/dist/index.es397.js +18 -0
  568. package/dist/index.es397.js.map +1 -0
  569. package/dist/index.es40.js.map +1 -1
  570. package/dist/index.es401.js +2030 -44
  571. package/dist/index.es401.js.map +1 -1
  572. package/dist/index.es402.js +59 -7
  573. package/dist/index.es402.js.map +1 -1
  574. package/dist/index.es403.js +187 -216
  575. package/dist/index.es403.js.map +1 -1
  576. package/dist/index.es404.js +2 -178
  577. package/dist/index.es404.js.map +1 -1
  578. package/dist/index.es405.js +2 -4
  579. package/dist/index.es405.js.map +1 -1
  580. package/dist/{index.es400.js → index.es406.js} +1 -1
  581. package/dist/{index.es400.js.map → index.es406.js.map} +1 -1
  582. package/dist/index.es407.js +45 -11
  583. package/dist/index.es407.js.map +1 -1
  584. package/dist/index.es408.js +7 -204
  585. package/dist/index.es408.js.map +1 -1
  586. package/dist/index.es409.js +216 -20
  587. package/dist/index.es409.js.map +1 -1
  588. package/dist/index.es41.js.map +1 -1
  589. package/dist/index.es410.js +170 -385
  590. package/dist/index.es410.js.map +1 -1
  591. package/dist/index.es411.js +3 -24
  592. package/dist/index.es411.js.map +1 -1
  593. package/dist/index.es412.js +12 -29
  594. package/dist/index.es412.js.map +1 -1
  595. package/dist/index.es413.js +2 -7
  596. package/dist/index.es413.js.map +1 -1
  597. package/dist/index.es414.js +10 -5
  598. package/dist/index.es414.js.map +1 -1
  599. package/dist/index.es415.js +178 -3
  600. package/dist/index.es415.js.map +1 -1
  601. package/dist/index.es416.js +3 -23
  602. package/dist/index.es416.js.map +1 -1
  603. package/dist/index.es417.js +128 -105
  604. package/dist/index.es417.js.map +1 -1
  605. package/dist/index.es418.js +204 -15
  606. package/dist/index.es418.js.map +1 -1
  607. package/dist/index.es419.js +21 -522
  608. package/dist/index.es419.js.map +1 -1
  609. package/dist/index.es42.js.map +1 -1
  610. package/dist/index.es420.js +379 -113
  611. package/dist/index.es420.js.map +1 -1
  612. package/dist/index.es421.js +23 -127
  613. package/dist/index.es421.js.map +1 -1
  614. package/dist/index.es422.js +28 -68
  615. package/dist/index.es422.js.map +1 -1
  616. package/dist/index.es423.js +5 -9
  617. package/dist/index.es423.js.map +1 -1
  618. package/dist/index.es424.js +81 -12
  619. package/dist/index.es424.js.map +1 -1
  620. package/dist/index.es425.js +5 -62
  621. package/dist/index.es425.js.map +1 -1
  622. package/dist/index.es426.js +4 -65
  623. package/dist/index.es426.js.map +1 -1
  624. package/dist/index.es427.js +4 -3
  625. package/dist/index.es427.js.map +1 -1
  626. package/dist/index.es428.js +9 -22
  627. package/dist/index.es428.js.map +1 -1
  628. package/dist/index.es429.js +56 -23
  629. package/dist/index.es429.js.map +1 -1
  630. package/dist/index.es43.js.map +1 -1
  631. package/dist/index.es430.js +7 -12
  632. package/dist/index.es430.js.map +1 -1
  633. package/dist/index.es431.js +5 -27
  634. package/dist/index.es431.js.map +1 -1
  635. package/dist/index.es432.js +532 -4
  636. package/dist/index.es432.js.map +1 -1
  637. package/dist/index.es433.js +8 -0
  638. package/dist/index.es433.js.map +1 -0
  639. package/dist/index.es434.js +6 -0
  640. package/dist/index.es434.js.map +1 -0
  641. package/dist/index.es435.js +19 -2027
  642. package/dist/index.es435.js.map +1 -1
  643. package/dist/index.es436.js +108 -58
  644. package/dist/index.es436.js.map +1 -1
  645. package/dist/index.es437.js +15 -188
  646. package/dist/index.es437.js.map +1 -1
  647. package/dist/index.es438.js +40 -5
  648. package/dist/index.es438.js.map +1 -1
  649. package/dist/index.es439.js +2 -4
  650. package/dist/index.es439.js.map +1 -1
  651. package/dist/index.es44.js.map +1 -1
  652. package/dist/index.es440.js +2 -5
  653. package/dist/index.es440.js.map +1 -1
  654. package/dist/index.es441.js +2 -10
  655. package/dist/index.es441.js.map +1 -1
  656. package/dist/index.es442.js +3 -56
  657. package/dist/index.es442.js.map +1 -1
  658. package/dist/index.es443.js +2 -8
  659. package/dist/index.es443.js.map +1 -1
  660. package/dist/index.es444.js +3 -5
  661. package/dist/index.es444.js.map +1 -1
  662. package/dist/index.es445.js +4 -532
  663. package/dist/index.es445.js.map +1 -1
  664. package/dist/index.es446.js +512 -122
  665. package/dist/index.es446.js.map +1 -1
  666. package/dist/index.es447.js +122 -173
  667. package/dist/index.es447.js.map +1 -1
  668. package/dist/index.es448.js +127 -8
  669. package/dist/index.es448.js.map +1 -1
  670. package/dist/index.es449.js +69 -4
  671. package/dist/index.es449.js.map +1 -1
  672. package/dist/index.es45.js.map +1 -1
  673. package/dist/index.es450.js +9 -40
  674. package/dist/index.es450.js.map +1 -1
  675. package/dist/index.es451.js +14 -2
  676. package/dist/index.es451.js.map +1 -1
  677. package/dist/index.es452.js +62 -2
  678. package/dist/index.es452.js.map +1 -1
  679. package/dist/index.es453.js +65 -2
  680. package/dist/index.es453.js.map +1 -1
  681. package/dist/index.es454.js +4 -3
  682. package/dist/index.es454.js.map +1 -1
  683. package/dist/index.es455.js +4 -2
  684. package/dist/index.es455.js.map +1 -1
  685. package/dist/index.es456.js +22 -3
  686. package/dist/index.es456.js.map +1 -1
  687. package/dist/index.es457.js +23 -5
  688. package/dist/index.es457.js.map +1 -1
  689. package/dist/index.es458.js +13 -4
  690. package/dist/index.es458.js.map +1 -1
  691. package/dist/index.es459.js +30 -2
  692. package/dist/index.es459.js.map +1 -1
  693. package/dist/index.es46.js.map +1 -1
  694. package/dist/index.es460.js +5 -83
  695. package/dist/index.es460.js.map +1 -1
  696. package/dist/index.es47.js.map +1 -1
  697. package/dist/index.es48.js.map +1 -1
  698. package/dist/index.es49.js.map +1 -1
  699. package/dist/index.es50.js.map +1 -1
  700. package/dist/index.es51.js.map +1 -1
  701. package/dist/index.es52.js.map +1 -1
  702. package/dist/index.es53.js.map +1 -1
  703. package/dist/index.es54.js.map +1 -1
  704. package/dist/index.es55.js.map +1 -1
  705. package/dist/index.es57.js.map +1 -1
  706. package/dist/index.es58.js.map +1 -1
  707. package/dist/index.es59.js.map +1 -1
  708. package/dist/index.es6.js.map +1 -1
  709. package/dist/index.es60.js.map +1 -1
  710. package/dist/index.es61.js.map +1 -1
  711. package/dist/index.es62.js.map +1 -1
  712. package/dist/index.es63.js.map +1 -1
  713. package/dist/index.es64.js.map +1 -1
  714. package/dist/index.es65.js.map +1 -1
  715. package/dist/index.es68.js.map +1 -1
  716. package/dist/index.es69.js.map +1 -1
  717. package/dist/index.es7.js.map +1 -1
  718. package/dist/index.es70.js.map +1 -1
  719. package/dist/index.es72.js.map +1 -1
  720. package/dist/index.es73.js.map +1 -1
  721. package/dist/index.es74.js.map +1 -1
  722. package/dist/index.es75.js.map +1 -1
  723. package/dist/index.es76.js.map +1 -1
  724. package/dist/index.es77.js.map +1 -1
  725. package/dist/index.es78.js.map +1 -1
  726. package/dist/index.es79.js.map +1 -1
  727. package/dist/index.es8.js.map +1 -1
  728. package/dist/index.es80.js.map +1 -1
  729. package/dist/index.es81.js.map +1 -1
  730. package/dist/index.es82.js.map +1 -1
  731. package/dist/index.es83.js.map +1 -1
  732. package/dist/index.es84.js.map +1 -1
  733. package/dist/index.es85.js.map +1 -1
  734. package/dist/index.es86.js.map +1 -1
  735. package/dist/index.es87.js.map +1 -1
  736. package/dist/index.es88.js.map +1 -1
  737. package/dist/index.es89.js.map +1 -1
  738. package/dist/index.es91.js.map +1 -1
  739. package/dist/index.es92.js.map +1 -1
  740. package/dist/index.es93.js.map +1 -1
  741. package/dist/index.es95.js.map +1 -1
  742. package/dist/index.es96.js.map +1 -1
  743. package/dist/index.es97.js.map +1 -1
  744. package/dist/index.es98.js.map +1 -1
  745. package/dist/index.es99.js.map +1 -1
  746. package/package.json +112 -112
  747. package/readme.md +42 -42
  748. package/dist/index.cjs363.js +0 -2
  749. package/dist/index.cjs363.js.map +0 -1
  750. package/dist/index.cjs364.js +0 -2
  751. package/dist/index.cjs364.js.map +0 -1
  752. package/dist/index.cjs365.js +0 -2
  753. package/dist/index.cjs365.js.map +0 -1
  754. package/dist/index.cjs373.js +0 -2
  755. package/dist/index.cjs373.js.map +0 -1
  756. package/dist/index.cjs374.js +0 -2
  757. package/dist/index.cjs374.js.map +0 -1
  758. package/dist/index.cjs375.js +0 -2
  759. package/dist/index.cjs375.js.map +0 -1
  760. package/dist/index.cjs386.js +0 -2
  761. package/dist/index.cjs386.js.map +0 -1
  762. package/dist/index.cjs387.js +0 -2
  763. package/dist/index.cjs387.js.map +0 -1
  764. package/dist/index.cjs388.js +0 -2
  765. package/dist/index.cjs388.js.map +0 -1
  766. package/dist/index.es363.js +0 -10
  767. package/dist/index.es363.js.map +0 -1
  768. package/dist/index.es364.js +0 -30
  769. package/dist/index.es364.js.map +0 -1
  770. package/dist/index.es365.js +0 -71
  771. package/dist/index.es365.js.map +0 -1
  772. package/dist/index.es373.js +0 -9
  773. package/dist/index.es373.js.map +0 -1
  774. package/dist/index.es374.js +0 -28
  775. package/dist/index.es374.js.map +0 -1
  776. package/dist/index.es375.js +0 -72
  777. package/dist/index.es375.js.map +0 -1
  778. package/dist/index.es386.js +0 -12
  779. package/dist/index.es386.js.map +0 -1
  780. package/dist/index.es387.js +0 -53
  781. package/dist/index.es387.js.map +0 -1
  782. package/dist/index.es388.js +0 -56
  783. package/dist/index.es388.js.map +0 -1
  784. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
  785. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css} +0 -0
package/package.json CHANGED
@@ -1,112 +1,112 @@
1
- {
2
- "name": "@anoki/fse-ui",
3
- "version": "1.0.640",
4
- "description": "FSE UI components library",
5
- "type": "module",
6
- "main": "dist/index.cjs.js",
7
- "module": "dist/index.es.js",
8
- "types": "dist/index.d.ts",
9
- "files": [
10
- "/dist"
11
- ],
12
- "scripts": {
13
- "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
14
- "lint": "eslint .",
15
- "build": "tsc && vite build",
16
- "test": "vitest run",
17
- "test-watch": "vitest",
18
- "test:ui": "vitest --ui",
19
- "sb": "storybook dev -p 6006",
20
- "release": "npm run build && npm publish --access public",
21
- "build-storybook": "storybook build",
22
- "prepare": "husky",
23
- "patch": "npm version patch"
24
- },
25
- "private": false,
26
- "publishConfig": {
27
- "access": "public"
28
- },
29
- "sideEffects": [
30
- "*.css",
31
- "*.scss"
32
- ],
33
- "author": "Anoki <developer@anoki.it>",
34
- "keywords": [
35
- "anoki",
36
- "fse",
37
- "ui",
38
- "components",
39
- "library"
40
- ],
41
- "license": "ISC",
42
- "devDependencies": {
43
- "@chromatic-com/storybook": "^3.2.4",
44
- "@eslint/js": "^9.22.0",
45
- "@storybook/addon-a11y": "^8.5.2",
46
- "@storybook/addon-essentials": "^8.5.2",
47
- "@storybook/addon-interactions": "^8.5.2",
48
- "@storybook/addon-links": "^8.5.2",
49
- "@storybook/addon-onboarding": "^8.5.2",
50
- "@storybook/blocks": "^8.5.2",
51
- "@storybook/react": "^8.5.2",
52
- "@storybook/react-vite": "^8.5.2",
53
- "@storybook/test": "^8.5.2",
54
- "@testing-library/dom": "^10.4.0",
55
- "@testing-library/jest-dom": "^6.6.3",
56
- "@testing-library/react": "^16.2.0",
57
- "@types/html-to-text": "^9.0.4",
58
- "@types/lodash": "^4.17.14",
59
- "@types/luxon": "^3.4.2",
60
- "@types/react": "^19.0.8",
61
- "@typescript-eslint/eslint-plugin": "^8.21.0",
62
- "@typescript-eslint/parser": "^8.21.0",
63
- "@vitejs/plugin-react": "^4.3.4",
64
- "autoprefixer": "^10.4.20",
65
- "eslint": "^9.19.0",
66
- "eslint-config-prettier": "^10.1.1",
67
- "eslint-plugin-prettier": "^5.2.3",
68
- "eslint-plugin-react": "^7.37.4",
69
- "eslint-plugin-react-hooks": "^5.2.0",
70
- "eslint-plugin-storybook": "^0.11.4",
71
- "husky": "^9.1.7",
72
- "jsdom": "^26.0.0",
73
- "lint-staged": "^15.4.3",
74
- "postcss": "^8.5.1",
75
- "prettier": "^3.4.2",
76
- "sass": "^1.83.4",
77
- "storybook": "^8.5.2",
78
- "typescript": "^5.7.3",
79
- "typescript-eslint": "^8.26.1",
80
- "vite": "^6.0.11",
81
- "vite-plugin-dts": "^4.5.0",
82
- "vite-plugin-lib-inject-css": "^2.2.1",
83
- "vitest": "^3.0.4"
84
- },
85
- "peerDependencies": {
86
- "react": "^19.0.0",
87
- "react-dom": "^19.0.0"
88
- },
89
- "engines": {
90
- "node": ">=18.18.0",
91
- "yarn": ">=1.22.19"
92
- },
93
- "packageManager": "yarn@4.2.2",
94
- "dependencies": {
95
- "@anoki/fse-common": "^1.0.92",
96
- "@radix-ui/react-alert-dialog": "^1.1.7",
97
- "@radix-ui/react-checkbox": "^1.1.4",
98
- "@radix-ui/react-dialog": "^1.1.6",
99
- "@radix-ui/react-dropdown-menu": "^2.1.5",
100
- "@radix-ui/react-switch": "^1.1.3",
101
- "@radix-ui/themes": "^3.2.1",
102
- "@types/node": "^22.10.10",
103
- "clsx": "^2.1.1",
104
- "isomorphic-dompurify": "^2.24.0",
105
- "lodash": "^4.17.21",
106
- "luxon": "^3.5.0",
107
- "react-wrap-balancer": "^1.1.1",
108
- "rollup-plugin-visualizer": "^5.14.0",
109
- "swiper": "^11.2.6",
110
- "usehooks-ts": "^3.1.1"
111
- }
112
- }
1
+ {
2
+ "name": "@anoki/fse-ui",
3
+ "version": "1.0.641",
4
+ "description": "FSE UI components library",
5
+ "type": "module",
6
+ "main": "dist/index.cjs.js",
7
+ "module": "dist/index.es.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "/dist"
11
+ ],
12
+ "scripts": {
13
+ "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
14
+ "lint": "eslint .",
15
+ "build": "tsc && vite build",
16
+ "test": "vitest run",
17
+ "test-watch": "vitest",
18
+ "test:ui": "vitest --ui",
19
+ "sb": "storybook dev -p 6006",
20
+ "release": "npm run build && npm publish --access public",
21
+ "build-storybook": "storybook build",
22
+ "prepare": "husky",
23
+ "patch": "npm version patch"
24
+ },
25
+ "private": false,
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "sideEffects": [
30
+ "*.css",
31
+ "*.scss"
32
+ ],
33
+ "author": "Anoki <developer@anoki.it>",
34
+ "keywords": [
35
+ "anoki",
36
+ "fse",
37
+ "ui",
38
+ "components",
39
+ "library"
40
+ ],
41
+ "license": "ISC",
42
+ "devDependencies": {
43
+ "@chromatic-com/storybook": "^3.2.4",
44
+ "@eslint/js": "^9.22.0",
45
+ "@storybook/addon-a11y": "^8.5.2",
46
+ "@storybook/addon-essentials": "^8.5.2",
47
+ "@storybook/addon-interactions": "^8.5.2",
48
+ "@storybook/addon-links": "^8.5.2",
49
+ "@storybook/addon-onboarding": "^8.5.2",
50
+ "@storybook/blocks": "^8.5.2",
51
+ "@storybook/react": "^8.5.2",
52
+ "@storybook/react-vite": "^8.5.2",
53
+ "@storybook/test": "^8.5.2",
54
+ "@testing-library/dom": "^10.4.0",
55
+ "@testing-library/jest-dom": "^6.6.3",
56
+ "@testing-library/react": "^16.2.0",
57
+ "@types/html-to-text": "^9.0.4",
58
+ "@types/lodash": "^4.17.14",
59
+ "@types/luxon": "^3.4.2",
60
+ "@types/react": "^19.0.8",
61
+ "@typescript-eslint/eslint-plugin": "^8.21.0",
62
+ "@typescript-eslint/parser": "^8.21.0",
63
+ "@vitejs/plugin-react": "^4.3.4",
64
+ "autoprefixer": "^10.4.20",
65
+ "eslint": "^9.19.0",
66
+ "eslint-config-prettier": "^10.1.1",
67
+ "eslint-plugin-prettier": "^5.2.3",
68
+ "eslint-plugin-react": "^7.37.4",
69
+ "eslint-plugin-react-hooks": "^5.2.0",
70
+ "eslint-plugin-storybook": "^0.11.4",
71
+ "husky": "^9.1.7",
72
+ "jsdom": "^26.0.0",
73
+ "lint-staged": "^15.4.3",
74
+ "postcss": "^8.5.1",
75
+ "prettier": "^3.4.2",
76
+ "sass": "^1.83.4",
77
+ "storybook": "^8.5.2",
78
+ "typescript": "^5.7.3",
79
+ "typescript-eslint": "^8.26.1",
80
+ "vite": "^6.0.11",
81
+ "vite-plugin-dts": "^4.5.0",
82
+ "vite-plugin-lib-inject-css": "^2.2.1",
83
+ "vitest": "^3.0.4"
84
+ },
85
+ "peerDependencies": {
86
+ "react": "^19.0.0",
87
+ "react-dom": "^19.0.0"
88
+ },
89
+ "engines": {
90
+ "node": ">=18.18.0",
91
+ "yarn": ">=1.22.19"
92
+ },
93
+ "packageManager": "yarn@4.2.2",
94
+ "dependencies": {
95
+ "@anoki/fse-common": "^1.0.92",
96
+ "@radix-ui/react-alert-dialog": "^1.1.7",
97
+ "@radix-ui/react-checkbox": "^1.1.4",
98
+ "@radix-ui/react-dialog": "^1.1.6",
99
+ "@radix-ui/react-dropdown-menu": "^2.1.5",
100
+ "@radix-ui/react-switch": "^1.1.3",
101
+ "@radix-ui/themes": "^3.2.1",
102
+ "@types/node": "^22.10.10",
103
+ "clsx": "^2.1.1",
104
+ "isomorphic-dompurify": "^2.24.0",
105
+ "lodash": "^4.17.21",
106
+ "luxon": "^3.5.0",
107
+ "react-wrap-balancer": "^1.1.1",
108
+ "rollup-plugin-visualizer": "^5.14.0",
109
+ "swiper": "^11.2.6",
110
+ "usehooks-ts": "^3.1.1"
111
+ }
112
+ }
package/readme.md CHANGED
@@ -1,42 +1,42 @@
1
- # This is the UI Library for the [FSE Marche]
2
-
3
- Use npm to install the dependencies [Not yarn]
4
-
5
- ```bash
6
- npm install
7
- ```
8
-
9
- Run storybook
10
-
11
- ```bash
12
- npm run sb
13
- ```
14
-
15
- Use npm release to build the library and publish the package to npm:
16
-
17
- ```bash
18
- npm run release
19
- ```
20
-
21
- Use npm bump-patch to increments the patch version (the last number in the version, e.g., from 0.1.96 to 0.1.97), push the changes, build the package and publish it to npm:
22
-
23
- ```bash
24
- npm run bump-patch
25
- ```
26
-
27
- Use npm bump-minor to increments the minor version (the second number in the version, e.g., from 0.1.96 to 0.2.0), push the changes, build the package and publish it to npm.
28
-
29
- ```bash
30
- npm run bump-minor
31
- ```
32
-
33
- Use npm bump-major to increments the major version (the first number in the version, e.g., from 0.1.96 to 1.0.0), push the changes, build the package and publish it to npm:
34
-
35
- ```bash
36
- npm run bump-major
37
- ```
38
-
39
- The structure of the library is as follows:
40
- src/
41
- ├── components/ # Reusable components
42
- ├── styles/ # Global styles
1
+ # This is the UI Library for the [FSE Marche]
2
+
3
+ Use npm to install the dependencies [Not yarn]
4
+
5
+ ```bash
6
+ npm install
7
+ ```
8
+
9
+ Run storybook
10
+
11
+ ```bash
12
+ npm run sb
13
+ ```
14
+
15
+ Use npm release to build the library and publish the package to npm:
16
+
17
+ ```bash
18
+ npm run release
19
+ ```
20
+
21
+ Use npm bump-patch to increments the patch version (the last number in the version, e.g., from 0.1.96 to 0.1.97), push the changes, build the package and publish it to npm:
22
+
23
+ ```bash
24
+ npm run bump-patch
25
+ ```
26
+
27
+ Use npm bump-minor to increments the minor version (the second number in the version, e.g., from 0.1.96 to 0.2.0), push the changes, build the package and publish it to npm.
28
+
29
+ ```bash
30
+ npm run bump-minor
31
+ ```
32
+
33
+ Use npm bump-major to increments the major version (the first number in the version, e.g., from 0.1.96 to 1.0.0), push the changes, build the package and publish it to npm:
34
+
35
+ ```bash
36
+ npm run bump-major
37
+ ```
38
+
39
+ The structure of the library is as follows:
40
+ src/
41
+ ├── components/ # Reusable components
42
+ ├── styles/ # Global styles
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(s,c,{checkForDefaultPrevented:t=!0}={}){return function(f){if(s==null||s(f),t===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}exports.composeEventHandlers=u;
2
- //# sourceMappingURL=index.cjs363.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs363.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"gFACA,SAASA,EAAqBC,EAAsBC,EAAiB,CAAE,yBAAAC,EAA2B,EAAM,EAAG,GAAI,CAC7G,OAAO,SAAqBC,EAAO,CAEjC,GADAH,GAAA,MAAAA,EAAuBG,GACnBD,IAA6B,IAAS,CAACC,EAAM,iBAC/C,OAAOF,GAAA,YAAAA,EAAkBE,EAE5B,CACH","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
- //# sourceMappingURL=index.cjs364.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs364.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACb,CAAK,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAS,EAETR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAEhC,CACO,CAEJ,CACH,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),b=require("./index.cjs196.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=P(j);function g(e,r){const t=i.createContext(r),s=c=>{const{children:n,...o}=c,u=i.useMemo(()=>o,Object.values(o));return b.jsxRuntimeExports.jsx(t.Provider,{value:u,children:n})};s.displayName=e+"Provider";function a(c){const n=i.useContext(t);if(n)return n;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,a]}function _(e,r=[]){let t=[];function s(c,n){const o=i.createContext(n),u=t.length;t=[...t,n];const f=d=>{var S;const{scope:x,children:m,...p}=d,l=((S=x==null?void 0:x[e])==null?void 0:S[u])||o,C=i.useMemo(()=>p,Object.values(p));return b.jsxRuntimeExports.jsx(l.Provider,{value:C,children:m})};f.displayName=c+"Provider";function v(d,x){var l;const m=((l=x==null?void 0:x[e])==null?void 0:l[u])||o,p=i.useContext(m);if(p)return p;if(n!==void 0)return n;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,v]}const a=()=>{const c=t.map(n=>i.createContext(n));return function(o){const u=(o==null?void 0:o[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...o,[e]:u}}),[o,u])}};return a.scopeName=e,[s,h(a,...r)]}function h(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const n=s.reduce((o,{useScope:u,scopeName:f})=>{const d=u(c)[`__scope${f}`];return{...o,...d}},{});return i.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}exports.createContext=g;exports.createContextScope=_;
2
- //# sourceMappingURL=index.cjs365.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs365.js","sources":["../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
2
- //# sourceMappingURL=index.cjs373.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs373.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs405.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
2
- //# sourceMappingURL=index.cjs374.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs374.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"kaAGA,SAASA,EAAQC,EAAS,CACxB,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAM,SAAS,MAAM,EAC7CC,OAAAA,EAAAA,gBAAgB,IAAM,CACpB,GAAIJ,EAAS,CACXE,EAAQ,CAAE,MAAOF,EAAQ,YAAa,OAAQA,EAAQ,aAAc,EACpE,MAAMK,EAAiB,IAAI,eAAgBC,GAAY,CAIrD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OACX,OAEF,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC5B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SAC9B,MACUH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAEnBE,EAAQ,CAAE,MAAAM,EAAO,OAAAC,EAAQ,CACjC,CAAO,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAAE,IAAK,YAAY,CAAE,EAC9C,IAAMK,EAAe,UAAUL,CAAO,CACnD,MACME,EAAQ,MAAM,CAEpB,EAAK,CAACF,CAAO,CAAC,EACLC,CACT","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs364.js"),g=require("./index.cjs405.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
- //# sourceMappingURL=index.cjs375.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs375.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const a=require("./index.cjs411.js"),l=require("react"),s=require("./index.cjs412.js"),i=require("./index.cjs413.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
2
- //# sourceMappingURL=index.cjs386.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs386.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
2
- //# sourceMappingURL=index.cjs387.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs387.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),g=require("./index.cjs364.js"),u=require("./index.cjs196.js");function S(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=S(y);function b(e){const t=x(e),n=l.forwardRef((r,o)=>{const{children:i,...c}=r,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,m=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,m):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function x(e){const t=l.forwardRef((n,r)=>{const{children:o,...i}=n;if(l.isValidElement(o)){const c=O(o),s=R(i,o.props);return o.type!==l.Fragment&&(s.ref=r?g.composeRefs(r,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:n})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
2
- //# sourceMappingURL=index.cjs388.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs388.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,10 +0,0 @@
1
- function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
- return function(s) {
3
- if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
- return c == null ? void 0 : c(s);
5
- };
6
- }
7
- export {
8
- h as composeEventHandlers
9
- };
10
- //# sourceMappingURL=index.es363.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es363.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
@@ -1,30 +0,0 @@
1
- import * as f from "react";
2
- function l(n, o) {
3
- if (typeof n == "function")
4
- return n(o);
5
- n != null && (n.current = o);
6
- }
7
- function i(...n) {
8
- return (o) => {
9
- let u = !1;
10
- const c = n.map((t) => {
11
- const e = l(t, o);
12
- return !u && typeof e == "function" && (u = !0), e;
13
- });
14
- if (u)
15
- return () => {
16
- for (let t = 0; t < c.length; t++) {
17
- const e = c[t];
18
- typeof e == "function" ? e() : l(n[t], null);
19
- }
20
- };
21
- };
22
- }
23
- function s(...n) {
24
- return f.useCallback(i(...n), n);
25
- }
26
- export {
27
- i as composeRefs,
28
- s as useComposedRefs
29
- };
30
- //# sourceMappingURL=index.es364.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es364.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
@@ -1,71 +0,0 @@
1
- import * as u from "react";
2
- import { j as h } from "./index.es196.js";
3
- function j(e, c) {
4
- const o = u.createContext(c), a = (r) => {
5
- const { children: t, ...n } = r, s = u.useMemo(() => n, Object.values(n));
6
- return /* @__PURE__ */ h.jsx(o.Provider, { value: s, children: t });
7
- };
8
- a.displayName = e + "Provider";
9
- function i(r) {
10
- const t = u.useContext(o);
11
- if (t) return t;
12
- if (c !== void 0) return c;
13
- throw new Error(`\`${r}\` must be used within \`${e}\``);
14
- }
15
- return [a, i];
16
- }
17
- function w(e, c = []) {
18
- let o = [];
19
- function a(r, t) {
20
- const n = u.createContext(t), s = o.length;
21
- o = [...o, t];
22
- const d = (m) => {
23
- var S;
24
- const { scope: x, children: C, ...p } = m, v = ((S = x == null ? void 0 : x[e]) == null ? void 0 : S[s]) || n, P = u.useMemo(() => p, Object.values(p));
25
- return /* @__PURE__ */ h.jsx(v.Provider, { value: P, children: C });
26
- };
27
- d.displayName = r + "Provider";
28
- function f(m, x) {
29
- var v;
30
- const C = ((v = x == null ? void 0 : x[e]) == null ? void 0 : v[s]) || n, p = u.useContext(C);
31
- if (p) return p;
32
- if (t !== void 0) return t;
33
- throw new Error(`\`${m}\` must be used within \`${r}\``);
34
- }
35
- return [d, f];
36
- }
37
- const i = () => {
38
- const r = o.map((t) => u.createContext(t));
39
- return function(n) {
40
- const s = (n == null ? void 0 : n[e]) || r;
41
- return u.useMemo(
42
- () => ({ [`__scope${e}`]: { ...n, [e]: s } }),
43
- [n, s]
44
- );
45
- };
46
- };
47
- return i.scopeName = e, [a, l(i, ...c)];
48
- }
49
- function l(...e) {
50
- const c = e[0];
51
- if (e.length === 1) return c;
52
- const o = () => {
53
- const a = e.map((i) => ({
54
- useScope: i(),
55
- scopeName: i.scopeName
56
- }));
57
- return function(r) {
58
- const t = a.reduce((n, { useScope: s, scopeName: d }) => {
59
- const m = s(r)[`__scope${d}`];
60
- return { ...n, ...m };
61
- }, {});
62
- return u.useMemo(() => ({ [`__scope${c.scopeName}`]: t }), [t]);
63
- };
64
- };
65
- return o.scopeName = c.scopeName, o;
66
- }
67
- export {
68
- j as createContext,
69
- w as createContextScope
70
- };
71
- //# sourceMappingURL=index.es365.js.map