@anoki/fse-ui 1.0.367 → 1.0.368

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 (665) hide show
  1. package/dist/index.cjs.js.map +1 -1
  2. package/dist/index.cjs10.js.map +1 -1
  3. package/dist/index.cjs100.js.map +1 -1
  4. package/dist/index.cjs101.js.map +1 -1
  5. package/dist/index.cjs102.js.map +1 -1
  6. package/dist/index.cjs103.js.map +1 -1
  7. package/dist/index.cjs104.js.map +1 -1
  8. package/dist/index.cjs105.js.map +1 -1
  9. package/dist/index.cjs106.js.map +1 -1
  10. package/dist/index.cjs107.js.map +1 -1
  11. package/dist/index.cjs108.js.map +1 -1
  12. package/dist/index.cjs109.js.map +1 -1
  13. package/dist/index.cjs11.js.map +1 -1
  14. package/dist/index.cjs110.js.map +1 -1
  15. package/dist/index.cjs111.js.map +1 -1
  16. package/dist/index.cjs112.js.map +1 -1
  17. package/dist/index.cjs113.js.map +1 -1
  18. package/dist/index.cjs114.js.map +1 -1
  19. package/dist/index.cjs115.js.map +1 -1
  20. package/dist/index.cjs116.js.map +1 -1
  21. package/dist/index.cjs117.js.map +1 -1
  22. package/dist/index.cjs118.js.map +1 -1
  23. package/dist/index.cjs119.js.map +1 -1
  24. package/dist/index.cjs12.js.map +1 -1
  25. package/dist/index.cjs120.js.map +1 -1
  26. package/dist/index.cjs121.js.map +1 -1
  27. package/dist/index.cjs122.js +1 -1
  28. package/dist/index.cjs122.js.map +1 -1
  29. package/dist/index.cjs123.js +1 -1
  30. package/dist/index.cjs123.js.map +1 -1
  31. package/dist/index.cjs127.js +1 -1
  32. package/dist/index.cjs127.js.map +1 -1
  33. package/dist/index.cjs13.js.map +1 -1
  34. package/dist/index.cjs136.js +1 -1
  35. package/dist/index.cjs136.js.map +1 -1
  36. package/dist/index.cjs14.js.map +1 -1
  37. package/dist/index.cjs140.js +1 -1
  38. package/dist/index.cjs140.js.map +1 -1
  39. package/dist/index.cjs15.js.map +1 -1
  40. package/dist/index.cjs150.js.map +1 -1
  41. package/dist/index.cjs152.js.map +1 -1
  42. package/dist/index.cjs153.js.map +1 -1
  43. package/dist/index.cjs156.js.map +1 -1
  44. package/dist/index.cjs16.js +1 -1
  45. package/dist/index.cjs16.js.map +1 -1
  46. package/dist/index.cjs160.js.map +1 -1
  47. package/dist/index.cjs163.js.map +1 -1
  48. package/dist/index.cjs166.js +1 -1
  49. package/dist/index.cjs166.js.map +1 -1
  50. package/dist/index.cjs169.js.map +1 -1
  51. package/dist/index.cjs17.js.map +1 -1
  52. package/dist/index.cjs170.js +1 -1
  53. package/dist/index.cjs170.js.map +1 -1
  54. package/dist/index.cjs171.js +1 -1
  55. package/dist/index.cjs171.js.map +1 -1
  56. package/dist/index.cjs177.js +1 -1
  57. package/dist/index.cjs178.js.map +1 -1
  58. package/dist/index.cjs18.js +1 -1
  59. package/dist/index.cjs18.js.map +1 -1
  60. package/dist/index.cjs181.js.map +1 -1
  61. package/dist/index.cjs186.js.map +1 -1
  62. package/dist/index.cjs188.js +1 -1
  63. package/dist/index.cjs189.js.map +1 -1
  64. package/dist/index.cjs19.js.map +1 -1
  65. package/dist/index.cjs190.js.map +1 -1
  66. package/dist/index.cjs191.js.map +1 -1
  67. package/dist/index.cjs192.js.map +1 -1
  68. package/dist/index.cjs194.js.map +1 -1
  69. package/dist/index.cjs195.js +1 -1
  70. package/dist/index.cjs195.js.map +1 -1
  71. package/dist/index.cjs196.js.map +1 -1
  72. package/dist/index.cjs199.js.map +1 -1
  73. package/dist/index.cjs20.js.map +1 -1
  74. package/dist/index.cjs200.js +1 -1
  75. package/dist/index.cjs200.js.map +1 -1
  76. package/dist/index.cjs205.js.map +1 -1
  77. package/dist/index.cjs206.js.map +1 -1
  78. package/dist/index.cjs207.js +1 -1
  79. package/dist/index.cjs207.js.map +1 -1
  80. package/dist/index.cjs209.js.map +1 -1
  81. package/dist/index.cjs21.js.map +1 -1
  82. package/dist/index.cjs210.js.map +1 -1
  83. package/dist/index.cjs211.js.map +1 -1
  84. package/dist/index.cjs213.js.map +1 -1
  85. package/dist/index.cjs214.js.map +1 -1
  86. package/dist/index.cjs215.js +1 -1
  87. package/dist/index.cjs217.js +2 -2
  88. package/dist/index.cjs217.js.map +1 -1
  89. package/dist/index.cjs22.js.map +1 -1
  90. package/dist/index.cjs23.js.map +1 -1
  91. package/dist/index.cjs24.js +1 -1
  92. package/dist/index.cjs24.js.map +1 -1
  93. package/dist/index.cjs240.js +2 -2
  94. package/dist/index.cjs241.js +3 -12
  95. package/dist/index.cjs241.js.map +1 -1
  96. package/dist/index.cjs245.js +2 -0
  97. package/dist/index.cjs245.js.map +1 -0
  98. package/dist/index.cjs246.js +1 -1
  99. package/dist/index.cjs246.js.map +1 -1
  100. package/dist/index.cjs247.js +1 -1
  101. package/dist/index.cjs247.js.map +1 -1
  102. package/dist/index.cjs248.js +1 -1
  103. package/dist/index.cjs248.js.map +1 -1
  104. package/dist/index.cjs249.js +1 -1
  105. package/dist/index.cjs249.js.map +1 -1
  106. package/dist/index.cjs25.js +1 -1
  107. package/dist/index.cjs25.js.map +1 -1
  108. package/dist/index.cjs250.js +1 -1
  109. package/dist/index.cjs250.js.map +1 -1
  110. package/dist/index.cjs251.js +1 -1
  111. package/dist/index.cjs251.js.map +1 -1
  112. package/dist/index.cjs253.js +1 -1
  113. package/dist/index.cjs253.js.map +1 -1
  114. package/dist/index.cjs254.js +2 -0
  115. package/dist/{index.cjs259.js.map → index.cjs254.js.map} +1 -1
  116. package/dist/{index.cjs260.js → index.cjs255.js} +2 -2
  117. package/dist/{index.cjs260.js.map → index.cjs255.js.map} +1 -1
  118. package/dist/index.cjs256.js +1 -1
  119. package/dist/index.cjs256.js.map +1 -1
  120. package/dist/index.cjs26.js +1 -1
  121. package/dist/index.cjs26.js.map +1 -1
  122. package/dist/index.cjs264.js +1 -1
  123. package/dist/index.cjs264.js.map +1 -1
  124. package/dist/index.cjs265.js +1 -1
  125. package/dist/index.cjs265.js.map +1 -1
  126. package/dist/index.cjs266.js +1 -1
  127. package/dist/index.cjs266.js.map +1 -1
  128. package/dist/index.cjs268.js +1 -1
  129. package/dist/index.cjs268.js.map +1 -1
  130. package/dist/index.cjs269.js +1 -1
  131. package/dist/index.cjs269.js.map +1 -1
  132. package/dist/index.cjs27.js +1 -1
  133. package/dist/index.cjs27.js.map +1 -1
  134. package/dist/index.cjs270.js +1 -1
  135. package/dist/index.cjs270.js.map +1 -1
  136. package/dist/index.cjs28.js.map +1 -1
  137. package/dist/{index.cjs257.js → index.cjs280.js} +1 -1
  138. package/dist/index.cjs280.js.map +1 -0
  139. package/dist/index.cjs281.js +2 -0
  140. package/dist/index.cjs281.js.map +1 -0
  141. package/dist/{index.cjs262.js → index.cjs282.js} +1 -1
  142. package/dist/{index.cjs262.js.map → index.cjs282.js.map} +1 -1
  143. package/dist/index.cjs283.js +2 -0
  144. package/dist/index.cjs283.js.map +1 -0
  145. package/dist/index.cjs284.js +2 -0
  146. package/dist/index.cjs284.js.map +1 -0
  147. package/dist/index.cjs285.js +2 -0
  148. package/dist/index.cjs285.js.map +1 -0
  149. package/dist/{index.cjs271.js → index.cjs286.js} +2 -2
  150. package/dist/index.cjs286.js.map +1 -0
  151. package/dist/{index.cjs274.js → index.cjs287.js} +1 -1
  152. package/dist/{index.cjs274.js.map → index.cjs287.js.map} +1 -1
  153. package/dist/index.cjs288.js +1 -1
  154. package/dist/index.cjs288.js.map +1 -1
  155. package/dist/index.cjs289.js +2 -0
  156. package/dist/index.cjs289.js.map +1 -0
  157. package/dist/index.cjs29.js.map +1 -1
  158. package/dist/index.cjs290.js +2 -0
  159. package/dist/index.cjs290.js.map +1 -0
  160. package/dist/index.cjs291.js +2 -0
  161. package/dist/index.cjs291.js.map +1 -0
  162. package/dist/index.cjs292.js +2 -0
  163. package/dist/index.cjs292.js.map +1 -0
  164. package/dist/index.cjs293.js +2 -0
  165. package/dist/index.cjs293.js.map +1 -0
  166. package/dist/index.cjs294.js +2 -0
  167. package/dist/index.cjs294.js.map +1 -0
  168. package/dist/index.cjs295.js +1 -1
  169. package/dist/index.cjs295.js.map +1 -1
  170. package/dist/index.cjs296.js +1 -1
  171. package/dist/index.cjs296.js.map +1 -1
  172. package/dist/index.cjs297.js +1 -1
  173. package/dist/index.cjs297.js.map +1 -1
  174. package/dist/index.cjs298.js +4 -1
  175. package/dist/index.cjs298.js.map +1 -1
  176. package/dist/index.cjs299.js +1 -1
  177. package/dist/index.cjs299.js.map +1 -1
  178. package/dist/index.cjs30.js +1 -1
  179. package/dist/index.cjs30.js.map +1 -1
  180. package/dist/index.cjs300.js +1 -1
  181. package/dist/index.cjs300.js.map +1 -1
  182. package/dist/index.cjs301.js +38 -1
  183. package/dist/index.cjs301.js.map +1 -1
  184. package/dist/index.cjs302.js +1 -1
  185. package/dist/index.cjs302.js.map +1 -1
  186. package/dist/index.cjs303.js +1 -1
  187. package/dist/index.cjs303.js.map +1 -1
  188. package/dist/index.cjs304.js +1 -1
  189. package/dist/index.cjs304.js.map +1 -1
  190. package/dist/index.cjs305.js +1 -1
  191. package/dist/index.cjs305.js.map +1 -1
  192. package/dist/index.cjs306.js +1 -1
  193. package/dist/index.cjs306.js.map +1 -1
  194. package/dist/index.cjs307.js +1 -4
  195. package/dist/index.cjs307.js.map +1 -1
  196. package/dist/index.cjs308.js +1 -1
  197. package/dist/index.cjs308.js.map +1 -1
  198. package/dist/index.cjs309.js +1 -1
  199. package/dist/index.cjs309.js.map +1 -1
  200. package/dist/index.cjs31.js.map +1 -1
  201. package/dist/index.cjs310.js +1 -1
  202. package/dist/index.cjs310.js.map +1 -1
  203. package/dist/index.cjs311.js +1 -1
  204. package/dist/index.cjs311.js.map +1 -1
  205. package/dist/index.cjs312.js +1 -1
  206. package/dist/index.cjs312.js.map +1 -1
  207. package/dist/index.cjs313.js +1 -38
  208. package/dist/index.cjs313.js.map +1 -1
  209. package/dist/index.cjs32.js +1 -1
  210. package/dist/index.cjs32.js.map +1 -1
  211. package/dist/index.cjs33.js.map +1 -1
  212. package/dist/index.cjs34.js.map +1 -1
  213. package/dist/index.cjs35.js +1 -1
  214. package/dist/index.cjs35.js.map +1 -1
  215. package/dist/index.cjs36.js.map +1 -1
  216. package/dist/index.cjs37.js +1 -1
  217. package/dist/index.cjs37.js.map +1 -1
  218. package/dist/index.cjs38.js.map +1 -1
  219. package/dist/index.cjs39.js.map +1 -1
  220. package/dist/index.cjs40.js.map +1 -1
  221. package/dist/index.cjs41.js.map +1 -1
  222. package/dist/index.cjs42.js.map +1 -1
  223. package/dist/index.cjs43.js.map +1 -1
  224. package/dist/index.cjs44.js.map +1 -1
  225. package/dist/index.cjs45.js.map +1 -1
  226. package/dist/index.cjs46.js.map +1 -1
  227. package/dist/index.cjs47.js +1 -1
  228. package/dist/index.cjs47.js.map +1 -1
  229. package/dist/index.cjs48.js.map +1 -1
  230. package/dist/index.cjs49.js.map +1 -1
  231. package/dist/index.cjs50.js.map +1 -1
  232. package/dist/index.cjs51.js.map +1 -1
  233. package/dist/index.cjs52.js.map +1 -1
  234. package/dist/index.cjs53.js.map +1 -1
  235. package/dist/index.cjs54.js.map +1 -1
  236. package/dist/index.cjs55.js.map +1 -1
  237. package/dist/index.cjs56.js.map +1 -1
  238. package/dist/index.cjs57.js.map +1 -1
  239. package/dist/index.cjs58.js.map +1 -1
  240. package/dist/index.cjs59.js.map +1 -1
  241. package/dist/index.cjs6.js.map +1 -1
  242. package/dist/index.cjs60.js.map +1 -1
  243. package/dist/index.cjs61.js.map +1 -1
  244. package/dist/index.cjs62.js.map +1 -1
  245. package/dist/index.cjs63.js.map +1 -1
  246. package/dist/index.cjs64.js.map +1 -1
  247. package/dist/index.cjs65.js.map +1 -1
  248. package/dist/index.cjs66.js.map +1 -1
  249. package/dist/index.cjs67.js.map +1 -1
  250. package/dist/index.cjs68.js +1 -1
  251. package/dist/index.cjs68.js.map +1 -1
  252. package/dist/index.cjs69.js +1 -1
  253. package/dist/index.cjs69.js.map +1 -1
  254. package/dist/index.cjs7.js.map +1 -1
  255. package/dist/index.cjs70.js.map +1 -1
  256. package/dist/index.cjs71.js.map +1 -1
  257. package/dist/index.cjs72.js.map +1 -1
  258. package/dist/index.cjs73.js.map +1 -1
  259. package/dist/index.cjs74.js +1 -1
  260. package/dist/index.cjs74.js.map +1 -1
  261. package/dist/index.cjs75.js.map +1 -1
  262. package/dist/index.cjs77.js.map +1 -1
  263. package/dist/index.cjs78.js.map +1 -1
  264. package/dist/index.cjs79.js.map +1 -1
  265. package/dist/index.cjs8.js.map +1 -1
  266. package/dist/index.cjs80.js.map +1 -1
  267. package/dist/index.cjs81.js.map +1 -1
  268. package/dist/index.cjs82.js.map +1 -1
  269. package/dist/index.cjs83.js.map +1 -1
  270. package/dist/index.cjs84.js.map +1 -1
  271. package/dist/index.cjs85.js.map +1 -1
  272. package/dist/index.cjs86.js.map +1 -1
  273. package/dist/index.cjs87.js.map +1 -1
  274. package/dist/index.cjs88.js.map +1 -1
  275. package/dist/index.cjs89.js.map +1 -1
  276. package/dist/index.cjs9.js.map +1 -1
  277. package/dist/index.cjs90.js.map +1 -1
  278. package/dist/index.cjs91.js.map +1 -1
  279. package/dist/index.cjs92.js.map +1 -1
  280. package/dist/index.cjs93.js.map +1 -1
  281. package/dist/index.cjs94.js.map +1 -1
  282. package/dist/index.cjs95.js.map +1 -1
  283. package/dist/index.cjs96.js.map +1 -1
  284. package/dist/index.cjs97.js.map +1 -1
  285. package/dist/index.cjs98.js.map +1 -1
  286. package/dist/index.cjs99.js.map +1 -1
  287. package/dist/index.es.js.map +1 -1
  288. package/dist/index.es10.js.map +1 -1
  289. package/dist/index.es100.js.map +1 -1
  290. package/dist/index.es101.js.map +1 -1
  291. package/dist/index.es102.js.map +1 -1
  292. package/dist/index.es103.js.map +1 -1
  293. package/dist/index.es104.js.map +1 -1
  294. package/dist/index.es105.js.map +1 -1
  295. package/dist/index.es106.js.map +1 -1
  296. package/dist/index.es107.js.map +1 -1
  297. package/dist/index.es108.js.map +1 -1
  298. package/dist/index.es109.js.map +1 -1
  299. package/dist/index.es11.js.map +1 -1
  300. package/dist/index.es110.js.map +1 -1
  301. package/dist/index.es111.js.map +1 -1
  302. package/dist/index.es112.js.map +1 -1
  303. package/dist/index.es113.js.map +1 -1
  304. package/dist/index.es114.js.map +1 -1
  305. package/dist/index.es115.js.map +1 -1
  306. package/dist/index.es116.js.map +1 -1
  307. package/dist/index.es117.js.map +1 -1
  308. package/dist/index.es118.js.map +1 -1
  309. package/dist/index.es119.js.map +1 -1
  310. package/dist/index.es12.js.map +1 -1
  311. package/dist/index.es120.js.map +1 -1
  312. package/dist/index.es121.js.map +1 -1
  313. package/dist/index.es122.js +76 -71
  314. package/dist/index.es122.js.map +1 -1
  315. package/dist/index.es123.js +11 -1
  316. package/dist/index.es123.js.map +1 -1
  317. package/dist/index.es124.js +2 -2
  318. package/dist/index.es125.js +24 -24
  319. package/dist/index.es127.js +63 -58
  320. package/dist/index.es127.js.map +1 -1
  321. package/dist/index.es13.js.map +1 -1
  322. package/dist/index.es132.js +1 -1
  323. package/dist/index.es136.js +29 -26
  324. package/dist/index.es136.js.map +1 -1
  325. package/dist/index.es14.js.map +1 -1
  326. package/dist/index.es140.js +18 -15
  327. package/dist/index.es140.js.map +1 -1
  328. package/dist/index.es15.js.map +1 -1
  329. package/dist/index.es150.js.map +1 -1
  330. package/dist/index.es152.js.map +1 -1
  331. package/dist/index.es153.js.map +1 -1
  332. package/dist/index.es156.js.map +1 -1
  333. package/dist/index.es16.js +9 -9
  334. package/dist/index.es16.js.map +1 -1
  335. package/dist/index.es160.js.map +1 -1
  336. package/dist/index.es163.js.map +1 -1
  337. package/dist/index.es166.js +22 -22
  338. package/dist/index.es166.js.map +1 -1
  339. package/dist/index.es169.js.map +1 -1
  340. package/dist/index.es17.js.map +1 -1
  341. package/dist/index.es170.js +25 -25
  342. package/dist/index.es170.js.map +1 -1
  343. package/dist/index.es171.js +4 -4
  344. package/dist/index.es171.js.map +1 -1
  345. package/dist/index.es177.js +8 -8
  346. package/dist/index.es178.js.map +1 -1
  347. package/dist/index.es18.js +22 -22
  348. package/dist/index.es18.js.map +1 -1
  349. package/dist/index.es181.js.map +1 -1
  350. package/dist/index.es186.js.map +1 -1
  351. package/dist/index.es188.js +56 -56
  352. package/dist/index.es189.js.map +1 -1
  353. package/dist/index.es19.js.map +1 -1
  354. package/dist/index.es190.js.map +1 -1
  355. package/dist/index.es191.js.map +1 -1
  356. package/dist/index.es192.js.map +1 -1
  357. package/dist/index.es194.js.map +1 -1
  358. package/dist/index.es195.js +1 -1
  359. package/dist/index.es195.js.map +1 -1
  360. package/dist/index.es196.js.map +1 -1
  361. package/dist/index.es199.js.map +1 -1
  362. package/dist/index.es20.js.map +1 -1
  363. package/dist/index.es200.js +1 -1
  364. package/dist/index.es200.js.map +1 -1
  365. package/dist/index.es205.js.map +1 -1
  366. package/dist/index.es206.js.map +1 -1
  367. package/dist/index.es207.js +1 -1
  368. package/dist/index.es207.js.map +1 -1
  369. package/dist/index.es209.js.map +1 -1
  370. package/dist/index.es21.js.map +1 -1
  371. package/dist/index.es210.js.map +1 -1
  372. package/dist/index.es211.js.map +1 -1
  373. package/dist/index.es213.js.map +1 -1
  374. package/dist/index.es214.js.map +1 -1
  375. package/dist/index.es215.js +32 -32
  376. package/dist/index.es217.js +22 -22
  377. package/dist/index.es217.js.map +1 -1
  378. package/dist/index.es22.js.map +1 -1
  379. package/dist/index.es23.js.map +1 -1
  380. package/dist/index.es24.js +4 -4
  381. package/dist/index.es24.js.map +1 -1
  382. package/dist/index.es240.js +20 -20
  383. package/dist/index.es241.js +137 -298
  384. package/dist/index.es241.js.map +1 -1
  385. package/dist/index.es245.js +10 -0
  386. package/dist/index.es245.js.map +1 -0
  387. package/dist/index.es246.js +25 -5
  388. package/dist/index.es246.js.map +1 -1
  389. package/dist/index.es247.js +64 -23
  390. package/dist/index.es247.js.map +1 -1
  391. package/dist/index.es248.js +27 -65
  392. package/dist/index.es248.js.map +1 -1
  393. package/dist/index.es249.js +32 -29
  394. package/dist/index.es249.js.map +1 -1
  395. package/dist/index.es25.js +38 -38
  396. package/dist/index.es25.js.map +1 -1
  397. package/dist/index.es250.js +620 -31
  398. package/dist/index.es250.js.map +1 -1
  399. package/dist/index.es251.js +10 -621
  400. package/dist/index.es251.js.map +1 -1
  401. package/dist/index.es253.js +6 -15
  402. package/dist/index.es253.js.map +1 -1
  403. package/dist/{index.es259.js → index.es254.js} +10 -10
  404. package/dist/{index.es259.js.map → index.es254.js.map} +1 -1
  405. package/dist/{index.es260.js → index.es255.js} +3 -3
  406. package/dist/{index.es260.js.map → index.es255.js.map} +1 -1
  407. package/dist/index.es256.js +15 -2
  408. package/dist/index.es256.js.map +1 -1
  409. package/dist/index.es26.js +19 -19
  410. package/dist/index.es26.js.map +1 -1
  411. package/dist/index.es264.js +123 -44
  412. package/dist/index.es264.js.map +1 -1
  413. package/dist/index.es265.js +134 -7
  414. package/dist/index.es265.js.map +1 -1
  415. package/dist/index.es266.js +13 -124
  416. package/dist/index.es266.js.map +1 -1
  417. package/dist/index.es268.js +8 -134
  418. package/dist/index.es268.js.map +1 -1
  419. package/dist/index.es269.js +49 -217
  420. package/dist/index.es269.js.map +1 -1
  421. package/dist/index.es27.js +2 -2
  422. package/dist/index.es27.js.map +1 -1
  423. package/dist/index.es270.js +41 -13
  424. package/dist/index.es270.js.map +1 -1
  425. package/dist/index.es28.js.map +1 -1
  426. package/dist/index.es280.js +5 -0
  427. package/dist/index.es280.js.map +1 -0
  428. package/dist/{index.es257.js → index.es281.js} +1 -1
  429. package/dist/index.es281.js.map +1 -0
  430. package/dist/{index.es262.js → index.es282.js} +1 -1
  431. package/dist/{index.es262.js.map → index.es282.js.map} +1 -1
  432. package/dist/index.es283.js +49 -0
  433. package/dist/index.es283.js.map +1 -0
  434. package/dist/index.es284.js +11 -0
  435. package/dist/index.es284.js.map +1 -0
  436. package/dist/index.es285.js +221 -0
  437. package/dist/index.es285.js.map +1 -0
  438. package/dist/{index.es271.js → index.es286.js} +10 -10
  439. package/dist/index.es286.js.map +1 -0
  440. package/dist/{index.es274.js → index.es287.js} +1 -1
  441. package/dist/{index.es274.js.map → index.es287.js.map} +1 -1
  442. package/dist/index.es288.js +11 -41
  443. package/dist/index.es288.js.map +1 -1
  444. package/dist/index.es289.js +208 -0
  445. package/dist/index.es289.js.map +1 -0
  446. package/dist/index.es29.js.map +1 -1
  447. package/dist/index.es290.js +25 -0
  448. package/dist/index.es290.js.map +1 -0
  449. package/dist/index.es291.js +396 -0
  450. package/dist/index.es291.js.map +1 -0
  451. package/dist/index.es292.js +28 -0
  452. package/dist/index.es292.js.map +1 -0
  453. package/dist/index.es293.js +32 -0
  454. package/dist/index.es293.js.map +1 -0
  455. package/dist/index.es294.js +8 -0
  456. package/dist/index.es294.js.map +1 -0
  457. package/dist/index.es295.js +5 -12
  458. package/dist/index.es295.js.map +1 -1
  459. package/dist/index.es296.js +3 -205
  460. package/dist/index.es296.js.map +1 -1
  461. package/dist/index.es297.js +23 -21
  462. package/dist/index.es297.js.map +1 -1
  463. package/dist/index.es298.js +105 -388
  464. package/dist/index.es298.js.map +1 -1
  465. package/dist/index.es299.js +16 -29
  466. package/dist/index.es299.js.map +1 -1
  467. package/dist/index.es30.js.map +1 -1
  468. package/dist/index.es300.js +62 -22
  469. package/dist/index.es300.js.map +1 -1
  470. package/dist/index.es301.js +68 -28
  471. package/dist/index.es301.js.map +1 -1
  472. package/dist/index.es302.js +9 -5
  473. package/dist/index.es302.js.map +1 -1
  474. package/dist/index.es303.js +13 -41
  475. package/dist/index.es303.js.map +1 -1
  476. package/dist/index.es304.js +62 -5
  477. package/dist/index.es304.js.map +1 -1
  478. package/dist/index.es305.js +523 -3
  479. package/dist/index.es305.js.map +1 -1
  480. package/dist/index.es306.js +126 -23
  481. package/dist/index.es306.js.map +1 -1
  482. package/dist/index.es307.js +124 -105
  483. package/dist/index.es307.js.map +1 -1
  484. package/dist/index.es308.js +3 -15
  485. package/dist/index.es308.js.map +1 -1
  486. package/dist/index.es309.js +19 -519
  487. package/dist/index.es309.js.map +1 -1
  488. package/dist/index.es31.js.map +1 -1
  489. package/dist/index.es310.js +12 -126
  490. package/dist/index.es310.js.map +1 -1
  491. package/dist/index.es311.js +26 -127
  492. package/dist/index.es311.js.map +1 -1
  493. package/dist/index.es312.js +5 -65
  494. package/dist/index.es312.js.map +1 -1
  495. package/dist/index.es313.js +22 -68
  496. package/dist/index.es313.js.map +1 -1
  497. package/dist/index.es32.js +4 -4
  498. package/dist/index.es32.js.map +1 -1
  499. package/dist/index.es33.js.map +1 -1
  500. package/dist/index.es34.js.map +1 -1
  501. package/dist/index.es35.js +14 -14
  502. package/dist/index.es35.js.map +1 -1
  503. package/dist/index.es36.js.map +1 -1
  504. package/dist/index.es37.js +6 -6
  505. package/dist/index.es37.js.map +1 -1
  506. package/dist/index.es38.js.map +1 -1
  507. package/dist/index.es39.js.map +1 -1
  508. package/dist/index.es40.js.map +1 -1
  509. package/dist/index.es41.js.map +1 -1
  510. package/dist/index.es42.js.map +1 -1
  511. package/dist/index.es43.js.map +1 -1
  512. package/dist/index.es44.js.map +1 -1
  513. package/dist/index.es45.js.map +1 -1
  514. package/dist/index.es46.js.map +1 -1
  515. package/dist/index.es47.js +2 -2
  516. package/dist/index.es47.js.map +1 -1
  517. package/dist/index.es48.js.map +1 -1
  518. package/dist/index.es49.js.map +1 -1
  519. package/dist/index.es5.js +4 -4
  520. package/dist/index.es50.js.map +1 -1
  521. package/dist/index.es51.js.map +1 -1
  522. package/dist/index.es52.js.map +1 -1
  523. package/dist/index.es53.js.map +1 -1
  524. package/dist/index.es54.js.map +1 -1
  525. package/dist/index.es55.js.map +1 -1
  526. package/dist/index.es56.js.map +1 -1
  527. package/dist/index.es57.js.map +1 -1
  528. package/dist/index.es58.js.map +1 -1
  529. package/dist/index.es59.js.map +1 -1
  530. package/dist/index.es6.js.map +1 -1
  531. package/dist/index.es60.js.map +1 -1
  532. package/dist/index.es61.js.map +1 -1
  533. package/dist/index.es62.js.map +1 -1
  534. package/dist/index.es63.js.map +1 -1
  535. package/dist/index.es64.js.map +1 -1
  536. package/dist/index.es65.js +44 -44
  537. package/dist/index.es65.js.map +1 -1
  538. package/dist/index.es66.js.map +1 -1
  539. package/dist/index.es67.js.map +1 -1
  540. package/dist/index.es68.js +25 -25
  541. package/dist/index.es68.js.map +1 -1
  542. package/dist/index.es69.js +23 -23
  543. package/dist/index.es69.js.map +1 -1
  544. package/dist/index.es7.js.map +1 -1
  545. package/dist/index.es70.js.map +1 -1
  546. package/dist/index.es71.js.map +1 -1
  547. package/dist/index.es72.js.map +1 -1
  548. package/dist/index.es73.js.map +1 -1
  549. package/dist/index.es74.js +17 -17
  550. package/dist/index.es74.js.map +1 -1
  551. package/dist/index.es75.js.map +1 -1
  552. package/dist/index.es77.js.map +1 -1
  553. package/dist/index.es78.js.map +1 -1
  554. package/dist/index.es79.js.map +1 -1
  555. package/dist/index.es8.js.map +1 -1
  556. package/dist/index.es80.js.map +1 -1
  557. package/dist/index.es81.js.map +1 -1
  558. package/dist/index.es82.js.map +1 -1
  559. package/dist/index.es83.js.map +1 -1
  560. package/dist/index.es84.js.map +1 -1
  561. package/dist/index.es85.js.map +1 -1
  562. package/dist/index.es86.js.map +1 -1
  563. package/dist/index.es87.js.map +1 -1
  564. package/dist/index.es88.js.map +1 -1
  565. package/dist/index.es89.js.map +1 -1
  566. package/dist/index.es9.js.map +1 -1
  567. package/dist/index.es90.js.map +1 -1
  568. package/dist/index.es91.js.map +1 -1
  569. package/dist/index.es92.js.map +1 -1
  570. package/dist/index.es93.js.map +1 -1
  571. package/dist/index.es94.js.map +1 -1
  572. package/dist/index.es95.js.map +1 -1
  573. package/dist/index.es96.js.map +1 -1
  574. package/dist/index.es97.js.map +1 -1
  575. package/dist/index.es98.js.map +1 -1
  576. package/dist/index.es99.js.map +1 -1
  577. package/dist/sections/Services/Services.css +1 -1
  578. package/package.json +107 -107
  579. package/readme.md +42 -42
  580. package/dist/index.cjs252.js +0 -2
  581. package/dist/index.cjs252.js.map +0 -1
  582. package/dist/index.cjs257.js.map +0 -1
  583. package/dist/index.cjs258.js +0 -2
  584. package/dist/index.cjs258.js.map +0 -1
  585. package/dist/index.cjs259.js +0 -2
  586. package/dist/index.cjs261.js +0 -2
  587. package/dist/index.cjs261.js.map +0 -1
  588. package/dist/index.cjs263.js +0 -2
  589. package/dist/index.cjs263.js.map +0 -1
  590. package/dist/index.cjs271.js.map +0 -1
  591. package/dist/index.cjs272.js +0 -2
  592. package/dist/index.cjs272.js.map +0 -1
  593. package/dist/index.cjs273.js +0 -2
  594. package/dist/index.cjs273.js.map +0 -1
  595. package/dist/index.cjs275.js +0 -2
  596. package/dist/index.cjs275.js.map +0 -1
  597. package/dist/index.cjs276.js +0 -2
  598. package/dist/index.cjs276.js.map +0 -1
  599. package/dist/index.cjs277.js +0 -2
  600. package/dist/index.cjs277.js.map +0 -1
  601. package/dist/index.cjs278.js +0 -2
  602. package/dist/index.cjs278.js.map +0 -1
  603. package/dist/index.cjs279.js +0 -2
  604. package/dist/index.cjs279.js.map +0 -1
  605. package/dist/index.cjs314.js +0 -2
  606. package/dist/index.cjs314.js.map +0 -1
  607. package/dist/index.cjs315.js +0 -2
  608. package/dist/index.cjs315.js.map +0 -1
  609. package/dist/index.cjs316.js +0 -2
  610. package/dist/index.cjs316.js.map +0 -1
  611. package/dist/index.cjs317.js +0 -2
  612. package/dist/index.cjs317.js.map +0 -1
  613. package/dist/index.cjs318.js +0 -2
  614. package/dist/index.cjs318.js.map +0 -1
  615. package/dist/index.cjs319.js +0 -2
  616. package/dist/index.cjs319.js.map +0 -1
  617. package/dist/index.cjs320.js +0 -2
  618. package/dist/index.cjs320.js.map +0 -1
  619. package/dist/index.cjs321.js +0 -2
  620. package/dist/index.cjs321.js.map +0 -1
  621. package/dist/index.cjs322.js +0 -2
  622. package/dist/index.cjs322.js.map +0 -1
  623. package/dist/index.es252.js +0 -14
  624. package/dist/index.es252.js.map +0 -1
  625. package/dist/index.es257.js.map +0 -1
  626. package/dist/index.es258.js +0 -9
  627. package/dist/index.es258.js.map +0 -1
  628. package/dist/index.es261.js +0 -32
  629. package/dist/index.es261.js.map +0 -1
  630. package/dist/index.es263.js +0 -49
  631. package/dist/index.es263.js.map +0 -1
  632. package/dist/index.es271.js.map +0 -1
  633. package/dist/index.es272.js +0 -53
  634. package/dist/index.es272.js.map +0 -1
  635. package/dist/index.es273.js +0 -12
  636. package/dist/index.es273.js.map +0 -1
  637. package/dist/index.es275.js +0 -128
  638. package/dist/index.es275.js.map +0 -1
  639. package/dist/index.es276.js +0 -138
  640. package/dist/index.es276.js.map +0 -1
  641. package/dist/index.es277.js +0 -17
  642. package/dist/index.es277.js.map +0 -1
  643. package/dist/index.es278.js +0 -36
  644. package/dist/index.es278.js.map +0 -1
  645. package/dist/index.es279.js +0 -45
  646. package/dist/index.es279.js.map +0 -1
  647. package/dist/index.es314.js +0 -12
  648. package/dist/index.es314.js.map +0 -1
  649. package/dist/index.es315.js +0 -17
  650. package/dist/index.es315.js.map +0 -1
  651. package/dist/index.es316.js +0 -65
  652. package/dist/index.es316.js.map +0 -1
  653. package/dist/index.es317.js +0 -7
  654. package/dist/index.es317.js.map +0 -1
  655. package/dist/index.es318.js +0 -26
  656. package/dist/index.es318.js.map +0 -1
  657. package/dist/index.es319.js +0 -16
  658. package/dist/index.es319.js.map +0 -1
  659. package/dist/index.es320.js +0 -31
  660. package/dist/index.es320.js.map +0 -1
  661. package/dist/index.es321.js +0 -8
  662. package/dist/index.es321.js.map +0 -1
  663. package/dist/index.es322.js +0 -26
  664. package/dist/index.es322.js.map +0 -1
  665. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs18.js","sources":["../src/components/navigations/HeaderPostLogin/index.tsx"],"sourcesContent":["import { LOGOS, Region } from \"../Header\";\nimport clsx from \"clsx\";\nimport { Divider } from \"@/components/ui/Divider\";\nimport \"./HeaderPostLogin.scss\";\nimport { ComponentType, ReactNode } from \"react\";\nimport { Col, Row } from \"@/components\";\n\ntype NavigationItem = {\n label: string;\n href: string;\n icon?: ComponentType<any>;\n active?: boolean;\n isNewTab?: boolean;\n};\n\nexport type HeaderPostLoginProps = {\n shortTitle: ReactNode;\n region: Region;\n navigationItems: NavigationItem[];\n loginLink?: string;\n asLink?: \"a\" | ComponentType<any>;\n generalClassName?: string;\n navItemsClassName?: string;\n};\n\nexport const HeaderPostLogin = ({\n shortTitle,\n region,\n asLink = \"a\",\n navigationItems,\n generalClassName,\n navItemsClassName,\n}: HeaderPostLoginProps) => {\n const LinkComponent = asLink;\n const NationalIcon = LOGOS[\"nazionale\"];\n const RegionIcon = LOGOS[region];\n\n return (\n <nav\n aria-label=\"Menu di navigazione\"\n className={clsx(\"ui-hpl-menu\", generalClassName)}\n style={\n {\n \"--navbar-elements\": navigationItems.length ?? 0,\n } as React.CSSProperties\n }\n >\n <Col\n pt={\"x80\"}\n px={\"x40\"}\n gap={\"x16\"}\n justifyContent={\"center\"}\n className=\"position-relative\"\n >\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"center\"}>\n <NationalIcon width={27} height={44} />\n <Divider bg=\"border-divider\" direction=\"vertical\" />\n <RegionIcon width={44} height={44} />\n </Row>\n <h3 className=\"fs-custom fw-normal text-slate-20 text-align-center\">\n {shortTitle}\n </h3>\n </Col>\n <div className=\"p-x40\">\n <Divider bg=\"border-divider\" />\n </div>\n <Col\n as={\"ul\"}\n gap={\"x12\"}\n className={clsx(\"list-style-none ui-hpl-list\", navItemsClassName)}\n role=\"list\"\n >\n {navigationItems.map((item, index) => {\n const IconComponent = item?.icon;\n return (\n <li\n key={index}\n className={clsx(\"ui-hpl-list-item\", item.active && \"active\")}\n >\n <LinkComponent\n href={item.href}\n aria-label={`Vai alla pagina ${item.label}`}\n className={clsx(\n \"text-decoration-none text-primary fs-custom base-row gap-x16 align-items-center pr-x8\",\n item.active ? \"fw-bold\" : \"fw-normal\",\n )}\n target={item.isNewTab ? \"_blank\" : undefined}\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\n >\n {IconComponent && (\n <IconComponent color=\"primary\" filled={item.active} />\n )}\n <span className=\"ui-hpl-text\">{item.label}</span>\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\n </LinkComponent>\n </li>\n );\n })}\n </Col>\n </nav>\n );\n};\n"],"names":["HeaderPostLogin","shortTitle","region","asLink","navigationItems","generalClassName","navItemsClassName","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsxs","clsx","Col","Row","jsx","Divider","item","index","IconComponent"],"mappings":"+SAyBaA,EAAkB,CAAC,CAC9B,WAAAC,EACA,OAAAC,EACA,OAAAC,EAAS,IACT,gBAAAC,EACA,iBAAAC,EACA,kBAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAChBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMP,CAAM,EAG7B,OAAAS,EAAA,kBAAA,KAAC,MAAA,CACC,aAAW,sBACX,UAAWC,EAAAA,KAAK,cAAeP,CAAgB,EAC/C,MACE,CACE,oBAAqBD,EAAgB,QAAU,CACjD,EAGF,SAAA,CAAAO,EAAA,kBAAA,KAACE,EAAA,IAAA,CACC,GAAI,MACJ,GAAI,MACJ,IAAK,MACL,eAAgB,SAChB,UAAU,oBAEV,SAAA,CAAAF,yBAACG,EAAAA,KAAI,IAAK,MAAO,WAAY,SAAU,eAAgB,SACrD,SAAA,CAAAC,EAAA,kBAAA,IAACP,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EACpCO,EAAA,kBAAA,IAAAC,EAAA,QAAA,CAAQ,GAAG,iBAAiB,UAAU,WAAW,EACjDD,EAAA,kBAAA,IAAAL,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,EACrC,EACCK,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,sDACX,SACHd,CAAA,CAAA,CAAA,CAAA,CACF,EACAc,EAAAA,kBAAAA,IAAC,OAAI,UAAU,QACb,iCAACC,EAAAA,QAAQ,CAAA,GAAG,iBAAiB,CAC/B,CAAA,EACAD,EAAA,kBAAA,IAACF,EAAA,IAAA,CACC,GAAI,KACJ,IAAK,MACL,UAAWD,EAAAA,KAAK,8BAA+BN,CAAiB,EAChE,KAAK,OAEJ,SAAgBF,EAAA,IAAI,CAACa,EAAMC,IAAU,CACpC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWH,EAAAA,KAAK,mBAAoBK,EAAK,QAAU,QAAQ,EAE3D,SAAAN,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAMU,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWL,EAAA,KACT,wFACAK,EAAK,OAAS,UAAY,WAC5B,EACA,OAAQA,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAAE,2BACEA,EAAc,CAAA,MAAM,UAAU,OAAQF,EAAK,OAAQ,EAErDF,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,cAAe,WAAK,MAAM,EACzCE,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAC1D,EAlBKG,CAmBP,CAEH,CAAA,CAAA,CAAA,CACH,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs18.js","sources":["../src/components/navigations/HeaderPostLogin/index.tsx"],"sourcesContent":["import { LOGOS, Region } from \"../Header\";\r\nimport clsx from \"clsx\";\r\nimport { Divider } from \"@/components/ui/Divider\";\r\nimport \"./HeaderPostLogin.scss\";\r\nimport { ComponentType, ReactNode } from \"react\";\r\nimport { Col, Row } from \"@/components\";\r\n\r\ntype NavigationItem = {\r\n label: string;\r\n href: string;\r\n icon?: ComponentType<any>;\r\n active?: boolean;\r\n isNewTab?: boolean;\r\n};\r\n\r\nexport type HeaderPostLoginProps = {\r\n shortTitle: ReactNode;\r\n region: Region;\r\n navigationItems: NavigationItem[];\r\n loginLink?: string;\r\n asLink?: \"a\" | ComponentType<any>;\r\n generalClassName?: string;\r\n navItemsClassName?: string;\r\n};\r\n\r\nexport const HeaderPostLogin = ({\r\n shortTitle,\r\n region,\r\n asLink = \"a\",\r\n navigationItems,\r\n generalClassName,\r\n navItemsClassName,\r\n}: HeaderPostLoginProps) => {\r\n const LinkComponent = asLink;\r\n const NationalIcon = LOGOS[\"nazionale\"];\r\n const RegionIcon = LOGOS[region];\r\n\r\n return (\r\n <nav\r\n aria-label=\"Menu di navigazione\"\r\n className={clsx(\"ui-hpl-menu\", generalClassName)}\r\n style={\r\n {\r\n \"--navbar-elements\": navigationItems.length ?? 0,\r\n } as React.CSSProperties\r\n }\r\n >\r\n <Col\r\n pt={\"x80\"}\r\n px={\"x40\"}\r\n gap={\"x16\"}\r\n justifyContent={\"center\"}\r\n className=\"position-relative\"\r\n >\r\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"center\"}>\r\n <NationalIcon width={27} height={44} />\r\n <Divider bg=\"border-divider\" direction=\"vertical\" />\r\n <RegionIcon width={44} height={44} />\r\n </Row>\r\n <h3 className=\"fs-custom fw-normal text-slate-20 text-align-center\">\r\n {shortTitle}\r\n </h3>\r\n </Col>\r\n <div className=\"p-x40\">\r\n <Divider bg=\"border-divider\" />\r\n </div>\r\n <Col\r\n as={\"ul\"}\r\n gap={\"x12\"}\r\n className={clsx(\"list-style-none ui-hpl-list\", navItemsClassName)}\r\n role=\"list\"\r\n >\r\n {navigationItems.map((item, index) => {\r\n const IconComponent = item?.icon;\r\n return (\r\n <li\r\n key={index}\r\n className={clsx(\"ui-hpl-list-item\", item.active && \"active\")}\r\n >\r\n <LinkComponent\r\n href={item.href}\r\n aria-label={`Vai alla pagina ${item.label}`}\r\n className={clsx(\r\n \"text-decoration-none text-primary fs-custom base-row gap-x16 align-items-center pr-x8\",\r\n item.active ? \"fw-bold\" : \"fw-normal\",\r\n )}\r\n target={item.isNewTab ? \"_blank\" : undefined}\r\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\r\n >\r\n {IconComponent && (\r\n <IconComponent color=\"primary\" filled={item.active} />\r\n )}\r\n <span className=\"ui-hpl-text\">{item.label}</span>\r\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\r\n </LinkComponent>\r\n </li>\r\n );\r\n })}\r\n </Col>\r\n </nav>\r\n );\r\n};\r\n"],"names":["HeaderPostLogin","shortTitle","region","asLink","navigationItems","generalClassName","navItemsClassName","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsxs","clsx","Col","Row","jsx","Divider","item","index","IconComponent"],"mappings":"+SAyBaA,EAAkB,CAAC,CAC9B,WAAAC,EACA,OAAAC,EACA,OAAAC,EAAS,IACT,gBAAAC,EACA,iBAAAC,EACA,kBAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAChBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMP,CAAM,EAG7B,OAAAS,EAAA,kBAAA,KAAC,MAAA,CACC,aAAW,sBACX,UAAWC,EAAAA,KAAK,cAAeP,CAAgB,EAC/C,MACE,CACE,oBAAqBD,EAAgB,QAAU,CACjD,EAGF,SAAA,CAAAO,EAAA,kBAAA,KAACE,EAAA,IAAA,CACC,GAAI,MACJ,GAAI,MACJ,IAAK,MACL,eAAgB,SAChB,UAAU,oBAEV,SAAA,CAAAF,yBAACG,EAAAA,KAAI,IAAK,MAAO,WAAY,SAAU,eAAgB,SACrD,SAAA,CAAAC,EAAA,kBAAA,IAACP,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EACpCO,EAAA,kBAAA,IAAAC,EAAA,QAAA,CAAQ,GAAG,iBAAiB,UAAU,WAAW,EACjDD,EAAA,kBAAA,IAAAL,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,EACrC,EACCK,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,sDACX,SACHd,CAAA,CAAA,CAAA,CAAA,CACF,EACAc,EAAAA,kBAAAA,IAAC,OAAI,UAAU,QACb,iCAACC,EAAAA,QAAQ,CAAA,GAAG,iBAAiB,CAC/B,CAAA,EACAD,EAAA,kBAAA,IAACF,EAAA,IAAA,CACC,GAAI,KACJ,IAAK,MACL,UAAWD,EAAAA,KAAK,8BAA+BN,CAAiB,EAChE,KAAK,OAEJ,SAAgBF,EAAA,IAAI,CAACa,EAAMC,IAAU,CACpC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWH,EAAAA,KAAK,mBAAoBK,EAAK,QAAU,QAAQ,EAE3D,SAAAN,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAMU,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWL,EAAA,KACT,wFACAK,EAAK,OAAS,UAAY,WAC5B,EACA,OAAQA,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAAE,2BACEA,EAAc,CAAA,MAAM,UAAU,OAAQF,EAAK,OAAQ,EAErDF,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,cAAe,WAAK,MAAM,EACzCE,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAC1D,EAlBKG,CAmBP,CAEH,CAAA,CAAA,CAAA,CACH,CAAA,CACF,CAEJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs181.js","sources":["../src/hooks/useIsDesktop.ts"],"sourcesContent":["import { useMediaQuery, useMediaQueryV2 } from \"./useMediaQuery\";\n\nexport const useIsDesktop = (): boolean => {\n return useMediaQuery(\"(min-width: 1200px)\");\n};\n\nexport const useIsDesktopV2 = (initialValue?: boolean): boolean => {\n return useMediaQueryV2(\"(min-width: 1200px)\", initialValue ?? false);\n};\n"],"names":["useIsDesktop","useMediaQuery"],"mappings":"qHAEaA,EAAe,IACnBC,EAAAA,cAAc,qBAAqB"}
1
+ {"version":3,"file":"index.cjs181.js","sources":["../src/hooks/useIsDesktop.ts"],"sourcesContent":["import { useMediaQuery, useMediaQueryV2 } from \"./useMediaQuery\";\r\n\r\nexport const useIsDesktop = (): boolean => {\r\n return useMediaQuery(\"(min-width: 1200px)\");\r\n};\r\n\r\nexport const useIsDesktopV2 = (initialValue?: boolean): boolean => {\r\n return useMediaQueryV2(\"(min-width: 1200px)\", initialValue ?? false);\r\n};\r\n"],"names":["useIsDesktop","useMediaQuery"],"mappings":"qHAEaA,EAAe,IACnBC,EAAAA,cAAc,qBAAqB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs186.js","sources":["../src/icons/Spid/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"../../types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const Spid = ({\n width = 24,\n height = 24,\n className,\n color,\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n className={clsx(className, classes)}\n >\n <path\n d=\"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z\"\n fill=\"white\"\n />\n <path\n d=\"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z\"\n fill=\"#0066CC\"\n stroke=\"#0066CC\"\n strokeWidth=\"0.3\"\n />\n <path\n d=\"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z\"\n fill=\"#0066CC\"\n stroke=\"#0066CC\"\n strokeWidth=\"0.3\"\n />\n </svg>\n );\n};\n"],"names":["Spid","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAO,CAAC,CACnB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,eACL,MAAM,6BACN,cAAY,OACZ,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAElC,SAAA,CAAAI,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4IACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,6WACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CACd,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,0LACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CAAA,CACd,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs186.js","sources":["../src/icons/Spid/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"../../types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\n\r\nexport const Spid = ({\r\n width = 24,\r\n height = 24,\r\n className,\r\n color,\r\n}: IconProps) => {\r\n const classes = createColorClasses({ color });\r\n\r\n return (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 24 24\"\r\n fill=\"currentColor\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-hidden=\"true\"\r\n className={clsx(className, classes)}\r\n >\r\n <path\r\n d=\"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n d=\"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z\"\r\n fill=\"#0066CC\"\r\n stroke=\"#0066CC\"\r\n strokeWidth=\"0.3\"\r\n />\r\n <path\r\n d=\"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z\"\r\n fill=\"#0066CC\"\r\n stroke=\"#0066CC\"\r\n strokeWidth=\"0.3\"\r\n />\r\n </svg>\r\n );\r\n};\r\n"],"names":["Spid","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAO,CAAC,CACnB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,eACL,MAAM,6BACN,cAAY,OACZ,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAElC,SAAA,CAAAI,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4IACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,6WACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CACd,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,0LACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CAAA,CACd,CAAA,CACF,CAEJ"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs246.js"),v=require("./index.cjs247.js"),T=require("./index.cjs248.js"),R=require("./index.cjs252.js"),B=require("./index.cjs249.js"),V=require("./index.cjs275.js"),z=require("./index.cjs276.js"),K=require("./index.cjs277.js"),E=require("./index.cjs260.js"),x=require("./index.cjs278.js"),U=require("./index.cjs267.js"),Y=require("./index.cjs273.js"),Z=require("./index.cjs272.js"),J=require("./index.cjs279.js"),i=require("./index.cjs141.js");function Q(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 a=Q(H);var j="Dialog",[A,X]=T.createContextScope(j),[ee,u]=A(j),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f=!1,D]=B.useControllableState({prop:r,defaultProp:s,onChange:o});return i.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:R.useId(),titleId:R.useId(),descriptionId:R.useId(),open:f,onOpenChange:D,onOpenToggle:a.useCallback(()=>D(L=>!L),[D]),modal:c,children:n})};C.displayName=j;var M="DialogTrigger",S=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(M,n),o=v.useComposedRefs(t,s.triggerRef);return i.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":I(s.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,s.onOpenToggle)})});S.displayName=M;var P="DialogPortal",[te,w]=A(P,{forceMount:void 0}),_=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=u(P,t);return i.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>i.jsxRuntimeExports.jsx(E.Presence,{present:n||o.open,children:i.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:s,children:c})}))})};_.displayName=P;var m="DialogOverlay",y=a.forwardRef((e,t)=>{const n=w(m,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=u(m,e.__scopeDialog);return o.modal?i.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:i.jsxRuntimeExports.jsx(oe,{...s,ref:t})}):null});y.displayName=m;var oe=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(m,n);return i.jsxRuntimeExports.jsx(Y,{as:J.Slot,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":I(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",O=a.forwardRef((e,t)=>{const n=w(g,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=u(g,e.__scopeDialog);return i.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:o.modal?i.jsxRuntimeExports.jsx(ne,{...s,ref:t}):i.jsxRuntimeExports.jsx(re,{...s,ref:t})})});O.displayName=g;var ne=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),s=v.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),i.jsxRuntimeExports.jsx(F,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),s=a.useRef(!1);return i.jsxRuntimeExports.jsx(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),F=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=v.useComposedRefs(t,d);return U.useFocusGuards(),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:i.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":I(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(ie,{titleId:l.titleId}),i.jsxRuntimeExports.jsx(ce,{contentRef:d,descriptionId:l.descriptionId})]})]})}),h="DialogTitle",N=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(h,n);return i.jsxRuntimeExports.jsx(x.Primitive.h2,{id:s.titleId,...r,ref:t})});N.displayName=h;var q="DialogDescription",$=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(q,n);return i.jsxRuntimeExports.jsx(x.Primitive.p,{id:s.descriptionId,...r,ref:t})});$.displayName=q;var W="DialogClose",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(W,n);return i.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});b.displayName=W;function I(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=T.createContext(k,{contentName:g,titleName:h,docsSlug:"dialog"}),ie=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs245.js"),v=require("./index.cjs246.js"),T=require("./index.cjs247.js"),R=require("./index.cjs251.js"),B=require("./index.cjs248.js"),V=require("./index.cjs264.js"),z=require("./index.cjs265.js"),K=require("./index.cjs266.js"),E=require("./index.cjs255.js"),x=require("./index.cjs249.js"),U=require("./index.cjs267.js"),Y=require("./index.cjs268.js"),Z=require("./index.cjs269.js"),J=require("./index.cjs270.js"),i=require("./index.cjs141.js");function Q(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 a=Q(H);var j="Dialog",[A,X]=T.createContextScope(j),[ee,u]=A(j),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f=!1,D]=B.useControllableState({prop:r,defaultProp:s,onChange:o});return i.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:R.useId(),titleId:R.useId(),descriptionId:R.useId(),open:f,onOpenChange:D,onOpenToggle:a.useCallback(()=>D(L=>!L),[D]),modal:c,children:n})};C.displayName=j;var M="DialogTrigger",S=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(M,n),o=v.useComposedRefs(t,s.triggerRef);return i.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":I(s.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,s.onOpenToggle)})});S.displayName=M;var P="DialogPortal",[te,w]=A(P,{forceMount:void 0}),_=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=u(P,t);return i.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>i.jsxRuntimeExports.jsx(E.Presence,{present:n||o.open,children:i.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:s,children:c})}))})};_.displayName=P;var m="DialogOverlay",y=a.forwardRef((e,t)=>{const n=w(m,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=u(m,e.__scopeDialog);return o.modal?i.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:i.jsxRuntimeExports.jsx(oe,{...s,ref:t})}):null});y.displayName=m;var oe=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(m,n);return i.jsxRuntimeExports.jsx(Y,{as:J.Slot,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":I(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",O=a.forwardRef((e,t)=>{const n=w(g,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=u(g,e.__scopeDialog);return i.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:o.modal?i.jsxRuntimeExports.jsx(ne,{...s,ref:t}):i.jsxRuntimeExports.jsx(re,{...s,ref:t})})});O.displayName=g;var ne=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),s=v.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),i.jsxRuntimeExports.jsx(F,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),s=a.useRef(!1);return i.jsxRuntimeExports.jsx(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),F=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=v.useComposedRefs(t,d);return U.useFocusGuards(),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:i.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":I(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(ie,{titleId:l.titleId}),i.jsxRuntimeExports.jsx(ce,{contentRef:d,descriptionId:l.descriptionId})]})]})}),h="DialogTitle",N=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(h,n);return i.jsxRuntimeExports.jsx(x.Primitive.h2,{id:s.titleId,...r,ref:t})});N.displayName=h;var q="DialogDescription",$=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(q,n);return i.jsxRuntimeExports.jsx(x.Primitive.p,{id:s.descriptionId,...r,ref:t})});$.displayName=q;var W="DialogClose",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(W,n);return i.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});b.displayName=W;function I(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=T.createContext(k,{contentName:g,titleName:h,docsSlug:"dialog"}),ie=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
2
 
3
3
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs189.js","sources":["../src/components/ui/BaseModal/BaseModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close, ArrowLeft } from \"@/icons\";\nimport \"./BaseModalHeader.scss\";\nimport { Row } from \"@/components\";\n\ntype BaseModalHeaderProps = {\n labels?: {\n closeButton?: string;\n backButton?: string;\n };\n onCloseClick?: () => void;\n onBackClick?: () => void;\n showBackButton?: boolean;\n children?: React.ReactNode;\n};\n\nexport const BaseModalHeader = ({\n labels = {\n closeButton: \"Chiudi\",\n backButton: \"Indietro\",\n },\n onCloseClick,\n onBackClick,\n showBackButton = false,\n children,\n}: BaseModalHeaderProps) => {\n return (\n <header className=\"ui-base-modal-header bg-white br-t-x4\">\n <Row alignItems={\"center\"} justifyContent={\"space-between\"}>\n {showBackButton && onBackClick && labels?.backButton ? (\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Torna indietro\"\n onClick={onBackClick}\n >\n <ArrowLeft className=\"mr-x8\" />\n {labels.backButton}\n </Button>\n ) : null}\n {onCloseClick && labels?.closeButton ? (\n <Dialog.Close asChild>\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n className=\"ui-base-modal-close\"\n >\n {labels.closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n ) : null}\n </Row>\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n </header>\n );\n};\n"],"names":["BaseModalHeader","labels","onCloseClick","onBackClick","showBackButton","children","jsxs","Row","Button","jsx","ArrowLeft","Dialog.Close","Close","Dialog.Title"],"mappings":"8SAiBaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,CACP,YAAa,SACb,WAAY,UACd,EACA,aAAAC,EACA,YAAAC,EACA,eAAAC,EAAiB,GACjB,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,wCAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBACxC,SAAA,CAAkBH,GAAAD,IAAeF,GAAA,MAAAA,EAAQ,YACxCK,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASL,EAET,SAAA,CAACM,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BT,EAAO,UAAA,CAAA,CAAA,EAER,KACHC,IAAgBD,GAAA,MAAAA,EAAQ,aACvBQ,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRQ,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,EACN,0BACCC,EAAAA,MAAA,CAAa,UAAU,6BACrB,SAAAR,CACH,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs189.js","sources":["../src/components/ui/BaseModal/BaseModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { Close, ArrowLeft } from \"@/icons\";\r\nimport \"./BaseModalHeader.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype BaseModalHeaderProps = {\r\n labels?: {\r\n closeButton?: string;\r\n backButton?: string;\r\n };\r\n onCloseClick?: () => void;\r\n onBackClick?: () => void;\r\n showBackButton?: boolean;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalHeader = ({\r\n labels = {\r\n closeButton: \"Chiudi\",\r\n backButton: \"Indietro\",\r\n },\r\n onCloseClick,\r\n onBackClick,\r\n showBackButton = false,\r\n children,\r\n}: BaseModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-base-modal-header bg-white br-t-x4\">\r\n <Row alignItems={\"center\"} justifyContent={\"space-between\"}>\r\n {showBackButton && onBackClick && labels?.backButton ? (\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Torna indietro\"\r\n onClick={onBackClick}\r\n >\r\n <ArrowLeft className=\"mr-x8\" />\r\n {labels.backButton}\r\n </Button>\r\n ) : null}\r\n {onCloseClick && labels?.closeButton ? (\r\n <Dialog.Close asChild>\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n className=\"ui-base-modal-close\"\r\n >\r\n {labels.closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n ) : null}\r\n </Row>\r\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n </header>\r\n );\r\n};\r\n"],"names":["BaseModalHeader","labels","onCloseClick","onBackClick","showBackButton","children","jsxs","Row","Button","jsx","ArrowLeft","Dialog.Close","Close","Dialog.Title"],"mappings":"8SAiBaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,CACP,YAAa,SACb,WAAY,UACd,EACA,aAAAC,EACA,YAAAC,EACA,eAAAC,EAAiB,GACjB,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,wCAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBACxC,SAAA,CAAkBH,GAAAD,IAAeF,GAAA,MAAAA,EAAQ,YACxCK,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASL,EAET,SAAA,CAACM,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BT,EAAO,UAAA,CAAA,CAAA,EAER,KACHC,IAAgBD,GAAA,MAAAA,EAAQ,aACvBQ,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRQ,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,EACN,0BACCC,EAAAA,MAAA,CAAa,UAAU,6BACrB,SAAAR,CACH,CAAA,CAAA,EACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs19.js","sources":["../src/components/navigations/Breadcrumb/index.tsx"],"sourcesContent":["import {\n BreadcrumbItem,\n BreadcrumbItemProps,\n} from \"@/components/navigations/Breadcrumb/BreadcrumbItem.tsx\";\nimport clsx from \"clsx\";\nimport \"./Breadcrumb.scss\";\n\nexport type BreadcrumbProps = {\n items: BreadcrumbItemProps[];\n};\n\nexport const Breadcrumb = ({\n items = [{ label: \"Home\", href: \"#\" }],\n}: BreadcrumbProps) => {\n return (\n <nav aria-label=\"Percorso di navigazione\">\n <ol className={clsx(\"ui-breadcrumb\", \"fs-6 md-fs-custom\")}>\n {items.map((item, index) => (\n <div key={index}>\n <BreadcrumbItem\n label={item.label}\n href={item.href}\n asLink={item.asLink}\n isClickable={item.isClickable ?? true}\n />\n {index < items.length - 1 && (\n <span\n className={clsx(\n \"ui-breadcrumb-separator\",\n \"fw-bold text-slate-28\",\n )}\n >\n /\n </span>\n )}\n </div>\n ))}\n </ol>\n </nav>\n );\n};\n"],"names":["Breadcrumb","items","jsx","clsx","item","index","BreadcrumbItem"],"mappings":"gNAWO,MAAMA,EAAa,CAAC,CACzB,MAAAC,EAAQ,CAAC,CAAE,MAAO,OAAQ,KAAM,GAAK,CAAA,CACvC,4BAEK,MAAI,CAAA,aAAW,0BACd,SAAAC,wBAAC,MAAG,UAAWC,EAAA,KAAK,gBAAiB,mBAAmB,EACrD,SAAMF,EAAA,IAAI,CAACG,EAAMC,6BACf,MACC,CAAA,SAAA,CAAAH,EAAA,kBAAA,IAACI,EAAA,eAAA,CACC,MAAOF,EAAK,MACZ,KAAMA,EAAK,KACX,OAAQA,EAAK,OACb,YAAaA,EAAK,aAAe,EAAA,CACnC,EACCC,EAAQJ,EAAM,OAAS,GACtBC,EAAA,kBAAA,IAAC,OAAA,CACC,UAAWC,EAAA,KACT,0BACA,uBACF,EACD,SAAA,GAAA,CAAA,CAbK,CAAA,EAAAE,CAiBV,CACD,CACH,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs19.js","sources":["../src/components/navigations/Breadcrumb/index.tsx"],"sourcesContent":["import {\r\n BreadcrumbItem,\r\n BreadcrumbItemProps,\r\n} from \"@/components/navigations/Breadcrumb/BreadcrumbItem.tsx\";\r\nimport clsx from \"clsx\";\r\nimport \"./Breadcrumb.scss\";\r\n\r\nexport type BreadcrumbProps = {\r\n items: BreadcrumbItemProps[];\r\n};\r\n\r\nexport const Breadcrumb = ({\r\n items = [{ label: \"Home\", href: \"#\" }],\r\n}: BreadcrumbProps) => {\r\n return (\r\n <nav aria-label=\"Percorso di navigazione\">\r\n <ol className={clsx(\"ui-breadcrumb\", \"fs-6 md-fs-custom\")}>\r\n {items.map((item, index) => (\r\n <div key={index}>\r\n <BreadcrumbItem\r\n label={item.label}\r\n href={item.href}\r\n asLink={item.asLink}\r\n isClickable={item.isClickable ?? true}\r\n />\r\n {index < items.length - 1 && (\r\n <span\r\n className={clsx(\r\n \"ui-breadcrumb-separator\",\r\n \"fw-bold text-slate-28\",\r\n )}\r\n >\r\n /\r\n </span>\r\n )}\r\n </div>\r\n ))}\r\n </ol>\r\n </nav>\r\n );\r\n};\r\n"],"names":["Breadcrumb","items","jsx","clsx","item","index","BreadcrumbItem"],"mappings":"gNAWO,MAAMA,EAAa,CAAC,CACzB,MAAAC,EAAQ,CAAC,CAAE,MAAO,OAAQ,KAAM,GAAK,CAAA,CACvC,4BAEK,MAAI,CAAA,aAAW,0BACd,SAAAC,wBAAC,MAAG,UAAWC,EAAA,KAAK,gBAAiB,mBAAmB,EACrD,SAAMF,EAAA,IAAI,CAACG,EAAMC,6BACf,MACC,CAAA,SAAA,CAAAH,EAAA,kBAAA,IAACI,EAAA,eAAA,CACC,MAAOF,EAAK,MACZ,KAAMA,EAAK,KACX,OAAQA,EAAK,OACb,YAAaA,EAAK,aAAe,EAAA,CACnC,EACCC,EAAQJ,EAAM,OAAS,GACtBC,EAAA,kBAAA,IAAC,OAAA,CACC,UAAWC,EAAA,KACT,0BACA,uBACF,EACD,SAAA,GAAA,CAAA,CAbK,CAAA,EAAAE,CAiBV,CACD,CACH,CAAA,EACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs190.js","sources":["../src/components/ui/BaseModal/BaseModalFooter/index.tsx"],"sourcesContent":["import { Row } from \"@/components\";\n\ntype BaseModalFooterProps = {\n className?: string;\n children: React.ReactNode;\n};\n\nexport const BaseModalFooter = ({\n children,\n className,\n}: BaseModalFooterProps) => {\n return (\n <Row\n as={\"footer\"}\n bg={\"white\"}\n alignItems={\"center\"}\n px={\"x36\"}\n py={\"x8\"}\n className={`min-h-x72 w-full br-b-x4 ${className ? className : \"\"} `}\n >\n {children}\n </Row>\n );\n};\n"],"names":["BaseModalFooter","children","className","jsx","Row"],"mappings":"kJAOaA,EAAkB,CAAC,CAC9B,SAAAC,EACA,UAAAC,CACF,IAEIC,EAAA,kBAAA,IAACC,EAAA,IAAA,CACC,GAAI,SACJ,GAAI,QACJ,WAAY,SACZ,GAAI,MACJ,GAAI,KACJ,UAAW,4BAA4BF,GAAwB,EAAE,IAEhE,SAAAD,CAAA,CACH"}
1
+ {"version":3,"file":"index.cjs190.js","sources":["../src/components/ui/BaseModal/BaseModalFooter/index.tsx"],"sourcesContent":["import { Row } from \"@/components\";\r\n\r\ntype BaseModalFooterProps = {\r\n className?: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalFooter = ({\r\n children,\r\n className,\r\n}: BaseModalFooterProps) => {\r\n return (\r\n <Row\r\n as={\"footer\"}\r\n bg={\"white\"}\r\n alignItems={\"center\"}\r\n px={\"x36\"}\r\n py={\"x8\"}\r\n className={`min-h-x72 w-full br-b-x4 ${className ? className : \"\"} `}\r\n >\r\n {children}\r\n </Row>\r\n );\r\n};\r\n"],"names":["BaseModalFooter","children","className","jsx","Row"],"mappings":"kJAOaA,EAAkB,CAAC,CAC9B,SAAAC,EACA,UAAAC,CACF,IAEIC,EAAA,kBAAA,IAACC,EAAA,IAAA,CACC,GAAI,SACJ,GAAI,QACJ,WAAY,SACZ,GAAI,MACJ,GAAI,KACJ,UAAW,4BAA4BF,GAAwB,EAAE,IAEhE,SAAAD,CAAA,CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs191.js","sources":["../src/components/ui/BaseModal/BaseModalContent/index.tsx"],"sourcesContent":["import \"./BaseModalContent.scss\";\n\ntype BaseModalContentProps = {\n className?: string;\n children: React.ReactNode;\n};\n\nexport const BaseModalContent = ({\n className,\n children,\n}: BaseModalContentProps) => {\n return (\n <div className={`ui-base-modal-content ${className ? className : \"\"}`}>\n {children}\n </div>\n );\n};\n"],"names":["BaseModalContent","className","children","jsx"],"mappings":"kJAOO,MAAMA,EAAmB,CAAC,CAC/B,UAAAC,EACA,SAAAC,CACF,IAEIC,wBAAC,OAAI,UAAW,yBAAyBF,GAAwB,EAAE,GAChE,SAAAC,CACH,CAAA"}
1
+ {"version":3,"file":"index.cjs191.js","sources":["../src/components/ui/BaseModal/BaseModalContent/index.tsx"],"sourcesContent":["import \"./BaseModalContent.scss\";\r\n\r\ntype BaseModalContentProps = {\r\n className?: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalContent = ({\r\n className,\r\n children,\r\n}: BaseModalContentProps) => {\r\n return (\r\n <div className={`ui-base-modal-content ${className ? className : \"\"}`}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["BaseModalContent","className","children","jsx"],"mappings":"kJAOO,MAAMA,EAAmB,CAAC,CAC/B,UAAAC,EACA,SAAAC,CACF,IAEIC,wBAAC,OAAI,UAAW,yBAAyBF,GAAwB,EAAE,GAChE,SAAAC,CACH,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs192.js","sources":["../src/components/ui/BaseModal/BaseModalBackHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { ArrowLeft } from \"@/icons\";\nimport \"./BaseModalBackHeader.scss\";\n\ntype BaseModalBackProps = {\n onBackClick: () => void;\n backButton: string;\n children?: React.ReactNode;\n};\n\nexport const BaseModalBackHeader = ({\n onBackClick,\n backButton,\n children,\n}: BaseModalBackProps) => {\n return (\n <header className=\"ui-base-modal-back-header\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Torna indietro\"\n onClick={onBackClick}\n className=\"ui-base-modal-back-button\"\n >\n <ArrowLeft className=\"mr-x8\" />\n {backButton}\n </Button>\n <Dialog.Title className=\"ui-base-modal-back-header-title fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n </header>\n );\n};\n"],"names":["BaseModalBackHeader","onBackClick","backButton","children","jsxs","Button","jsx","ArrowLeft","Dialog.Title"],"mappings":"mPAWaA,EAAsB,CAAC,CAClC,YAAAC,EACA,WAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,4BAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASJ,EACT,UAAU,4BAEV,SAAA,CAACK,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BL,CAAA,CAAA,CACH,0BACCM,EAAAA,MAAA,CAAa,UAAU,6DACrB,SAAAL,CACH,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs192.js","sources":["../src/components/ui/BaseModal/BaseModalBackHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { ArrowLeft } from \"@/icons\";\r\nimport \"./BaseModalBackHeader.scss\";\r\n\r\ntype BaseModalBackProps = {\r\n onBackClick: () => void;\r\n backButton: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalBackHeader = ({\r\n onBackClick,\r\n backButton,\r\n children,\r\n}: BaseModalBackProps) => {\r\n return (\r\n <header className=\"ui-base-modal-back-header\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Torna indietro\"\r\n onClick={onBackClick}\r\n className=\"ui-base-modal-back-button\"\r\n >\r\n <ArrowLeft className=\"mr-x8\" />\r\n {backButton}\r\n </Button>\r\n <Dialog.Title className=\"ui-base-modal-back-header-title fs-3 text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n </header>\r\n );\r\n};\r\n"],"names":["BaseModalBackHeader","onBackClick","backButton","children","jsxs","Button","jsx","ArrowLeft","Dialog.Title"],"mappings":"mPAWaA,EAAsB,CAAC,CAClC,YAAAC,EACA,WAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,4BAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASJ,EACT,UAAU,4BAEV,SAAA,CAACK,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BL,CAAA,CAAA,CACH,0BACCM,EAAAA,MAAA,CAAa,UAAU,6DACrB,SAAAL,CACH,CAAA,CAAA,EACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs194.js","sources":["../src/components/ui/ConsentModal/ConsentModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close } from \"@/icons\";\nimport \"./ConsentModalHeader.scss\";\n\ntype ConsentModalHeaderProps = {\n closeButton?: string;\n onCloseClick?: () => void;\n children?: React.ReactNode;\n};\n\nexport const ConsentModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: ConsentModalHeaderProps) => {\n return (\n <header className=\"ui-consent-modal-header shadow bg-white\">\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n <Dialog.Close asChild className=\"ui-consent-modal-header-close\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n {closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n </header>\n );\n};\n"],"names":["ConsentModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAWaA,EAAqB,CAAC,CACjC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,gCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs194.js","sources":["../src/components/ui/ConsentModal/ConsentModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./ConsentModalHeader.scss\";\r\n\r\ntype ConsentModalHeaderProps = {\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const ConsentModalHeader = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n children,\r\n}: ConsentModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-consent-modal-header shadow bg-white\">\r\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n <Dialog.Close asChild className=\"ui-consent-modal-header-close\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n >\r\n {closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n </header>\r\n );\r\n};\r\n"],"names":["ConsentModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAWaA,EAAqB,CAAC,CACjC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,gCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const o=require("./index.cjs141.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.ConsentModalFooter=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const o=require("./index.cjs141.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.ConsentModalFooter=t;
2
2
  //# sourceMappingURL=index.cjs195.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs195.js","sources":["../src/components/ui/ConsentModal/ConsentModalFooter/index.tsx"],"sourcesContent":["import \"./ConsentModalFooter.scss\";\n\ntype ConsentModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const ConsentModalFooter = ({ children }: ConsentModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["ConsentModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAqB,CAAC,CAAE,SAAAC,KAEhCC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
1
+ {"version":3,"file":"index.cjs195.js","sources":["../src/components/ui/ConsentModal/ConsentModalFooter/index.tsx"],"sourcesContent":["import \"./ConsentModalFooter.scss\";\r\n\r\ntype ConsentModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const ConsentModalFooter = ({ children }: ConsentModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["ConsentModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAqB,CAAC,CAAE,SAAAC,KAEhCC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs196.js","sources":["../src/components/ui/ConsentModal/ConsentModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./ConsentModalContent.scss\";\n\ntype ContentModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const ContentModalContent = ({\n overrideClassNames,\n children,\n}: ContentModalContentProps) => {\n return (\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["ContentModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAsB,CAAC,CAClC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
1
+ {"version":3,"file":"index.cjs196.js","sources":["../src/components/ui/ConsentModal/ConsentModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./ConsentModalContent.scss\";\r\n\r\ntype ContentModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const ContentModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: ContentModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["ContentModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAsB,CAAC,CAClC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs199.js","sources":["../src/components/ui/DoctorModal/DoctorModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./DoctorModalContent.scss\";\n\ntype DoctorModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const DoctorModalContent = ({\n overrideClassNames,\n children,\n}: DoctorModalContentProps) => {\n return (\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["DoctorModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAqB,CAAC,CACjC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
1
+ {"version":3,"file":"index.cjs199.js","sources":["../src/components/ui/DoctorModal/DoctorModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DoctorModalContent.scss\";\r\n\r\ntype DoctorModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DoctorModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DoctorModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAqB,CAAC,CACjC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs20.js","sources":["../src/components/navigations/TabBar/index.tsx"],"sourcesContent":["\"use client\";\nimport clsx from \"clsx\";\nimport \"./TabBar.scss\";\nimport { Row } from \"@/components\";\n\ntype NavigationItem = {\n label: string;\n href: string;\n icon?: React.ComponentType<any>;\n active?: boolean;\n shortLabel?: string;\n};\n\nexport type TabBarProps = {\n navigatonItems: NavigationItem[];\n asLink?: \"a\" | React.ComponentType<any>;\n className?: string;\n};\n\nexport const TabBar = ({\n navigatonItems,\n asLink = \"a\",\n className,\n}: TabBarProps) => {\n const LinkComponent = asLink;\n\n return (\n <nav className={clsx(\"bg-white ui-tab-bar shadow\", className)}>\n <Row as={\"ul\"} className=\"list-style-none ui-tab-bar-list\" role=\"list\">\n {navigatonItems.map((item, index) => {\n const IconComponent = item?.icon;\n return (\n <li key={index} className=\"ui-tab-bar-item\">\n <LinkComponent\n href={item.href}\n aria-label={`Vai alla pagina ${item.label}`}\n className={clsx(\n \"text-decoration-none text-secondary fs-8 fw-bold\",\n item.active && \"active\",\n )}\n >\n {IconComponent && (\n <IconComponent\n color={item.active ? \"primary\" : \"secondary\"}\n filled={!!item.active}\n />\n )}\n {item.shortLabel ? item.shortLabel : item.label}\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\n </LinkComponent>\n </li>\n );\n })}\n </Row>\n </nav>\n );\n};\n"],"names":["TabBar","navigatonItems","asLink","className","LinkComponent","clsx","jsx","Row","item","index","IconComponent","jsxs"],"mappings":"oNAmBaA,EAAS,CAAC,CACrB,eAAAC,EACA,OAAAC,EAAS,IACT,UAAAC,CACF,IAAmB,CACjB,MAAMC,EAAgBF,EAEtB,+BACG,MAAI,CAAA,UAAWG,OAAK,6BAA8BF,CAAS,EAC1D,SAACG,EAAA,kBAAA,IAAAC,MAAA,CAAI,GAAI,KAAM,UAAU,kCAAkC,KAAK,OAC7D,WAAe,IAAI,CAACC,EAAMC,IAAU,CACnC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAAA,kBAAAA,IAAC,KAAe,CAAA,UAAU,kBACxB,SAAAK,EAAA,kBAAA,KAACP,EAAA,CACC,KAAMI,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWH,EAAA,KACT,mDACAG,EAAK,QAAU,QACjB,EAEC,SAAA,CACCE,GAAAJ,EAAA,kBAAA,IAACI,EAAA,CACC,MAAOF,EAAK,OAAS,UAAY,YACjC,OAAQ,CAAC,CAACA,EAAK,MAAA,CACjB,EAEDA,EAAK,WAAaA,EAAK,WAAaA,EAAK,MACzCA,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,IAhBnDG,CAkBT,CAAA,CAEH,EACH,CACF,CAAA,CAEJ"}
1
+ {"version":3,"file":"index.cjs20.js","sources":["../src/components/navigations/TabBar/index.tsx"],"sourcesContent":["\"use client\";\r\nimport clsx from \"clsx\";\r\nimport \"./TabBar.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype NavigationItem = {\r\n label: string;\r\n href: string;\r\n icon?: React.ComponentType<any>;\r\n active?: boolean;\r\n shortLabel?: string;\r\n};\r\n\r\nexport type TabBarProps = {\r\n navigatonItems: NavigationItem[];\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n className?: string;\r\n};\r\n\r\nexport const TabBar = ({\r\n navigatonItems,\r\n asLink = \"a\",\r\n className,\r\n}: TabBarProps) => {\r\n const LinkComponent = asLink;\r\n\r\n return (\r\n <nav className={clsx(\"bg-white ui-tab-bar shadow\", className)}>\r\n <Row as={\"ul\"} className=\"list-style-none ui-tab-bar-list\" role=\"list\">\r\n {navigatonItems.map((item, index) => {\r\n const IconComponent = item?.icon;\r\n return (\r\n <li key={index} className=\"ui-tab-bar-item\">\r\n <LinkComponent\r\n href={item.href}\r\n aria-label={`Vai alla pagina ${item.label}`}\r\n className={clsx(\r\n \"text-decoration-none text-secondary fs-8 fw-bold\",\r\n item.active && \"active\",\r\n )}\r\n >\r\n {IconComponent && (\r\n <IconComponent\r\n color={item.active ? \"primary\" : \"secondary\"}\r\n filled={!!item.active}\r\n />\r\n )}\r\n {item.shortLabel ? item.shortLabel : item.label}\r\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\r\n </LinkComponent>\r\n </li>\r\n );\r\n })}\r\n </Row>\r\n </nav>\r\n );\r\n};\r\n"],"names":["TabBar","navigatonItems","asLink","className","LinkComponent","clsx","jsx","Row","item","index","IconComponent","jsxs"],"mappings":"oNAmBaA,EAAS,CAAC,CACrB,eAAAC,EACA,OAAAC,EAAS,IACT,UAAAC,CACF,IAAmB,CACjB,MAAMC,EAAgBF,EAEtB,+BACG,MAAI,CAAA,UAAWG,OAAK,6BAA8BF,CAAS,EAC1D,SAACG,EAAA,kBAAA,IAAAC,MAAA,CAAI,GAAI,KAAM,UAAU,kCAAkC,KAAK,OAC7D,WAAe,IAAI,CAACC,EAAMC,IAAU,CACnC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAAA,kBAAAA,IAAC,KAAe,CAAA,UAAU,kBACxB,SAAAK,EAAA,kBAAA,KAACP,EAAA,CACC,KAAMI,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWH,EAAA,KACT,mDACAG,EAAK,QAAU,QACjB,EAEC,SAAA,CACCE,GAAAJ,EAAA,kBAAA,IAACI,EAAA,CACC,MAAOF,EAAK,OAAS,UAAY,YACjC,OAAQ,CAAC,CAACA,EAAK,MAAA,CACjB,EAEDA,EAAK,WAAaA,EAAK,WAAaA,EAAK,MACzCA,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,IAhBnDG,CAkBT,CAAA,CAEH,EACH,CACF,CAAA,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const e=require("./index.cjs141.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorModalFooter=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const e=require("./index.cjs141.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorModalFooter=t;
2
2
  //# sourceMappingURL=index.cjs200.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs200.js","sources":["../src/components/ui/DoctorModal/DoctorModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorModalFooter.scss\";\n\ntype DoctorModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DoctorModalFooter = ({ children }: DoctorModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DoctorModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAoB,CAAC,CAAE,SAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
1
+ {"version":3,"file":"index.cjs200.js","sources":["../src/components/ui/DoctorModal/DoctorModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorModalFooter.scss\";\r\n\r\ntype DoctorModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorModalFooter = ({ children }: DoctorModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DoctorModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAoB,CAAC,CAAE,SAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs205.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./DoctorConfirmModalContent.scss\";\n\ntype DoctorConfirmModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalContent = ({\n overrideClassNames,\n children,\n}: DoctorConfirmModalContentProps) => {\n return (\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["DoctorConfirmModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA4B,CAAC,CACxC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
1
+ {"version":3,"file":"index.cjs205.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DoctorConfirmModalContent.scss\";\r\n\r\ntype DoctorConfirmModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DoctorConfirmModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA4B,CAAC,CACxC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs206.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close } from \"@/icons\";\nimport \"./DoctorConfirmModalHeader.scss\";\n\ntype DoctorConfirmModalHeaderProps = {\n closeButton?: string;\n onCloseClick?: () => void;\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: DoctorConfirmModalHeaderProps) => {\n return (\n <header className=\"ui-doctor-confirm-modal-header bg-white\">\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n <Dialog.Close asChild className=\"ui-doctor-confirm-modal-header-close\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n {closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n </header>\n );\n};\n"],"names":["DoctorConfirmModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAWaA,EAA2B,CAAC,CACvC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,uCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs206.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./DoctorConfirmModalHeader.scss\";\r\n\r\ntype DoctorConfirmModalHeaderProps = {\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalHeader = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n children,\r\n}: DoctorConfirmModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-doctor-confirm-modal-header bg-white\">\r\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n <Dialog.Close asChild className=\"ui-doctor-confirm-modal-header-close\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n >\r\n {closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n </header>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAWaA,EAA2B,CAAC,CACvC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,uCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const e=require("./index.cjs141.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorConfirmModalFooter=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const e=require("./index.cjs141.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorConfirmModalFooter=t;
2
2
  //# sourceMappingURL=index.cjs207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs207.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorConfirmModalFooter.scss\";\n\ntype DoctorConfirmModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalFooter = ({\n children,\n}: DoctorConfirmModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DoctorConfirmModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA2B,CAAC,CACvC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
1
+ {"version":3,"file":"index.cjs207.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorConfirmModalFooter.scss\";\r\n\r\ntype DoctorConfirmModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalFooter = ({\r\n children,\r\n}: DoctorConfirmModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA2B,CAAC,CACvC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs209.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"@/components\";\nimport { Close } from \"@/icons\";\nimport \"./DocumentUploadModalHeader.scss\";\nimport { PropsWithChildren, ReactNode } from \"react\";\n\ntype DocumentUploadModalHeaderProps = PropsWithChildren<{\n closeButton?: string;\n onCloseClick?: () => void;\n children?: ReactNode;\n}>;\n\nexport const DocumentUploadModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: DocumentUploadModalHeaderProps) => {\n return (\n <header className=\"ui-upload-modal-header bg-white\">\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n <Dialog.Close asChild className=\"ui-upload-modal-header-close\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n {closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n </header>\n );\n};\n"],"names":["DocumentUploadModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAYaA,EAA4B,CAAC,CACxC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,kCAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,+BAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs209.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"@/components\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./DocumentUploadModalHeader.scss\";\r\nimport { PropsWithChildren, ReactNode } from \"react\";\r\n\r\ntype DocumentUploadModalHeaderProps = PropsWithChildren<{\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: ReactNode;\r\n}>;\r\n\r\nexport const DocumentUploadModalHeader = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n children,\r\n}: DocumentUploadModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-upload-modal-header bg-white\">\r\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n <Dialog.Close asChild className=\"ui-upload-modal-header-close\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n >\r\n {closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n </header>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAYaA,EAA4B,CAAC,CACxC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,kCAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,+BAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs21.js","sources":["../src/components/navigations/HeaderTopBanner/index.tsx"],"sourcesContent":["\"use client\";\n\nimport { Container } from \"@/components/ui/Container\";\nimport { Region, LOGOS } from \"../Header\";\nimport { Divider } from \"@/components/ui/Divider\";\nimport clsx from \"clsx\";\nimport { Row } from \"@/components\";\n\nexport type HeaderTopBannerProps = {\n asLink?: \"a\" | React.ComponentType<any>;\n shortTitle: React.ReactNode;\n region?: Region;\n className?: string;\n};\n\nexport const HeaderTopBanner = ({\n asLink = \"a\",\n shortTitle,\n region = \"marche\",\n className,\n}: HeaderTopBannerProps) => {\n const LinkComponent = asLink;\n\n const NationalIcon = LOGOS[\"nazionale\"];\n const RegionIcon = LOGOS[region];\n\n return (\n <div className=\"bg-white\">\n <Container\n className={clsx(\"min-h-x48 base-row align-items-center\", className)}\n display=\"flex\"\n alignItems=\"center\"\n gap=\"x16\"\n py=\"x8\"\n >\n <Row alignItems={\"center\"} gap={\"x8\"}>\n <NationalIcon width={28} height={28} />\n\n {region !== \"nazionale\" && (\n <>\n <Divider direction=\"vertical\" bg=\"border-divider\" />\n <RegionIcon width={28} height={28} />\n </>\n )}\n </Row>\n\n <LinkComponent\n href=\"/\"\n className={\n \"fs-7 text-decoration-none text-slate-20 fw-regular d-block hover-underline\"\n }\n >\n {shortTitle}\n </LinkComponent>\n </Container>\n </div>\n );\n};\n"],"names":["HeaderTopBanner","asLink","shortTitle","region","className","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsx","jsxs","Container","clsx","Row","Fragment","Divider"],"mappings":"2QAeaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,IACT,WAAAC,EACA,OAAAC,EAAS,SACT,UAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAEhBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMJ,CAAM,EAG7B,OAAAM,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,WACb,SAAAC,EAAA,kBAAA,KAACC,EAAA,UAAA,CACC,UAAWC,EAAAA,KAAK,wCAAyCR,CAAS,EAClE,QAAQ,OACR,WAAW,SACX,IAAI,MACJ,GAAG,KAEH,SAAA,CAAAM,EAAA,kBAAA,KAACG,EAAI,IAAA,CAAA,WAAY,SAAU,IAAK,KAC9B,SAAA,CAAAJ,EAAA,kBAAA,IAACH,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EAEpCH,IAAW,aAERO,EAAAA,kBAAAA,KAAAI,EAAA,kBAAA,SAAA,CAAA,SAAA,CAAAL,EAAA,kBAAA,IAACM,EAAQ,QAAA,CAAA,UAAU,WAAW,GAAG,iBAAiB,EACjDN,EAAA,kBAAA,IAAAD,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CACrC,CAAA,CAAA,EAEJ,EAEAC,EAAA,kBAAA,IAACJ,EAAA,CACC,KAAK,IACL,UACE,6EAGD,SAAAH,CAAA,CAAA,CACH,CAAA,CAAA,EAEJ,CAEJ"}
1
+ {"version":3,"file":"index.cjs21.js","sources":["../src/components/navigations/HeaderTopBanner/index.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport { Container } from \"@/components/ui/Container\";\r\nimport { Region, LOGOS } from \"../Header\";\r\nimport { Divider } from \"@/components/ui/Divider\";\r\nimport clsx from \"clsx\";\r\nimport { Row } from \"@/components\";\r\n\r\nexport type HeaderTopBannerProps = {\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n shortTitle: React.ReactNode;\r\n region?: Region;\r\n className?: string;\r\n};\r\n\r\nexport const HeaderTopBanner = ({\r\n asLink = \"a\",\r\n shortTitle,\r\n region = \"marche\",\r\n className,\r\n}: HeaderTopBannerProps) => {\r\n const LinkComponent = asLink;\r\n\r\n const NationalIcon = LOGOS[\"nazionale\"];\r\n const RegionIcon = LOGOS[region];\r\n\r\n return (\r\n <div className=\"bg-white\">\r\n <Container\r\n className={clsx(\"min-h-x48 base-row align-items-center\", className)}\r\n display=\"flex\"\r\n alignItems=\"center\"\r\n gap=\"x16\"\r\n py=\"x8\"\r\n >\r\n <Row alignItems={\"center\"} gap={\"x8\"}>\r\n <NationalIcon width={28} height={28} />\r\n\r\n {region !== \"nazionale\" && (\r\n <>\r\n <Divider direction=\"vertical\" bg=\"border-divider\" />\r\n <RegionIcon width={28} height={28} />\r\n </>\r\n )}\r\n </Row>\r\n\r\n <LinkComponent\r\n href=\"/\"\r\n className={\r\n \"fs-7 text-decoration-none text-slate-20 fw-regular d-block hover-underline\"\r\n }\r\n >\r\n {shortTitle}\r\n </LinkComponent>\r\n </Container>\r\n </div>\r\n );\r\n};\r\n"],"names":["HeaderTopBanner","asLink","shortTitle","region","className","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsx","jsxs","Container","clsx","Row","Fragment","Divider"],"mappings":"2QAeaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,IACT,WAAAC,EACA,OAAAC,EAAS,SACT,UAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAEhBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMJ,CAAM,EAG7B,OAAAM,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,WACb,SAAAC,EAAA,kBAAA,KAACC,EAAA,UAAA,CACC,UAAWC,EAAAA,KAAK,wCAAyCR,CAAS,EAClE,QAAQ,OACR,WAAW,SACX,IAAI,MACJ,GAAG,KAEH,SAAA,CAAAM,EAAA,kBAAA,KAACG,EAAI,IAAA,CAAA,WAAY,SAAU,IAAK,KAC9B,SAAA,CAAAJ,EAAA,kBAAA,IAACH,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EAEpCH,IAAW,aAERO,EAAAA,kBAAAA,KAAAI,EAAA,kBAAA,SAAA,CAAA,SAAA,CAAAL,EAAA,kBAAA,IAACM,EAAQ,QAAA,CAAA,UAAU,WAAW,GAAG,iBAAiB,EACjDN,EAAA,kBAAA,IAAAD,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CACrC,CAAA,CAAA,EAEJ,EAEAC,EAAA,kBAAA,IAACJ,EAAA,CACC,KAAK,IACL,UACE,6EAGD,SAAAH,CAAA,CAAA,CACH,CAAA,CAAA,EAEJ,CAEJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs210.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./DocumentUploadModalContent.scss\";\n\ntype DocumentUploadModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const DocumentUploadModalContent = ({\n overrideClassNames,\n children,\n}: DocumentUploadModalContentProps) => {\n return (\n <div className={clsx(\"ui-upload-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["DocumentUploadModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA6B,CAAC,CACzC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,uBAAwBF,CAAkB,EAC5D,SAAAC,EACH"}
1
+ {"version":3,"file":"index.cjs210.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DocumentUploadModalContent.scss\";\r\n\r\ntype DocumentUploadModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DocumentUploadModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DocumentUploadModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-upload-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA6B,CAAC,CACzC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,uBAAwBF,CAAkB,EAC5D,SAAAC,EACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs211.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalFooter/index.tsx"],"sourcesContent":["import \"./DocumentUploadModalFooter.scss\";\n\ntype DocumentUploadModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DocumentUploadModalFooter = ({\n children,\n}: DocumentUploadModalFooterProps) => {\n return (\n <footer className=\"ui-upload-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DocumentUploadModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA4B,CAAC,CACxC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,yCACf,SAAAD,CACH,CAAA"}
1
+ {"version":3,"file":"index.cjs211.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalFooter/index.tsx"],"sourcesContent":["import \"./DocumentUploadModalFooter.scss\";\r\n\r\ntype DocumentUploadModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DocumentUploadModalFooter = ({\r\n children,\r\n}: DocumentUploadModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-upload-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA4B,CAAC,CACxC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,yCACf,SAAAD,CACH,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs213.js","sources":["../src/components/ui/Section/Title/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport clsx from \"clsx\";\nimport { ReactNode } from \"react\";\n\ntype TitleProps = {\n className?: string;\n fs?: TypographyKeys;\n mdFs?: TypographyKeys;\n color?: ColorKeys;\n as?: \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n children: ReactNode;\n};\n\nexport const Title = ({\n className,\n fs = \"3\",\n mdFs = \"1\",\n color = \"slate-20\",\n as = \"h2\",\n children,\n}: TitleProps) => {\n const Heading = as;\n\n const createFontSizeClass = (size: TypographyKeys) => {\n return `fs-${size}`;\n };\n\n const fontSizeClass = createFontSizeClass(fs);\n const mdFontSizeClass = mdFs ? `md-fs-${mdFs}` : \"\";\n const textColorClass = createColorClasses({ text: color });\n\n return (\n <Heading\n className={clsx(\n \"fw-bold\",\n fontSizeClass,\n mdFontSizeClass,\n\n textColorClass,\n className,\n )}\n >\n {children}\n </Heading>\n );\n};\n"],"names":["Title","className","fs","mdFs","color","as","children","Heading","fontSizeClass","size","mdFontSizeClass","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAcaA,EAAQ,CAAC,CACpB,UAAAC,EACA,GAAAC,EAAK,IACL,KAAAC,EAAO,IACP,MAAAC,EAAQ,WACR,GAAAC,EAAK,KACL,SAAAC,CACF,IAAkB,CAChB,MAAMC,EAAUF,EAMVG,GAJuBC,GACpB,MAAMA,CAAI,IAGuBP,CAAE,EACtCQ,EAAkBP,EAAO,SAASA,CAAI,GAAK,GAC3CQ,EAAiBC,EAAA,mBAAmB,CAAE,KAAMR,EAAO,EAGvD,OAAAS,EAAA,kBAAA,IAACN,EAAA,CACC,UAAWO,EAAA,KACT,UACAN,EACAE,EAEAC,EACAV,CACF,EAEC,SAAAK,CAAA,CACH,CAEJ"}
1
+ {"version":3,"file":"index.cjs213.js","sources":["../src/components/ui/Section/Title/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport clsx from \"clsx\";\r\nimport { ReactNode } from \"react\";\r\n\r\ntype TitleProps = {\r\n className?: string;\r\n fs?: TypographyKeys;\r\n mdFs?: TypographyKeys;\r\n color?: ColorKeys;\r\n as?: \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\r\n children: ReactNode;\r\n};\r\n\r\nexport const Title = ({\r\n className,\r\n fs = \"3\",\r\n mdFs = \"1\",\r\n color = \"slate-20\",\r\n as = \"h2\",\r\n children,\r\n}: TitleProps) => {\r\n const Heading = as;\r\n\r\n const createFontSizeClass = (size: TypographyKeys) => {\r\n return `fs-${size}`;\r\n };\r\n\r\n const fontSizeClass = createFontSizeClass(fs);\r\n const mdFontSizeClass = mdFs ? `md-fs-${mdFs}` : \"\";\r\n const textColorClass = createColorClasses({ text: color });\r\n\r\n return (\r\n <Heading\r\n className={clsx(\r\n \"fw-bold\",\r\n fontSizeClass,\r\n mdFontSizeClass,\r\n\r\n textColorClass,\r\n className,\r\n )}\r\n >\r\n {children}\r\n </Heading>\r\n );\r\n};\r\n"],"names":["Title","className","fs","mdFs","color","as","children","Heading","fontSizeClass","size","mdFontSizeClass","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAcaA,EAAQ,CAAC,CACpB,UAAAC,EACA,GAAAC,EAAK,IACL,KAAAC,EAAO,IACP,MAAAC,EAAQ,WACR,GAAAC,EAAK,KACL,SAAAC,CACF,IAAkB,CAChB,MAAMC,EAAUF,EAMVG,GAJuBC,GACpB,MAAMA,CAAI,IAGuBP,CAAE,EACtCQ,EAAkBP,EAAO,SAASA,CAAI,GAAK,GAC3CQ,EAAiBC,EAAA,mBAAmB,CAAE,KAAMR,EAAO,EAGvD,OAAAS,EAAA,kBAAA,IAACN,EAAA,CACC,UAAWO,EAAA,KACT,UACAN,EACAE,EAEAC,EACAV,CACF,EAEC,SAAAK,CAAA,CACH,CAEJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs214.js","sources":["../src/components/ui/Section/Description/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport clsx from \"clsx\";\nimport { PropsWithChildren } from \"react\";\n\ntype DescriptionProps = PropsWithChildren<{\n fs?: TypographyKeys;\n color?: ColorKeys;\n className?: string;\n}>;\n\nexport const Description = ({\n fs = \"6\",\n color = \"slate-28\",\n className,\n children,\n}: DescriptionProps) => {\n const createFontSizeClass = (size: TypographyKeys) => {\n return `fs-${size}`;\n };\n\n const fontSizeClass = createFontSizeClass(fs);\n\n const textColorClass = createColorClasses({ text: color });\n\n return (\n <div\n className={clsx(\n fontSizeClass,\n textColorClass,\n \"fw-regular\",\n \"ui-max-width-section-description\",\n className,\n \"md-fs-custom\",\n )}\n >\n {children}\n </div>\n );\n};\n"],"names":["Description","fs","color","className","children","fontSizeClass","size","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAWaA,EAAc,CAAC,CAC1B,GAAAC,EAAK,IACL,MAAAC,EAAQ,WACR,UAAAC,EACA,SAAAC,CACF,IAAwB,CAKhB,MAAAC,GAJuBC,GACpB,MAAMA,CAAI,IAGuBL,CAAE,EAEtCM,EAAiBC,EAAA,mBAAmB,CAAE,KAAMN,EAAO,EAGvD,OAAAO,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACTL,EACAE,EACA,aACA,mCACAJ,EACA,cACF,EAEC,SAAAC,CAAA,CACH,CAEJ"}
1
+ {"version":3,"file":"index.cjs214.js","sources":["../src/components/ui/Section/Description/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport clsx from \"clsx\";\r\nimport { PropsWithChildren } from \"react\";\r\n\r\ntype DescriptionProps = PropsWithChildren<{\r\n fs?: TypographyKeys;\r\n color?: ColorKeys;\r\n className?: string;\r\n}>;\r\n\r\nexport const Description = ({\r\n fs = \"6\",\r\n color = \"slate-28\",\r\n className,\r\n children,\r\n}: DescriptionProps) => {\r\n const createFontSizeClass = (size: TypographyKeys) => {\r\n return `fs-${size}`;\r\n };\r\n\r\n const fontSizeClass = createFontSizeClass(fs);\r\n\r\n const textColorClass = createColorClasses({ text: color });\r\n\r\n return (\r\n <div\r\n className={clsx(\r\n fontSizeClass,\r\n textColorClass,\r\n \"fw-regular\",\r\n \"ui-max-width-section-description\",\r\n className,\r\n \"md-fs-custom\",\r\n )}\r\n >\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["Description","fs","color","className","children","fontSizeClass","size","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAWaA,EAAc,CAAC,CAC1B,GAAAC,EAAK,IACL,MAAAC,EAAQ,WACR,UAAAC,EACA,SAAAC,CACF,IAAwB,CAKhB,MAAAC,GAJuBC,GACpB,MAAMA,CAAI,IAGuBL,CAAE,EAEtCM,EAAiBC,EAAA,mBAAmB,CAAE,KAAMN,EAAO,EAGvD,OAAAO,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACTL,EACAE,EACA,aACA,mCACAJ,EACA,cACF,EAEC,SAAAC,CAAA,CACH,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.cjs246.js"),_=require("./index.cjs247.js"),O=require("./index.cjs248.js"),M=require("./index.cjs249.js"),$=require("./index.cjs258.js"),N=require("./index.cjs259.js"),C=require("./index.cjs299.js"),d=require("./index.cjs141.js");function H(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=H(q);var S="Switch",[I,z]=O.createContextScope(S),[B,D]=I(S),w=s.forwardRef((e,o)=>{const{__scopeSwitch:t,name:r,checked:n,defaultChecked:p,required:i,disabled:c,value:a="on",onCheckedChange:b,form:m,...l}=e,[u,R]=s.useState(null),g=_.useComposedRefs(o,f=>R(f)),x=s.useRef(!1),k=u?m||!!u.closest("form"):!0,[h=!1,y]=M.useControllableState({prop:n,defaultProp:p,onChange:b});return d.jsxRuntimeExports.jsxs(B,{scope:t,checked:h,disabled:c,children:[d.jsxRuntimeExports.jsx(C.Primitive.button,{type:"button",role:"switch","aria-checked":h,"aria-required":i,"data-state":P(h),"data-disabled":c?"":void 0,disabled:c,value:a,...l,ref:g,onClick:T.composeEventHandlers(e.onClick,f=>{y(E=>!E),k&&(x.current=f.isPropagationStopped(),x.current||f.stopPropagation())})}),k&&d.jsxRuntimeExports.jsx(A,{control:u,bubbles:!x.current,name:r,value:a,checked:h,required:i,disabled:c,form:m,style:{transform:"translateX(-100%)"}})]})});w.displayName=S;var j="SwitchThumb",v=s.forwardRef((e,o)=>{const{__scopeSwitch:t,...r}=e,n=D(j,t);return d.jsxRuntimeExports.jsx(C.Primitive.span,{"data-state":P(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});v.displayName=j;var A=e=>{const{control:o,checked:t,bubbles:r=!0,...n}=e,p=s.useRef(null),i=$.usePrevious(t),c=N.useSize(o);return s.useEffect(()=>{const a=p.current,b=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(b,"checked").set;if(i!==t&&l){const u=new Event("click",{bubbles:r});l.call(a,t),a.dispatchEvent(u)}},[i,t,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function P(e){return e?"checked":"unchecked"}var F=w,L=v;exports.Root=F;exports.Switch=w;exports.SwitchThumb=v;exports.Thumb=L;exports.createSwitchScope=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.cjs245.js"),_=require("./index.cjs246.js"),O=require("./index.cjs247.js"),M=require("./index.cjs248.js"),$=require("./index.cjs253.js"),N=require("./index.cjs254.js"),C=require("./index.cjs249.js"),d=require("./index.cjs141.js");function H(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=H(q);var S="Switch",[I,z]=O.createContextScope(S),[B,D]=I(S),v=s.forwardRef((e,o)=>{const{__scopeSwitch:t,name:r,checked:n,defaultChecked:p,required:i,disabled:c,value:a="on",onCheckedChange:b,form:m,...l}=e,[u,R]=s.useState(null),g=_.useComposedRefs(o,f=>R(f)),x=s.useRef(!1),k=u?m||!!u.closest("form"):!0,[h=!1,y]=M.useControllableState({prop:n,defaultProp:p,onChange:b});return d.jsxRuntimeExports.jsxs(B,{scope:t,checked:h,disabled:c,children:[d.jsxRuntimeExports.jsx(C.Primitive.button,{type:"button",role:"switch","aria-checked":h,"aria-required":i,"data-state":P(h),"data-disabled":c?"":void 0,disabled:c,value:a,...l,ref:g,onClick:T.composeEventHandlers(e.onClick,f=>{y(E=>!E),k&&(x.current=f.isPropagationStopped(),x.current||f.stopPropagation())})}),k&&d.jsxRuntimeExports.jsx(A,{control:u,bubbles:!x.current,name:r,value:a,checked:h,required:i,disabled:c,form:m,style:{transform:"translateX(-100%)"}})]})});v.displayName=S;var j="SwitchThumb",w=s.forwardRef((e,o)=>{const{__scopeSwitch:t,...r}=e,n=D(j,t);return d.jsxRuntimeExports.jsx(C.Primitive.span,{"data-state":P(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});w.displayName=j;var A=e=>{const{control:o,checked:t,bubbles:r=!0,...n}=e,p=s.useRef(null),i=$.usePrevious(t),c=N.useSize(o);return s.useEffect(()=>{const a=p.current,b=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(b,"checked").set;if(i!==t&&l){const u=new Event("click",{bubbles:r});l.call(a,t),a.dispatchEvent(u)}},[i,t,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function P(e){return e?"checked":"unchecked"}var F=v,L=w;exports.Root=F;exports.Switch=v;exports.SwitchThumb=w;exports.Thumb=L;exports.createSwitchScope=z;
2
2
  //# sourceMappingURL=index.cjs215.js.map
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react");var m=typeof window>"u",y=m?n.useEffect:n.useLayoutEffect,S=0,b=()=>++S,v=!1;function E(){let[t,s]=n.useState(v?b:void 0);return y(()=>{t===void 0&&s(b()),v=!0},[]),t===void 0?t:`rwb-${t.toString(32)}`}function x(){return n.useMemo(()=>"useId"in n?n.useId:E,[])()}var p="__wrap_b",f="__wrap_n",_="__wrap_o",w=(t,s,e)=>{e=e||document.querySelector(`[data-br="${t}"]`);let r=e==null?void 0:e.parentElement;if(!r)return;let l=d=>e.style.maxWidth=d+"px";e.style.maxWidth="";let i=r.clientWidth,c=r.clientHeight,a=i/2-.25,o=i+.5,u;if(i){for(l(a),a=Math.max(e.scrollWidth,a);a+1<o;)u=Math.round((a+o)/2),l(u),r.clientHeight===c?o=u:a=u;l(o*s+i*(1-s))}e.__wrap_o||(typeof ResizeObserver<"u"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(r):process.env.NODE_ENV==="development"&&console.warn("The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information"))},N=w.toString(),A='(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',O=(t,s,e="")=>(e&&(e=`self.${f}!=1&&${e}`),n.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(t?"":`self.${f}=self.${f}||${A};self.${p}=${N};`)+e},nonce:s})),I=n.createContext({preferNative:!0,hasProvider:!1}),g=n.forwardRef(({ratio:t=1,preferNative:s,nonce:e,children:r,as:l,...i},c)=>{let a=x(),o=n.useRef(),u=n.useContext(I),d=s??u.preferNative,$=l||"span";return n.useImperativeHandle(c,()=>o.current,[]),y(()=>{d&&self[f]===1||o.current&&(self[p]=w)(0,t,o.current)},[r,d,t]),y(()=>{if(!(d&&self[f]===1))return()=>{if(!o.current)return;let h=o.current[_];h&&(h.disconnect(),delete o.current[_])}},[d]),process.env.NODE_ENV==="development"&&r&&!Array.isArray(r)&&typeof r=="object"&&"type"in r&&typeof r.type=="string"&&r.type!=="span"&&console.warn(`<Balancer> should not wrap <${r.type}> inside. Instead, it should directly wrap text or inline nodes.
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react");var m=typeof window>"u",y=m?n.useEffect:n.useLayoutEffect,S=0,h=()=>++S,b=!1;function E(){let[t,s]=n.useState(b?h:void 0);return y(()=>{t===void 0&&s(h()),b=!0},[]),t===void 0?t:`rwb-${t.toString(32)}`}function x(){return n.useMemo(()=>"useId"in n?n.useId:E,[])()}var p="__wrap_b",f="__wrap_n",_="__wrap_o",w=(t,s,e)=>{e=e||document.querySelector(`[data-br="${t}"]`);let r=e==null?void 0:e.parentElement;if(!r)return;let l=c=>e.style.maxWidth=c+"px";e.style.maxWidth="";let i=r.clientWidth,d=r.clientHeight,o=i/2-.25,a=i+.5,u;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<a;)u=Math.round((o+a)/2),l(u),r.clientHeight===d?a=u:o=u;l(a*s+i*(1-s))}e.__wrap_o||(typeof ResizeObserver<"u"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(r):process.env.NODE_ENV==="development"&&console.warn("The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information"))},N=w.toString(),A='(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',O=(t,s,e="")=>(e&&(e=`self.${f}!=1&&${e}`),n.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(t?"":`self.${f}=self.${f}||${A};self.${p}=${N};`)+e},nonce:s})),I=n.createContext({preferNative:!0,hasProvider:!1}),g=n.forwardRef(({ratio:t=1,preferNative:s,nonce:e,children:r,as:l,...i},d)=>{let o=x(),a=n.useRef(),u=n.useContext(I),c=s??u.preferNative,$=l||"span";return n.useImperativeHandle(d,()=>a.current,[]),y(()=>{c&&self[f]===1||a.current&&(self[p]=w)(0,t,a.current)},[r,c,t]),y(()=>{if(!(c&&self[f]===1))return()=>{if(!a.current)return;let v=a.current[_];v&&(v.disconnect(),delete a.current[_])}},[c]),process.env.NODE_ENV==="development"&&r&&!Array.isArray(r)&&typeof r=="object"&&"type"in r&&typeof r.type=="string"&&r.type!=="span"&&console.warn(`<Balancer> should not wrap <${r.type}> inside. Instead, it should directly wrap text or inline nodes.
2
2
 
3
3
  Try changing this:
4
4
  <Balancer><${r.type}>content</${r.type}></Balancer>
5
5
  To:
6
- <${r.type}><Balancer>content</Balancer></${r.type}>`),n.createElement(n.Fragment,null,n.createElement($,{...i,"data-br":a,"data-brr":t,ref:o,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:d?"balance":"initial"},suppressHydrationWarning:!0},r),O(u.hasProvider,e,`self.${p}("${a}",${t})`))});if(!m&&process.env.NODE_ENV!=="production"){let t=document.querySelector("[data-next-hide-fouc]");if(t){let s=r=>{for(let l of r)for(let i of Array.from(l.removedNodes)){if(i!==t)continue;e.disconnect();let c=document.querySelectorAll("[data-br]");for(let a of Array.from(c))self[p](0,+a.dataset.brr,a)}},e=new MutationObserver(s);e.observe(document.head,{childList:!0})}}var R=g;exports.Balancer=g;exports.default=R;
6
+ <${r.type}><Balancer>content</Balancer></${r.type}>`),n.createElement(n.Fragment,null,n.createElement($,{...i,"data-br":o,"data-brr":t,ref:a,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:c?"balance":"initial"},suppressHydrationWarning:!0},r),O(u.hasProvider,e,`self.${p}("${o}",${t})`))});if(!m&&process.env.NODE_ENV!=="production"){let t=document.querySelector("[data-next-hide-fouc]");if(t){let s=r=>{for(let l of r)for(let i of Array.from(l.removedNodes)){if(i!==t)continue;e.disconnect();let d=document.querySelectorAll("[data-br]");for(let o of Array.from(d))self[p](0,+o.dataset.brr,o)}},e=new MutationObserver(s);e.observe(document.head,{childList:!0})}}var R=g;exports.Balancer=g;exports.default=R;
7
7
  //# sourceMappingURL=index.cjs217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs217.js","sources":["../node_modules/react-wrap-balancer/dist/index.mjs"],"sourcesContent":["\"use client\"\nimport a from\"react\";import p from\"react\";var E=typeof window==\"undefined\",m=E?p.useEffect:p.useLayoutEffect,B=0,_=()=>++B,v=!1;function O(){let[n,r]=p.useState(v?_:void 0);return m(()=>{n===void 0&&r(_()),v=!0},[]),n===void 0?n:`rwb-${n.toString(32)}`}function R(){return p.useMemo(()=>\"useId\"in p?p.useId:O,[])()}var y=\"__wrap_b\",f=\"__wrap_n\",S=\"__wrap_o\",T=(n,r,e)=>{e=e||document.querySelector(`[data-br=\"${n}\"]`);let t=e==null?void 0:e.parentElement;if(!t)return;let l=u=>e.style.maxWidth=u+\"px\";e.style.maxWidth=\"\";let i=t.clientWidth,d=t.clientHeight,o=i/2-.25,s=i+.5,c;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<s;)c=Math.round((o+s)/2),l(c),t.clientHeight===d?s=c:o=c;l(s*r+i*(1-r))}e.__wrap_o||(typeof ResizeObserver!=\"undefined\"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(t):process.env.NODE_ENV===\"development\"&&console.warn(\"The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information\"))},I=T.toString(),w='(self.CSS&&CSS.supports(\"text-wrap\",\"balance\")?1:2)',g=(n,r,e=\"\")=>(e&&(e=`self.${f}!=1&&${e}`),a.createElement(\"script\",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n?\"\":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e},nonce:r})),h=a.createContext({preferNative:!0,hasProvider:!1}),Y=({preferNative:n=!0,nonce:r,children:e})=>{let t=a.useMemo(()=>({preferNative:n,hasProvider:!0}),[n]);return a.createElement(h.Provider,{value:t},g(!1,r),e)},P=a.forwardRef(({ratio:n=1,preferNative:r,nonce:e,children:t,as:l,...i},d)=>{let o=R(),s=a.useRef(),c=a.useContext(h),u=r!=null?r:c.preferNative,x=l||\"span\";return a.useImperativeHandle(d,()=>s.current,[]),m(()=>{u&&self[f]===1||s.current&&(self[y]=T)(0,n,s.current)},[t,u,n]),m(()=>{if(!(u&&self[f]===1))return()=>{if(!s.current)return;let b=s.current[S];b&&(b.disconnect(),delete s.current[S])}},[u]),process.env.NODE_ENV===\"development\"&&t&&!Array.isArray(t)&&typeof t==\"object\"&&\"type\"in t&&typeof t.type==\"string\"&&t.type!==\"span\"&&console.warn(`<Balancer> should not wrap <${t.type}> inside. Instead, it should directly wrap text or inline nodes.\n\nTry changing this:\n <Balancer><${t.type}>content</${t.type}></Balancer>\nTo:\n <${t.type}><Balancer>content</Balancer></${t.type}>`),a.createElement(a.Fragment,null,a.createElement(x,{...i,\"data-br\":o,\"data-brr\":n,ref:s,style:{display:\"inline-block\",verticalAlign:\"top\",textDecoration:\"inherit\",textWrap:u?\"balance\":\"initial\"},suppressHydrationWarning:!0},t),g(c.hasProvider,e,`self.${y}(\"${o}\",${n})`))});if(!E&&process.env.NODE_ENV!==\"production\"){let n=document.querySelector(\"[data-next-hide-fouc]\");if(n){let r=t=>{for(let l of t)for(let i of Array.from(l.removedNodes)){if(i!==n)continue;e.disconnect();let d=document.querySelectorAll(\"[data-br]\");for(let o of Array.from(d))self[y](0,+o.dataset.brr,o)}},e=new MutationObserver(r);e.observe(document.head,{childList:!0})}}var A=P;export{P as Balancer,Y as Provider,A as default};\n//# sourceMappingURL=index.mjs.map"],"names":["E","m","p","B","_","O","n","r","R","y","S","T","t","u","d","o","s","c","I","w","g","a","h","P","x","b","A"],"mappings":"qIAC0C,IAAIA,EAAE,OAAO,OAAQ,IAAYC,EAAED,EAAEE,EAAE,UAAUA,EAAE,gBAAgBC,EAAE,EAAEC,EAAE,IAAI,EAAED,EAAE,EAAE,GAAG,SAASE,GAAG,CAAC,GAAG,CAACC,EAAEC,CAAC,EAAEL,EAAE,SAAS,EAAEE,EAAE,MAAM,EAAE,OAAOH,EAAE,IAAI,CAACK,IAAI,QAAQC,EAAEH,GAAG,EAAE,EAAE,EAAE,EAAE,CAAA,CAAE,EAAEE,IAAI,OAAOA,EAAE,OAAOA,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,SAASE,GAAG,CAAC,OAAON,EAAE,QAAQ,IAAI,UAAUA,EAAEA,EAAE,MAAMG,EAAE,CAAE,CAAA,GAAG,CAAI,IAACI,EAAE,WAAW,EAAE,WAAWC,EAAE,WAAWC,EAAE,CAACL,EAAEC,EAAE,IAAI,CAAC,EAAE,GAAG,SAAS,cAAc,aAAaD,CAAC,IAAI,EAAE,IAAIM,EAAE,GAAG,KAAK,OAAO,EAAE,cAAc,GAAG,CAACA,EAAE,OAAO,IAAI,EAAEC,GAAG,EAAE,MAAM,SAASA,EAAE,KAAK,EAAE,MAAM,SAAS,GAAG,IAAI,EAAED,EAAE,YAAYE,EAAEF,EAAE,aAAaG,EAAE,EAAE,EAAE,IAAIC,EAAE,EAAE,GAAGC,EAAE,GAAG,EAAE,CAAC,IAAI,EAAEF,CAAC,EAAEA,EAAE,KAAK,IAAI,EAAE,YAAYA,CAAC,EAAEA,EAAE,EAAEC,GAAGC,EAAE,KAAK,OAAOF,EAAEC,GAAG,CAAC,EAAE,EAAEC,CAAC,EAAEL,EAAE,eAAeE,EAAEE,EAAEC,EAAEF,EAAEE,EAAE,EAAED,EAAET,EAAE,GAAG,EAAEA,EAAE,CAAC,CAAC,EAAE,WAAW,OAAO,eAAgB,KAAa,EAAE,SAAS,IAAI,eAAe,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC,EAAE,QAAQ,IAAI,CAAC,CAAC,CAAC,GAAG,QAAQK,CAAC,EAAE,QAAQ,IAAI,WAAW,eAAe,QAAQ,KAAK,8PAA8P,EAAE,EAAEM,EAAEP,EAAE,SAAQ,EAAGQ,EAAE,sDAAsDC,EAAE,CAACd,EAAEC,EAAE,EAAE,MAAM,IAAI,EAAE,QAAQ,CAAC,QAAQ,CAAC,IAAIc,EAAE,cAAc,SAAS,CAAC,yBAAyB,GAAG,wBAAwB,CAAC,QAAQf,EAAE,GAAG,QAAQ,CAAC,SAAS,CAAC,KAAKa,CAAC,SAASV,CAAC,IAAIS,CAAC,KAAK,CAAC,EAAE,MAAMX,CAAC,CAAC,GAAGe,EAAED,EAAE,cAAc,CAAC,aAAa,GAAG,YAAY,EAAE,CAAC,EAAkKE,EAAEF,EAAE,WAAW,CAAC,CAAC,MAAMf,EAAE,EAAE,aAAaC,EAAE,MAAM,EAAE,SAASK,EAAE,GAAG,EAAE,GAAG,CAAC,EAAEE,IAAI,CAAC,IAAIC,EAAEP,EAAG,EAACQ,EAAEK,EAAE,SAASJ,EAAEI,EAAE,WAAWC,CAAC,EAAET,EAAEN,GAAUU,EAAE,aAAaO,EAAE,GAAG,OAAO,OAAOH,EAAE,oBAAoBP,EAAE,IAAIE,EAAE,QAAQ,CAAA,CAAE,EAAEf,EAAE,IAAI,CAACY,GAAG,KAAK,CAAC,IAAI,GAAGG,EAAE,UAAU,KAAKP,CAAC,EAAEE,GAAG,EAAEL,EAAEU,EAAE,OAAO,CAAC,EAAE,CAACJ,EAAEC,EAAEP,CAAC,CAAC,EAAEL,EAAE,IAAI,CAAC,GAAG,EAAEY,GAAG,KAAK,CAAC,IAAI,GAAG,MAAM,IAAI,CAAC,GAAG,CAACG,EAAE,QAAQ,OAAO,IAAIS,EAAET,EAAE,QAAQN,CAAC,EAAEe,IAAIA,EAAE,WAAU,EAAG,OAAOT,EAAE,QAAQN,CAAC,EAAE,CAAC,EAAE,CAACG,CAAC,CAAC,EAAE,QAAQ,IAAI,WAAW,eAAeD,GAAG,CAAC,MAAM,QAAQA,CAAC,GAAG,OAAOA,GAAG,UAAU,SAASA,GAAG,OAAOA,EAAE,MAAM,UAAUA,EAAE,OAAO,QAAQ,QAAQ,KAAK,+BAA+BA,EAAE,IAAI;AAAA;AAAA;AAAA,eAG1oEA,EAAE,IAAI,aAAaA,EAAE,IAAI;AAAA;AAAA,KAEnCA,EAAE,IAAI,kCAAkCA,EAAE,IAAI,GAAG,EAAES,EAAE,cAAcA,EAAE,SAAS,KAAKA,EAAE,cAAcG,EAAE,CAAC,GAAG,EAAE,UAAUT,EAAE,WAAWT,EAAE,IAAIU,EAAE,MAAM,CAAC,QAAQ,eAAe,cAAc,MAAM,eAAe,UAAU,SAASH,EAAE,UAAU,SAAS,EAAE,yBAAyB,EAAE,EAAED,CAAC,EAAEQ,EAAEH,EAAE,YAAY,EAAE,QAAQR,CAAC,KAAKM,CAAC,KAAKT,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAACN,GAAG,QAAQ,IAAI,WAAW,aAAa,CAAC,IAAIM,EAAE,SAAS,cAAc,uBAAuB,EAAE,GAAGA,EAAE,CAAC,IAAIC,EAAEK,GAAG,CAAC,QAAQ,KAAKA,EAAE,QAAQ,KAAK,MAAM,KAAK,EAAE,YAAY,EAAE,CAAC,GAAG,IAAIN,EAAE,SAAS,EAAE,WAAY,EAAC,IAAIQ,EAAE,SAAS,iBAAiB,WAAW,EAAE,QAAQC,KAAK,MAAM,KAAKD,CAAC,EAAE,KAAKL,CAAC,EAAE,EAAE,CAACM,EAAE,QAAQ,IAAIA,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,iBAAiBR,CAAC,EAAE,EAAE,QAAQ,SAAS,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAI,IAACmB,EAAEH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs217.js","sources":["../node_modules/react-wrap-balancer/dist/index.mjs"],"sourcesContent":["\"use client\"\nimport a from\"react\";import p from\"react\";var E=typeof window==\"undefined\",m=E?p.useEffect:p.useLayoutEffect,B=0,_=()=>++B,v=!1;function O(){let[n,r]=p.useState(v?_:void 0);return m(()=>{n===void 0&&r(_()),v=!0},[]),n===void 0?n:`rwb-${n.toString(32)}`}function R(){return p.useMemo(()=>\"useId\"in p?p.useId:O,[])()}var y=\"__wrap_b\",f=\"__wrap_n\",S=\"__wrap_o\",T=(n,r,e)=>{e=e||document.querySelector(`[data-br=\"${n}\"]`);let t=e==null?void 0:e.parentElement;if(!t)return;let l=u=>e.style.maxWidth=u+\"px\";e.style.maxWidth=\"\";let i=t.clientWidth,d=t.clientHeight,o=i/2-.25,s=i+.5,c;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<s;)c=Math.round((o+s)/2),l(c),t.clientHeight===d?s=c:o=c;l(s*r+i*(1-r))}e.__wrap_o||(typeof ResizeObserver!=\"undefined\"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(t):process.env.NODE_ENV===\"development\"&&console.warn(\"The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information\"))},I=T.toString(),w='(self.CSS&&CSS.supports(\"text-wrap\",\"balance\")?1:2)',g=(n,r,e=\"\")=>(e&&(e=`self.${f}!=1&&${e}`),a.createElement(\"script\",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n?\"\":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e},nonce:r})),h=a.createContext({preferNative:!0,hasProvider:!1}),Y=({preferNative:n=!0,nonce:r,children:e})=>{let t=a.useMemo(()=>({preferNative:n,hasProvider:!0}),[n]);return a.createElement(h.Provider,{value:t},g(!1,r),e)},P=a.forwardRef(({ratio:n=1,preferNative:r,nonce:e,children:t,as:l,...i},d)=>{let o=R(),s=a.useRef(),c=a.useContext(h),u=r!=null?r:c.preferNative,x=l||\"span\";return a.useImperativeHandle(d,()=>s.current,[]),m(()=>{u&&self[f]===1||s.current&&(self[y]=T)(0,n,s.current)},[t,u,n]),m(()=>{if(!(u&&self[f]===1))return()=>{if(!s.current)return;let b=s.current[S];b&&(b.disconnect(),delete s.current[S])}},[u]),process.env.NODE_ENV===\"development\"&&t&&!Array.isArray(t)&&typeof t==\"object\"&&\"type\"in t&&typeof t.type==\"string\"&&t.type!==\"span\"&&console.warn(`<Balancer> should not wrap <${t.type}> inside. Instead, it should directly wrap text or inline nodes.\n\nTry changing this:\n <Balancer><${t.type}>content</${t.type}></Balancer>\nTo:\n <${t.type}><Balancer>content</Balancer></${t.type}>`),a.createElement(a.Fragment,null,a.createElement(x,{...i,\"data-br\":o,\"data-brr\":n,ref:s,style:{display:\"inline-block\",verticalAlign:\"top\",textDecoration:\"inherit\",textWrap:u?\"balance\":\"initial\"},suppressHydrationWarning:!0},t),g(c.hasProvider,e,`self.${y}(\"${o}\",${n})`))});if(!E&&process.env.NODE_ENV!==\"production\"){let n=document.querySelector(\"[data-next-hide-fouc]\");if(n){let r=t=>{for(let l of t)for(let i of Array.from(l.removedNodes)){if(i!==n)continue;e.disconnect();let d=document.querySelectorAll(\"[data-br]\");for(let o of Array.from(d))self[y](0,+o.dataset.brr,o)}},e=new MutationObserver(r);e.observe(document.head,{childList:!0})}}var A=P;export{P as Balancer,Y as Provider,A as default};\n//# sourceMappingURL=index.mjs.map"],"names":["E","m","p","B","_","v","O","n","r","R","y","S","T","t","u","s","c","I","w","g","a","h","P","x","b","A"],"mappings":"qIAC0C,IAAIA,EAAE,OAAO,OAAQ,IAAYC,EAAED,EAAEE,EAAE,UAAUA,EAAE,gBAAgBC,EAAE,EAAEC,EAAE,IAAI,EAAED,EAAEE,EAAE,GAAG,SAASC,GAAG,CAAC,GAAG,CAACC,EAAEC,CAAC,EAAEN,EAAE,SAASG,EAAED,EAAE,MAAM,EAAE,OAAOH,EAAE,IAAI,CAACM,IAAI,QAAQC,EAAEJ,GAAG,EAAEC,EAAE,EAAE,EAAE,CAAA,CAAE,EAAEE,IAAI,OAAOA,EAAE,OAAOA,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,SAASE,GAAG,CAAC,OAAOP,EAAE,QAAQ,IAAI,UAAUA,EAAEA,EAAE,MAAMI,EAAE,CAAE,CAAA,GAAG,CAAI,IAACI,EAAE,WAAW,EAAE,WAAWC,EAAE,WAAWC,EAAE,CAACL,EAAEC,EAAE,IAAI,CAAC,EAAE,GAAG,SAAS,cAAc,aAAaD,CAAC,IAAI,EAAE,IAAIM,EAAE,GAAG,KAAK,OAAO,EAAE,cAAc,GAAG,CAACA,EAAE,OAAO,IAAI,EAAEC,GAAG,EAAE,MAAM,SAASA,EAAE,KAAK,EAAE,MAAM,SAAS,GAAG,IAAI,EAAED,EAAE,YAAY,EAAEA,EAAE,aAAa,EAAE,EAAE,EAAE,IAAIE,EAAE,EAAE,GAAGC,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE,YAAY,CAAC,EAAE,EAAE,EAAED,GAAGC,EAAE,KAAK,OAAO,EAAED,GAAG,CAAC,EAAE,EAAEC,CAAC,EAAEH,EAAE,eAAe,EAAEE,EAAEC,EAAE,EAAEA,EAAE,EAAED,EAAEP,EAAE,GAAG,EAAEA,EAAE,CAAC,CAAC,EAAE,WAAW,OAAO,eAAgB,KAAa,EAAE,SAAS,IAAI,eAAe,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC,EAAE,QAAQ,IAAI,CAAC,CAAC,CAAC,GAAG,QAAQK,CAAC,EAAE,QAAQ,IAAI,WAAW,eAAe,QAAQ,KAAK,8PAA8P,EAAE,EAAEI,EAAEL,EAAE,SAAQ,EAAGM,EAAE,sDAAsDC,EAAE,CAACZ,EAAEC,EAAE,EAAE,MAAM,IAAI,EAAE,QAAQ,CAAC,QAAQ,CAAC,IAAIY,EAAE,cAAc,SAAS,CAAC,yBAAyB,GAAG,wBAAwB,CAAC,QAAQb,EAAE,GAAG,QAAQ,CAAC,SAAS,CAAC,KAAKW,CAAC,SAASR,CAAC,IAAIO,CAAC,KAAK,CAAC,EAAE,MAAMT,CAAC,CAAC,GAAGa,EAAED,EAAE,cAAc,CAAC,aAAa,GAAG,YAAY,EAAE,CAAC,EAAkKE,EAAEF,EAAE,WAAW,CAAC,CAAC,MAAMb,EAAE,EAAE,aAAaC,EAAE,MAAM,EAAE,SAASK,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,IAAI,EAAEJ,EAAG,EAACM,EAAEK,EAAE,SAASJ,EAAEI,EAAE,WAAWC,CAAC,EAAEP,EAAEN,GAAUQ,EAAE,aAAaO,EAAE,GAAG,OAAO,OAAOH,EAAE,oBAAoB,EAAE,IAAIL,EAAE,QAAQ,CAAA,CAAE,EAAEd,EAAE,IAAI,CAACa,GAAG,KAAK,CAAC,IAAI,GAAGC,EAAE,UAAU,KAAKL,CAAC,EAAEE,GAAG,EAAEL,EAAEQ,EAAE,OAAO,CAAC,EAAE,CAACF,EAAEC,EAAEP,CAAC,CAAC,EAAEN,EAAE,IAAI,CAAC,GAAG,EAAEa,GAAG,KAAK,CAAC,IAAI,GAAG,MAAM,IAAI,CAAC,GAAG,CAACC,EAAE,QAAQ,OAAO,IAAIS,EAAET,EAAE,QAAQJ,CAAC,EAAEa,IAAIA,EAAE,WAAU,EAAG,OAAOT,EAAE,QAAQJ,CAAC,EAAE,CAAC,EAAE,CAACG,CAAC,CAAC,EAAE,QAAQ,IAAI,WAAW,eAAeD,GAAG,CAAC,MAAM,QAAQA,CAAC,GAAG,OAAOA,GAAG,UAAU,SAASA,GAAG,OAAOA,EAAE,MAAM,UAAUA,EAAE,OAAO,QAAQ,QAAQ,KAAK,+BAA+BA,EAAE,IAAI;AAAA;AAAA;AAAA,eAG1oEA,EAAE,IAAI,aAAaA,EAAE,IAAI;AAAA;AAAA,KAEnCA,EAAE,IAAI,kCAAkCA,EAAE,IAAI,GAAG,EAAEO,EAAE,cAAcA,EAAE,SAAS,KAAKA,EAAE,cAAcG,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,WAAWhB,EAAE,IAAIQ,EAAE,MAAM,CAAC,QAAQ,eAAe,cAAc,MAAM,eAAe,UAAU,SAASD,EAAE,UAAU,SAAS,EAAE,yBAAyB,EAAE,EAAED,CAAC,EAAEM,EAAEH,EAAE,YAAY,EAAE,QAAQN,CAAC,KAAK,CAAC,KAAKH,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAACP,GAAG,QAAQ,IAAI,WAAW,aAAa,CAAC,IAAIO,EAAE,SAAS,cAAc,uBAAuB,EAAE,GAAGA,EAAE,CAAC,IAAIC,EAAEK,GAAG,CAAC,QAAQ,KAAKA,EAAE,QAAQ,KAAK,MAAM,KAAK,EAAE,YAAY,EAAE,CAAC,GAAG,IAAIN,EAAE,SAAS,EAAE,WAAY,EAAC,IAAI,EAAE,SAAS,iBAAiB,WAAW,EAAE,QAAQ,KAAK,MAAM,KAAK,CAAC,EAAE,KAAKG,CAAC,EAAE,EAAE,CAAC,EAAE,QAAQ,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,iBAAiBF,CAAC,EAAE,EAAE,QAAQ,SAAS,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAI,IAACiB,EAAEH","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs22.js","sources":["../src/components/ui/Dropdown/index.tsx"],"sourcesContent":["import { ArrowDown } from \"@/icons\";\nimport * as DropdownMenu from \"@radix-ui/react-dropdown-menu\";\nimport clsx from \"clsx\";\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport \"./Dropdown.scss\";\nimport { Row } from \"@/components\";\n\ntype DropdownOption = {\n label: string;\n href?: string;\n onClick?: () => void;\n active?: boolean;\n};\n\ntype DropdownProps = {\n text: string;\n leftIcon?: React.ReactNode;\n options: DropdownOption[];\n asLinkItem?: \"a\" | React.ComponentType<any>;\n textColor?: ColorKeys;\n};\n\ntype DropdownMenuContentProps = {\n options: DropdownOption[];\n asLinkItem?: \"a\" | React.ComponentType<any>;\n};\n\nexport const Dropdown = ({\n text,\n leftIcon,\n options,\n asLinkItem,\n textColor = \"white\",\n}: DropdownProps) => {\n const textColorClass = createColorClasses({ text: textColor });\n\n return (\n <DropdownMenu.Root>\n <DropdownMenu.Trigger asChild>\n <button\n className={clsx(\n \"border-none bg-transparent base-row gap-x8 fw-regular fs-6 align-items-center\",\n textColorClass,\n \"ui-dropdown-trigger\",\n )}\n >\n {leftIcon && leftIcon}\n <Row as={\"span\"} gap={\"x4\"}>\n {text}\n <ArrowDown color={textColor} className={\"ui-arrow\"} />\n </Row>\n </button>\n </DropdownMenu.Trigger>\n <DropdownMenuContent options={options} asLinkItem={asLinkItem} />\n </DropdownMenu.Root>\n );\n};\n\nconst DropdownMenuContent = ({\n options,\n asLinkItem,\n}: DropdownMenuContentProps) => {\n if (options.length === 0) return null;\n\n const LinkComponent = asLinkItem ?? \"a\";\n\n return (\n <DropdownMenu.Portal>\n <DropdownMenu.Content\n className={\"bg-white shadow ui-dropdown-menu-content\"}\n >\n <DropdownMenu.Group className={\"ui-dropdown-menu-group\"}>\n {options.map((option, index) => (\n <DropdownMenu.Item\n key={index}\n asChild\n className={\"ui-dropdown-menu-item\"}\n >\n {option.href ? (\n <LinkComponent\n href={option.href}\n className={clsx(\n \"fs-6 text-decoration-none\",\n option.active\n ? `text-primary fw-semibold`\n : `text-slate-28 fw-regular`,\n )}\n >\n {option.label}\n {option.active && (\n <span className=\"visually-hidden\">Attivo</span>\n )}\n </LinkComponent>\n ) : (\n <button onClick={option.onClick}>\n {option.label}\n {option.active && (\n <span className=\"visually-hidden\">Attivo</span>\n )}\n </button>\n )}\n </DropdownMenu.Item>\n ))}\n </DropdownMenu.Group>\n </DropdownMenu.Content>\n </DropdownMenu.Portal>\n );\n};\n"],"names":["Dropdown","text","leftIcon","options","asLinkItem","textColor","textColorClass","createColorClasses","jsxs","DropdownMenu.Root","jsx","DropdownMenu.Trigger","clsx","Row","ArrowDown","DropdownMenuContent","LinkComponent","DropdownMenu.Portal","DropdownMenu.Content","DropdownMenu.Group","option","index","DropdownMenu.Item"],"mappings":"gTA2BaA,EAAW,CAAC,CACvB,KAAAC,EACA,SAAAC,EACA,QAAAC,EACA,WAAAC,EACA,UAAAC,EAAY,OACd,IAAqB,CACnB,MAAMC,EAAiBC,EAAA,mBAAmB,CAAE,KAAMF,EAAW,EAG3D,OAAAG,EAAA,kBAAA,KAACC,OAAA,CACC,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,QAAA,CAAqB,QAAO,GAC3B,SAAAH,EAAA,kBAAA,KAAC,SAAA,CACC,UAAWI,EAAA,KACT,gFACAN,EACA,qBACF,EAEC,SAAA,CAAYJ,GAAAA,EACZM,EAAA,kBAAA,KAAAK,EAAA,IAAA,CAAI,GAAI,OAAQ,IAAK,KACnB,SAAA,CAAAZ,EACAS,EAAA,kBAAA,IAAAI,EAAA,UAAA,CAAU,MAAOT,EAAW,UAAW,UAAY,CAAA,CAAA,CACtD,CAAA,CAAA,CAAA,CAAA,EAEJ,EACAK,EAAAA,kBAAAA,IAACK,EAAoB,CAAA,QAAAZ,EAAkB,WAAAC,CAAwB,CAAA,CAAA,EACjE,CAEJ,EAEMW,EAAsB,CAAC,CAC3B,QAAAZ,EACA,WAAAC,CACF,IAAgC,CAC1B,GAAAD,EAAQ,SAAW,EAAU,OAAA,KAEjC,MAAMa,EAAgBZ,GAAc,IAGlC,OAAAM,wBAACO,EAAAA,OAAA,CACC,SAAAP,EAAA,kBAAA,IAACQ,EAAa,QAAb,CACC,UAAW,2CAEX,SAAAR,EAAA,kBAAA,IAACS,QAAA,CAAmB,UAAW,yBAC5B,SAAQhB,EAAA,IAAI,CAACiB,EAAQC,IACpBX,EAAA,kBAAA,IAACY,EAAa,KAAb,CAEC,QAAO,GACP,UAAW,wBAEV,WAAO,KACNd,EAAA,kBAAA,KAACQ,EAAA,CACC,KAAMI,EAAO,KACb,UAAWR,EAAA,KACT,4BACAQ,EAAO,OACH,2BACA,0BACN,EAEC,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,EAI5CF,EAAAA,kBAAAA,KAAC,SAAO,CAAA,QAASY,EAAO,QACrB,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAE5C,CAAA,CAAA,EAzBGW,CAAA,CA4BR,CACH,CAAA,CAAA,CAAA,EAEJ,CAEJ"}
1
+ {"version":3,"file":"index.cjs22.js","sources":["../src/components/ui/Dropdown/index.tsx"],"sourcesContent":["import { ArrowDown } from \"@/icons\";\r\nimport * as DropdownMenu from \"@radix-ui/react-dropdown-menu\";\r\nimport clsx from \"clsx\";\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport \"./Dropdown.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype DropdownOption = {\r\n label: string;\r\n href?: string;\r\n onClick?: () => void;\r\n active?: boolean;\r\n};\r\n\r\ntype DropdownProps = {\r\n text: string;\r\n leftIcon?: React.ReactNode;\r\n options: DropdownOption[];\r\n asLinkItem?: \"a\" | React.ComponentType<any>;\r\n textColor?: ColorKeys;\r\n};\r\n\r\ntype DropdownMenuContentProps = {\r\n options: DropdownOption[];\r\n asLinkItem?: \"a\" | React.ComponentType<any>;\r\n};\r\n\r\nexport const Dropdown = ({\r\n text,\r\n leftIcon,\r\n options,\r\n asLinkItem,\r\n textColor = \"white\",\r\n}: DropdownProps) => {\r\n const textColorClass = createColorClasses({ text: textColor });\r\n\r\n return (\r\n <DropdownMenu.Root>\r\n <DropdownMenu.Trigger asChild>\r\n <button\r\n className={clsx(\r\n \"border-none bg-transparent base-row gap-x8 fw-regular fs-6 align-items-center\",\r\n textColorClass,\r\n \"ui-dropdown-trigger\",\r\n )}\r\n >\r\n {leftIcon && leftIcon}\r\n <Row as={\"span\"} gap={\"x4\"}>\r\n {text}\r\n <ArrowDown color={textColor} className={\"ui-arrow\"} />\r\n </Row>\r\n </button>\r\n </DropdownMenu.Trigger>\r\n <DropdownMenuContent options={options} asLinkItem={asLinkItem} />\r\n </DropdownMenu.Root>\r\n );\r\n};\r\n\r\nconst DropdownMenuContent = ({\r\n options,\r\n asLinkItem,\r\n}: DropdownMenuContentProps) => {\r\n if (options.length === 0) return null;\r\n\r\n const LinkComponent = asLinkItem ?? \"a\";\r\n\r\n return (\r\n <DropdownMenu.Portal>\r\n <DropdownMenu.Content\r\n className={\"bg-white shadow ui-dropdown-menu-content\"}\r\n >\r\n <DropdownMenu.Group className={\"ui-dropdown-menu-group\"}>\r\n {options.map((option, index) => (\r\n <DropdownMenu.Item\r\n key={index}\r\n asChild\r\n className={\"ui-dropdown-menu-item\"}\r\n >\r\n {option.href ? (\r\n <LinkComponent\r\n href={option.href}\r\n className={clsx(\r\n \"fs-6 text-decoration-none\",\r\n option.active\r\n ? `text-primary fw-semibold`\r\n : `text-slate-28 fw-regular`,\r\n )}\r\n >\r\n {option.label}\r\n {option.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </LinkComponent>\r\n ) : (\r\n <button onClick={option.onClick}>\r\n {option.label}\r\n {option.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </button>\r\n )}\r\n </DropdownMenu.Item>\r\n ))}\r\n </DropdownMenu.Group>\r\n </DropdownMenu.Content>\r\n </DropdownMenu.Portal>\r\n );\r\n};\r\n"],"names":["Dropdown","text","leftIcon","options","asLinkItem","textColor","textColorClass","createColorClasses","jsxs","DropdownMenu.Root","jsx","DropdownMenu.Trigger","clsx","Row","ArrowDown","DropdownMenuContent","LinkComponent","DropdownMenu.Portal","DropdownMenu.Content","DropdownMenu.Group","option","index","DropdownMenu.Item"],"mappings":"gTA2BaA,EAAW,CAAC,CACvB,KAAAC,EACA,SAAAC,EACA,QAAAC,EACA,WAAAC,EACA,UAAAC,EAAY,OACd,IAAqB,CACnB,MAAMC,EAAiBC,EAAA,mBAAmB,CAAE,KAAMF,EAAW,EAG3D,OAAAG,EAAA,kBAAA,KAACC,OAAA,CACC,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,QAAA,CAAqB,QAAO,GAC3B,SAAAH,EAAA,kBAAA,KAAC,SAAA,CACC,UAAWI,EAAA,KACT,gFACAN,EACA,qBACF,EAEC,SAAA,CAAYJ,GAAAA,EACZM,EAAA,kBAAA,KAAAK,EAAA,IAAA,CAAI,GAAI,OAAQ,IAAK,KACnB,SAAA,CAAAZ,EACAS,EAAA,kBAAA,IAAAI,EAAA,UAAA,CAAU,MAAOT,EAAW,UAAW,UAAY,CAAA,CAAA,CACtD,CAAA,CAAA,CAAA,CAAA,EAEJ,EACAK,EAAAA,kBAAAA,IAACK,EAAoB,CAAA,QAAAZ,EAAkB,WAAAC,CAAwB,CAAA,CAAA,EACjE,CAEJ,EAEMW,EAAsB,CAAC,CAC3B,QAAAZ,EACA,WAAAC,CACF,IAAgC,CAC1B,GAAAD,EAAQ,SAAW,EAAU,OAAA,KAEjC,MAAMa,EAAgBZ,GAAc,IAGlC,OAAAM,wBAACO,EAAAA,OAAA,CACC,SAAAP,EAAA,kBAAA,IAACQ,EAAa,QAAb,CACC,UAAW,2CAEX,SAAAR,EAAA,kBAAA,IAACS,QAAA,CAAmB,UAAW,yBAC5B,SAAQhB,EAAA,IAAI,CAACiB,EAAQC,IACpBX,EAAA,kBAAA,IAACY,EAAa,KAAb,CAEC,QAAO,GACP,UAAW,wBAEV,WAAO,KACNd,EAAA,kBAAA,KAACQ,EAAA,CACC,KAAMI,EAAO,KACb,UAAWR,EAAA,KACT,4BACAQ,EAAO,OACH,2BACA,0BACN,EAEC,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,EAI5CF,EAAAA,kBAAAA,KAAC,SAAO,CAAA,QAASY,EAAO,QACrB,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAE5C,CAAA,CAAA,EAzBGW,CAAA,CA4BR,CACH,CAAA,CAAA,CAAA,EAEJ,CAEJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs23.js","sources":["../src/components/ui/FilterDropDown/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./FilterDropDown.scss\";\nimport { ArrowDown } from \"@/icons/ArrowDown\";\nimport { useEffect, useMemo, useRef, useState } from \"react\";\nimport { ArrowList } from \"@/icons/ArrowList\";\nimport { Col } from \"@/components\";\n\ntype FilterDropdownProps = {\n size: \"small\" | \"large\";\n items: string[];\n className?: string;\n filter: string;\n setFilter: (filter: string) => void;\n allStructuresLabel: string;\n};\nexport const FilterDropDown = ({\n size,\n items = [],\n className,\n filter,\n setFilter,\n allStructuresLabel,\n}: FilterDropdownProps) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n const processedItems = useMemo(() => {\n return [allStructuresLabel, ...items];\n }, [items, allStructuresLabel]);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsExpanded(false);\n }\n };\n\n if (isExpanded) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [isExpanded]);\n\n return (\n <div\n ref={dropdownRef}\n style={size === \"large\" ? { width: \"668px\" } : { width: \"322px\" }}\n className={clsx(className, \"ui-filter-dropdown\")}\n >\n <button\n className=\"ui-button-accordion\"\n type=\"button\"\n onClick={() => setIsExpanded(!isExpanded)}\n >\n <h3 className=\"fw-semibold fs-custom text-primary\">{filter}</h3>\n <ArrowDown\n color=\"primary\"\n className={clsx(\"ui-arrow\", { \"ui-expanded\": isExpanded })}\n />\n </button>\n {isExpanded && (\n <div className={\"ui-wrap-list-item-filter position-relative pt-x12\"}>\n <ArrowList className={\"ui-arrow-list position-absolute\"} />\n <div className={\"p-x24 h-full shadow\"}>\n <Col\n gap={\"x24\"}\n text={\"primary\"}\n fs={\"custom\"}\n fw={\"regular\"}\n className={\"ui-list-item-filter h-full overflow fw-regular\"}\n >\n {processedItems.map((item, index) => {\n return (\n <div\n key={index}\n onClick={() => {\n setFilter(item);\n setIsExpanded(false);\n }}\n >\n {item}\n </div>\n );\n })}\n </Col>\n </div>\n </div>\n )}\n </div>\n );\n};\n"],"names":["FilterDropDown","size","items","className","filter","setFilter","allStructuresLabel","isExpanded","setIsExpanded","useState","dropdownRef","useRef","processedItems","useMemo","useEffect","handleClickOutside","event","jsxs","clsx","jsx","ArrowDown","ArrowList","Col","item","index"],"mappings":"qSAeaA,EAAiB,CAAC,CAC7B,KAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,UAAAC,EACA,OAAAC,EACA,UAAAC,EACA,mBAAAC,CACF,IAA2B,CACzB,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,EAAK,EAC5CC,EAAcC,SAAuB,IAAI,EAEzCC,EAAiBC,EAAAA,QAAQ,IACtB,CAACP,EAAoB,GAAGJ,CAAK,EACnC,CAACA,EAAOI,CAAkB,CAAC,EAE9BQ,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAE9CN,EAAY,SACZ,CAACA,EAAY,QAAQ,SAASM,EAAM,MAAc,GAElDR,EAAc,EAAK,CAEvB,EAEA,OAAID,EACO,SAAA,iBAAiB,YAAaQ,CAAkB,EAEhD,SAAA,oBAAoB,YAAaA,CAAkB,EAGvD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CAACR,CAAU,CAAC,EAGbU,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,MAAOT,IAAS,QAAU,CAAE,MAAO,SAAY,CAAE,MAAO,OAAQ,EAChE,UAAWiB,EAAAA,KAAKf,EAAW,oBAAoB,EAE/C,SAAA,CAAAc,EAAA,kBAAA,KAAC,SAAA,CACC,UAAU,sBACV,KAAK,SACL,QAAS,IAAMT,EAAc,CAACD,CAAU,EAExC,SAAA,CAACY,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,qCAAsC,SAAOf,EAAA,EAC3De,EAAA,kBAAA,IAACC,EAAA,UAAA,CACC,MAAM,UACN,UAAWF,EAAAA,KAAK,WAAY,CAAE,cAAeX,CAAY,CAAA,CAAA,CAAA,CAC3D,CAAA,CACF,EACCA,GACCU,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAW,oDACd,SAAA,CAACE,EAAAA,kBAAAA,IAAAE,EAAA,UAAA,CAAU,UAAW,iCAAmC,CAAA,EACzDF,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,sBACd,SAAAA,EAAA,kBAAA,IAACG,EAAA,IAAA,CACC,IAAK,MACL,KAAM,UACN,GAAI,SACJ,GAAI,UACJ,UAAW,iDAEV,SAAeV,EAAA,IAAI,CAACW,EAAMC,IAEvBL,EAAA,kBAAA,IAAC,MAAA,CAEC,QAAS,IAAM,CACbd,EAAUkB,CAAI,EACdf,EAAc,EAAK,CACrB,EAEC,SAAAe,CAAA,EANIC,CAOP,CAEH,CAAA,CAAA,CAEL,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
1
+ {"version":3,"file":"index.cjs23.js","sources":["../src/components/ui/FilterDropDown/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./FilterDropDown.scss\";\r\nimport { ArrowDown } from \"@/icons/ArrowDown\";\r\nimport { useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { ArrowList } from \"@/icons/ArrowList\";\r\nimport { Col } from \"@/components\";\r\n\r\ntype FilterDropdownProps = {\r\n size: \"small\" | \"large\";\r\n items: string[];\r\n className?: string;\r\n filter: string;\r\n setFilter: (filter: string) => void;\r\n allStructuresLabel: string;\r\n};\r\nexport const FilterDropDown = ({\r\n size,\r\n items = [],\r\n className,\r\n filter,\r\n setFilter,\r\n allStructuresLabel,\r\n}: FilterDropdownProps) => {\r\n const [isExpanded, setIsExpanded] = useState(false);\r\n const dropdownRef = useRef<HTMLDivElement>(null);\r\n\r\n const processedItems = useMemo(() => {\r\n return [allStructuresLabel, ...items];\r\n }, [items, allStructuresLabel]);\r\n\r\n useEffect(() => {\r\n const handleClickOutside = (event: MouseEvent) => {\r\n if (\r\n dropdownRef.current &&\r\n !dropdownRef.current.contains(event.target as Node)\r\n ) {\r\n setIsExpanded(false);\r\n }\r\n };\r\n\r\n if (isExpanded) {\r\n document.addEventListener(\"mousedown\", handleClickOutside);\r\n } else {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n }\r\n\r\n return () => {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n };\r\n }, [isExpanded]);\r\n\r\n return (\r\n <div\r\n ref={dropdownRef}\r\n style={size === \"large\" ? { width: \"668px\" } : { width: \"322px\" }}\r\n className={clsx(className, \"ui-filter-dropdown\")}\r\n >\r\n <button\r\n className=\"ui-button-accordion\"\r\n type=\"button\"\r\n onClick={() => setIsExpanded(!isExpanded)}\r\n >\r\n <h3 className=\"fw-semibold fs-custom text-primary\">{filter}</h3>\r\n <ArrowDown\r\n color=\"primary\"\r\n className={clsx(\"ui-arrow\", { \"ui-expanded\": isExpanded })}\r\n />\r\n </button>\r\n {isExpanded && (\r\n <div className={\"ui-wrap-list-item-filter position-relative pt-x12\"}>\r\n <ArrowList className={\"ui-arrow-list position-absolute\"} />\r\n <div className={\"p-x24 h-full shadow\"}>\r\n <Col\r\n gap={\"x24\"}\r\n text={\"primary\"}\r\n fs={\"custom\"}\r\n fw={\"regular\"}\r\n className={\"ui-list-item-filter h-full overflow fw-regular\"}\r\n >\r\n {processedItems.map((item, index) => {\r\n return (\r\n <div\r\n key={index}\r\n onClick={() => {\r\n setFilter(item);\r\n setIsExpanded(false);\r\n }}\r\n >\r\n {item}\r\n </div>\r\n );\r\n })}\r\n </Col>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n};\r\n"],"names":["FilterDropDown","size","items","className","filter","setFilter","allStructuresLabel","isExpanded","setIsExpanded","useState","dropdownRef","useRef","processedItems","useMemo","useEffect","handleClickOutside","event","jsxs","clsx","jsx","ArrowDown","ArrowList","Col","item","index"],"mappings":"qSAeaA,EAAiB,CAAC,CAC7B,KAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,UAAAC,EACA,OAAAC,EACA,UAAAC,EACA,mBAAAC,CACF,IAA2B,CACzB,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,EAAK,EAC5CC,EAAcC,SAAuB,IAAI,EAEzCC,EAAiBC,EAAAA,QAAQ,IACtB,CAACP,EAAoB,GAAGJ,CAAK,EACnC,CAACA,EAAOI,CAAkB,CAAC,EAE9BQ,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAE9CN,EAAY,SACZ,CAACA,EAAY,QAAQ,SAASM,EAAM,MAAc,GAElDR,EAAc,EAAK,CAEvB,EAEA,OAAID,EACO,SAAA,iBAAiB,YAAaQ,CAAkB,EAEhD,SAAA,oBAAoB,YAAaA,CAAkB,EAGvD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CAACR,CAAU,CAAC,EAGbU,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,MAAOT,IAAS,QAAU,CAAE,MAAO,SAAY,CAAE,MAAO,OAAQ,EAChE,UAAWiB,EAAAA,KAAKf,EAAW,oBAAoB,EAE/C,SAAA,CAAAc,EAAA,kBAAA,KAAC,SAAA,CACC,UAAU,sBACV,KAAK,SACL,QAAS,IAAMT,EAAc,CAACD,CAAU,EAExC,SAAA,CAACY,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,qCAAsC,SAAOf,EAAA,EAC3De,EAAA,kBAAA,IAACC,EAAA,UAAA,CACC,MAAM,UACN,UAAWF,EAAAA,KAAK,WAAY,CAAE,cAAeX,CAAY,CAAA,CAAA,CAAA,CAC3D,CAAA,CACF,EACCA,GACCU,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAW,oDACd,SAAA,CAACE,EAAAA,kBAAAA,IAAAE,EAAA,UAAA,CAAU,UAAW,iCAAmC,CAAA,EACzDF,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,sBACd,SAAAA,EAAA,kBAAA,IAACG,EAAA,IAAA,CACC,IAAK,MACL,KAAM,UACN,GAAI,SACJ,GAAI,UACJ,UAAW,iDAEV,SAAeV,EAAA,IAAI,CAACW,EAAMC,IAEvBL,EAAA,kBAAA,IAAC,MAAA,CAEC,QAAS,IAAM,CACbd,EAAUkB,CAAI,EACdf,EAAc,EAAK,CACrB,EAEC,SAAAe,CAAA,EANIC,CAOP,CAEH,CAAA,CAAA,CAEL,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Header/Header.css');const e=require("./index.cjs141.js"),u=require("./index.cjs170.js"),j=require("./index.cjs171.js");;/* empty css */const m=require("./index.cjs88.js"),l=require("./index.cjs92.js"),q=require("./index.cjs91.js"),R={nazionale:m.Fse,marche:l.Marche,lazio:q.Lazio},E=({title:o,region:t,shortTitle:i,asLink:x="a",navigatonItems:r,labels:n,supportLink:s,loginLink:d,headerTitleClassname:c,children:a})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:"desktopHeader",children:e.jsxRuntimeExports.jsx(j.HeaderDesktop,{title:o,region:t,asLink:x,labels:n,navigatonItems:r,supportLink:s,loginLink:d,shortTitle:i,headerTitleClassname:c,children:a})}),e.jsxRuntimeExports.jsx("div",{className:"mobileHeader",children:e.jsxRuntimeExports.jsx(u.HeaderMobile,{shortTitle:i,region:t,asLink:x,navigatonItems:s?[...r,s]:r,labels:n,loginLink:d})})]});exports.Header=E;exports.LOGOS=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Header/Header.css');const e=require("./index.cjs141.js"),u=require("./index.cjs170.js"),j=require("./index.cjs171.js");;/* empty css */const m=require("./index.cjs91.js"),l=require("./index.cjs92.js"),q=require("./index.cjs88.js"),R={nazionale:q.Fse,marche:l.Marche,lazio:m.Lazio},E=({title:o,region:t,shortTitle:i,asLink:x="a",navigatonItems:r,labels:n,supportLink:s,loginLink:d,headerTitleClassname:c,children:a})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:"desktopHeader",children:e.jsxRuntimeExports.jsx(j.HeaderDesktop,{title:o,region:t,asLink:x,labels:n,navigatonItems:r,supportLink:s,loginLink:d,shortTitle:i,headerTitleClassname:c,children:a})}),e.jsxRuntimeExports.jsx("div",{className:"mobileHeader",children:e.jsxRuntimeExports.jsx(u.HeaderMobile,{shortTitle:i,region:t,asLink:x,navigatonItems:s?[...r,s]:r,labels:n,loginLink:d})})]});exports.Header=E;exports.LOGOS=R;
2
2
  //# sourceMappingURL=index.cjs24.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs24.js","sources":["../src/components/navigations/Header/index.tsx"],"sourcesContent":["\"use client\";\n\nimport { HeaderMobile, HeaderMobileProps } from \"../HeaderMobile\";\nimport { HeaderDesktop, HeaderDesktopProps } from \"../HeaderDesktop\";\nimport { Fse, Lazio, Marche } from \"@/icons\";\nimport { IconProps } from \"@/types/icons\";\nimport { ComponentType, ReactNode } from \"react\";\nimport \"./Header.scss\";\n\nexport type Region = \"marche\" | \"lazio\" | \"nazionale\";\n\ntype HeaderProps = HeaderMobileProps &\n HeaderDesktopProps & {\n children?: ReactNode;\n };\n\nexport const LOGOS: Record<Region, ComponentType<IconProps>> = {\n nazionale: Fse,\n marche: Marche,\n lazio: Lazio,\n};\n\nexport const Header = ({\n title,\n region,\n shortTitle,\n asLink = \"a\",\n navigatonItems,\n labels,\n supportLink,\n loginLink,\n headerTitleClassname,\n children,\n}: HeaderProps) => {\n return (\n <>\n <div className={\"desktopHeader\"}>\n <HeaderDesktop\n title={title}\n region={region}\n asLink={asLink}\n labels={labels}\n navigatonItems={navigatonItems}\n supportLink={supportLink}\n loginLink={loginLink}\n shortTitle={shortTitle}\n headerTitleClassname={headerTitleClassname}\n >\n {children}\n </HeaderDesktop>\n </div>\n <div className={\"mobileHeader\"}>\n <HeaderMobile\n shortTitle={shortTitle}\n region={region}\n asLink={asLink}\n navigatonItems={\n supportLink ? [...navigatonItems, supportLink] : navigatonItems\n }\n labels={labels}\n loginLink={loginLink}\n />\n </div>\n </>\n );\n};\n"],"names":["LOGOS","Fse","Marche","Lazio","Header","title","region","shortTitle","asLink","navigatonItems","labels","supportLink","loginLink","headerTitleClassname","children","jsxs","Fragment","jsx","HeaderDesktop","HeaderMobile"],"mappings":"gTAgBaA,EAAkD,CAC7D,UAAWC,EAAA,IACX,OAAQC,EAAA,OACR,MAAOC,EAAAA,KACT,EAEaC,EAAS,CAAC,CACrB,MAAAC,EACA,OAAAC,EACA,WAAAC,EACA,OAAAC,EAAS,IACT,eAAAC,EACA,OAAAC,EACA,YAAAC,EACA,UAAAC,EACA,qBAAAC,EACA,SAAAC,CACF,IAGMC,EAAA,kBAAA,KAAAC,6BAAA,CAAA,SAAA,CAACC,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAW,gBACd,SAAAA,EAAA,kBAAA,IAACC,EAAA,cAAA,CACC,MAAAb,EACA,OAAAC,EACA,OAAAE,EACA,OAAAE,EACA,eAAAD,EACA,YAAAE,EACA,UAAAC,EACA,WAAAL,EACA,qBAAAM,EAEC,SAAAC,CAAA,CAAA,EAEL,EACAG,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,eACd,SAAAA,EAAA,kBAAA,IAACE,EAAA,aAAA,CACC,WAAAZ,EACA,OAAAD,EACA,OAAAE,EACA,eACEG,EAAc,CAAC,GAAGF,EAAgBE,CAAW,EAAIF,EAEnD,OAAAC,EACA,UAAAE,CAAA,CAAA,CAEJ,CAAA,CAAA,EACF"}
1
+ {"version":3,"file":"index.cjs24.js","sources":["../src/components/navigations/Header/index.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport { HeaderMobile, HeaderMobileProps } from \"../HeaderMobile\";\r\nimport { HeaderDesktop, HeaderDesktopProps } from \"../HeaderDesktop\";\r\nimport { Fse, Lazio, Marche } from \"@/icons\";\r\nimport { IconProps } from \"@/types/icons\";\r\nimport { ComponentType, ReactNode } from \"react\";\r\nimport \"./Header.scss\";\r\n\r\nexport type Region = \"marche\" | \"lazio\" | \"nazionale\";\r\n\r\ntype HeaderProps = HeaderMobileProps &\r\n HeaderDesktopProps & {\r\n children?: ReactNode;\r\n };\r\n\r\nexport const LOGOS: Record<Region, ComponentType<IconProps>> = {\r\n nazionale: Fse,\r\n marche: Marche,\r\n lazio: Lazio,\r\n};\r\n\r\nexport const Header = ({\r\n title,\r\n region,\r\n shortTitle,\r\n asLink = \"a\",\r\n navigatonItems,\r\n labels,\r\n supportLink,\r\n loginLink,\r\n headerTitleClassname,\r\n children,\r\n}: HeaderProps) => {\r\n return (\r\n <>\r\n <div className={\"desktopHeader\"}>\r\n <HeaderDesktop\r\n title={title}\r\n region={region}\r\n asLink={asLink}\r\n labels={labels}\r\n navigatonItems={navigatonItems}\r\n supportLink={supportLink}\r\n loginLink={loginLink}\r\n shortTitle={shortTitle}\r\n headerTitleClassname={headerTitleClassname}\r\n >\r\n {children}\r\n </HeaderDesktop>\r\n </div>\r\n <div className={\"mobileHeader\"}>\r\n <HeaderMobile\r\n shortTitle={shortTitle}\r\n region={region}\r\n asLink={asLink}\r\n navigatonItems={\r\n supportLink ? [...navigatonItems, supportLink] : navigatonItems\r\n }\r\n labels={labels}\r\n loginLink={loginLink}\r\n />\r\n </div>\r\n </>\r\n );\r\n};\r\n"],"names":["LOGOS","Fse","Marche","Lazio","Header","title","region","shortTitle","asLink","navigatonItems","labels","supportLink","loginLink","headerTitleClassname","children","jsxs","Fragment","jsx","HeaderDesktop","HeaderMobile"],"mappings":"gTAgBaA,EAAkD,CAC7D,UAAWC,EAAA,IACX,OAAQC,EAAA,OACR,MAAOC,EAAAA,KACT,EAEaC,EAAS,CAAC,CACrB,MAAAC,EACA,OAAAC,EACA,WAAAC,EACA,OAAAC,EAAS,IACT,eAAAC,EACA,OAAAC,EACA,YAAAC,EACA,UAAAC,EACA,qBAAAC,EACA,SAAAC,CACF,IAGMC,EAAA,kBAAA,KAAAC,6BAAA,CAAA,SAAA,CAACC,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAW,gBACd,SAAAA,EAAA,kBAAA,IAACC,EAAA,cAAA,CACC,MAAAb,EACA,OAAAC,EACA,OAAAE,EACA,OAAAE,EACA,eAAAD,EACA,YAAAE,EACA,UAAAC,EACA,WAAAL,EACA,qBAAAM,EAEC,SAAAC,CAAA,CAAA,EAEL,EACAG,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,eACd,SAAAA,EAAA,kBAAA,IAACE,EAAA,aAAA,CACC,WAAAZ,EACA,OAAAD,EACA,OAAAE,EACA,eACEG,EAAc,CAAC,GAAGF,EAAgBE,CAAW,EAAIF,EAEnD,OAAAC,EACA,UAAAE,CAAA,CAAA,CAEJ,CAAA,CAAA,EACF"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs256.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs280.js");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var _;function l(){if(_)return t.__exports;_=1;var o=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(d,e,r){var n=null;if(r!==void 0&&(n=""+r),e.key!==void 0&&(n=""+e.key),"key"in e){r={};for(var u in e)u!=="key"&&(r[u]=e[u])}else r=e;return e=r.ref,{$$typeof:o,type:d,key:n,ref:e!==void 0?e:null,props:r}}return t.__exports.Fragment=i,t.__exports.jsx=s,t.__exports.jsxs=s,t.__exports}exports.__require=l;
9
+ */var _;function x(){if(_)return e.__exports;_=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(l,r,t){var o=null;if(t!==void 0&&(o=""+t),r.key!==void 0&&(o=""+r.key),"key"in r){t={};for(var u in r)u!=="key"&&(t[u]=r[u])}else t=r;return r=t.ref,{$$typeof:n,type:l,key:o,ref:r!==void 0?r:null,props:t}}return e.__exports.Fragment=i,e.__exports.jsx=s,e.__exports.jsxs=s,e.__exports}exports.__require=x;
10
10
  //# sourceMappingURL=index.cjs240.js.map