mada-design-system 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. package/index.cjs112.js +1 -1
  2. package/index.cjs113.js +1 -1
  3. package/index.cjs114.js +1 -1
  4. package/index.cjs115.js +1 -1
  5. package/index.cjs116.js +1 -1
  6. package/index.cjs120.js +1 -1
  7. package/index.cjs122.js +1 -1
  8. package/index.cjs123.js +1 -1
  9. package/index.cjs124.js +1 -1
  10. package/index.cjs125.js +1 -1
  11. package/index.cjs128.js +1 -1
  12. package/index.cjs129.js +1 -1
  13. package/index.cjs130.js +1 -1
  14. package/index.cjs131.js +1 -1
  15. package/index.cjs132.js +1 -1
  16. package/index.cjs133.js +1 -1
  17. package/index.cjs134.js +1 -1
  18. package/index.cjs136.js +1 -1
  19. package/index.cjs137.js +1 -1
  20. package/index.cjs138.js +1 -1
  21. package/index.cjs139.js +1 -1
  22. package/index.cjs140.js +1 -1
  23. package/index.cjs141.js +1 -1
  24. package/index.cjs142.js +1 -1
  25. package/index.cjs143.js +1 -1
  26. package/index.cjs144.js +1 -1
  27. package/index.cjs145.js +1 -1
  28. package/index.cjs146.js +1 -1
  29. package/index.cjs147.js +1 -1
  30. package/index.cjs148.js +1 -1
  31. package/index.cjs149.js +1 -1
  32. package/index.cjs151.js +1 -1
  33. package/index.cjs152.js +1 -1
  34. package/index.cjs153.js +1 -1
  35. package/index.cjs154.js +1 -1
  36. package/index.cjs155.js +1 -1
  37. package/index.cjs156.js +1 -1
  38. package/index.cjs158.js +1 -1
  39. package/index.cjs159.js +1 -1
  40. package/index.cjs160.js +1 -1
  41. package/index.cjs161.js +1 -1
  42. package/index.cjs162.js +1 -1
  43. package/index.cjs163.js +1 -1
  44. package/index.cjs164.js +1 -1
  45. package/index.cjs171.js +1 -1
  46. package/index.cjs172.js +1 -1
  47. package/index.cjs173.js +1 -1
  48. package/index.cjs174.js +1 -1
  49. package/index.cjs175.js +1 -1
  50. package/index.cjs176.js +1 -1
  51. package/index.cjs177.js +1 -1
  52. package/index.cjs178.js +1 -1
  53. package/index.cjs181.js +1 -1
  54. package/index.cjs182.js +1 -1
  55. package/index.cjs183.js +1 -1
  56. package/index.cjs184.js +1 -1
  57. package/index.cjs185.js +1 -1
  58. package/index.cjs186.js +1 -1
  59. package/index.cjs187.js +1 -1
  60. package/index.cjs188.js +1 -1
  61. package/index.cjs189.js +1 -1
  62. package/index.cjs191.js +1 -1
  63. package/index.cjs192.js +1 -1
  64. package/index.cjs193.js +1 -1
  65. package/index.cjs197.js +1 -1
  66. package/index.cjs198.js +1 -1
  67. package/index.cjs199.js +1 -1
  68. package/index.cjs200.js +1 -1
  69. package/index.cjs201.js +1 -1
  70. package/index.cjs202.js +1 -1
  71. package/index.cjs203.js +1 -1
  72. package/index.cjs204.js +1 -1
  73. package/index.cjs205.js +1 -1
  74. package/index.cjs206.js +1 -1
  75. package/index.cjs207.js +1 -1
  76. package/index.cjs208.js +1 -1
  77. package/index.cjs209.js +1 -1
  78. package/index.cjs210.js +1 -1
  79. package/index.cjs211.js +1 -1
  80. package/index.cjs212.js +1 -1
  81. package/index.cjs213.js +1 -1
  82. package/index.cjs214.js +1 -1
  83. package/index.cjs215.js +1 -1
  84. package/index.cjs216.js +1 -1
  85. package/index.cjs217.js +1 -1
  86. package/index.cjs218.js +1 -1
  87. package/index.cjs219.js +1 -1
  88. package/index.cjs220.js +1 -1
  89. package/index.cjs221.js +1 -1
  90. package/index.cjs222.js +1 -1
  91. package/index.cjs223.js +1 -1
  92. package/index.cjs224.js +1 -1
  93. package/index.cjs225.js +1 -1
  94. package/index.cjs226.js +1 -1
  95. package/index.cjs227.js +1 -1
  96. package/index.cjs228.js +1 -1
  97. package/index.cjs229.js +1 -1
  98. package/index.cjs230.js +1 -1
  99. package/index.cjs231.js +1 -1
  100. package/index.cjs232.js +1 -1
  101. package/index.cjs233.js +1 -1
  102. package/index.cjs234.js +1 -1
  103. package/index.cjs235.js +1 -1
  104. package/index.cjs236.js +1 -1
  105. package/index.cjs237.js +1 -1
  106. package/index.cjs238.js +1 -1
  107. package/index.cjs239.js +1 -1
  108. package/index.cjs240.js +1 -1
  109. package/index.cjs241.js +1 -1
  110. package/index.cjs242.js +1 -1
  111. package/index.cjs243.js +1 -1
  112. package/index.cjs244.js +1 -1
  113. package/index.cjs245.js +1 -1
  114. package/index.cjs246.js +1 -1
  115. package/index.cjs247.js +1 -1
  116. package/index.cjs248.js +1 -1
  117. package/index.cjs249.js +1 -1
  118. package/index.cjs250.js +1 -1
  119. package/index.cjs251.js +1 -1
  120. package/index.cjs252.js +1 -1
  121. package/index.cjs253.js +1 -1
  122. package/index.cjs254.js +1 -1
  123. package/index.cjs255.js +1 -1
  124. package/index.cjs256.js +1 -1
  125. package/index.cjs257.js +1 -1
  126. package/index.cjs258.js +1 -1
  127. package/index.cjs259.js +1 -1
  128. package/index.cjs26.js +1 -1
  129. package/index.cjs260.js +1 -1
  130. package/index.cjs261.js +1 -1
  131. package/index.cjs262.js +1 -1
  132. package/index.cjs263.js +1 -1
  133. package/index.cjs264.js +1 -1
  134. package/index.cjs265.js +1 -1
  135. package/index.cjs266.js +1 -1
  136. package/index.cjs267.js +1 -1
  137. package/index.cjs268.js +1 -1
  138. package/index.cjs269.js +1 -1
  139. package/index.cjs270.js +1 -1
  140. package/index.cjs271.js +1 -1
  141. package/index.cjs272.js +1 -1
  142. package/index.cjs273.js +1 -1
  143. package/index.cjs274.js +1 -1
  144. package/index.cjs275.js +1 -1
  145. package/index.cjs276.js +1 -1
  146. package/index.cjs277.js +1 -1
  147. package/index.cjs278.js +1 -1
  148. package/index.cjs279.js +1 -1
  149. package/index.cjs28.js +1 -1
  150. package/index.cjs280.js +1 -1
  151. package/index.cjs281.js +1 -1
  152. package/index.cjs282.js +1 -1
  153. package/index.cjs283.js +1 -1
  154. package/index.cjs284.js +1 -1
  155. package/index.cjs285.js +1 -1
  156. package/index.cjs286.js +1 -1
  157. package/index.cjs287.js +1 -1
  158. package/index.cjs288.js +1 -1
  159. package/index.cjs289.js +1 -1
  160. package/index.cjs290.js +1 -1
  161. package/index.cjs291.js +1 -1
  162. package/index.cjs292.js +1 -1
  163. package/index.cjs293.js +1 -1
  164. package/index.cjs294.js +1 -1
  165. package/index.cjs295.js +1 -1
  166. package/index.cjs296.js +1 -1
  167. package/index.cjs297.js +1 -1
  168. package/index.cjs298.js +1 -1
  169. package/index.cjs299.js +1 -1
  170. package/index.cjs300.js +1 -1
  171. package/index.cjs301.js +1 -1
  172. package/index.cjs302.js +1 -1
  173. package/index.cjs303.js +1 -1
  174. package/index.cjs304.js +1 -1
  175. package/index.cjs305.js +1 -1
  176. package/index.cjs306.js +1 -1
  177. package/index.cjs307.js +1 -1
  178. package/index.cjs308.js +1 -1
  179. package/index.cjs309.js +1 -1
  180. package/index.cjs310.js +1 -1
  181. package/index.cjs311.js +1 -1
  182. package/index.cjs312.js +1 -1
  183. package/index.cjs313.js +1 -1
  184. package/index.cjs314.js +1 -1
  185. package/index.cjs315.js +1 -1
  186. package/index.cjs316.js +1 -1
  187. package/index.cjs317.js +1 -1
  188. package/index.cjs318.js +1 -1
  189. package/index.cjs319.js +1 -1
  190. package/index.cjs320.js +1 -1
  191. package/index.cjs321.js +1 -1
  192. package/index.cjs322.js +1 -1
  193. package/index.cjs323.js +1 -1
  194. package/index.cjs324.js +1 -1
  195. package/index.cjs325.js +1 -1
  196. package/index.cjs326.js +1 -1
  197. package/index.cjs327.js +1 -1
  198. package/index.cjs328.js +1 -1
  199. package/index.cjs329.js +1 -1
  200. package/index.cjs330.js +1 -1
  201. package/index.cjs331.js +1 -1
  202. package/index.cjs332.js +1 -1
  203. package/index.cjs333.js +1 -1
  204. package/index.cjs334.js +1 -1
  205. package/index.cjs335.js +1 -1
  206. package/index.cjs336.js +1 -1
  207. package/index.cjs337.js +1 -1
  208. package/index.cjs338.js +1 -1
  209. package/index.cjs339.js +1 -1
  210. package/index.cjs34.js +1 -1
  211. package/index.cjs340.js +1 -1
  212. package/index.cjs341.js +1 -1
  213. package/index.cjs342.js +1 -1
  214. package/index.cjs343.js +1 -1
  215. package/index.cjs344.js +1 -1
  216. package/index.cjs345.js +1 -1
  217. package/index.cjs346.js +1 -1
  218. package/index.cjs347.js +1 -1
  219. package/index.cjs348.js +1 -1
  220. package/index.cjs349.js +1 -1
  221. package/index.cjs35.js +1 -1
  222. package/index.cjs350.js +1 -1
  223. package/index.cjs351.js +1 -1
  224. package/index.cjs352.js +1 -1
  225. package/index.cjs353.js +1 -1
  226. package/index.cjs354.js +1 -1
  227. package/index.cjs355.js +1 -1
  228. package/index.cjs356.js +1 -1
  229. package/index.cjs357.js +1 -1
  230. package/index.cjs358.js +1 -1
  231. package/index.cjs359.js +1 -1
  232. package/index.cjs360.js +1 -1
  233. package/index.cjs361.js +1 -1
  234. package/index.cjs362.js +1 -1
  235. package/index.cjs363.js +1 -1
  236. package/index.cjs364.js +1 -1
  237. package/index.cjs365.js +1 -1
  238. package/index.cjs366.js +1 -1
  239. package/index.cjs367.js +1 -1
  240. package/index.cjs368.js +1 -1
  241. package/index.cjs369.js +1 -1
  242. package/index.cjs370.js +1 -1
  243. package/index.cjs371.js +1 -1
  244. package/index.cjs372.js +1 -1
  245. package/index.cjs373.js +1 -1
  246. package/index.cjs374.js +1 -1
  247. package/index.cjs375.js +1 -1
  248. package/index.cjs376.js +1 -1
  249. package/index.cjs377.js +1 -1
  250. package/index.cjs378.js +1 -1
  251. package/index.cjs379.js +1 -1
  252. package/index.cjs380.js +1 -1
  253. package/index.cjs381.js +1 -1
  254. package/index.cjs382.js +1 -1
  255. package/index.cjs383.js +1 -1
  256. package/index.cjs384.js +1 -1
  257. package/index.cjs385.js +1 -1
  258. package/index.cjs386.js +1 -1
  259. package/index.cjs387.js +1 -1
  260. package/index.cjs388.js +1 -1
  261. package/index.cjs389.js +1 -1
  262. package/index.cjs39.js +1 -1
  263. package/index.cjs390.js +1 -1
  264. package/index.cjs391.js +1 -1
  265. package/index.cjs392.js +1 -1
  266. package/index.cjs393.js +1 -1
  267. package/index.cjs394.js +1 -1
  268. package/index.cjs395.js +1 -1
  269. package/index.cjs396.js +1 -1
  270. package/index.cjs397.js +1 -1
  271. package/index.cjs398.js +1 -1
  272. package/index.cjs399.js +1 -1
  273. package/index.cjs400.js +1 -1
  274. package/index.cjs401.js +1 -1
  275. package/index.cjs402.js +1 -1
  276. package/index.cjs403.js +1 -1
  277. package/index.cjs404.js +1 -1
  278. package/index.cjs405.js +1 -1
  279. package/index.cjs406.js +1 -1
  280. package/index.cjs407.js +1 -1
  281. package/index.cjs408.js +1 -1
  282. package/index.cjs409.js +1 -1
  283. package/index.cjs410.js +1 -1
  284. package/index.cjs411.js +1 -1
  285. package/index.cjs412.js +1 -1
  286. package/index.cjs413.js +1 -1
  287. package/index.cjs414.js +1 -1
  288. package/index.cjs415.js +1 -1
  289. package/index.cjs416.js +1 -1
  290. package/index.cjs417.js +1 -1
  291. package/index.cjs418.js +1 -1
  292. package/index.cjs419.js +1 -1
  293. package/index.cjs420.js +1 -1
  294. package/index.cjs421.js +1 -1
  295. package/index.cjs422.js +1 -1
  296. package/index.cjs423.js +1 -1
  297. package/index.cjs424.js +1 -1
  298. package/index.cjs425.js +1 -1
  299. package/index.cjs426.js +1 -1
  300. package/index.cjs427.js +1 -1
  301. package/index.cjs53.js +1 -1
  302. package/index.cjs58.js +1 -1
  303. package/index.cjs59.js +1 -1
  304. package/index.cjs73.js +1 -1
  305. package/index.cjs74.js +1 -1
  306. package/index.es.d.ts +1 -0
  307. package/index.es112.js +3 -3
  308. package/index.es113.js +2 -2
  309. package/index.es114.js +5 -5
  310. package/index.es115.js +5 -5
  311. package/index.es116.js +5 -5
  312. package/index.es120.js +1 -1
  313. package/index.es122.js +1 -1
  314. package/index.es123.js +1 -1
  315. package/index.es124.js +1 -1
  316. package/index.es125.js +1 -1
  317. package/index.es128.js +2 -2
  318. package/index.es129.js +1 -1
  319. package/index.es130.js +1 -1
  320. package/index.es131.js +1 -1
  321. package/index.es132.js +1 -1
  322. package/index.es133.js +1 -1
  323. package/index.es134.js +2 -2
  324. package/index.es136.js +1 -1
  325. package/index.es137.js +1 -1
  326. package/index.es138.js +1 -1
  327. package/index.es139.js +1 -1
  328. package/index.es140.js +1 -1
  329. package/index.es141.js +1 -1
  330. package/index.es142.js +20 -20
  331. package/index.es143.js +1 -1
  332. package/index.es144.js +1 -1
  333. package/index.es145.js +1 -1
  334. package/index.es146.js +1 -1
  335. package/index.es147.js +1 -1
  336. package/index.es148.js +1 -1
  337. package/index.es149.js +1 -1
  338. package/index.es151.js +1 -1
  339. package/index.es152.js +1 -1
  340. package/index.es153.js +1 -1
  341. package/index.es154.js +1 -1
  342. package/index.es155.js +1 -1
  343. package/index.es156.js +5 -5
  344. package/index.es158.js +7 -7
  345. package/index.es159.js +1 -1
  346. package/index.es160.js +1 -1
  347. package/index.es161.js +1 -1
  348. package/index.es162.js +1 -1
  349. package/index.es163.js +1 -1
  350. package/index.es164.js +1 -1
  351. package/index.es171.js +1 -1
  352. package/index.es172.js +1 -1
  353. package/index.es173.js +1 -1
  354. package/index.es174.js +1 -1
  355. package/index.es175.js +1 -1
  356. package/index.es176.js +1 -1
  357. package/index.es177.js +1 -1
  358. package/index.es178.js +1 -1
  359. package/index.es181.js +1 -1
  360. package/index.es182.js +1 -1
  361. package/index.es183.js +1 -1
  362. package/index.es184.js +1 -1
  363. package/index.es185.js +2 -2
  364. package/index.es186.js +1 -1
  365. package/index.es187.js +1 -1
  366. package/index.es188.js +1 -1
  367. package/index.es189.js +1 -1
  368. package/index.es191.js +1 -1
  369. package/index.es192.js +1 -1
  370. package/index.es193.js +1 -1
  371. package/index.es197.js +2 -10
  372. package/index.es198.js +232 -5
  373. package/index.es199.js +53 -5
  374. package/index.es200.js +478 -17
  375. package/index.es201.js +14 -5
  376. package/index.es202.js +32 -5
  377. package/index.es203.js +1202 -7
  378. package/index.es204.js +31 -14
  379. package/index.es205.js +12 -16
  380. package/index.es206.js +38 -8
  381. package/index.es207.js +98 -7
  382. package/index.es208.js +31 -11
  383. package/index.es209.js +9 -15
  384. package/index.es210.js +141 -6
  385. package/index.es211.js +117 -15
  386. package/index.es212.js +98 -6
  387. package/index.es213.js +31 -9
  388. package/index.es214.js +9 -7
  389. package/index.es215.js +141 -5
  390. package/index.es216.js +117 -7
  391. package/index.es217.js +66 -579
  392. package/index.es218.js +30 -49
  393. package/index.es219.js +9 -18
  394. package/index.es220.js +153 -9
  395. package/index.es221.js +108 -7
  396. package/index.es222.js +7 -7
  397. package/index.es223.js +5 -5
  398. package/index.es224.js +5 -6
  399. package/index.es225.js +17 -9
  400. package/index.es226.js +5 -5
  401. package/index.es227.js +5 -8
  402. package/index.es228.js +7 -13
  403. package/index.es229.js +13 -5
  404. package/index.es230.js +15 -9
  405. package/index.es231.js +8 -8
  406. package/index.es232.js +6 -10
  407. package/index.es233.js +10 -14
  408. package/index.es234.js +14 -5
  409. package/index.es235.js +5 -5
  410. package/index.es236.js +14 -4
  411. package/index.es237.js +5 -11
  412. package/index.es238.js +8 -10
  413. package/index.es239.js +6 -10
  414. package/index.es240.js +4 -11
  415. package/index.es241.js +6 -11
  416. package/index.es242.js +577 -35
  417. package/index.es243.js +49 -64
  418. package/index.es244.js +17 -9
  419. package/index.es245.js +8 -8
  420. package/index.es246.js +6 -7
  421. package/index.es247.js +7 -10
  422. package/index.es248.js +5 -7
  423. package/index.es249.js +6 -7
  424. package/index.es250.js +9 -6
  425. package/index.es251.js +5 -15
  426. package/index.es252.js +9 -98
  427. package/index.es253.js +13 -31
  428. package/index.es254.js +6 -9
  429. package/index.es255.js +10 -141
  430. package/index.es256.js +9 -117
  431. package/index.es257.js +11 -98
  432. package/index.es258.js +15 -31
  433. package/index.es259.js +6 -9
  434. package/index.es26.js +32 -35
  435. package/index.es260.js +6 -141
  436. package/index.es261.js +5 -117
  437. package/index.es262.js +12 -68
  438. package/index.es263.js +11 -31
  439. package/index.es264.js +11 -9
  440. package/index.es265.js +12 -153
  441. package/index.es266.js +12 -108
  442. package/index.es267.js +37 -11
  443. package/index.es268.js +65 -25
  444. package/index.es269.js +9 -10
  445. package/index.es270.js +8 -38
  446. package/index.es271.js +7 -1999
  447. package/index.es272.js +10 -6
  448. package/index.es273.js +7 -71
  449. package/index.es274.js +7 -24
  450. package/index.es275.js +6 -232
  451. package/index.es276.js +13 -51
  452. package/index.es277.js +15 -2
  453. package/index.es278.js +22 -476
  454. package/index.es279.js +10 -14
  455. package/index.es28.js +34 -34
  456. package/index.es280.js +38 -4
  457. package/index.es281.js +1999 -56
  458. package/index.es282.js +6 -30
  459. package/index.es283.js +71 -46
  460. package/index.es284.js +20 -62
  461. package/index.es285.js +79 -34
  462. package/index.es286.js +2 -19
  463. package/index.es287.js +52 -73
  464. package/index.es288.js +4 -72
  465. package/index.es289.js +4 -74
  466. package/index.es290.js +15 -74
  467. package/index.es291.js +5 -45
  468. package/index.es292.js +8 -46
  469. package/index.es293.js +16 -58
  470. package/index.es294.js +4 -48
  471. package/index.es295.js +4 -46
  472. package/index.es296.js +5 -77
  473. package/index.es297.js +5 -77
  474. package/index.es298.js +4 -102
  475. package/index.es299.js +4 -46
  476. package/index.es300.js +6 -46
  477. package/index.es301.js +24 -46
  478. package/index.es302.js +6 -30
  479. package/index.es303.js +4 -29
  480. package/index.es304.js +6 -29
  481. package/index.es305.js +5 -30
  482. package/index.es306.js +4 -29
  483. package/index.es307.js +5 -29
  484. package/index.es308.js +4 -19
  485. package/index.es309.js +8 -45
  486. package/index.es310.js +5 -45
  487. package/index.es311.js +4 -19
  488. package/index.es312.js +4 -19
  489. package/index.es313.js +6 -6
  490. package/index.es314.js +37 -13
  491. package/index.es315.js +4 -12
  492. package/index.es316.js +6 -27
  493. package/index.es317.js +12 -96
  494. package/index.es318.js +6 -24
  495. package/index.es319.js +10 -38
  496. package/index.es320.js +11 -31
  497. package/index.es321.js +9 -12
  498. package/index.es322.js +13 -38
  499. package/index.es323.js +24 -83
  500. package/index.es324.js +20 -2
  501. package/index.es325.js +53 -19
  502. package/index.es326.js +69 -96
  503. package/index.es327.js +10 -47
  504. package/index.es328.js +21 -52
  505. package/index.es329.js +16 -4
  506. package/index.es330.js +19 -4
  507. package/index.es331.js +6 -15
  508. package/index.es332.js +5 -5
  509. package/index.es333.js +23 -8
  510. package/index.es334.js +16 -17
  511. package/index.es335.js +6 -4
  512. package/index.es336.js +4 -4
  513. package/index.es337.js +4 -5
  514. package/index.es338.js +4 -5
  515. package/index.es339.js +4 -4
  516. package/index.es34.js +1 -1
  517. package/index.es340.js +3 -4
  518. package/index.es341.js +6 -6
  519. package/index.es342.js +7 -24
  520. package/index.es343.js +6 -6
  521. package/index.es344.js +5 -4
  522. package/index.es345.js +3 -6
  523. package/index.es346.js +3 -5
  524. package/index.es347.js +3 -4
  525. package/index.es348.js +3 -5
  526. package/index.es349.js +4 -4
  527. package/index.es35.js +80 -65
  528. package/index.es350.js +3 -8
  529. package/index.es351.js +3 -5
  530. package/index.es352.js +3 -4
  531. package/index.es353.js +12 -5
  532. package/index.es354.js +58 -6
  533. package/index.es355.js +65 -38
  534. package/index.es356.js +6 -4
  535. package/index.es357.js +4 -7
  536. package/index.es358.js +23 -13
  537. package/index.es359.js +16 -7
  538. package/index.es360.js +7 -10
  539. package/index.es361.js +10 -10
  540. package/index.es362.js +9 -7
  541. package/index.es363.js +21 -13
  542. package/index.es364.js +11 -24
  543. package/index.es365.js +10 -20
  544. package/index.es366.js +9 -53
  545. package/index.es367.js +4 -73
  546. package/index.es368.js +5 -9
  547. package/index.es369.js +16 -20
  548. package/index.es370.js +9 -16
  549. package/index.es371.js +18 -19
  550. package/index.es372.js +15 -6
  551. package/index.es373.js +12 -5
  552. package/index.es374.js +6 -23
  553. package/index.es375.js +16 -16
  554. package/index.es376.js +12 -6
  555. package/index.es377.js +28 -4
  556. package/index.es378.js +4 -4
  557. package/index.es379.js +57 -5
  558. package/index.es380.js +30 -4
  559. package/index.es381.js +46 -3
  560. package/index.es382.js +66 -6
  561. package/index.es383.js +37 -7
  562. package/index.es384.js +18 -6
  563. package/index.es385.js +72 -5
  564. package/index.es386.js +72 -3
  565. package/index.es387.js +74 -3
  566. package/index.es388.js +74 -3
  567. package/index.es389.js +45 -3
  568. package/index.es39.js +11 -11
  569. package/index.es390.js +46 -4
  570. package/index.es391.js +58 -3
  571. package/index.es392.js +48 -3
  572. package/index.es393.js +46 -3
  573. package/index.es394.js +73 -54
  574. package/index.es395.js +73 -62
  575. package/index.es396.js +102 -6
  576. package/index.es397.js +46 -4
  577. package/index.es398.js +45 -22
  578. package/index.es399.js +43 -13
  579. package/index.es400.js +30 -7
  580. package/index.es401.js +29 -10
  581. package/index.es402.js +29 -10
  582. package/index.es403.js +29 -20
  583. package/index.es404.js +29 -10
  584. package/index.es405.js +29 -9
  585. package/index.es406.js +19 -9
  586. package/index.es407.js +45 -4
  587. package/index.es408.js +45 -5
  588. package/index.es409.js +18 -15
  589. package/index.es410.js +19 -9
  590. package/index.es411.js +95 -16
  591. package/index.es412.js +22 -12
  592. package/index.es413.js +37 -11
  593. package/index.es414.js +8 -32
  594. package/index.es415.js +19 -1201
  595. package/index.es416.js +16 -8
  596. package/index.es417.js +4 -18
  597. package/index.es418.js +4 -15
  598. package/index.es419.js +28 -4
  599. package/index.es420.js +11 -4
  600. package/index.es421.js +23 -27
  601. package/index.es422.js +5 -12
  602. package/index.es423.js +12 -25
  603. package/index.es424.js +4 -5
  604. package/index.es425.js +19 -4
  605. package/index.es426.js +100 -12
  606. package/index.es427.js +47 -12
  607. package/index.es53.js +4 -4
  608. package/index.es58.js +1 -1
  609. package/index.es59.js +3 -2
  610. package/index.es73.js +32 -32
  611. package/index.es74.js +141 -138
  612. package/package.json +3 -3
package/index.es73.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx as t, jsxs as f } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { ViewSidebarRightFreeIcons as S, AlignBoxMiddleCenterFreeIcons as R, Cancel as z } from "./index.es118.js";
3
3
  import * as s from "@radix-ui/react-dialog";
4
4
  import { cva as I } from "./index.es127.js";
@@ -7,9 +7,9 @@ import i from "react";
7
7
  import { useMediaQuery as F } from "./index.es122.js";
8
8
  import { cn as r } from "./index.es96.js";
9
9
  import T from "./index.es6.js";
10
- import { ShouldRender as x } from "./index.es19.js";
10
+ import { ShouldRender as d } from "./index.es19.js";
11
11
  import { Button as g } from "./index.es27.js";
12
- import { HugeiconsIcon as u } from "./index.es119.js";
12
+ import { HugeiconsIcon as h } from "./index.es119.js";
13
13
  import D from "./index.es187.js";
14
14
  import V from "./index.es188.js";
15
15
  import _ from "./index.es130.js";
@@ -17,15 +17,15 @@ import { create as j } from "./index.es189.js";
17
17
  import { useIconConfig as A } from "./index.es99.js";
18
18
  const y = j((a) => ({
19
19
  isCenter: !1,
20
- setIsCenter: (e) => a((o) => ({ isCenter: e ?? !o.isCenter }))
21
- })), le = s.Root, ie = s.Trigger, B = s.Close, H = s.Portal, N = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ t(
20
+ setIsCenter: (t) => a((o) => ({ isCenter: t ?? !o.isCenter }))
21
+ })), le = s.Root, ie = s.Trigger, B = s.Close, H = s.Portal, N = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e(
22
22
  s.Overlay,
23
23
  {
24
24
  className: r(
25
25
  "fixed inset-0 z-50 bg-background-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
26
26
  a
27
27
  ),
28
- ...e,
28
+ ...t,
29
29
  ref: o
30
30
  }
31
31
  ));
@@ -47,28 +47,28 @@ const O = I(
47
47
  }
48
48
  }
49
49
  ), P = i.forwardRef(
50
- ({ className: a, side: e, ignoreInteractOutside: o = !1, hideOverlay: d = !1, overlayClassName: c, children: l, ...m }, n) => {
51
- const v = T((p) => p.isActive), h = F("(min-width: 600px)"), { isCenter: b, setIsCenter: w } = y();
52
- return /* @__PURE__ */ t(H, { children: /* @__PURE__ */ t(
50
+ ({ className: a, side: t, ignoreInteractOutside: o = !1, hideOverlay: c = !1, overlayClassName: m, children: l, ...p }, n) => {
51
+ const v = T((f) => f.isActive), b = F("(min-width: 600px)"), { isCenter: x, setIsCenter: w } = y();
52
+ return /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
53
53
  N,
54
54
  {
55
- className: k(c, {
56
- "bg-transparent": d
55
+ className: k(m, {
56
+ "bg-transparent": c
57
57
  }),
58
- children: /* @__PURE__ */ t(
58
+ children: /* @__PURE__ */ e(
59
59
  s.Content,
60
60
  {
61
61
  "aria-describedby": void 0,
62
- onInteractOutside: (p) => o && p.preventDefault(),
62
+ onInteractOutside: (f) => o && f.preventDefault(),
63
63
  onCloseAutoFocus: () => w(!1),
64
64
  ref: n,
65
65
  className: r(
66
- O({ side: e || (h ? b ? "center" : "left" : "bottom") }),
66
+ O({ side: t || (b ? x ? "center" : "left" : "bottom") }),
67
67
  { grayscale: v },
68
68
  a
69
69
  ),
70
- "data-side": e || (h ? b ? "center" : "left" : "bottom"),
71
- ...m,
70
+ "data-side": t || (b ? x ? "center" : "left" : "bottom"),
71
+ ...p,
72
72
  children: l
73
73
  }
74
74
  )
@@ -77,39 +77,39 @@ const O = I(
77
77
  }
78
78
  );
79
79
  P.displayName = s.Content.displayName;
80
- const M = ({ className: a, title: e, hideCenter: o, children: d, ...c }) => {
81
- const { isHugeIcons: l } = A(), { setIsCenter: m, isCenter: n } = y();
82
- return /* @__PURE__ */ f("div", { className: r("flex flex-row items-center gap-space-02 px-space-05 py-space-04", a), ...c, children: [
83
- d,
84
- /* @__PURE__ */ t(x, { shouldRender: !!e, children: /* @__PURE__ */ t(C, { children: e }) }),
85
- /* @__PURE__ */ f("div", { className: "ms-auto flex items-center gap-space-01", children: [
86
- /* @__PURE__ */ t(x, { shouldRender: !o, children: /* @__PURE__ */ f(g, { variant: "text", colors: "neutral", size: "icon-sm", onClick: () => m(), className: "hidden sm:inline-flex", children: [
87
- !n && l ? /* @__PURE__ */ t(u, { icon: S, size: 20, className: "-scale-100" }) : /* @__PURE__ */ t(D, { className: "-scale-100" }),
88
- n && l ? /* @__PURE__ */ t(u, { icon: R, size: 20 }) : /* @__PURE__ */ t(V, { size: 20 })
80
+ const M = ({ className: a, title: t, hideCenter: o, children: c, ...m }) => {
81
+ const { isHugeIcons: l } = A(), { setIsCenter: p, isCenter: n } = y();
82
+ return /* @__PURE__ */ u("div", { className: r("flex flex-row items-center gap-space-02 px-space-05 py-space-04", a), ...m, children: [
83
+ c,
84
+ /* @__PURE__ */ e(d, { shouldRender: !!t, children: /* @__PURE__ */ e(C, { children: t }) }),
85
+ /* @__PURE__ */ u("div", { className: "ms-auto flex items-center gap-space-01", children: [
86
+ /* @__PURE__ */ e(d, { shouldRender: !o, children: /* @__PURE__ */ u(g, { variant: "text", colors: "neutral", size: "icon-sm", onClick: () => p(), className: "hidden sm:inline-flex", children: [
87
+ /* @__PURE__ */ e(d, { shouldRender: l, children: n ? /* @__PURE__ */ e(h, { icon: R, size: 20 }) : /* @__PURE__ */ e(h, { icon: S, size: 20, className: "-scale-100" }) }),
88
+ /* @__PURE__ */ e(d, { shouldRender: !l, children: n ? /* @__PURE__ */ e(V, { size: 20 }) : /* @__PURE__ */ e(D, { size: 20, className: "-scale-100" }) })
89
89
  ] }) }),
90
- /* @__PURE__ */ t(B, { className: "p-space-01", "data-testid": "sheetClose", asChild: !0, children: /* @__PURE__ */ t(g, { variant: "text", colors: "neutral", size: "icon-sm", children: l ? /* @__PURE__ */ t(u, { icon: z, className: "size-[20px]" }) : /* @__PURE__ */ t(_, { className: "size-[20px]" }) }) })
90
+ /* @__PURE__ */ e(B, { className: "p-space-01", "data-testid": "sheetClose", asChild: !0, children: /* @__PURE__ */ e(g, { variant: "text", colors: "neutral", size: "icon-sm", children: l ? /* @__PURE__ */ e(h, { icon: z, className: "size-[20px]" }) : /* @__PURE__ */ e(_, { className: "size-[20px]" }) }) })
91
91
  ] })
92
92
  ] });
93
93
  };
94
94
  M.displayName = "SheetHeader";
95
- const L = ({ className: a, ...e }) => /* @__PURE__ */ t(
95
+ const L = ({ className: a, ...t }) => /* @__PURE__ */ e(
96
96
  "div",
97
97
  {
98
98
  className: r(
99
99
  "mt-auto flex w-full flex-col bg-background-secondary p-space-04 sm:flex-row sm:justify-end sm:space-x-2 sm:p-space-05",
100
100
  a
101
101
  ),
102
- ...e
102
+ ...t
103
103
  }
104
104
  );
105
105
  L.displayName = "SheetFooter";
106
106
  const C = i.forwardRef(
107
- ({ className: a, ...e }, o) => /* @__PURE__ */ t(s.Title, { ref: o, className: r("text-body-01 font-semibold", a), ...e })
107
+ ({ className: a, ...t }, o) => /* @__PURE__ */ e(s.Title, { ref: o, className: r("text-body-01 font-semibold", a), ...t })
108
108
  );
109
109
  C.displayName = s.Title.displayName;
110
- const Q = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ t(s.Description, { ref: o, className: r("text-sm text-muted-foreground", a), ...e }));
110
+ const Q = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e(s.Description, { ref: o, className: r("text-sm text-muted-foreground", a), ...t }));
111
111
  Q.displayName = s.Description.displayName;
112
- const W = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ t(
112
+ const W = i.forwardRef(({ className: a, ...t }, o) => /* @__PURE__ */ e(
113
113
  "div",
114
114
  {
115
115
  ref: o,
@@ -118,7 +118,7 @@ const W = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ t(
118
118
  "h-full overflow-auto rounded-4 border border-border-neutral-secondary bg-card p-space-04 text-foreground lg:p-space-05",
119
119
  a
120
120
  ),
121
- ...e
121
+ ...t
122
122
  }
123
123
  ));
124
124
  W.displayName = "SheetBody";
package/index.es74.js CHANGED
@@ -1,78 +1,81 @@
1
- import { jsx as r, jsxs as S } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as h } from "react/jsx-runtime";
2
2
  import { Menu03FreeIcons as C } from "./index.es118.js";
3
- import { Slot as h } from "@radix-ui/react-slot";
3
+ import { Slot as x } from "@radix-ui/react-slot";
4
4
  import { cva as z } from "./index.es127.js";
5
5
  import * as i from "react";
6
6
  import { useIsMobile as I } from "./index.es190.js";
7
7
  import { cn as o } from "./index.es96.js";
8
- import { Button as B } from "./index.es27.js";
9
- import { Input as E } from "./index.es42.js";
10
- import { Separator as T } from "./index.es72.js";
11
- import { Sheet as A, SheetContent as O } from "./index.es73.js";
8
+ import { Button as T } from "./index.es27.js";
9
+ import { Input as B } from "./index.es42.js";
10
+ import { Separator as E } from "./index.es72.js";
11
+ import { Sheet as A, SheetHeader as O, SheetTitle as G, SheetContent as D } from "./index.es73.js";
12
12
  import { Skeleton as R } from "./index.es75.js";
13
- import { Tooltip as G, TooltipTrigger as D, TooltipContent as K, TooltipProvider as j } from "./index.es85.js";
14
- import { HugeiconsIcon as H } from "./index.es119.js";
15
- import L from "./index.es187.js";
16
- import { useIconConfig as V } from "./index.es99.js";
17
- const $ = "sidebar:state", F = 3600 * 24 * 7, P = "b", _ = i.createContext(null);
13
+ import { Tooltip as H, TooltipTrigger as K, TooltipContent as j, TooltipProvider as L } from "./index.es85.js";
14
+ import { HugeiconsIcon as V } from "./index.es119.js";
15
+ import $ from "./index.es187.js";
16
+ import { useIconConfig as F } from "./index.es99.js";
17
+ const P = "sidebar:state", q = 3600 * 24 * 7, U = "b", _ = i.createContext(null);
18
18
  function y() {
19
19
  const a = i.useContext(_);
20
20
  if (!a)
21
21
  throw new Error("useSidebar must be used within a SidebarProvider.");
22
22
  return a;
23
23
  }
24
- const q = i.forwardRef(({ defaultOpen: a = !0, open: e, onOpenChange: t, className: n, style: d, children: s, ...c }, m) => {
25
- const u = I(), [f, b] = i.useState(!1), [N, x] = i.useState(a), g = e ?? N, v = i.useCallback(
24
+ const X = i.forwardRef(({ defaultOpen: a = !0, open: e, onOpenChange: t, className: d, style: n, children: s, ...c }, m) => {
25
+ const u = I(), [f, b] = i.useState(!1), [N, v] = i.useState(a), g = e ?? N, w = i.useCallback(
26
26
  (l) => {
27
27
  const p = typeof l == "function" ? l(g) : l;
28
- t ? t(p) : x(p), document.cookie = `${$}=${p}; path=/; max-age=${F}`;
28
+ t ? t(p) : v(p), document.cookie = `${P}=${p}; path=/; max-age=${q}`;
29
29
  },
30
30
  [t, g]
31
- ), w = i.useCallback(() => u ? b((l) => !l) : v((l) => !l), [u, v, b]);
31
+ ), S = i.useCallback(() => u ? b((l) => !l) : w((l) => !l), [u, w, b]);
32
32
  i.useEffect(() => {
33
33
  const l = (p) => {
34
- p.key === P && (p.metaKey || p.ctrlKey) && (p.preventDefault(), w());
34
+ p.key === U && (p.metaKey || p.ctrlKey) && (p.preventDefault(), S());
35
35
  };
36
36
  return window.addEventListener("keydown", l), () => window.removeEventListener("keydown", l);
37
- }, [w]);
37
+ }, [S]);
38
38
  const M = g ? "expanded" : "collapsed", k = i.useMemo(
39
39
  () => ({
40
40
  state: M,
41
41
  open: g,
42
- setOpen: v,
42
+ setOpen: w,
43
43
  isMobile: u,
44
44
  openMobile: f,
45
45
  setOpenMobile: b,
46
- toggleSidebar: w
46
+ toggleSidebar: S
47
47
  }),
48
- [M, g, v, u, f, b, w]
48
+ [M, g, w, u, f, b, S]
49
49
  );
50
- return /* @__PURE__ */ r(_.Provider, { value: k, children: /* @__PURE__ */ r(j, { delayDuration: 0, children: /* @__PURE__ */ r(
50
+ return /* @__PURE__ */ r(_.Provider, { value: k, children: /* @__PURE__ */ r(L, { delayDuration: 0, children: /* @__PURE__ */ r(
51
51
  "div",
52
52
  {
53
53
  style: {
54
- ...d
54
+ ...n
55
55
  },
56
- className: o("group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex min-h-svh w-full", n),
56
+ className: o("group/sidebar-wrapper has-[[data-variant=inset]]:bg-sidebar flex min-h-svh w-full", d),
57
57
  ref: m,
58
58
  ...c,
59
59
  children: s
60
60
  }
61
61
  ) }) });
62
62
  });
63
- q.displayName = "SidebarProvider";
64
- const U = i.forwardRef(({ side: a = "left", variant: e = "sidebar", collapsible: t = "offcanvas", className: n, children: d, ...s }, c) => {
63
+ X.displayName = "SidebarProvider";
64
+ const Y = i.forwardRef(({ side: a = "left", variant: e = "sidebar", collapsible: t = "offcanvas", className: d, children: n, ...s }, c) => {
65
65
  const { isMobile: m, state: u, openMobile: f, setOpenMobile: b } = y();
66
- return t === "none" ? /* @__PURE__ */ r("div", { className: o("bg-sidebar flex h-full w-[--sidebar-width] flex-col text-foreground-secondary", n), ref: c, ...s, children: d }) : m ? /* @__PURE__ */ r(A, { open: f, onOpenChange: b, ...s, children: /* @__PURE__ */ r(
67
- O,
68
- {
69
- "data-sidebar": "sidebar",
70
- "data-mobile": "true",
71
- className: "w-[--sidebar-width-mobile] bg-card p-0 text-foreground-secondary [&>button]:hidden",
72
- side: a,
73
- children: /* @__PURE__ */ r("div", { className: "flex h-full w-full flex-col", children: d })
74
- }
75
- ) }) : /* @__PURE__ */ S(
66
+ return t === "none" ? /* @__PURE__ */ r("div", { className: o("bg-sidebar flex h-full w-[--sidebar-width] flex-col text-foreground-secondary", d), ref: c, ...s, children: n }) : m ? /* @__PURE__ */ h(A, { open: f, onOpenChange: b, ...s, children: [
67
+ /* @__PURE__ */ r(O, { className: "hidden", children: /* @__PURE__ */ r(G, {}) }),
68
+ /* @__PURE__ */ r(
69
+ D,
70
+ {
71
+ "data-sidebar": "sidebar",
72
+ "data-mobile": "true",
73
+ className: "w-[--sidebar-width-mobile] bg-card p-0 text-foreground-secondary [&>button]:hidden",
74
+ side: a,
75
+ children: /* @__PURE__ */ r("div", { className: "flex h-full w-full flex-col", children: n })
76
+ }
77
+ )
78
+ ] }) : /* @__PURE__ */ h(
76
79
  "div",
77
80
  {
78
81
  ref: c,
@@ -101,7 +104,7 @@ const U = i.forwardRef(({ side: a = "left", variant: e = "sidebar", collapsible:
101
104
  a === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
102
105
  // Adjust the padding for floating and inset variants.
103
106
  e === "floating" || e === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon]",
104
- n
107
+ d
105
108
  ),
106
109
  ...s,
107
110
  children: /* @__PURE__ */ r(
@@ -109,7 +112,7 @@ const U = i.forwardRef(({ side: a = "left", variant: e = "sidebar", collapsible:
109
112
  {
110
113
  "data-sidebar": "sidebar",
111
114
  className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow",
112
- children: d
115
+ children: n
113
116
  }
114
117
  )
115
118
  }
@@ -118,34 +121,34 @@ const U = i.forwardRef(({ side: a = "left", variant: e = "sidebar", collapsible:
118
121
  }
119
122
  );
120
123
  });
121
- U.displayName = "Sidebar";
122
- const X = i.forwardRef(
123
- ({ className: a, onClick: e, ...t }, n) => {
124
- const { toggleSidebar: d } = y(), { isHugeIcons: s } = V();
125
- return /* @__PURE__ */ S(
126
- B,
124
+ Y.displayName = "Sidebar";
125
+ const J = i.forwardRef(
126
+ ({ className: a, onClick: e, ...t }, d) => {
127
+ const { toggleSidebar: n } = y(), { isHugeIcons: s } = F();
128
+ return /* @__PURE__ */ h(
129
+ T,
127
130
  {
128
- ref: n,
131
+ ref: d,
129
132
  "data-sidebar": "trigger",
130
133
  variant: "text",
131
134
  colors: "neutral",
132
- size: "icon",
135
+ size: "icon-sm",
133
136
  className: o(a),
134
137
  onClick: (c) => {
135
- e == null || e(c), d();
138
+ e == null || e(c), n();
136
139
  },
137
140
  ...t,
138
141
  children: [
139
- s ? /* @__PURE__ */ r(H, { icon: C }) : /* @__PURE__ */ r(L, { className: "ltr:-scale-x-100" }),
142
+ s ? /* @__PURE__ */ r(V, { icon: C }) : /* @__PURE__ */ r($, { className: "ltr:-scale-x-100" }),
140
143
  /* @__PURE__ */ r("span", { className: "sr-only", children: "Toggle Sidebar" })
141
144
  ]
142
145
  }
143
146
  );
144
147
  }
145
148
  );
146
- X.displayName = "SidebarTrigger";
147
- const Y = i.forwardRef(({ className: a, ...e }, t) => {
148
- const { toggleSidebar: n } = y();
149
+ J.displayName = "SidebarTrigger";
150
+ const Q = i.forwardRef(({ className: a, ...e }, t) => {
151
+ const { toggleSidebar: d } = y();
149
152
  return /* @__PURE__ */ r(
150
153
  "button",
151
154
  {
@@ -153,7 +156,7 @@ const Y = i.forwardRef(({ className: a, ...e }, t) => {
153
156
  "data-sidebar": "rail",
154
157
  "aria-label": "Toggle Sidebar",
155
158
  tabIndex: -1,
156
- onClick: n,
159
+ onClick: d,
157
160
  title: "Toggle Sidebar",
158
161
  className: o(
159
162
  "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
@@ -168,8 +171,8 @@ const Y = i.forwardRef(({ className: a, ...e }, t) => {
168
171
  }
169
172
  );
170
173
  });
171
- Y.displayName = "SidebarRail";
172
- const J = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
174
+ Q.displayName = "SidebarRail";
175
+ const W = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
173
176
  "main",
174
177
  {
175
178
  ref: t,
@@ -181,9 +184,9 @@ const J = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
181
184
  ...e
182
185
  }
183
186
  ));
184
- J.displayName = "SidebarInset";
185
- const Q = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
186
- E,
187
+ W.displayName = "SidebarInset";
188
+ const Z = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
189
+ B,
187
190
  {
188
191
  ref: t,
189
192
  "data-sidebar": "input",
@@ -191,16 +194,16 @@ const Q = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
191
194
  ...e
192
195
  }
193
196
  ));
194
- Q.displayName = "SidebarInput";
195
- const W = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("div", { ref: t, "data-sidebar": "header", className: o("flex flex-col gap-2", a), ...e }));
196
- W.displayName = "SidebarHeader";
197
- const Z = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("div", { ref: t, "data-sidebar": "footer", className: o("flex flex-col gap-space-02 pb-space-03", a), ...e }));
198
- Z.displayName = "SidebarFooter";
199
- const ee = i.forwardRef(
200
- ({ className: a, ...e }, t) => /* @__PURE__ */ r(T, { ref: t, "data-sidebar": "separator", className: o("bg-sidebar-border mx-2 w-auto", a), ...e })
197
+ Z.displayName = "SidebarInput";
198
+ const ee = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("div", { ref: t, "data-sidebar": "header", className: o("flex flex-col gap-2", a), ...e }));
199
+ ee.displayName = "SidebarHeader";
200
+ const ae = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("div", { ref: t, "data-sidebar": "footer", className: o("flex flex-col gap-space-02 pb-space-03", a), ...e }));
201
+ ae.displayName = "SidebarFooter";
202
+ const te = i.forwardRef(
203
+ ({ className: a, ...e }, t) => /* @__PURE__ */ r(E, { ref: t, "data-sidebar": "separator", className: o("bg-sidebar-border mx-2 w-auto", a), ...e })
201
204
  );
202
- ee.displayName = "SidebarSeparator";
203
- const ae = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
205
+ te.displayName = "SidebarSeparator";
206
+ const re = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
204
207
  "div",
205
208
  {
206
209
  ref: t,
@@ -209,8 +212,8 @@ const ae = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
209
212
  ...e
210
213
  }
211
214
  ));
212
- ae.displayName = "SidebarContent";
213
- const te = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
215
+ re.displayName = "SidebarContent";
216
+ const ie = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
214
217
  "div",
215
218
  {
216
219
  ref: t,
@@ -219,12 +222,12 @@ const te = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
219
222
  ...e
220
223
  }
221
224
  ));
222
- te.displayName = "SidebarGroup";
223
- const re = i.forwardRef(
224
- ({ className: a, asChild: e = !1, ...t }, n) => /* @__PURE__ */ r(
225
- e ? h : "div",
225
+ ie.displayName = "SidebarGroup";
226
+ const oe = i.forwardRef(
227
+ ({ className: a, asChild: e = !1, ...t }, d) => /* @__PURE__ */ r(
228
+ e ? x : "div",
226
229
  {
227
- ref: n,
230
+ ref: d,
228
231
  "data-sidebar": "group-label",
229
232
  className: o(
230
233
  "text-foreground-secondary/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-none transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
@@ -235,12 +238,12 @@ const re = i.forwardRef(
235
238
  }
236
239
  )
237
240
  );
238
- re.displayName = "SidebarGroupLabel";
239
- const ie = i.forwardRef(
240
- ({ className: a, asChild: e = !1, ...t }, n) => /* @__PURE__ */ r(
241
- e ? h : "button",
241
+ oe.displayName = "SidebarGroupLabel";
242
+ const de = i.forwardRef(
243
+ ({ className: a, asChild: e = !1, ...t }, d) => /* @__PURE__ */ r(
244
+ e ? x : "button",
242
245
  {
243
- ref: n,
246
+ ref: d,
244
247
  "data-sidebar": "group-action",
245
248
  className: o(
246
249
  "ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-foreground-secondary outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
@@ -253,12 +256,12 @@ const ie = i.forwardRef(
253
256
  }
254
257
  )
255
258
  );
256
- ie.displayName = "SidebarGroupAction";
257
- const oe = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("div", { ref: t, "data-sidebar": "group-content", className: o("w-full text-sm", a), ...e }));
258
- oe.displayName = "SidebarGroupContent";
259
- const ne = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("ul", { ref: t, "data-sidebar": "menu", className: o("flex w-full min-w-0 flex-col gap-space-02", a), ...e }));
260
- ne.displayName = "SidebarMenu";
261
- const de = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
259
+ de.displayName = "SidebarGroupAction";
260
+ const ne = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("div", { ref: t, "data-sidebar": "group-content", className: o("w-full text-sm", a), ...e }));
261
+ ne.displayName = "SidebarGroupContent";
262
+ const se = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r("ul", { ref: t, "data-sidebar": "menu", className: o("flex w-full min-w-0 flex-col gap-space-02", a), ...e }));
263
+ se.displayName = "SidebarMenu";
264
+ const le = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
262
265
  "li",
263
266
  {
264
267
  ref: t,
@@ -270,8 +273,8 @@ const de = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
270
273
  ...e
271
274
  }
272
275
  ));
273
- de.displayName = "SidebarMenuItem";
274
- const se = z(
276
+ le.displayName = "SidebarMenuItem";
277
+ const ce = z(
275
278
  "peer/menu-button py-space-01 px-space-03 ring-sidebar-ring active:bg-sidebar-accent data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground flex w-full items-center gap-space-02 overflow-hidden text-left text-start text-body-01 outline-none transition-[width,height,padding] group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-background data-[active=true]:font-medium data-[active=true]:text-text-display group-data-[collapsible=icon]:!w-[36px] group-data-[collapsible=icon]:!px-space-02 hover:bg-background-neutral-100 hover:text-text-default focus-visible:ring-2 active:text-text-display disabled:pointer-events-none disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-[20px] [&>svg]:shrink-0",
276
279
  {
277
280
  variants: {
@@ -295,30 +298,30 @@ const se = z(
295
298
  rounded: "default"
296
299
  }
297
300
  }
298
- ), le = i.forwardRef(({ asChild: a = !1, isActive: e = !1, variant: t = "default", size: n = "default", rounded: d = "default", tooltip: s, className: c, ...m }, u) => {
299
- const f = a ? h : "button", { isMobile: b, state: N } = y(), x = /* @__PURE__ */ r(
301
+ ), ue = i.forwardRef(({ asChild: a = !1, isActive: e = !1, variant: t = "default", size: d = "default", rounded: n = "default", tooltip: s, className: c, ...m }, u) => {
302
+ const f = a ? x : "button", { isMobile: b, state: N } = y(), v = /* @__PURE__ */ r(
300
303
  f,
301
304
  {
302
305
  ref: u,
303
306
  "data-sidebar": "menu-button",
304
- "data-size": n,
307
+ "data-size": d,
305
308
  "data-active": e,
306
- className: o(se({ variant: t, size: n, rounded: d }), c),
309
+ className: o(ce({ variant: t, size: d, rounded: n }), c),
307
310
  ...m
308
311
  }
309
312
  );
310
313
  return s ? (typeof s == "string" && (s = {
311
314
  children: s
312
- }), /* @__PURE__ */ S(G, { children: [
313
- /* @__PURE__ */ r(D, { asChild: !0, children: x }),
314
- /* @__PURE__ */ r(K, { side: "right", align: "center", hidden: N !== "collapsed" || b, ...s })
315
- ] })) : x;
315
+ }), /* @__PURE__ */ h(H, { children: [
316
+ /* @__PURE__ */ r(K, { asChild: !0, children: v }),
317
+ /* @__PURE__ */ r(j, { side: "right", align: "center", hidden: N !== "collapsed" || b, ...s })
318
+ ] })) : v;
316
319
  });
317
- le.displayName = "SidebarMenuButton";
318
- const ce = i.forwardRef(({ className: a, asChild: e = !1, showOnHover: t = !1, ...n }, d) => /* @__PURE__ */ r(
319
- e ? h : "button",
320
+ ue.displayName = "SidebarMenuButton";
321
+ const be = i.forwardRef(({ className: a, asChild: e = !1, showOnHover: t = !1, ...d }, n) => /* @__PURE__ */ r(
322
+ e ? x : "button",
320
323
  {
321
- ref: d,
324
+ ref: n,
322
325
  "data-sidebar": "menu-action",
323
326
  className: o(
324
327
  "ring-sidebar-ring peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-foreground-secondary outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
@@ -331,11 +334,11 @@ const ce = i.forwardRef(({ className: a, asChild: e = !1, showOnHover: t = !1, .
331
334
  t && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
332
335
  a
333
336
  ),
334
- ...n
337
+ ...d
335
338
  }
336
339
  ));
337
- ce.displayName = "SidebarMenuAction";
338
- const ue = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
340
+ be.displayName = "SidebarMenuAction";
341
+ const pe = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
339
342
  "div",
340
343
  {
341
344
  ref: t,
@@ -352,10 +355,10 @@ const ue = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
352
355
  ...e
353
356
  }
354
357
  ));
355
- ue.displayName = "SidebarMenuBadge";
356
- const be = i.forwardRef(({ className: a, showIcon: e = !1, ...t }, n) => {
357
- const d = i.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
358
- return /* @__PURE__ */ S("div", { ref: n, "data-sidebar": "menu-skeleton", className: o("flex h-8 items-center gap-2 rounded-md px-2", a), ...t, children: [
358
+ pe.displayName = "SidebarMenuBadge";
359
+ const fe = i.forwardRef(({ className: a, showIcon: e = !1, ...t }, d) => {
360
+ const n = i.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
361
+ return /* @__PURE__ */ h("div", { ref: d, "data-sidebar": "menu-skeleton", className: o("flex h-8 items-center gap-2 rounded-md px-2", a), ...t, children: [
359
362
  e && /* @__PURE__ */ r(R, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
360
363
  /* @__PURE__ */ r(
361
364
  R,
@@ -363,14 +366,14 @@ const be = i.forwardRef(({ className: a, showIcon: e = !1, ...t }, n) => {
363
366
  className: "h-4 max-w-[--skeleton-width] flex-1",
364
367
  "data-sidebar": "menu-skeleton-text",
365
368
  style: {
366
- "--skeleton-width": d
369
+ "--skeleton-width": n
367
370
  }
368
371
  }
369
372
  )
370
373
  ] });
371
374
  });
372
- be.displayName = "SidebarMenuSkeleton";
373
- const pe = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
375
+ fe.displayName = "SidebarMenuSkeleton";
376
+ const me = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
374
377
  "ul",
375
378
  {
376
379
  ref: t,
@@ -383,11 +386,11 @@ const pe = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ r(
383
386
  ...e
384
387
  }
385
388
  ));
386
- pe.displayName = "SidebarMenuSub";
387
- const fe = i.forwardRef(({ ...a }, e) => /* @__PURE__ */ r("li", { ref: e, ...a }));
388
- fe.displayName = "SidebarMenuSubItem";
389
- const me = i.forwardRef(({ asChild: a = !1, size: e = "md", isActive: t, className: n, ...d }, s) => /* @__PURE__ */ r(
390
- a ? h : "a",
389
+ me.displayName = "SidebarMenuSub";
390
+ const ge = i.forwardRef(({ ...a }, e) => /* @__PURE__ */ r("li", { ref: e, ...a }));
391
+ ge.displayName = "SidebarMenuSubItem";
392
+ const he = i.forwardRef(({ asChild: a = !1, size: e = "md", isActive: t, className: d, ...n }, s) => /* @__PURE__ */ r(
393
+ a ? x : "a",
391
394
  {
392
395
  ref: s,
393
396
  "data-sidebar": "menu-sub-button",
@@ -399,35 +402,35 @@ const me = i.forwardRef(({ asChild: a = !1, size: e = "md", isActive: t, classNa
399
402
  e === "sm" && "text-xs",
400
403
  e === "md" && "text-sm",
401
404
  "group-data-[collapsible=icon]:hidden",
402
- n
405
+ d
403
406
  ),
404
- ...d
407
+ ...n
405
408
  }
406
409
  ));
407
- me.displayName = "SidebarMenuSubButton";
410
+ he.displayName = "SidebarMenuSubButton";
408
411
  export {
409
- U as Sidebar,
410
- ae as SidebarContent,
411
- Z as SidebarFooter,
412
- te as SidebarGroup,
413
- ie as SidebarGroupAction,
414
- oe as SidebarGroupContent,
415
- re as SidebarGroupLabel,
416
- W as SidebarHeader,
417
- Q as SidebarInput,
418
- J as SidebarInset,
419
- ne as SidebarMenu,
420
- ce as SidebarMenuAction,
421
- ue as SidebarMenuBadge,
422
- le as SidebarMenuButton,
423
- de as SidebarMenuItem,
424
- be as SidebarMenuSkeleton,
425
- pe as SidebarMenuSub,
426
- me as SidebarMenuSubButton,
427
- fe as SidebarMenuSubItem,
428
- q as SidebarProvider,
429
- Y as SidebarRail,
430
- ee as SidebarSeparator,
431
- X as SidebarTrigger,
412
+ Y as Sidebar,
413
+ re as SidebarContent,
414
+ ae as SidebarFooter,
415
+ ie as SidebarGroup,
416
+ de as SidebarGroupAction,
417
+ ne as SidebarGroupContent,
418
+ oe as SidebarGroupLabel,
419
+ ee as SidebarHeader,
420
+ Z as SidebarInput,
421
+ W as SidebarInset,
422
+ se as SidebarMenu,
423
+ be as SidebarMenuAction,
424
+ pe as SidebarMenuBadge,
425
+ ue as SidebarMenuButton,
426
+ le as SidebarMenuItem,
427
+ fe as SidebarMenuSkeleton,
428
+ me as SidebarMenuSub,
429
+ he as SidebarMenuSubButton,
430
+ ge as SidebarMenuSubItem,
431
+ X as SidebarProvider,
432
+ Q as SidebarRail,
433
+ te as SidebarSeparator,
434
+ J as SidebarTrigger,
432
435
  y as useSidebar
433
436
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mada-design-system",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "main": "index.es.js",
@@ -114,8 +114,8 @@
114
114
  "lint-staged": "^16.1.5",
115
115
  "postcss": "^8.5.1",
116
116
  "postcss-rtlcss": "^4.0.8",
117
- "prettier": "^3.4.2",
118
- "prettier-plugin-tailwindcss": "^0.5.11",
117
+ "prettier": "^3.8.1",
118
+ "prettier-plugin-tailwindcss": "^0.7.2",
119
119
  "rtlcss": "^4.3.0",
120
120
  "storybook": "^8.5.3",
121
121
  "storybook-dark-mode": "^4.0.2",