mada-design-system 0.5.3 → 0.5.4

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 (471) hide show
  1. package/index.cjs10.js +1 -1
  2. package/index.cjs100.js +1 -1
  3. package/index.cjs101.js +1 -1
  4. package/index.cjs102.js +1 -1
  5. package/index.cjs103.js +1 -1
  6. package/index.cjs104.js +1 -1
  7. package/index.cjs105.js +1 -1
  8. package/index.cjs106.js +5 -1
  9. package/index.cjs107.js +1 -5
  10. package/index.cjs108.js +1 -1
  11. package/index.cjs109.js +1 -1
  12. package/index.cjs110.js +1 -1
  13. package/index.cjs111.js +1 -1
  14. package/index.cjs112.js +1 -1
  15. package/index.cjs113.js +1 -1
  16. package/index.cjs114.js +1 -1
  17. package/index.cjs115.js +1 -1
  18. package/index.cjs116.js +1 -1
  19. package/index.cjs117.js +1 -1
  20. package/index.cjs118.js +1 -1
  21. package/index.cjs119.js +4 -1
  22. package/index.cjs12.js +1 -1
  23. package/index.cjs120.js +1 -4
  24. package/index.cjs121.js +2 -1
  25. package/index.cjs122.js +1 -2
  26. package/index.cjs123.js +2 -1
  27. package/index.cjs124.js +1 -2
  28. package/index.cjs125.js +1 -1
  29. package/index.cjs126.js +1 -1
  30. package/index.cjs127.js +1 -1
  31. package/index.cjs128.js +1 -1
  32. package/index.cjs129.js +1 -1
  33. package/index.cjs13.js +1 -1
  34. package/index.cjs130.js +1 -1
  35. package/index.cjs131.js +1 -1
  36. package/index.cjs132.js +20 -1
  37. package/index.cjs133.js +1 -20
  38. package/index.cjs134.js +1 -1
  39. package/index.cjs135.js +1 -1
  40. package/index.cjs136.js +1 -1
  41. package/index.cjs137.js +1 -1
  42. package/index.cjs138.js +1 -1
  43. package/index.cjs139.js +1 -1
  44. package/index.cjs140.js +1 -1
  45. package/index.cjs141.js +1 -1
  46. package/index.cjs142.js +1 -1
  47. package/index.cjs143.js +1 -1
  48. package/index.cjs144.js +1 -1
  49. package/index.cjs145.js +1 -1
  50. package/index.cjs146.js +1 -1
  51. package/index.cjs147.js +1 -1
  52. package/index.cjs148.js +1 -1
  53. package/index.cjs149.js +1 -1
  54. package/index.cjs15.js +1 -1
  55. package/index.cjs150.js +1 -1
  56. package/index.cjs151.js +1 -1
  57. package/index.cjs152.js +1 -1
  58. package/index.cjs153.js +1 -1
  59. package/index.cjs154.js +1 -1
  60. package/index.cjs155.js +1 -1
  61. package/index.cjs156.js +1 -1
  62. package/index.cjs157.js +1 -1
  63. package/index.cjs158.js +1 -1
  64. package/index.cjs159.js +1 -1
  65. package/index.cjs160.js +1 -1
  66. package/index.cjs161.js +1 -1
  67. package/index.cjs162.js +1 -1
  68. package/index.cjs163.js +1 -1
  69. package/index.cjs164.js +1 -1
  70. package/index.cjs165.js +1 -1
  71. package/index.cjs166.js +1 -1
  72. package/index.cjs167.js +1 -1
  73. package/index.cjs168.js +1 -1
  74. package/index.cjs169.js +1 -1
  75. package/index.cjs17.js +1 -1
  76. package/index.cjs170.js +1 -1
  77. package/index.cjs171.js +1 -1
  78. package/index.cjs172.js +1 -1
  79. package/index.cjs173.js +1 -1
  80. package/index.cjs174.js +1 -1
  81. package/index.cjs179.js +1 -1
  82. package/index.cjs181.js +1 -1
  83. package/index.cjs182.js +1 -1
  84. package/index.cjs183.js +1 -1
  85. package/index.cjs185.js +1 -1
  86. package/index.cjs186.js +1 -1
  87. package/index.cjs187.js +1 -1
  88. package/index.cjs20.js +1 -1
  89. package/index.cjs200.js +1 -1
  90. package/index.cjs201.js +1 -1
  91. package/index.cjs202.js +1 -1
  92. package/index.cjs21.js +1 -1
  93. package/index.cjs213.js +1 -1
  94. package/index.cjs214.js +1 -1
  95. package/index.cjs215.js +1 -1
  96. package/index.cjs216.js +1 -1
  97. package/index.cjs217.js +1 -1
  98. package/index.cjs22.js +1 -1
  99. package/index.cjs220.js +1 -1
  100. package/index.cjs228.js +1 -1
  101. package/index.cjs229.js +1 -1
  102. package/index.cjs23.js +1 -1
  103. package/index.cjs230.js +1 -1
  104. package/index.cjs25.js +1 -1
  105. package/index.cjs251.js +1 -1
  106. package/index.cjs252.js +1 -1
  107. package/index.cjs254.js +1 -1
  108. package/index.cjs255.js +1 -1
  109. package/index.cjs256.js +1 -1
  110. package/index.cjs257.js +1 -1
  111. package/index.cjs259.js +1 -1
  112. package/index.cjs263.js +1 -1
  113. package/index.cjs264.js +1 -1
  114. package/index.cjs266.js +1 -1
  115. package/index.cjs27.js +1 -1
  116. package/index.cjs29.js +1 -1
  117. package/index.cjs296.js +1 -1
  118. package/index.cjs297.js +1 -1
  119. package/index.cjs298.js +1 -1
  120. package/index.cjs299.js +1 -1
  121. package/index.cjs30.js +1 -1
  122. package/index.cjs300.js +1 -1
  123. package/index.cjs301.js +1 -1
  124. package/index.cjs302.js +1 -1
  125. package/index.cjs303.js +1 -1
  126. package/index.cjs304.js +1 -1
  127. package/index.cjs308.js +1 -1
  128. package/index.cjs309.js +1 -1
  129. package/index.cjs31.js +1 -1
  130. package/index.cjs310.js +1 -1
  131. package/index.cjs311.js +1 -1
  132. package/index.cjs312.js +1 -1
  133. package/index.cjs313.js +1 -1
  134. package/index.cjs314.js +1 -1
  135. package/index.cjs315.js +1 -1
  136. package/index.cjs316.js +1 -1
  137. package/index.cjs317.js +1 -1
  138. package/index.cjs318.js +1 -1
  139. package/index.cjs319.js +1 -1
  140. package/index.cjs32.js +1 -1
  141. package/index.cjs320.js +1 -1
  142. package/index.cjs321.js +1 -1
  143. package/index.cjs33.js +1 -1
  144. package/index.cjs338.js +1 -1
  145. package/index.cjs34.js +1 -1
  146. package/index.cjs343.js +1 -1
  147. package/index.cjs354.js +1 -1
  148. package/index.cjs355.js +1 -1
  149. package/index.cjs356.js +1 -1
  150. package/index.cjs362.js +1 -1
  151. package/index.cjs363.js +1 -1
  152. package/index.cjs364.js +1 -1
  153. package/index.cjs365.js +1 -1
  154. package/index.cjs366.js +1 -1
  155. package/index.cjs367.js +1 -1
  156. package/index.cjs368.js +1 -1
  157. package/index.cjs369.js +1 -1
  158. package/index.cjs37.js +1 -1
  159. package/index.cjs370.js +1 -1
  160. package/index.cjs371.js +1 -1
  161. package/index.cjs372.js +1 -1
  162. package/index.cjs373.js +1 -1
  163. package/index.cjs375.js +1 -1
  164. package/index.cjs376.js +1 -1
  165. package/index.cjs377.js +1 -1
  166. package/index.cjs378.js +1 -1
  167. package/index.cjs379.js +1 -1
  168. package/index.cjs38.js +1 -1
  169. package/index.cjs380.js +1 -1
  170. package/index.cjs381.js +1 -1
  171. package/index.cjs382.js +1 -1
  172. package/index.cjs383.js +1 -1
  173. package/index.cjs386.js +1 -1
  174. package/index.cjs387.js +1 -1
  175. package/index.cjs388.js +1 -1
  176. package/index.cjs39.js +1 -1
  177. package/index.cjs390.js +1 -1
  178. package/index.cjs392.js +1 -1
  179. package/index.cjs396.js +1 -1
  180. package/index.cjs4.js +1 -1
  181. package/index.cjs40.js +1 -1
  182. package/index.cjs402.js +1 -74
  183. package/index.cjs403.js +1 -1
  184. package/index.cjs404.js +1 -1
  185. package/index.cjs405.js +74 -1
  186. package/index.cjs406.js +1 -1
  187. package/index.cjs407.js +1 -1
  188. package/index.cjs408.js +1 -1
  189. package/index.cjs41.js +1 -1
  190. package/index.cjs414.js +1 -1
  191. package/index.cjs415.js +1 -1
  192. package/index.cjs416.js +1 -1
  193. package/index.cjs417.js +1 -1
  194. package/index.cjs418.js +1 -1
  195. package/index.cjs419.js +1 -1
  196. package/index.cjs42.js +1 -1
  197. package/index.cjs420.js +1 -1
  198. package/index.cjs421.js +1 -1
  199. package/index.cjs422.js +1 -1
  200. package/index.cjs423.js +1 -1
  201. package/index.cjs424.js +1 -1
  202. package/index.cjs425.js +1 -1
  203. package/index.cjs428.js +1 -1
  204. package/index.cjs43.js +1 -1
  205. package/index.cjs45.js +1 -1
  206. package/index.cjs46.js +1 -1
  207. package/index.cjs47.js +1 -1
  208. package/index.cjs48.js +1 -1
  209. package/index.cjs49.js +1 -1
  210. package/index.cjs51.js +1 -1
  211. package/index.cjs52.js +1 -1
  212. package/index.cjs53.js +1 -1
  213. package/index.cjs54.js +1 -1
  214. package/index.cjs55.js +1 -1
  215. package/index.cjs56.js +1 -1
  216. package/index.cjs57.js +1 -1
  217. package/index.cjs61.js +1 -1
  218. package/index.cjs63.js +1 -1
  219. package/index.cjs64.js +1 -1
  220. package/index.cjs66.js +1 -1
  221. package/index.cjs67.js +1 -1
  222. package/index.cjs7.js +1 -1
  223. package/index.cjs72.js +1 -1
  224. package/index.cjs73.js +1 -1
  225. package/index.cjs74.js +1 -1
  226. package/index.cjs75.js +1 -1
  227. package/index.cjs76.js +1 -1
  228. package/index.cjs8.js +1 -1
  229. package/index.cjs81.js +1 -1
  230. package/index.cjs85.js +1 -1
  231. package/index.cjs86.js +1 -1
  232. package/index.cjs87.js +1 -1
  233. package/index.cjs89.js +1 -1
  234. package/index.cjs9.js +1 -1
  235. package/index.cjs96.js +1 -1
  236. package/index.es10.js +3 -3
  237. package/index.es100.js +10 -470
  238. package/index.es101.js +87 -10
  239. package/index.es102.js +19 -86
  240. package/index.es103.js +22 -19
  241. package/index.es104.js +1712 -23
  242. package/index.es105.js +34 -1712
  243. package/index.es106.js +2594 -33
  244. package/index.es107.js +287 -2561
  245. package/index.es108.js +10 -321
  246. package/index.es109.js +5 -5
  247. package/index.es110.js +5 -5
  248. package/index.es111.js +7 -10
  249. package/index.es112.js +33 -8
  250. package/index.es113.js +37 -32
  251. package/index.es114.js +11 -38
  252. package/index.es115.js +5 -5
  253. package/index.es116.js +5 -5
  254. package/index.es117.js +5 -5
  255. package/index.es118.js +5 -5
  256. package/index.es119.js +2567 -9
  257. package/index.es12.js +3 -3
  258. package/index.es120.js +139 -2567
  259. package/index.es121.js +118 -142
  260. package/index.es122.js +136 -116
  261. package/index.es123.js +162 -76
  262. package/index.es124.js +515 -222
  263. package/index.es125.js +11 -516
  264. package/index.es126.js +5 -5
  265. package/index.es127.js +5 -5
  266. package/index.es128.js +378 -10
  267. package/index.es129.js +10 -378
  268. package/index.es13.js +2 -2
  269. package/index.es130.js +5 -5
  270. package/index.es131.js +5 -5
  271. package/index.es132.js +205 -11
  272. package/index.es133.js +11 -205
  273. package/index.es134.js +4 -10
  274. package/index.es135.js +10 -4
  275. package/index.es136.js +5 -5
  276. package/index.es137.js +5 -5
  277. package/index.es138.js +5 -5
  278. package/index.es139.js +5 -5
  279. package/index.es140.js +5 -5
  280. package/index.es141.js +5 -5
  281. package/index.es142.js +2 -11
  282. package/index.es143.js +1 -1
  283. package/index.es144.js +1 -1
  284. package/index.es145.js +1 -1
  285. package/index.es146.js +1 -1
  286. package/index.es147.js +1 -1
  287. package/index.es148.js +11 -2
  288. package/index.es149.js +4 -4
  289. package/index.es15.js +5 -5
  290. package/index.es150.js +5 -5
  291. package/index.es151.js +5 -5
  292. package/index.es152.js +3 -11
  293. package/index.es153.js +11 -3
  294. package/index.es154.js +5 -5
  295. package/index.es155.js +5 -5
  296. package/index.es156.js +5 -5
  297. package/index.es157.js +2 -11
  298. package/index.es158.js +1 -1
  299. package/index.es159.js +11 -2
  300. package/index.es160.js +4 -4
  301. package/index.es161.js +5 -5
  302. package/index.es162.js +5 -5
  303. package/index.es163.js +5 -5
  304. package/index.es164.js +22 -11
  305. package/index.es165.js +11 -22
  306. package/index.es166.js +22 -11
  307. package/index.es167.js +11 -22
  308. package/index.es168.js +5 -5
  309. package/index.es169.js +12 -11
  310. package/index.es17.js +1 -1
  311. package/index.es170.js +11 -12
  312. package/index.es171.js +4 -4
  313. package/index.es172.js +5 -5
  314. package/index.es173.js +5 -5
  315. package/index.es174.js +470 -10
  316. package/index.es179.js +1 -1
  317. package/index.es181.js +468 -221
  318. package/index.es182.js +231 -52
  319. package/index.es183.js +51 -477
  320. package/index.es185.js +38 -30
  321. package/index.es186.js +30 -11
  322. package/index.es187.js +11 -38
  323. package/index.es20.js +1 -1
  324. package/index.es200.js +1 -1
  325. package/index.es201.js +1 -1
  326. package/index.es202.js +1 -1
  327. package/index.es21.js +3 -3
  328. package/index.es213.js +1 -1
  329. package/index.es214.js +1 -1
  330. package/index.es215.js +1 -1
  331. package/index.es216.js +1 -1
  332. package/index.es217.js +3 -3
  333. package/index.es22.js +1 -1
  334. package/index.es220.js +1 -1
  335. package/index.es228.js +5 -5
  336. package/index.es229.js +8 -8
  337. package/index.es23.js +6 -6
  338. package/index.es230.js +1 -1
  339. package/index.es25.js +1 -1
  340. package/index.es251.js +1 -1
  341. package/index.es252.js +4 -4
  342. package/index.es254.js +1 -1
  343. package/index.es255.js +4 -4
  344. package/index.es256.js +2 -2
  345. package/index.es257.js +3 -3
  346. package/index.es259.js +1 -1
  347. package/index.es263.js +3 -3
  348. package/index.es264.js +2 -2
  349. package/index.es266.js +3 -3
  350. package/index.es27.js +1 -1
  351. package/index.es29.js +2 -2
  352. package/index.es296.js +120 -8
  353. package/index.es297.js +7 -351
  354. package/index.es298.js +8 -3
  355. package/index.es299.js +8 -206
  356. package/index.es30.js +16 -16
  357. package/index.es300.js +348 -8
  358. package/index.es301.js +3 -120
  359. package/index.es302.js +206 -7
  360. package/index.es303.js +11 -8
  361. package/index.es304.js +1 -1
  362. package/index.es308.js +6 -15
  363. package/index.es309.js +5 -5
  364. package/index.es31.js +2 -2
  365. package/index.es310.js +3 -7
  366. package/index.es311.js +117 -3
  367. package/index.es312.js +5 -3
  368. package/index.es313.js +7 -2
  369. package/index.es314.js +3 -6
  370. package/index.es315.js +3 -5
  371. package/index.es316.js +3 -4
  372. package/index.es317.js +4 -117
  373. package/index.es318.js +15 -2
  374. package/index.es319.js +2 -45
  375. package/index.es32.js +3 -3
  376. package/index.es320.js +42 -49
  377. package/index.es321.js +51 -3
  378. package/index.es33.js +1 -1
  379. package/index.es338.js +1 -1
  380. package/index.es34.js +1 -1
  381. package/index.es343.js +1 -1
  382. package/index.es354.js +6 -24
  383. package/index.es355.js +14 -11
  384. package/index.es356.js +21 -6
  385. package/index.es362.js +5 -5
  386. package/index.es363.js +4 -6
  387. package/index.es364.js +4 -29
  388. package/index.es365.js +6 -4
  389. package/index.es366.js +19 -5
  390. package/index.es367.js +4 -7
  391. package/index.es368.js +6 -19
  392. package/index.es369.js +3 -4
  393. package/index.es37.js +1 -1
  394. package/index.es370.js +71 -5
  395. package/index.es371.js +4 -3
  396. package/index.es372.js +6 -71
  397. package/index.es373.js +29 -3
  398. package/index.es375.js +6 -7
  399. package/index.es376.js +7 -6
  400. package/index.es377.js +2 -2
  401. package/index.es378.js +71 -2
  402. package/index.es379.js +92 -2
  403. package/index.es38.js +1 -1
  404. package/index.es380.js +2 -71
  405. package/index.es381.js +2 -92
  406. package/index.es382.js +2 -2
  407. package/index.es383.js +2 -2
  408. package/index.es386.js +10 -8
  409. package/index.es387.js +3 -10
  410. package/index.es388.js +8 -3
  411. package/index.es39.js +1 -1
  412. package/index.es390.js +2 -2
  413. package/index.es392.js +1 -1
  414. package/index.es396.js +3 -3
  415. package/index.es4.js +4 -4
  416. package/index.es40.js +2 -2
  417. package/index.es402.js +6 -251
  418. package/index.es403.js +3 -7
  419. package/index.es404.js +2 -3
  420. package/index.es405.js +251 -6
  421. package/index.es406.js +7 -3
  422. package/index.es407.js +3 -2
  423. package/index.es408.js +1 -1
  424. package/index.es41.js +1 -1
  425. package/index.es414.js +248 -7
  426. package/index.es415.js +19 -6
  427. package/index.es416.js +51 -20
  428. package/index.es417.js +7 -51
  429. package/index.es418.js +41 -247
  430. package/index.es419.js +14 -41
  431. package/index.es42.js +2 -2
  432. package/index.es420.js +10 -16
  433. package/index.es421.js +48 -10
  434. package/index.es422.js +25 -47
  435. package/index.es423.js +127 -24
  436. package/index.es424.js +102 -119
  437. package/index.es425.js +8 -112
  438. package/index.es428.js +1 -1
  439. package/index.es43.js +7 -7
  440. package/index.es45.js +4 -4
  441. package/index.es46.js +4 -4
  442. package/index.es47.js +10 -10
  443. package/index.es48.js +2 -2
  444. package/index.es49.js +12 -12
  445. package/index.es51.js +1 -1
  446. package/index.es52.js +5 -5
  447. package/index.es53.js +1 -1
  448. package/index.es54.js +1 -1
  449. package/index.es55.js +2 -2
  450. package/index.es56.js +2 -2
  451. package/index.es57.js +3 -3
  452. package/index.es61.js +2 -2
  453. package/index.es63.js +2 -2
  454. package/index.es64.js +5 -5
  455. package/index.es66.js +7 -7
  456. package/index.es67.js +3 -3
  457. package/index.es7.js +1 -1
  458. package/index.es72.js +1 -1
  459. package/index.es73.js +1 -1
  460. package/index.es74.js +3 -3
  461. package/index.es75.js +4 -4
  462. package/index.es76.js +1 -1
  463. package/index.es8.js +1 -1
  464. package/index.es81.js +1 -1
  465. package/index.es85.js +3 -3
  466. package/index.es86.js +1 -1
  467. package/index.es87.js +1 -1
  468. package/index.es89.js +1 -1
  469. package/index.es9.js +6 -6
  470. package/index.es96.js +2 -2
  471. package/package.json +1 -1
package/index.es300.js CHANGED
@@ -1,13 +1,353 @@
1
- import e from "./index.es196.js";
2
- const r = (o) => ({
3
- components: {
4
- MuiLocalizationProvider: {
5
- defaultProps: {
6
- localeText: e({}, o)
7
- }
1
+ import w from "./index.es196.js";
2
+ import ge from "./index.es197.js";
3
+ import * as t from "react";
4
+ import e from "./index.es198.js";
5
+ import { clsx as Be } from "./index.es102.js";
6
+ import Ce from "./index.es210.js";
7
+ import xe from "./index.es219.js";
8
+ import De from "./index.es405.js";
9
+ import ke, { getButtonBaseUtilityClass as Ve } from "./index.es406.js";
10
+ import { jsxs as Ee, jsx as we } from "react/jsx-runtime";
11
+ import _ from "./index.es230.js";
12
+ import Fe from "./index.es359.js";
13
+ import M from "./index.es215.js";
14
+ import Le from "./index.es357.js";
15
+ import Ne from "./index.es356.js";
16
+ import Se from "./index.es218.js";
17
+ const Ue = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], Pe = (g) => {
18
+ const {
19
+ disabled: i,
20
+ focusVisible: b,
21
+ focusVisibleClassName: c,
22
+ classes: B
23
+ } = g, m = Se({
24
+ root: ["root", i && "disabled", b && "focusVisible"]
25
+ }, Ve, B);
26
+ return b && c && (m.root += ` ${c}`), m;
27
+ }, je = Ce("button", {
28
+ name: "MuiButtonBase",
29
+ slot: "Root",
30
+ overridesResolver: (g, i) => i.root
31
+ })({
32
+ display: "inline-flex",
33
+ alignItems: "center",
34
+ justifyContent: "center",
35
+ position: "relative",
36
+ boxSizing: "border-box",
37
+ WebkitTapHighlightColor: "transparent",
38
+ backgroundColor: "transparent",
39
+ // Reset default value
40
+ // We disable the focus ring for mouse, touch and keyboard users.
41
+ outline: 0,
42
+ border: 0,
43
+ margin: 0,
44
+ // Remove the margin in Safari
45
+ borderRadius: 0,
46
+ padding: 0,
47
+ // Remove the padding in Firefox
48
+ cursor: "pointer",
49
+ userSelect: "none",
50
+ verticalAlign: "middle",
51
+ MozAppearance: "none",
52
+ // Reset
53
+ WebkitAppearance: "none",
54
+ // Reset
55
+ textDecoration: "none",
56
+ // So we take precedent over the style of a native <a /> element.
57
+ color: "inherit",
58
+ "&::-moz-focus-inner": {
59
+ borderStyle: "none"
60
+ // Remove Firefox dotted outline.
61
+ },
62
+ [`&.${ke.disabled}`]: {
63
+ pointerEvents: "none",
64
+ // Disable link interactions
65
+ cursor: "default"
66
+ },
67
+ "@media print": {
68
+ colorAdjust: "exact"
69
+ }
70
+ }), q = /* @__PURE__ */ t.forwardRef(function(i, b) {
71
+ const c = xe({
72
+ props: i,
73
+ name: "MuiButtonBase"
74
+ }), {
75
+ action: B,
76
+ centerRipple: C = !1,
77
+ children: m,
78
+ className: z,
79
+ component: h = "button",
80
+ disabled: r = !1,
81
+ disableRipple: R = !1,
82
+ disableTouchRipple: F = !1,
83
+ focusRipple: a = !1,
84
+ LinkComponent: H = "a",
85
+ onBlur: L,
86
+ onClick: l,
87
+ onContextMenu: W,
88
+ onDragLeave: $,
89
+ onFocus: N,
90
+ onFocusVisible: S,
91
+ onKeyDown: U,
92
+ onKeyUp: P,
93
+ onMouseDown: G,
94
+ onMouseLeave: j,
95
+ onMouseUp: J,
96
+ onTouchEnd: Q,
97
+ onTouchMove: X,
98
+ onTouchStart: Y,
99
+ tabIndex: K = 0,
100
+ TouchRippleProps: Z,
101
+ touchRippleRef: ee,
102
+ type: x
103
+ } = c, p = ge(c, Ue), f = t.useRef(null), n = t.useRef(null), oe = _(n, ee), {
104
+ isFocusVisibleRef: I,
105
+ onFocus: ne,
106
+ onBlur: te,
107
+ ref: se
108
+ } = Fe(), [u, T] = t.useState(!1);
109
+ r && u && T(!1), t.useImperativeHandle(B, () => ({
110
+ focusVisible: () => {
111
+ T(!0), f.current.focus();
8
112
  }
113
+ }), []);
114
+ const [D, re] = t.useState(!1);
115
+ t.useEffect(() => {
116
+ re(!0);
117
+ }, []);
118
+ const k = D && !R && !r;
119
+ t.useEffect(() => {
120
+ u && a && !R && D && n.current.pulsate();
121
+ }, [R, a, u, D]);
122
+ function s(o, A, Me = F) {
123
+ return M((v) => (A && A(v), !Me && n.current && n.current[o](v), !0));
9
124
  }
125
+ const ue = s("start", G), ce = s("stop", W), ie = s("stop", $), ae = s("stop", J), le = s("stop", (o) => {
126
+ u && o.preventDefault(), j && j(o);
127
+ }), pe = s("start", Y), fe = s("stop", Q), de = s("stop", X), be = s("stop", (o) => {
128
+ te(o), I.current === !1 && T(!1), L && L(o);
129
+ }, !1), me = M((o) => {
130
+ f.current || (f.current = o.currentTarget), ne(o), I.current === !0 && (T(!0), S && S(o)), N && N(o);
131
+ }), V = () => {
132
+ const o = f.current;
133
+ return h && h !== "button" && !(o.tagName === "A" && o.href);
134
+ }, E = t.useRef(!1), he = M((o) => {
135
+ a && !E.current && u && n.current && o.key === " " && (E.current = !0, n.current.stop(o, () => {
136
+ n.current.start(o);
137
+ })), o.target === o.currentTarget && V() && o.key === " " && o.preventDefault(), U && U(o), o.target === o.currentTarget && V() && o.key === "Enter" && !r && (o.preventDefault(), l && l(o));
138
+ }), Re = M((o) => {
139
+ a && o.key === " " && n.current && u && !o.defaultPrevented && (E.current = !1, n.current.stop(o, () => {
140
+ n.current.pulsate(o);
141
+ })), P && P(o), l && o.target === o.currentTarget && V() && o.key === " " && !o.defaultPrevented && l(o);
142
+ });
143
+ let y = h;
144
+ y === "button" && (p.href || p.to) && (y = H);
145
+ const d = {};
146
+ y === "button" ? (d.type = x === void 0 ? "button" : x, d.disabled = r) : (!p.href && !p.to && (d.role = "button"), r && (d["aria-disabled"] = r));
147
+ const Te = _(b, se, f);
148
+ process.env.NODE_ENV !== "production" && t.useEffect(() => {
149
+ k && n.current;
150
+ }, [k]);
151
+ const O = w({}, c, {
152
+ centerRipple: C,
153
+ component: h,
154
+ disabled: r,
155
+ disableRipple: R,
156
+ disableTouchRipple: F,
157
+ focusRipple: a,
158
+ tabIndex: K,
159
+ focusVisible: u
160
+ }), ye = Pe(O);
161
+ return /* @__PURE__ */ Ee(je, w({
162
+ as: y,
163
+ className: Be(ye.root, z),
164
+ ownerState: O,
165
+ onBlur: be,
166
+ onClick: l,
167
+ onContextMenu: ce,
168
+ onFocus: me,
169
+ onKeyDown: he,
170
+ onKeyUp: Re,
171
+ onMouseDown: ue,
172
+ onMouseLeave: le,
173
+ onMouseUp: ae,
174
+ onDragLeave: ie,
175
+ onTouchEnd: fe,
176
+ onTouchMove: de,
177
+ onTouchStart: pe,
178
+ ref: Te,
179
+ tabIndex: r ? -1 : K,
180
+ type: x
181
+ }, d, p, {
182
+ children: [m, k ? (
183
+ /* TouchRipple is only needed client-side, x2 boost on the server. */
184
+ /* @__PURE__ */ we(De, w({
185
+ ref: oe,
186
+ center: C
187
+ }, Z))
188
+ ) : null]
189
+ }));
190
+ });
191
+ process.env.NODE_ENV !== "production" && (q.propTypes = {
192
+ // ----------------------------- Warning --------------------------------
193
+ // | These PropTypes are generated from the TypeScript type definitions |
194
+ // | To update them edit the d.ts file and run "yarn proptypes" |
195
+ // ----------------------------------------------------------------------
196
+ /**
197
+ * A ref for imperative actions.
198
+ * It currently only supports `focusVisible()` action.
199
+ */
200
+ action: Le,
201
+ /**
202
+ * If `true`, the ripples are centered.
203
+ * They won't start at the cursor interaction position.
204
+ * @default false
205
+ */
206
+ centerRipple: e.bool,
207
+ /**
208
+ * The content of the component.
209
+ */
210
+ children: e.node,
211
+ /**
212
+ * Override or extend the styles applied to the component.
213
+ */
214
+ classes: e.object,
215
+ /**
216
+ * @ignore
217
+ */
218
+ className: e.string,
219
+ /**
220
+ * The component used for the root node.
221
+ * Either a string to use a HTML element or a component.
222
+ */
223
+ component: Ne,
224
+ /**
225
+ * If `true`, the component is disabled.
226
+ * @default false
227
+ */
228
+ disabled: e.bool,
229
+ /**
230
+ * If `true`, the ripple effect is disabled.
231
+ *
232
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
233
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
234
+ * @default false
235
+ */
236
+ disableRipple: e.bool,
237
+ /**
238
+ * If `true`, the touch ripple effect is disabled.
239
+ * @default false
240
+ */
241
+ disableTouchRipple: e.bool,
242
+ /**
243
+ * If `true`, the base button will have a keyboard focus ripple.
244
+ * @default false
245
+ */
246
+ focusRipple: e.bool,
247
+ /**
248
+ * This prop can help identify which element has keyboard focus.
249
+ * The class name will be applied when the element gains the focus through keyboard interaction.
250
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
251
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
252
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
253
+ * if needed.
254
+ */
255
+ focusVisibleClassName: e.string,
256
+ /**
257
+ * @ignore
258
+ */
259
+ href: e.any,
260
+ /**
261
+ * The component used to render a link when the `href` prop is provided.
262
+ * @default 'a'
263
+ */
264
+ LinkComponent: e.elementType,
265
+ /**
266
+ * @ignore
267
+ */
268
+ onBlur: e.func,
269
+ /**
270
+ * @ignore
271
+ */
272
+ onClick: e.func,
273
+ /**
274
+ * @ignore
275
+ */
276
+ onContextMenu: e.func,
277
+ /**
278
+ * @ignore
279
+ */
280
+ onDragLeave: e.func,
281
+ /**
282
+ * @ignore
283
+ */
284
+ onFocus: e.func,
285
+ /**
286
+ * Callback fired when the component is focused with a keyboard.
287
+ * We trigger a `onFocus` callback too.
288
+ */
289
+ onFocusVisible: e.func,
290
+ /**
291
+ * @ignore
292
+ */
293
+ onKeyDown: e.func,
294
+ /**
295
+ * @ignore
296
+ */
297
+ onKeyUp: e.func,
298
+ /**
299
+ * @ignore
300
+ */
301
+ onMouseDown: e.func,
302
+ /**
303
+ * @ignore
304
+ */
305
+ onMouseLeave: e.func,
306
+ /**
307
+ * @ignore
308
+ */
309
+ onMouseUp: e.func,
310
+ /**
311
+ * @ignore
312
+ */
313
+ onTouchEnd: e.func,
314
+ /**
315
+ * @ignore
316
+ */
317
+ onTouchMove: e.func,
318
+ /**
319
+ * @ignore
320
+ */
321
+ onTouchStart: e.func,
322
+ /**
323
+ * The system prop that allows defining system overrides as well as additional CSS styles.
324
+ */
325
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
326
+ /**
327
+ * @default 0
328
+ */
329
+ tabIndex: e.number,
330
+ /**
331
+ * Props applied to the `TouchRipple` element.
332
+ */
333
+ TouchRippleProps: e.object,
334
+ /**
335
+ * A ref that points to the `TouchRipple` element.
336
+ */
337
+ touchRippleRef: e.oneOfType([e.func, e.shape({
338
+ current: e.shape({
339
+ pulsate: e.func.isRequired,
340
+ start: e.func.isRequired,
341
+ stop: e.func.isRequired
342
+ })
343
+ })]),
344
+ /**
345
+ * @ignore
346
+ */
347
+ type: e.oneOfType([e.oneOf(["button", "reset", "submit"]), e.string])
10
348
  });
349
+ const Ze = q;
11
350
  export {
12
- r as getPickersLocalization
351
+ je as ButtonBaseRoot,
352
+ Ze as default
13
353
  };
package/index.es301.js CHANGED
@@ -1,122 +1,5 @@
1
- import B from "./index.es197.js";
2
- import v from "./index.es196.js";
3
- import * as u from "react";
4
- import { pickersMonthClasses as n, getPickersMonthUtilityClass as R } from "./index.es303.js";
5
- import { jsx as p } from "react/jsx-runtime";
6
- import m from "./index.es210.js";
7
- import w from "./index.es219.js";
8
- import $ from "./index.es298.js";
9
- import F from "./index.es218.js";
10
- import { alpha as b } from "./index.es231.js";
11
- const I = ["autoFocus", "children", "disabled", "selected", "value", "tabIndex", "onClick", "onKeyDown", "onFocus", "onBlur", "aria-current", "aria-label", "monthsPerRow"], O = (o) => {
12
- const {
13
- disabled: r,
14
- selected: e,
15
- classes: a
16
- } = o;
17
- return F({
18
- root: ["root"],
19
- monthButton: ["monthButton", r && "disabled", e && "selected"]
20
- }, R, a);
21
- }, _ = m("div", {
22
- name: "MuiPickersMonth",
23
- slot: "Root",
24
- overridesResolver: (o, r) => [r.root]
25
- })(({
26
- ownerState: o
27
- }) => ({
28
- flexBasis: o.monthsPerRow === 3 ? "33.3%" : "25%",
29
- display: "flex",
30
- alignItems: "center",
31
- justifyContent: "center"
32
- })), j = m("button", {
33
- name: "MuiPickersMonth",
34
- slot: "MonthButton",
35
- overridesResolver: (o, r) => [r.monthButton, {
36
- [`&.${n.disabled}`]: r.disabled
37
- }, {
38
- [`&.${n.selected}`]: r.selected
39
- }]
40
- })(({
41
- theme: o
42
- }) => v({
43
- color: "unset",
44
- backgroundColor: "transparent",
45
- border: 0,
46
- outline: 0
47
- }, o.typography.subtitle1, {
48
- margin: "8px 0",
49
- height: 36,
50
- width: 72,
51
- borderRadius: 18,
52
- cursor: "pointer",
53
- "&:focus": {
54
- backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : b(o.palette.action.active, o.palette.action.hoverOpacity)
55
- },
56
- "&:hover": {
57
- backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : b(o.palette.action.active, o.palette.action.hoverOpacity)
58
- },
59
- "&:disabled": {
60
- cursor: "auto",
61
- pointerEvents: "none"
62
- },
63
- [`&.${n.disabled}`]: {
64
- color: (o.vars || o).palette.text.secondary
65
- },
66
- [`&.${n.selected}`]: {
67
- color: (o.vars || o).palette.primary.contrastText,
68
- backgroundColor: (o.vars || o).palette.primary.main,
69
- "&:focus, &:hover": {
70
- backgroundColor: (o.vars || o).palette.primary.dark
71
- }
72
- }
73
- })), q = /* @__PURE__ */ u.memo(function(r) {
74
- const e = w({
75
- props: r,
76
- name: "MuiPickersMonth"
77
- }), {
78
- autoFocus: a,
79
- children: i,
80
- disabled: c,
81
- selected: f,
82
- value: s,
83
- tabIndex: h,
84
- onClick: k,
85
- onKeyDown: y,
86
- onFocus: C,
87
- onBlur: M,
88
- "aria-current": g,
89
- "aria-label": x
90
- // We don't want to forward this prop to the root element
91
- } = e, P = B(e, I), l = u.useRef(null), d = O(e);
92
- return $(() => {
93
- if (a) {
94
- var t;
95
- (t = l.current) == null || t.focus();
96
- }
97
- }, [a]), /* @__PURE__ */ p(_, v({
98
- className: d.root,
99
- ownerState: e
100
- }, P, {
101
- children: /* @__PURE__ */ p(j, {
102
- ref: l,
103
- disabled: c,
104
- type: "button",
105
- role: "radio",
106
- tabIndex: c ? -1 : h,
107
- "aria-current": g,
108
- "aria-checked": f,
109
- "aria-label": x,
110
- onClick: (t) => k(t, s),
111
- onKeyDown: (t) => y(t, s),
112
- onFocus: (t) => C(t, s),
113
- onBlur: (t) => M(t, s),
114
- className: d.monthButton,
115
- ownerState: e,
116
- children: i
117
- })
118
- }));
119
- });
1
+ import * as e from "react";
2
+ const f = typeof window < "u" ? e.useLayoutEffect : e.useEffect, t = f;
120
3
  export {
121
- q as PickersMonth
4
+ t as default
122
5
  };
package/index.es302.js CHANGED
@@ -1,9 +1,208 @@
1
- import e from "./index.es220.js";
2
- import r from "./index.es221.js";
3
- function n(t) {
4
- return e("MuiMonthCalendar", t);
5
- }
6
- r("MuiMonthCalendar", ["root"]);
1
+ import E from "./index.es196.js";
2
+ import x from "./index.es197.js";
3
+ import N from "./index.es363.js";
4
+ import v from "./index.es198.js";
5
+ import A from "./index.es364.js";
6
+ import _ from "./index.es365.js";
7
+ import C from "react";
8
+ import g from "./index.es362.js";
9
+ import { classNamesShape as $ } from "./index.es366.js";
10
+ import { forceReflow as S } from "./index.es367.js";
11
+ var T = function(i, p) {
12
+ return i && p && p.split(" ").forEach(function(s) {
13
+ return A(i, s);
14
+ });
15
+ }, d = function(i, p) {
16
+ return i && p && p.split(" ").forEach(function(s) {
17
+ return _(i, s);
18
+ });
19
+ }, c = /* @__PURE__ */ function(u) {
20
+ N(i, u);
21
+ function i() {
22
+ for (var s, t = arguments.length, a = new Array(t), o = 0; o < t; o++)
23
+ a[o] = arguments[o];
24
+ return s = u.call.apply(u, [this].concat(a)) || this, s.appliedClasses = {
25
+ appear: {},
26
+ enter: {},
27
+ exit: {}
28
+ }, s.onEnter = function(e, r) {
29
+ var n = s.resolveArguments(e, r), l = n[0], m = n[1];
30
+ s.removeClasses(l, "exit"), s.addClass(l, m ? "appear" : "enter", "base"), s.props.onEnter && s.props.onEnter(e, r);
31
+ }, s.onEntering = function(e, r) {
32
+ var n = s.resolveArguments(e, r), l = n[0], m = n[1], f = m ? "appear" : "enter";
33
+ s.addClass(l, f, "active"), s.props.onEntering && s.props.onEntering(e, r);
34
+ }, s.onEntered = function(e, r) {
35
+ var n = s.resolveArguments(e, r), l = n[0], m = n[1], f = m ? "appear" : "enter";
36
+ s.removeClasses(l, f), s.addClass(l, f, "done"), s.props.onEntered && s.props.onEntered(e, r);
37
+ }, s.onExit = function(e) {
38
+ var r = s.resolveArguments(e), n = r[0];
39
+ s.removeClasses(n, "appear"), s.removeClasses(n, "enter"), s.addClass(n, "exit", "base"), s.props.onExit && s.props.onExit(e);
40
+ }, s.onExiting = function(e) {
41
+ var r = s.resolveArguments(e), n = r[0];
42
+ s.addClass(n, "exit", "active"), s.props.onExiting && s.props.onExiting(e);
43
+ }, s.onExited = function(e) {
44
+ var r = s.resolveArguments(e), n = r[0];
45
+ s.removeClasses(n, "exit"), s.addClass(n, "exit", "done"), s.props.onExited && s.props.onExited(e);
46
+ }, s.resolveArguments = function(e, r) {
47
+ return s.props.nodeRef ? [s.props.nodeRef.current, e] : [e, r];
48
+ }, s.getClassNames = function(e) {
49
+ var r = s.props.classNames, n = typeof r == "string", l = n && r ? r + "-" : "", m = n ? "" + l + e : r[e], f = n ? m + "-active" : r[e + "Active"], h = n ? m + "-done" : r[e + "Done"];
50
+ return {
51
+ baseClassName: m,
52
+ activeClassName: f,
53
+ doneClassName: h
54
+ };
55
+ }, s;
56
+ }
57
+ var p = i.prototype;
58
+ return p.addClass = function(t, a, o) {
59
+ var e = this.getClassNames(a)[o + "ClassName"], r = this.getClassNames("enter"), n = r.doneClassName;
60
+ a === "appear" && o === "done" && n && (e += " " + n), o === "active" && t && S(t), e && (this.appliedClasses[a][o] = e, T(t, e));
61
+ }, p.removeClasses = function(t, a) {
62
+ var o = this.appliedClasses[a], e = o.base, r = o.active, n = o.done;
63
+ this.appliedClasses[a] = {}, e && d(t, e), r && d(t, r), n && d(t, n);
64
+ }, p.render = function() {
65
+ var t = this.props;
66
+ t.classNames;
67
+ var a = x(t, ["classNames"]);
68
+ return /* @__PURE__ */ C.createElement(g, E({}, a, {
69
+ onEnter: this.onEnter,
70
+ onEntered: this.onEntered,
71
+ onEntering: this.onEntering,
72
+ onExit: this.onExit,
73
+ onExiting: this.onExiting,
74
+ onExited: this.onExited
75
+ }));
76
+ }, i;
77
+ }(C.Component);
78
+ c.defaultProps = {
79
+ classNames: ""
80
+ };
81
+ c.propTypes = process.env.NODE_ENV !== "production" ? E({}, g.propTypes, {
82
+ /**
83
+ * The animation classNames applied to the component as it appears, enters,
84
+ * exits or has finished the transition. A single name can be provided, which
85
+ * will be suffixed for each stage, e.g. `classNames="fade"` applies:
86
+ *
87
+ * - `fade-appear`, `fade-appear-active`, `fade-appear-done`
88
+ * - `fade-enter`, `fade-enter-active`, `fade-enter-done`
89
+ * - `fade-exit`, `fade-exit-active`, `fade-exit-done`
90
+ *
91
+ * A few details to note about how these classes are applied:
92
+ *
93
+ * 1. They are _joined_ with the ones that are already defined on the child
94
+ * component, so if you want to add some base styles, you can use
95
+ * `className` without worrying that it will be overridden.
96
+ *
97
+ * 2. If the transition component mounts with `in={false}`, no classes are
98
+ * applied yet. You might be expecting `*-exit-done`, but if you think
99
+ * about it, a component cannot finish exiting if it hasn't entered yet.
100
+ *
101
+ * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This
102
+ * allows you to define different behavior for when appearing is done and
103
+ * when regular entering is done, using selectors like
104
+ * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply
105
+ * an epic entrance animation when element first appears in the DOM using
106
+ * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can
107
+ * simply use `fade-enter-done` for defining both cases.
108
+ *
109
+ * Each individual classNames can also be specified independently like:
110
+ *
111
+ * ```js
112
+ * classNames={{
113
+ * appear: 'my-appear',
114
+ * appearActive: 'my-active-appear',
115
+ * appearDone: 'my-done-appear',
116
+ * enter: 'my-enter',
117
+ * enterActive: 'my-active-enter',
118
+ * enterDone: 'my-done-enter',
119
+ * exit: 'my-exit',
120
+ * exitActive: 'my-active-exit',
121
+ * exitDone: 'my-done-exit',
122
+ * }}
123
+ * ```
124
+ *
125
+ * If you want to set these classes using CSS Modules:
126
+ *
127
+ * ```js
128
+ * import styles from './styles.css';
129
+ * ```
130
+ *
131
+ * you might want to use camelCase in your CSS file, that way could simply
132
+ * spread them instead of listing them one by one:
133
+ *
134
+ * ```js
135
+ * classNames={{ ...styles }}
136
+ * ```
137
+ *
138
+ * @type {string | {
139
+ * appear?: string,
140
+ * appearActive?: string,
141
+ * appearDone?: string,
142
+ * enter?: string,
143
+ * enterActive?: string,
144
+ * enterDone?: string,
145
+ * exit?: string,
146
+ * exitActive?: string,
147
+ * exitDone?: string,
148
+ * }}
149
+ */
150
+ classNames: $,
151
+ /**
152
+ * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
153
+ * applied.
154
+ *
155
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
156
+ *
157
+ * @type Function(node: HtmlElement, isAppearing: bool)
158
+ */
159
+ onEnter: v.func,
160
+ /**
161
+ * A `<Transition>` callback fired immediately after the 'enter-active' or
162
+ * 'appear-active' class is applied.
163
+ *
164
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
165
+ *
166
+ * @type Function(node: HtmlElement, isAppearing: bool)
167
+ */
168
+ onEntering: v.func,
169
+ /**
170
+ * A `<Transition>` callback fired immediately after the 'enter' or
171
+ * 'appear' classes are **removed** and the `done` class is added to the DOM node.
172
+ *
173
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
174
+ *
175
+ * @type Function(node: HtmlElement, isAppearing: bool)
176
+ */
177
+ onEntered: v.func,
178
+ /**
179
+ * A `<Transition>` callback fired immediately after the 'exit' class is
180
+ * applied.
181
+ *
182
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
183
+ *
184
+ * @type Function(node: HtmlElement)
185
+ */
186
+ onExit: v.func,
187
+ /**
188
+ * A `<Transition>` callback fired immediately after the 'exit-active' is applied.
189
+ *
190
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
191
+ *
192
+ * @type Function(node: HtmlElement)
193
+ */
194
+ onExiting: v.func,
195
+ /**
196
+ * A `<Transition>` callback fired immediately after the 'exit' classes
197
+ * are **removed** and the `exit-done` class is added to the DOM node.
198
+ *
199
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
200
+ *
201
+ * @type Function(node: HtmlElement)
202
+ */
203
+ onExited: v.func
204
+ }) : {};
205
+ const z = c;
7
206
  export {
8
- n as getMonthCalendarUtilityClass
207
+ z as default
9
208
  };