mada-design-system 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. package/index.cjs10.js +1 -1
  2. package/index.cjs100.js +5 -1
  3. package/index.cjs101.js +1 -5
  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 +1 -1
  9. package/index.cjs107.js +1 -1
  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 +4 -1
  16. package/index.cjs114.js +1 -4
  17. package/index.cjs115.js +2 -1
  18. package/index.cjs116.js +1 -2
  19. package/index.cjs117.js +2 -1
  20. package/index.cjs118.js +1 -2
  21. package/index.cjs119.js +1 -1
  22. package/index.cjs12.js +1 -1
  23. package/index.cjs120.js +1 -1
  24. package/index.cjs121.js +1 -1
  25. package/index.cjs122.js +1 -1
  26. package/index.cjs123.js +1 -1
  27. package/index.cjs124.js +1 -1
  28. package/index.cjs125.js +20 -1
  29. package/index.cjs126.js +1 -20
  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 +1 -1
  37. package/index.cjs133.js +1 -1
  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.cjs175.js +1 -1
  82. package/index.cjs176.js +1 -1
  83. package/index.cjs177.js +1 -1
  84. package/index.cjs178.js +1 -1
  85. package/index.cjs179.js +1 -1
  86. package/index.cjs180.js +1 -1
  87. package/index.cjs181.js +1 -1
  88. package/index.cjs182.js +1 -1
  89. package/index.cjs184.js +1 -1
  90. package/index.cjs185.js +1 -1
  91. package/index.cjs188.js +1 -1
  92. package/index.cjs190.js +1 -1
  93. package/index.cjs191.js +1 -1
  94. package/index.cjs192.js +1 -1
  95. package/index.cjs20.js +1 -1
  96. package/index.cjs200.js +1 -1
  97. package/index.cjs203.js +1 -1
  98. package/index.cjs205.js +1 -1
  99. package/index.cjs206.js +1 -1
  100. package/index.cjs207.js +1 -1
  101. package/index.cjs209.js +1 -1
  102. package/index.cjs21.js +1 -1
  103. package/index.cjs22.js +1 -1
  104. package/index.cjs23.js +1 -1
  105. package/index.cjs234.js +1 -1
  106. package/index.cjs235.js +1 -1
  107. package/index.cjs236.js +1 -1
  108. package/index.cjs237.js +1 -1
  109. package/index.cjs238.js +1 -1
  110. package/index.cjs239.js +1 -1
  111. package/index.cjs240.js +1 -1
  112. package/index.cjs242.js +1 -1
  113. package/index.cjs246.js +1 -1
  114. package/index.cjs247.js +1 -1
  115. package/index.cjs25.js +1 -1
  116. package/index.cjs26.js +1 -1
  117. package/index.cjs261.js +1 -1
  118. package/index.cjs262.js +1 -1
  119. package/index.cjs263.js +1 -1
  120. package/index.cjs264.js +15 -1
  121. package/index.cjs265.js +1 -15
  122. package/index.cjs266.js +1 -1
  123. package/index.cjs267.js +1 -1
  124. package/index.cjs268.js +1 -1
  125. package/index.cjs269.js +1 -1
  126. package/index.cjs27.js +1 -1
  127. package/index.cjs270.js +1 -1
  128. package/index.cjs271.js +1 -1
  129. package/index.cjs272.js +1 -1
  130. package/index.cjs273.js +1 -1
  131. package/index.cjs274.js +1 -1
  132. package/index.cjs275.js +1 -1
  133. package/index.cjs276.js +1 -1
  134. package/index.cjs277.js +1 -1
  135. package/index.cjs278.js +1 -1
  136. package/index.cjs28.js +1 -1
  137. package/index.cjs281.js +1 -1
  138. package/index.cjs282.js +1 -1
  139. package/index.cjs283.js +1 -3
  140. package/index.cjs284.js +1 -1
  141. package/index.cjs285.js +1 -1
  142. package/index.cjs286.js +3 -1
  143. package/index.cjs287.js +1 -1
  144. package/index.cjs288.js +1 -1
  145. package/index.cjs289.js +1 -1
  146. package/index.cjs29.js +1 -1
  147. package/index.cjs290.js +1 -1
  148. package/index.cjs298.js +1 -1
  149. package/index.cjs299.js +1 -1
  150. package/index.cjs30.js +1 -1
  151. package/index.cjs303.js +1 -1
  152. package/index.cjs31.js +1 -1
  153. package/index.cjs32.js +1 -1
  154. package/index.cjs320.js +1 -1
  155. package/index.cjs338.js +1 -1
  156. package/index.cjs339.js +1 -1
  157. package/index.cjs340.js +1 -1
  158. package/index.cjs341.js +1 -1
  159. package/index.cjs342.js +1 -1
  160. package/index.cjs343.js +1 -1
  161. package/index.cjs344.js +1 -1
  162. package/index.cjs345.js +1 -1
  163. package/index.cjs346.js +1 -1
  164. package/index.cjs347.js +1 -1
  165. package/index.cjs348.js +1 -1
  166. package/index.cjs349.js +1 -1
  167. package/index.cjs35.js +1 -1
  168. package/index.cjs350.js +1 -1
  169. package/index.cjs36.js +1 -1
  170. package/index.cjs37.js +1 -1
  171. package/index.cjs370.js +1 -1
  172. package/index.cjs372.js +1 -1
  173. package/index.cjs373.js +1 -74
  174. package/index.cjs374.js +1 -1
  175. package/index.cjs375.js +1 -1
  176. package/index.cjs376.js +74 -1
  177. package/index.cjs377.js +1 -1
  178. package/index.cjs378.js +1 -1
  179. package/index.cjs379.js +1 -1
  180. package/index.cjs38.js +1 -1
  181. package/index.cjs380.js +1 -1
  182. package/index.cjs39.js +1 -1
  183. package/index.cjs397.js +1 -1
  184. package/index.cjs4.js +1 -1
  185. package/index.cjs40.js +1 -1
  186. package/index.cjs41.js +1 -1
  187. package/index.cjs43.js +1 -1
  188. package/index.cjs44.js +1 -1
  189. package/index.cjs45.js +1 -1
  190. package/index.cjs46.js +1 -1
  191. package/index.cjs47.js +1 -1
  192. package/index.cjs49.js +1 -1
  193. package/index.cjs50.js +1 -1
  194. package/index.cjs51.js +1 -1
  195. package/index.cjs54.js +2 -2
  196. package/index.cjs56.js +1 -1
  197. package/index.cjs57.js +1 -1
  198. package/index.cjs59.js +1 -1
  199. package/index.cjs60.js +1 -1
  200. package/index.cjs65.js +1 -1
  201. package/index.cjs66.js +1 -1
  202. package/index.cjs67.js +1 -1
  203. package/index.cjs68.js +1 -1
  204. package/index.cjs69.js +1 -1
  205. package/index.cjs7.js +1 -1
  206. package/index.cjs73.js +1 -1
  207. package/index.cjs75.js +1 -1
  208. package/index.cjs76.js +1 -1
  209. package/index.cjs79.js +1 -1
  210. package/index.cjs8.js +1 -1
  211. package/index.cjs80.js +1 -1
  212. package/index.cjs81.js +1 -1
  213. package/index.cjs82.js +1 -1
  214. package/index.cjs83.js +1 -1
  215. package/index.cjs86.js +1 -1
  216. package/index.cjs9.js +1 -1
  217. package/index.cjs90.js +1 -1
  218. package/index.cjs92.js +1 -1
  219. package/index.cjs93.js +1 -1
  220. package/index.cjs94.js +1 -1
  221. package/index.cjs95.js +1 -1
  222. package/index.cjs96.js +1 -1
  223. package/index.cjs97.js +1 -1
  224. package/index.cjs98.js +1 -1
  225. package/index.cjs99.js +1 -1
  226. package/index.es.d.ts +33 -12
  227. package/index.es10.js +81 -74
  228. package/index.es100.js +2594 -33
  229. package/index.es101.js +287 -2561
  230. package/index.es102.js +10 -321
  231. package/index.es103.js +5 -5
  232. package/index.es104.js +5 -5
  233. package/index.es105.js +7 -10
  234. package/index.es106.js +33 -8
  235. package/index.es107.js +37 -32
  236. package/index.es108.js +11 -38
  237. package/index.es109.js +5 -5
  238. package/index.es110.js +5 -5
  239. package/index.es111.js +5 -5
  240. package/index.es112.js +5 -5
  241. package/index.es113.js +2567 -9
  242. package/index.es114.js +139 -2567
  243. package/index.es115.js +118 -142
  244. package/index.es116.js +136 -116
  245. package/index.es117.js +162 -76
  246. package/index.es118.js +515 -222
  247. package/index.es119.js +309 -515
  248. package/index.es12.js +3 -3
  249. package/index.es120.js +11 -310
  250. package/index.es121.js +5 -5
  251. package/index.es122.js +5 -5
  252. package/index.es123.js +5 -5
  253. package/index.es124.js +5 -5
  254. package/index.es125.js +205 -11
  255. package/index.es126.js +11 -205
  256. package/index.es127.js +4 -10
  257. package/index.es128.js +10 -4
  258. package/index.es129.js +5 -5
  259. package/index.es13.js +2 -2
  260. package/index.es130.js +5 -5
  261. package/index.es131.js +5 -5
  262. package/index.es132.js +5 -5
  263. package/index.es133.js +1 -1
  264. package/index.es134.js +5 -5
  265. package/index.es135.js +2 -11
  266. package/index.es136.js +1 -1
  267. package/index.es137.js +1 -1
  268. package/index.es138.js +1 -1
  269. package/index.es139.js +1 -1
  270. package/index.es140.js +1 -1
  271. package/index.es141.js +11 -2
  272. package/index.es142.js +4 -4
  273. package/index.es143.js +5 -5
  274. package/index.es144.js +5 -5
  275. package/index.es145.js +3 -11
  276. package/index.es146.js +11 -3
  277. package/index.es147.js +5 -5
  278. package/index.es148.js +5 -5
  279. package/index.es149.js +5 -5
  280. package/index.es15.js +5 -5
  281. package/index.es150.js +5 -5
  282. package/index.es151.js +5 -5
  283. package/index.es152.js +22 -11
  284. package/index.es153.js +11 -22
  285. package/index.es154.js +22 -11
  286. package/index.es155.js +11 -22
  287. package/index.es156.js +5 -5
  288. package/index.es157.js +12 -11
  289. package/index.es158.js +11 -12
  290. package/index.es159.js +4 -4
  291. package/index.es160.js +5 -5
  292. package/index.es161.js +5 -5
  293. package/index.es162.js +5 -5
  294. package/index.es163.js +5 -5
  295. package/index.es164.js +470 -10
  296. package/index.es165.js +2324 -125
  297. package/index.es166.js +2152 -6
  298. package/index.es167.js +11 -2338
  299. package/index.es168.js +136 -2149
  300. package/index.es169.js +6 -11
  301. package/index.es17.js +1 -1
  302. package/index.es170.js +235 -3
  303. package/index.es171.js +52 -231
  304. package/index.es172.js +477 -51
  305. package/index.es173.js +3 -8
  306. package/index.es174.js +6 -31
  307. package/index.es175.js +38 -11
  308. package/index.es176.js +28 -477
  309. package/index.es177.js +12 -18
  310. package/index.es178.js +15 -32
  311. package/index.es179.js +34 -1223
  312. package/index.es180.js +1223 -13
  313. package/index.es181.js +14 -8
  314. package/index.es182.js +8 -50
  315. package/index.es184.js +1 -1
  316. package/index.es185.js +47 -36
  317. package/index.es188.js +1 -1
  318. package/index.es190.js +1 -1
  319. package/index.es191.js +1 -1
  320. package/index.es192.js +1 -1
  321. package/index.es20.js +1 -1
  322. package/index.es200.js +3 -3
  323. package/index.es203.js +1 -1
  324. package/index.es205.js +1 -1
  325. package/index.es206.js +3 -3
  326. package/index.es207.js +4 -4
  327. package/index.es209.js +3 -3
  328. package/index.es21.js +3 -3
  329. package/index.es22.js +1 -1
  330. package/index.es23.js +6 -6
  331. package/index.es234.js +1 -1
  332. package/index.es235.js +4 -4
  333. package/index.es236.js +3 -3
  334. package/index.es237.js +3 -3
  335. package/index.es238.js +6 -6
  336. package/index.es239.js +2 -2
  337. package/index.es240.js +3 -3
  338. package/index.es242.js +1 -1
  339. package/index.es246.js +3 -3
  340. package/index.es247.js +1 -1
  341. package/index.es25.js +1 -1
  342. package/index.es26.js +20 -9
  343. package/index.es261.js +2 -11
  344. package/index.es262.js +60 -2
  345. package/index.es263.js +14 -57
  346. package/index.es264.js +243 -16
  347. package/index.es265.js +71 -241
  348. package/index.es266.js +4 -73
  349. package/index.es267.js +57 -4
  350. package/index.es268.js +11 -58
  351. package/index.es269.js +7 -11
  352. package/index.es27.js +41 -41
  353. package/index.es270.js +35 -6
  354. package/index.es271.js +26 -35
  355. package/index.es272.js +291 -27
  356. package/index.es273.js +90 -290
  357. package/index.es274.js +3 -91
  358. package/index.es275.js +8 -3
  359. package/index.es276.js +15 -7
  360. package/index.es277.js +145 -14
  361. package/index.es278.js +10 -146
  362. package/index.es28.js +2 -2
  363. package/index.es281.js +120 -8
  364. package/index.es282.js +7 -351
  365. package/index.es283.js +7 -94
  366. package/index.es284.js +7 -9
  367. package/index.es285.js +351 -3
  368. package/index.es286.js +94 -205
  369. package/index.es287.js +10 -120
  370. package/index.es288.js +3 -7
  371. package/index.es289.js +206 -8
  372. package/index.es29.js +2 -2
  373. package/index.es290.js +2 -2
  374. package/index.es298.js +14 -11
  375. package/index.es299.js +11 -14
  376. package/index.es30.js +3 -3
  377. package/index.es303.js +1 -1
  378. package/index.es31.js +1 -1
  379. package/index.es32.js +1 -1
  380. package/index.es320.js +1 -1
  381. package/index.es338.js +4 -6
  382. package/index.es339.js +4 -29
  383. package/index.es340.js +6 -15
  384. package/index.es341.js +5 -5
  385. package/index.es342.js +19 -5
  386. package/index.es343.js +4 -5
  387. package/index.es344.js +5 -6
  388. package/index.es345.js +3 -19
  389. package/index.es346.js +72 -4
  390. package/index.es347.js +4 -6
  391. package/index.es348.js +16 -3
  392. package/index.es349.js +6 -71
  393. package/index.es35.js +1 -1
  394. package/index.es350.js +29 -3
  395. package/index.es36.js +1 -1
  396. package/index.es37.js +16 -6
  397. package/index.es370.js +1 -1
  398. package/index.es372.js +6 -2
  399. package/index.es373.js +4 -251
  400. package/index.es374.js +2 -8
  401. package/index.es375.js +2 -3
  402. package/index.es376.js +251 -2
  403. package/index.es377.js +7 -5
  404. package/index.es378.js +3 -4
  405. package/index.es379.js +1 -1
  406. package/index.es38.js +2 -2
  407. package/index.es380.js +1 -1
  408. package/index.es39.js +1 -1
  409. package/index.es397.js +1 -1
  410. package/index.es4.js +4 -4
  411. package/index.es40.js +2 -2
  412. package/index.es41.js +7 -7
  413. package/index.es43.js +76 -73
  414. package/index.es44.js +189 -154
  415. package/index.es45.js +10 -10
  416. package/index.es46.js +2 -2
  417. package/index.es47.js +12 -12
  418. package/index.es49.js +1 -1
  419. package/index.es50.js +2 -2
  420. package/index.es51.js +195 -168
  421. package/index.es54.js +31 -17
  422. package/index.es56.js +42 -39
  423. package/index.es57.js +5 -5
  424. package/index.es59.js +73 -81
  425. package/index.es60.js +3 -3
  426. package/index.es65.js +1 -1
  427. package/index.es66.js +1 -1
  428. package/index.es67.js +3 -3
  429. package/index.es68.js +4 -4
  430. package/index.es69.js +1 -1
  431. package/index.es7.js +1 -1
  432. package/index.es73.js +2 -2
  433. package/index.es75.js +1 -1
  434. package/index.es76.js +1 -1
  435. package/index.es79.js +5 -5
  436. package/index.es8.js +1 -1
  437. package/index.es80.js +1 -1
  438. package/index.es81.js +1 -1
  439. package/index.es82.js +2 -2
  440. package/index.es83.js +1 -1
  441. package/index.es86.js +1 -1
  442. package/index.es9.js +6 -6
  443. package/index.es90.js +2 -2
  444. package/index.es92.js +5 -1
  445. package/index.es93.js +5 -1
  446. package/index.es94.js +10 -470
  447. package/index.es95.js +87 -10
  448. package/index.es96.js +19 -86
  449. package/index.es97.js +22 -19
  450. package/index.es98.js +1712 -23
  451. package/index.es99.js +34 -1708
  452. package/package.json +4 -3
package/index.es265.js CHANGED
@@ -1,246 +1,76 @@
1
- import y from "./index.es186.js";
2
- import A from "./index.es187.js";
3
- import l from "./index.es330.js";
4
- import I from "./index.es331.js";
5
- import n from "./index.es332.js";
6
- import s from "./index.es333.js";
7
- import f from "./index.es334.js";
8
- import c from "./index.es335.js";
9
- import d from "./index.es336.js";
10
- import m from "./index.es337.js";
11
- import P from "./index.es272.js";
12
- import { getContrastRatio as v, lighten as S, darken as U } from "./index.es283.js";
13
- import w from "./index.es270.js";
14
- const V = ["mode", "contrastThreshold", "tonalOffset"], T = {
15
- // The colors used to style the text.
16
- text: {
17
- // The most important text.
18
- primary: "rgba(0, 0, 0, 0.87)",
19
- // Secondary text.
20
- secondary: "rgba(0, 0, 0, 0.6)",
21
- // Disabled text have even lower visual prominence.
22
- disabled: "rgba(0, 0, 0, 0.38)"
23
- },
24
- // The color used to divide different elements.
25
- divider: "rgba(0, 0, 0, 0.12)",
26
- // The background colors used to style the surfaces.
27
- // Consistency between these values is important.
28
- background: {
29
- paper: l.white,
30
- default: l.white
31
- },
32
- // The colors used to style the action elements.
33
- action: {
34
- // The color of an active action like an icon button.
35
- active: "rgba(0, 0, 0, 0.54)",
36
- // The color of an hovered action.
37
- hover: "rgba(0, 0, 0, 0.04)",
38
- hoverOpacity: 0.04,
39
- // The color of a selected action.
40
- selected: "rgba(0, 0, 0, 0.08)",
41
- selectedOpacity: 0.08,
42
- // The color of a disabled action.
43
- disabled: "rgba(0, 0, 0, 0.26)",
44
- // The background color of a disabled action.
45
- disabledBackground: "rgba(0, 0, 0, 0.12)",
46
- disabledOpacity: 0.38,
47
- focus: "rgba(0, 0, 0, 0.12)",
48
- focusOpacity: 0.12,
49
- activatedOpacity: 0.12
50
- }
51
- }, b = {
52
- text: {
53
- primary: l.white,
54
- secondary: "rgba(255, 255, 255, 0.7)",
55
- disabled: "rgba(255, 255, 255, 0.5)",
56
- icon: "rgba(255, 255, 255, 0.5)"
57
- },
58
- divider: "rgba(255, 255, 255, 0.12)",
59
- background: {
60
- paper: "#121212",
61
- default: "#121212"
62
- },
63
- action: {
64
- active: l.white,
65
- hover: "rgba(255, 255, 255, 0.08)",
66
- hoverOpacity: 0.08,
67
- selected: "rgba(255, 255, 255, 0.16)",
68
- selectedOpacity: 0.16,
69
- disabled: "rgba(255, 255, 255, 0.3)",
70
- disabledBackground: "rgba(255, 255, 255, 0.12)",
71
- disabledOpacity: 0.38,
72
- focus: "rgba(255, 255, 255, 0.12)",
73
- focusOpacity: 0.12,
74
- activatedOpacity: 0.24
75
- }
76
- };
77
- function x(r, e, g, a) {
78
- const p = a.light || a, h = a.dark || a * 1.5;
79
- r[e] || (r.hasOwnProperty(g) ? r[e] = r[g] : e === "light" ? r.light = S(r.main, p) : e === "dark" && (r.dark = U(r.main, h)));
80
- }
81
- function W(r = "light") {
82
- return r === "dark" ? {
83
- main: c[200],
84
- light: c[50],
85
- dark: c[400]
86
- } : {
87
- main: c[700],
88
- light: c[400],
89
- dark: c[800]
90
- };
91
- }
92
- function j(r = "light") {
93
- return r === "dark" ? {
94
- main: n[200],
95
- light: n[50],
96
- dark: n[400]
97
- } : {
98
- main: n[500],
99
- light: n[300],
100
- dark: n[700]
101
- };
102
- }
103
- function B(r = "light") {
104
- return r === "dark" ? {
105
- main: s[500],
106
- light: s[300],
107
- dark: s[700]
108
- } : {
109
- main: s[700],
110
- light: s[400],
111
- dark: s[800]
112
- };
113
- }
114
- function L(r = "light") {
115
- return r === "dark" ? {
116
- main: d[400],
117
- light: d[300],
118
- dark: d[700]
119
- } : {
120
- main: d[700],
121
- light: d[500],
122
- dark: d[900]
123
- };
124
- }
125
- function R(r = "light") {
126
- return r === "dark" ? {
127
- main: m[400],
128
- light: m[300],
129
- dark: m[700]
130
- } : {
131
- main: m[800],
132
- light: m[500],
133
- dark: m[900]
134
- };
135
- }
136
- function G(r = "light") {
137
- return r === "dark" ? {
138
- main: f[400],
139
- light: f[300],
140
- dark: f[700]
141
- } : {
142
- main: "#ed6c02",
143
- // closest to orange[800] that pass 3:1.
144
- light: f[500],
145
- dark: f[900]
146
- };
1
+ import c from "./index.es186.js";
2
+ import T from "./index.es187.js";
3
+ import M from "./index.es271.js";
4
+ const _ = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
5
+ function v(i) {
6
+ return Math.round(i * 1e5) / 1e5;
147
7
  }
148
- function ar(r) {
149
- const {
150
- mode: e = "light",
151
- contrastThreshold: g = 3,
152
- tonalOffset: a = 0.2
153
- } = r, p = A(r, V), h = r.primary || W(e), D = r.secondary || j(e), E = r.error || B(e), $ = r.info || L(e), N = r.success || R(e), C = r.warning || G(e);
154
- function k(t) {
155
- const o = v(t, b.text.primary) >= g ? b.text.primary : T.text.primary;
156
- return process.env.NODE_ENV !== "production" && v(t, o) < 3, o;
157
- }
158
- const i = ({
159
- color: t,
160
- name: o,
161
- mainShade: u = 500,
162
- lightShade: _ = 300,
163
- darkShade: M = 700
164
- }) => {
165
- if (t = y({}, t), !t.main && t[u] && (t.main = t[u]), !t.hasOwnProperty("main"))
166
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${o ? ` (${o})` : ""} provided to augmentColor(color) is invalid.
167
- The color object needs to have a \`main\` property or a \`${u}\` property.` : w(11, o ? ` (${o})` : "", u));
168
- if (typeof t.main != "string")
169
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${o ? ` (${o})` : ""} provided to augmentColor(color) is invalid.
170
- \`color.main\` should be a string, but \`${JSON.stringify(t.main)}\` was provided instead.
171
-
172
- Did you intend to use one of the following approaches?
173
-
174
- import { green } from "@mui/material/colors";
175
-
176
- const theme1 = createTheme({ palette: {
177
- primary: green,
178
- } });
179
-
180
- const theme2 = createTheme({ palette: {
181
- primary: { main: green[500] },
182
- } });` : w(12, o ? ` (${o})` : "", JSON.stringify(t.main)));
183
- return x(t, "light", _, a), x(t, "dark", M, a), t.contrastText || (t.contrastText = k(t.main)), t;
184
- }, O = {
185
- dark: b,
186
- light: T
8
+ const p = {
9
+ textTransform: "uppercase"
10
+ }, d = '"Roboto", "Helvetica", "Arial", sans-serif';
11
+ function A(i, n) {
12
+ const h = typeof n == "function" ? n(i) : n, {
13
+ fontFamily: r = d,
14
+ // The default font size of the Material Specification.
15
+ fontSize: f = 14,
16
+ // px
17
+ fontWeightLight: a = 300,
18
+ fontWeightRegular: t = 400,
19
+ fontWeightMedium: o = 500,
20
+ fontWeightBold: g = 700,
21
+ // Tell MUI what's the font-size on the html element.
22
+ // 16px is the default font-size used by browsers.
23
+ htmlFontSize: l = 16,
24
+ // Apply the CSS properties to all the variants.
25
+ allVariants: b,
26
+ pxToRem: S
27
+ } = h, W = T(h, _);
28
+ process.env.NODE_ENV;
29
+ const x = f / 14, m = S || ((s) => `${s / l * x}rem`), e = (s, u, y, z, R) => c({
30
+ fontFamily: r,
31
+ fontWeight: s,
32
+ fontSize: m(u),
33
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
34
+ lineHeight: y
35
+ }, r === d ? {
36
+ letterSpacing: `${v(z / u)}em`
37
+ } : {}, R, b), F = {
38
+ h1: e(a, 96, 1.167, -1.5),
39
+ h2: e(a, 60, 1.2, -0.5),
40
+ h3: e(t, 48, 1.167, 0),
41
+ h4: e(t, 34, 1.235, 0.25),
42
+ h5: e(t, 24, 1.334, 0),
43
+ h6: e(o, 20, 1.6, 0.15),
44
+ subtitle1: e(t, 16, 1.75, 0.15),
45
+ subtitle2: e(o, 14, 1.57, 0.1),
46
+ body1: e(t, 16, 1.5, 0.15),
47
+ body2: e(t, 14, 1.43, 0.15),
48
+ button: e(o, 14, 1.75, 0.4, p),
49
+ caption: e(t, 12, 1.66, 0.4),
50
+ overline: e(t, 12, 2.66, 1, p),
51
+ // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
52
+ inherit: {
53
+ fontFamily: "inherit",
54
+ fontWeight: "inherit",
55
+ fontSize: "inherit",
56
+ lineHeight: "inherit",
57
+ letterSpacing: "inherit"
58
+ }
187
59
  };
188
- return process.env.NODE_ENV !== "production" && O[e], P(y({
189
- // A collection of common colors.
190
- common: y({}, l),
191
- // prevent mutable object.
192
- // The palette mode, can be light or dark.
193
- mode: e,
194
- // The colors used to represent primary interface elements for a user.
195
- primary: i({
196
- color: h,
197
- name: "primary"
198
- }),
199
- // The colors used to represent secondary interface elements for a user.
200
- secondary: i({
201
- color: D,
202
- name: "secondary",
203
- mainShade: "A400",
204
- lightShade: "A200",
205
- darkShade: "A700"
206
- }),
207
- // The colors used to represent interface elements that the user should be made aware of.
208
- error: i({
209
- color: E,
210
- name: "error"
211
- }),
212
- // The colors used to represent potentially dangerous actions or important messages.
213
- warning: i({
214
- color: C,
215
- name: "warning"
216
- }),
217
- // The colors used to present information to the user that is neutral and not necessarily important.
218
- info: i({
219
- color: $,
220
- name: "info"
221
- }),
222
- // The colors used to indicate the successful completion of an action that user triggered.
223
- success: i({
224
- color: N,
225
- name: "success"
226
- }),
227
- // The grey colors.
228
- grey: I,
229
- // Used by `getContrastText()` to maximize the contrast between
230
- // the background and the text.
231
- contrastThreshold: g,
232
- // Takes a background color and returns the text color that maximizes the contrast.
233
- getContrastText: k,
234
- // Generate a rich color object.
235
- augmentColor: i,
236
- // Used by the functions below to shift a color's luminance by approximately
237
- // two indexes within its tonal palette.
238
- // E.g., shift from Red 500 to Red 300 or Red 700.
239
- tonalOffset: a
240
- }, O[e]), p);
60
+ return M(c({
61
+ htmlFontSize: l,
62
+ pxToRem: m,
63
+ fontFamily: r,
64
+ fontSize: f,
65
+ fontWeightLight: a,
66
+ fontWeightRegular: t,
67
+ fontWeightMedium: o,
68
+ fontWeightBold: g
69
+ }, F), W, {
70
+ clone: !1
71
+ // No need to clone deep
72
+ });
241
73
  }
242
74
  export {
243
- b as dark,
244
- ar as default,
245
- T as light
75
+ A as default
246
76
  };
package/index.es266.js CHANGED
@@ -1,76 +1,7 @@
1
- import c from "./index.es186.js";
2
- import T from "./index.es187.js";
3
- import M from "./index.es272.js";
4
- const _ = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
5
- function v(i) {
6
- return Math.round(i * 1e5) / 1e5;
7
- }
8
- const p = {
9
- textTransform: "uppercase"
10
- }, d = '"Roboto", "Helvetica", "Arial", sans-serif';
11
- function A(i, n) {
12
- const h = typeof n == "function" ? n(i) : n, {
13
- fontFamily: r = d,
14
- // The default font size of the Material Specification.
15
- fontSize: f = 14,
16
- // px
17
- fontWeightLight: a = 300,
18
- fontWeightRegular: t = 400,
19
- fontWeightMedium: o = 500,
20
- fontWeightBold: g = 700,
21
- // Tell MUI what's the font-size on the html element.
22
- // 16px is the default font-size used by browsers.
23
- htmlFontSize: l = 16,
24
- // Apply the CSS properties to all the variants.
25
- allVariants: b,
26
- pxToRem: S
27
- } = h, W = T(h, _);
28
- process.env.NODE_ENV;
29
- const x = f / 14, m = S || ((s) => `${s / l * x}rem`), e = (s, u, y, z, R) => c({
30
- fontFamily: r,
31
- fontWeight: s,
32
- fontSize: m(u),
33
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
34
- lineHeight: y
35
- }, r === d ? {
36
- letterSpacing: `${v(z / u)}em`
37
- } : {}, R, b), F = {
38
- h1: e(a, 96, 1.167, -1.5),
39
- h2: e(a, 60, 1.2, -0.5),
40
- h3: e(t, 48, 1.167, 0),
41
- h4: e(t, 34, 1.235, 0.25),
42
- h5: e(t, 24, 1.334, 0),
43
- h6: e(o, 20, 1.6, 0.15),
44
- subtitle1: e(t, 16, 1.75, 0.15),
45
- subtitle2: e(o, 14, 1.57, 0.1),
46
- body1: e(t, 16, 1.5, 0.15),
47
- body2: e(t, 14, 1.43, 0.15),
48
- button: e(o, 14, 1.75, 0.4, p),
49
- caption: e(t, 12, 1.66, 0.4),
50
- overline: e(t, 12, 2.66, 1, p),
51
- // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
52
- inherit: {
53
- fontFamily: "inherit",
54
- fontWeight: "inherit",
55
- fontSize: "inherit",
56
- lineHeight: "inherit",
57
- letterSpacing: "inherit"
58
- }
59
- };
60
- return M(c({
61
- htmlFontSize: l,
62
- pxToRem: m,
63
- fontFamily: r,
64
- fontSize: f,
65
- fontWeightLight: a,
66
- fontWeightRegular: t,
67
- fontWeightMedium: o,
68
- fontWeightBold: g
69
- }, F), W, {
70
- clone: !1
71
- // No need to clone deep
72
- });
1
+ function a(...o) {
2
+ return [`${o[0]}px ${o[1]}px ${o[2]}px ${o[3]}px rgba(0,0,0,${0.2})`, `${o[4]}px ${o[5]}px ${o[6]}px ${o[7]}px rgba(0,0,0,${0.14})`, `${o[8]}px ${o[9]}px ${o[10]}px ${o[11]}px rgba(0,0,0,${0.12})`].join(",");
73
3
  }
4
+ const t = ["none", a(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), a(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), a(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), a(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), a(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), a(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), a(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), a(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), a(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), a(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), a(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), a(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), a(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), a(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), a(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), a(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), a(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), a(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), a(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), a(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), a(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), a(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), a(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), a(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], s = t;
74
5
  export {
75
- A as default
6
+ s as default
76
7
  };
package/index.es267.js CHANGED
@@ -1,7 +1,60 @@
1
- function a(...o) {
2
- return [`${o[0]}px ${o[1]}px ${o[2]}px ${o[3]}px rgba(0,0,0,${0.2})`, `${o[4]}px ${o[5]}px ${o[6]}px ${o[7]}px rgba(0,0,0,${0.14})`, `${o[8]}px ${o[9]}px ${o[10]}px ${o[11]}px rgba(0,0,0,${0.12})`].join(",");
1
+ import f from "./index.es187.js";
2
+ import u from "./index.es186.js";
3
+ const l = ["duration", "easing", "delay"], p = {
4
+ // This is the most common easing curve.
5
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
6
+ // Objects enter the screen at full velocity from off-screen and
7
+ // slowly decelerate to a resting point.
8
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
9
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
10
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
11
+ // The sharp curve is used by objects that may return to the screen at any time.
12
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
13
+ }, y = {
14
+ shortest: 150,
15
+ shorter: 200,
16
+ short: 250,
17
+ // most basic recommended timing
18
+ standard: 300,
19
+ // this is to be used in complex animations
20
+ complex: 375,
21
+ // recommended when something is entering screen
22
+ enteringScreen: 225,
23
+ // recommended when something is leaving screen
24
+ leavingScreen: 195
25
+ };
26
+ function m(e) {
27
+ return `${Math.round(e)}ms`;
28
+ }
29
+ function h(e) {
30
+ if (!e)
31
+ return 0;
32
+ const t = e / 36;
33
+ return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
34
+ }
35
+ function O(e) {
36
+ const t = u({}, p, e.easing), c = u({}, y, e.duration);
37
+ return u({
38
+ getAutoHeightDuration: h,
39
+ create: (n = ["all"], s = {}) => {
40
+ const {
41
+ duration: o = c.standard,
42
+ easing: g = t.easeInOut,
43
+ delay: i = 0
44
+ } = s, b = f(s, l);
45
+ if (process.env.NODE_ENV !== "production") {
46
+ const r = (a) => typeof a == "string", d = (a) => !isNaN(parseFloat(a));
47
+ !r(n) && Array.isArray(n), !d(o) && r(o), r(g), !d(i) && r(i), Object.keys(b).length;
48
+ }
49
+ return (Array.isArray(n) ? n : [n]).map((r) => `${r} ${typeof o == "string" ? o : m(o)} ${g} ${typeof i == "string" ? i : m(i)}`).join(",");
50
+ }
51
+ }, e, {
52
+ easing: t,
53
+ duration: c
54
+ });
3
55
  }
4
- const t = ["none", a(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), a(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), a(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), a(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), a(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), a(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), a(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), a(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), a(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), a(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), a(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), a(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), a(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), a(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), a(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), a(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), a(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), a(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), a(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), a(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), a(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), a(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), a(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), a(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], s = t;
5
56
  export {
6
- s as default
57
+ O as default,
58
+ y as duration,
59
+ p as easing
7
60
  };
package/index.es268.js CHANGED
@@ -1,60 +1,13 @@
1
- import f from "./index.es187.js";
2
- import u from "./index.es186.js";
3
- const l = ["duration", "easing", "delay"], p = {
4
- // This is the most common easing curve.
5
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
6
- // Objects enter the screen at full velocity from off-screen and
7
- // slowly decelerate to a resting point.
8
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
9
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
10
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
11
- // The sharp curve is used by objects that may return to the screen at any time.
12
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
13
- }, y = {
14
- shortest: 150,
15
- shorter: 200,
16
- short: 250,
17
- // most basic recommended timing
18
- standard: 300,
19
- // this is to be used in complex animations
20
- complex: 375,
21
- // recommended when something is entering screen
22
- enteringScreen: 225,
23
- // recommended when something is leaving screen
24
- leavingScreen: 195
25
- };
26
- function m(e) {
27
- return `${Math.round(e)}ms`;
28
- }
29
- function h(e) {
30
- if (!e)
31
- return 0;
32
- const t = e / 36;
33
- return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
34
- }
35
- function O(e) {
36
- const t = u({}, p, e.easing), c = u({}, y, e.duration);
37
- return u({
38
- getAutoHeightDuration: h,
39
- create: (n = ["all"], s = {}) => {
40
- const {
41
- duration: o = c.standard,
42
- easing: g = t.easeInOut,
43
- delay: i = 0
44
- } = s, b = f(s, l);
45
- if (process.env.NODE_ENV !== "production") {
46
- const r = (a) => typeof a == "string", d = (a) => !isNaN(parseFloat(a));
47
- !r(n) && Array.isArray(n), !d(o) && r(o), r(g), !d(i) && r(i), Object.keys(b).length;
48
- }
49
- return (Array.isArray(n) ? n : [n]).map((r) => `${r} ${typeof o == "string" ? o : m(o)} ${g} ${typeof i == "string" ? i : m(i)}`).join(",");
50
- }
51
- }, e, {
52
- easing: t,
53
- duration: c
54
- });
55
- }
1
+ const a = {
2
+ mobileStepper: 1e3,
3
+ fab: 1050,
4
+ speedDial: 1050,
5
+ appBar: 1100,
6
+ drawer: 1200,
7
+ modal: 1300,
8
+ snackbar: 1400,
9
+ tooltip: 1500
10
+ }, e = a;
56
11
  export {
57
- O as default,
58
- y as duration,
59
- p as easing
12
+ e as default
60
13
  };
package/index.es269.js CHANGED
@@ -1,13 +1,9 @@
1
- const a = {
2
- mobileStepper: 1e3,
3
- fab: 1050,
4
- speedDial: 1050,
5
- appBar: 1100,
6
- drawer: 1200,
7
- modal: 1300,
8
- snackbar: 1400,
9
- tooltip: 1500
10
- }, e = a;
1
+ function o(e) {
2
+ let t = "https://mui.com/production-error/?code=" + e;
3
+ for (let r = 1; r < arguments.length; r += 1)
4
+ t += "&args[]=" + encodeURIComponent(arguments[r]);
5
+ return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
6
+ }
11
7
  export {
12
- e as default
8
+ o as default
13
9
  };