mada-design-system 1.3.2 → 1.4.1

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 (564) hide show
  1. package/index.cjs10.js +1 -1
  2. package/index.cjs103.js +1 -1
  3. package/index.cjs107.js +1 -1
  4. package/index.cjs11.js +1 -1
  5. package/index.cjs110.js +1 -1
  6. package/index.cjs111.js +1 -1
  7. package/index.cjs112.js +1 -1
  8. package/index.cjs113.js +1 -1
  9. package/index.cjs114.js +1 -1
  10. package/index.cjs115.js +1 -1
  11. package/index.cjs116.js +1 -1
  12. package/index.cjs117.js +1 -1
  13. package/index.cjs118.js +1 -1
  14. package/index.cjs119.js +1 -1
  15. package/index.cjs12.js +1 -1
  16. package/index.cjs120.js +1 -1
  17. package/index.cjs121.js +5 -1
  18. package/index.cjs122.js +1 -1
  19. package/index.cjs123.js +1 -1
  20. package/index.cjs124.js +1 -1
  21. package/index.cjs125.js +1 -1
  22. package/index.cjs126.js +1 -1
  23. package/index.cjs127.js +1 -1
  24. package/index.cjs128.js +1 -5
  25. package/index.cjs129.js +1 -1
  26. package/index.cjs13.js +1 -1
  27. package/index.cjs130.js +1 -1
  28. package/index.cjs131.js +1 -1
  29. package/index.cjs132.js +1 -1
  30. package/index.cjs133.js +1 -1
  31. package/index.cjs134.js +1 -1
  32. package/index.cjs135.js +1 -1
  33. package/index.cjs136.js +1 -1
  34. package/index.cjs137.js +1 -1
  35. package/index.cjs138.js +1 -1
  36. package/index.cjs139.js +1 -1
  37. package/index.cjs14.js +1 -1
  38. package/index.cjs140.js +1 -1
  39. package/index.cjs141.js +1 -1
  40. package/index.cjs142.js +1 -1
  41. package/index.cjs143.js +1 -1
  42. package/index.cjs144.js +1 -1
  43. package/index.cjs145.js +1 -1
  44. package/index.cjs146.js +1 -1
  45. package/index.cjs147.js +20 -1
  46. package/index.cjs148.js +1 -1
  47. package/index.cjs149.js +1 -1
  48. package/index.cjs15.js +1 -1
  49. package/index.cjs150.js +1 -20
  50. package/index.cjs151.js +1 -1
  51. package/index.cjs152.js +1 -1
  52. package/index.cjs153.js +1 -1
  53. package/index.cjs154.js +1 -1
  54. package/index.cjs155.js +1 -1
  55. package/index.cjs156.js +1 -1
  56. package/index.cjs157.js +1 -1
  57. package/index.cjs158.js +1 -1
  58. package/index.cjs159.js +1 -1
  59. package/index.cjs16.js +1 -1
  60. package/index.cjs160.js +1 -1
  61. package/index.cjs161.js +1 -1
  62. package/index.cjs162.js +1 -1
  63. package/index.cjs163.js +1 -1
  64. package/index.cjs164.js +1 -1
  65. package/index.cjs165.js +1 -1
  66. package/index.cjs166.js +1 -1
  67. package/index.cjs167.js +1 -1
  68. package/index.cjs168.js +1 -1
  69. package/index.cjs169.js +1 -1
  70. package/index.cjs17.js +1 -1
  71. package/index.cjs170.js +1 -1
  72. package/index.cjs171.js +1 -1
  73. package/index.cjs172.js +1 -1
  74. package/index.cjs173.js +1 -1
  75. package/index.cjs174.js +1 -1
  76. package/index.cjs175.js +1 -1
  77. package/index.cjs176.js +1 -1
  78. package/index.cjs177.js +1 -1
  79. package/index.cjs178.js +1 -1
  80. package/index.cjs179.js +1 -1
  81. package/index.cjs18.js +1 -1
  82. package/index.cjs180.js +1 -1
  83. package/index.cjs181.js +1 -1
  84. package/index.cjs182.js +1 -1
  85. package/index.cjs183.js +1 -1
  86. package/index.cjs184.js +1 -1
  87. package/index.cjs185.js +1 -1
  88. package/index.cjs186.js +1 -1
  89. package/index.cjs187.js +1 -1
  90. package/index.cjs188.js +1 -1
  91. package/index.cjs189.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.cjs193.js +1 -1
  96. package/index.cjs195.js +1 -1
  97. package/index.cjs196.js +1 -1
  98. package/index.cjs197.js +1 -1
  99. package/index.cjs198.js +1 -1
  100. package/index.cjs199.js +1 -1
  101. package/index.cjs20.js +1 -1
  102. package/index.cjs200.js +1 -1
  103. package/index.cjs202.js +1 -1
  104. package/index.cjs203.js +1 -1
  105. package/index.cjs204.js +1 -1
  106. package/index.cjs205.js +1 -1
  107. package/index.cjs207.js +1 -1
  108. package/index.cjs208.js +1 -1
  109. package/index.cjs209.js +1 -1
  110. package/index.cjs210.js +1 -1
  111. package/index.cjs211.js +1 -1
  112. package/index.cjs212.js +1 -1
  113. package/index.cjs213.js +1 -1
  114. package/index.cjs214.js +1 -1
  115. package/index.cjs215.js +1 -1
  116. package/index.cjs216.js +1 -1
  117. package/index.cjs217.js +1 -1
  118. package/index.cjs218.js +1 -1
  119. package/index.cjs219.js +1 -1
  120. package/index.cjs22.js +1 -1
  121. package/index.cjs220.js +1 -1
  122. package/index.cjs221.js +1 -1
  123. package/index.cjs222.js +1 -1
  124. package/index.cjs223.js +1 -1
  125. package/index.cjs224.js +1 -1
  126. package/index.cjs225.js +1 -1
  127. package/index.cjs226.js +1 -1
  128. package/index.cjs227.js +1 -1
  129. package/index.cjs228.js +1 -1
  130. package/index.cjs229.js +1 -1
  131. package/index.cjs230.js +1 -1
  132. package/index.cjs231.js +1 -1
  133. package/index.cjs232.js +1 -1
  134. package/index.cjs233.js +1 -1
  135. package/index.cjs234.js +1 -1
  136. package/index.cjs235.js +1 -1
  137. package/index.cjs236.js +1 -1
  138. package/index.cjs237.js +1 -1
  139. package/index.cjs238.js +1 -1
  140. package/index.cjs239.js +1 -1
  141. package/index.cjs240.js +1 -1
  142. package/index.cjs241.js +1 -1
  143. package/index.cjs242.js +1 -1
  144. package/index.cjs243.js +1 -1
  145. package/index.cjs244.js +1 -1
  146. package/index.cjs245.js +1 -1
  147. package/index.cjs246.js +1 -1
  148. package/index.cjs247.js +1 -1
  149. package/index.cjs248.js +1 -1
  150. package/index.cjs249.js +1 -1
  151. package/index.cjs25.js +1 -1
  152. package/index.cjs250.js +1 -1
  153. package/index.cjs251.js +1 -1
  154. package/index.cjs252.js +1 -1
  155. package/index.cjs253.js +1 -1
  156. package/index.cjs254.js +1 -1
  157. package/index.cjs255.js +1 -1
  158. package/index.cjs256.js +1 -1
  159. package/index.cjs257.js +1 -1
  160. package/index.cjs258.js +1 -1
  161. package/index.cjs259.js +1 -1
  162. package/index.cjs26.js +1 -1
  163. package/index.cjs260.js +1 -1
  164. package/index.cjs261.js +1 -1
  165. package/index.cjs262.js +1 -1
  166. package/index.cjs263.js +1 -1
  167. package/index.cjs264.js +1 -1
  168. package/index.cjs265.js +1 -1
  169. package/index.cjs266.js +1 -1
  170. package/index.cjs267.js +1 -1
  171. package/index.cjs268.js +1 -1
  172. package/index.cjs269.js +1 -1
  173. package/index.cjs27.js +1 -1
  174. package/index.cjs270.js +1 -1
  175. package/index.cjs271.js +1 -1
  176. package/index.cjs272.js +1 -1
  177. package/index.cjs273.js +1 -1
  178. package/index.cjs274.js +1 -1
  179. package/index.cjs275.js +1 -1
  180. package/index.cjs276.js +1 -1
  181. package/index.cjs277.js +1 -1
  182. package/index.cjs278.js +1 -1
  183. package/index.cjs279.js +1 -1
  184. package/index.cjs28.js +1 -1
  185. package/index.cjs280.js +1 -1
  186. package/index.cjs281.js +1 -1
  187. package/index.cjs282.js +1 -1
  188. package/index.cjs283.js +1 -1
  189. package/index.cjs284.js +1 -1
  190. package/index.cjs285.js +1 -1
  191. package/index.cjs286.js +1 -1
  192. package/index.cjs29.js +1 -1
  193. package/index.cjs31.js +1 -1
  194. package/index.cjs33.js +1 -1
  195. package/index.cjs35.js +1 -1
  196. package/index.cjs356.js +1 -1
  197. package/index.cjs36.js +1 -1
  198. package/index.cjs37.js +1 -1
  199. package/index.cjs370.js +1 -1
  200. package/index.cjs374.js +1 -1
  201. package/index.cjs375.js +1 -1
  202. package/index.cjs376.js +1 -1
  203. package/index.cjs377.js +1 -1
  204. package/index.cjs378.js +1 -1
  205. package/index.cjs379.js +1 -1
  206. package/index.cjs38.js +1 -1
  207. package/index.cjs380.js +1 -1
  208. package/index.cjs381.js +1 -1
  209. package/index.cjs382.js +1 -1
  210. package/index.cjs383.js +1 -1
  211. package/index.cjs384.js +1 -1
  212. package/index.cjs385.js +1 -1
  213. package/index.cjs386.js +1 -1
  214. package/index.cjs387.js +1 -1
  215. package/index.cjs388.js +1 -1
  216. package/index.cjs389.js +1 -1
  217. package/index.cjs39.js +1 -1
  218. package/index.cjs390.js +1 -1
  219. package/index.cjs391.js +1 -1
  220. package/index.cjs392.js +1 -1
  221. package/index.cjs393.js +1 -1
  222. package/index.cjs394.js +1 -1
  223. package/index.cjs395.js +1 -1
  224. package/index.cjs396.js +1 -1
  225. package/index.cjs397.js +1 -1
  226. package/index.cjs398.js +1 -1
  227. package/index.cjs399.js +1 -1
  228. package/index.cjs400.js +1 -1
  229. package/index.cjs401.js +1 -1
  230. package/index.cjs402.js +1 -1
  231. package/index.cjs403.js +1 -1
  232. package/index.cjs404.js +1 -1
  233. package/index.cjs405.js +1 -1
  234. package/index.cjs406.js +1 -1
  235. package/index.cjs407.js +1 -1
  236. package/index.cjs408.js +1 -1
  237. package/index.cjs409.js +1 -1
  238. package/index.cjs410.js +1 -1
  239. package/index.cjs42.js +1 -1
  240. package/index.cjs423.js +1 -1
  241. package/index.cjs424.js +1 -1
  242. package/index.cjs425.js +1 -1
  243. package/index.cjs426.js +1 -1
  244. package/index.cjs43.js +1 -1
  245. package/index.cjs44.js +1 -1
  246. package/index.cjs45.js +1 -1
  247. package/index.cjs46.js +1 -1
  248. package/index.cjs47.js +1 -1
  249. package/index.cjs48.js +1 -1
  250. package/index.cjs49.js +1 -1
  251. package/index.cjs51.js +1 -1
  252. package/index.cjs52.js +1 -1
  253. package/index.cjs53.js +1 -1
  254. package/index.cjs54.js +1 -1
  255. package/index.cjs55.js +1 -1
  256. package/index.cjs57.js +1 -1
  257. package/index.cjs58.js +1 -1
  258. package/index.cjs59.js +1 -1
  259. package/index.cjs6.js +1 -1
  260. package/index.cjs60.js +1 -1
  261. package/index.cjs61.js +1 -1
  262. package/index.cjs62.js +1 -1
  263. package/index.cjs63.js +1 -1
  264. package/index.cjs67.js +1 -1
  265. package/index.cjs68.js +1 -1
  266. package/index.cjs7.js +1 -1
  267. package/index.cjs70.js +1 -1
  268. package/index.cjs71.js +1 -1
  269. package/index.cjs73.js +1 -1
  270. package/index.cjs74.js +1 -1
  271. package/index.cjs78.js +1 -1
  272. package/index.cjs79.js +1 -1
  273. package/index.cjs80.js +1 -1
  274. package/index.cjs81.js +1 -1
  275. package/index.cjs82.js +1 -1
  276. package/index.cjs83.js +1 -1
  277. package/index.cjs87.js +1 -1
  278. package/index.cjs9.js +1 -1
  279. package/index.cjs90.js +1 -1
  280. package/index.cjs92.js +1 -1
  281. package/index.cjs96.js +1 -1
  282. package/index.es.d.ts +3 -1
  283. package/index.es10.js +5 -5
  284. package/index.es103.js +1 -1
  285. package/index.es107.js +1 -1
  286. package/index.es11.js +3 -3
  287. package/index.es110.js +474 -2376
  288. package/index.es111.js +164 -15
  289. package/index.es112.js +44 -11
  290. package/index.es113.js +11 -7
  291. package/index.es114.js +86 -55
  292. package/index.es115.js +26 -18
  293. package/index.es116.js +18 -19
  294. package/index.es117.js +16 -504
  295. package/index.es118.js +25 -164
  296. package/index.es119.js +1702 -41
  297. package/index.es12.js +8 -8
  298. package/index.es120.js +33 -11
  299. package/index.es121.js +2587 -79
  300. package/index.es122.js +320 -25
  301. package/index.es123.js +5 -12
  302. package/index.es124.js +5 -12
  303. package/index.es125.js +5 -19
  304. package/index.es126.js +8 -1705
  305. package/index.es127.js +33 -33
  306. package/index.es128.js +2 -2596
  307. package/index.es129.js +10 -321
  308. package/index.es13.js +2 -2
  309. package/index.es130.js +5 -5
  310. package/index.es131.js +4 -4
  311. package/index.es132.js +5 -5
  312. package/index.es133.js +10 -7
  313. package/index.es134.js +13 -32
  314. package/index.es135.js +229 -2
  315. package/index.es136.js +19 -11
  316. package/index.es137.js +19 -11
  317. package/index.es138.js +5 -5
  318. package/index.es139.js +4 -4
  319. package/index.es14.js +8 -8
  320. package/index.es140.js +6 -11
  321. package/index.es141.js +56 -13
  322. package/index.es142.js +5 -228
  323. package/index.es143.js +15 -11
  324. package/index.es144.js +5 -5
  325. package/index.es145.js +11 -6
  326. package/index.es146.js +11 -6
  327. package/index.es147.js +191 -11
  328. package/index.es148.js +4 -10
  329. package/index.es149.js +5 -5
  330. package/index.es15.js +5 -5
  331. package/index.es150.js +11 -191
  332. package/index.es151.js +10 -4
  333. package/index.es152.js +5 -5
  334. package/index.es153.js +19 -11
  335. package/index.es154.js +7 -11
  336. package/index.es155.js +86 -10
  337. package/index.es156.js +11 -19
  338. package/index.es157.js +11 -7
  339. package/index.es158.js +10 -86
  340. package/index.es159.js +5 -5
  341. package/index.es16.js +1 -1
  342. package/index.es160.js +5 -5
  343. package/index.es161.js +5 -5
  344. package/index.es162.js +2 -11
  345. package/index.es163.js +2 -11
  346. package/index.es164.js +2 -11
  347. package/index.es165.js +1 -1
  348. package/index.es166.js +2 -2
  349. package/index.es167.js +2 -2
  350. package/index.es168.js +11 -2
  351. package/index.es169.js +11 -2
  352. package/index.es17.js +4 -4
  353. package/index.es170.js +11 -2
  354. package/index.es171.js +5 -5
  355. package/index.es172.js +5 -5
  356. package/index.es173.js +5 -5
  357. package/index.es174.js +5 -5
  358. package/index.es175.js +5 -5
  359. package/index.es176.js +2 -11
  360. package/index.es177.js +2 -11
  361. package/index.es178.js +5 -5
  362. package/index.es179.js +11 -2
  363. package/index.es18.js +4 -4
  364. package/index.es180.js +11 -2
  365. package/index.es181.js +5 -5
  366. package/index.es182.js +22 -11
  367. package/index.es183.js +5 -5
  368. package/index.es184.js +5 -5
  369. package/index.es185.js +11 -22
  370. package/index.es186.js +17 -11
  371. package/index.es187.js +12 -11
  372. package/index.es188.js +5 -5
  373. package/index.es189.js +11 -17
  374. package/index.es190.js +11 -12
  375. package/index.es191.js +2408 -11
  376. package/index.es192.js +11 -11
  377. package/index.es193.js +7 -11
  378. package/index.es195.js +1 -1
  379. package/index.es196.js +2 -52
  380. package/index.es197.js +235 -2
  381. package/index.es198.js +52 -231
  382. package/index.es199.js +476 -51
  383. package/index.es20.js +7 -7
  384. package/index.es200.js +44 -473
  385. package/index.es202.js +31 -33
  386. package/index.es203.js +11 -1201
  387. package/index.es204.js +33 -31
  388. package/index.es205.js +1201 -11
  389. package/index.es207.js +82 -97
  390. package/index.es208.js +2 -31
  391. package/index.es209.js +8 -9
  392. package/index.es210.js +6 -141
  393. package/index.es211.js +6 -117
  394. package/index.es212.js +18 -98
  395. package/index.es213.js +6 -31
  396. package/index.es214.js +6 -9
  397. package/index.es215.js +7 -141
  398. package/index.es216.js +14 -117
  399. package/index.es217.js +16 -68
  400. package/index.es218.js +9 -31
  401. package/index.es219.js +7 -9
  402. package/index.es22.js +1 -1
  403. package/index.es220.js +11 -153
  404. package/index.es221.js +15 -108
  405. package/index.es222.js +5 -7
  406. package/index.es223.js +14 -5
  407. package/index.es224.js +5 -5
  408. package/index.es225.js +8 -17
  409. package/index.es226.js +6 -5
  410. package/index.es227.js +4 -5
  411. package/index.es228.js +7 -7
  412. package/index.es229.js +580 -13
  413. package/index.es230.js +50 -16
  414. package/index.es231.js +17 -8
  415. package/index.es232.js +8 -6
  416. package/index.es233.js +6 -10
  417. package/index.es234.js +7 -14
  418. package/index.es235.js +5 -5
  419. package/index.es236.js +6 -14
  420. package/index.es237.js +9 -5
  421. package/index.es238.js +5 -8
  422. package/index.es239.js +8 -6
  423. package/index.es240.js +12 -4
  424. package/index.es241.js +4 -5
  425. package/index.es242.js +9 -580
  426. package/index.es243.js +9 -50
  427. package/index.es244.js +10 -17
  428. package/index.es245.js +14 -8
  429. package/index.es246.js +5 -6
  430. package/index.es247.js +5 -7
  431. package/index.es248.js +4 -5
  432. package/index.es249.js +11 -6
  433. package/index.es25.js +1 -1
  434. package/index.es250.js +10 -9
  435. package/index.es251.js +9 -4
  436. package/index.es252.js +11 -8
  437. package/index.es253.js +11 -12
  438. package/index.es254.js +38 -5
  439. package/index.es255.js +65 -10
  440. package/index.es256.js +9 -8
  441. package/index.es257.js +8 -10
  442. package/index.es258.js +7 -14
  443. package/index.es259.js +10 -5
  444. package/index.es26.js +5 -5
  445. package/index.es260.js +7 -5
  446. package/index.es261.js +7 -4
  447. package/index.es262.js +6 -11
  448. package/index.es263.js +15 -10
  449. package/index.es264.js +98 -11
  450. package/index.es265.js +31 -12
  451. package/index.es266.js +9 -12
  452. package/index.es267.js +139 -37
  453. package/index.es268.js +116 -64
  454. package/index.es269.js +98 -10
  455. package/index.es27.js +1 -1
  456. package/index.es270.js +31 -9
  457. package/index.es271.js +9 -8
  458. package/index.es272.js +141 -11
  459. package/index.es273.js +117 -8
  460. package/index.es274.js +68 -8
  461. package/index.es275.js +31 -7
  462. package/index.es276.js +9 -16
  463. package/index.es277.js +153 -13
  464. package/index.es278.js +107 -24
  465. package/index.es279.js +12 -10
  466. package/index.es28.js +33 -33
  467. package/index.es280.js +24 -38
  468. package/index.es281.js +8 -1997
  469. package/index.es282.js +38 -6
  470. package/index.es283.js +1999 -71
  471. package/index.es284.js +6 -24
  472. package/index.es285.js +71 -82
  473. package/index.es286.js +25 -2
  474. package/index.es29.js +9 -9
  475. package/index.es31.js +1 -1
  476. package/index.es33.js +3 -3
  477. package/index.es35.js +6 -6
  478. package/index.es356.js +1 -1
  479. package/index.es36.js +4 -4
  480. package/index.es37.js +5 -5
  481. package/index.es370.js +1 -1
  482. package/index.es374.js +4 -6
  483. package/index.es375.js +56 -15
  484. package/index.es376.js +30 -12
  485. package/index.es377.js +46 -28
  486. package/index.es378.js +66 -4
  487. package/index.es379.js +37 -56
  488. package/index.es38.js +1 -1
  489. package/index.es380.js +13 -25
  490. package/index.es381.js +64 -38
  491. package/index.es382.js +53 -47
  492. package/index.es383.js +58 -21
  493. package/index.es384.js +69 -13
  494. package/index.es385.js +25 -52
  495. package/index.es386.js +26 -52
  496. package/index.es387.js +37 -53
  497. package/index.es388.js +27 -53
  498. package/index.es389.js +38 -37
  499. package/index.es39.js +1 -1
  500. package/index.es390.js +57 -26
  501. package/index.es391.js +58 -39
  502. package/index.es392.js +81 -27
  503. package/index.es393.js +32 -32
  504. package/index.es394.js +31 -62
  505. package/index.es395.js +35 -66
  506. package/index.es396.js +22 -94
  507. package/index.es397.js +22 -39
  508. package/index.es398.js +22 -39
  509. package/index.es399.js +23 -39
  510. package/index.es400.js +21 -22
  511. package/index.es401.js +20 -20
  512. package/index.es402.js +14 -24
  513. package/index.es403.js +38 -23
  514. package/index.es404.js +38 -22
  515. package/index.es405.js +14 -24
  516. package/index.es406.js +14 -14
  517. package/index.es407.js +6 -45
  518. package/index.es408.js +14 -44
  519. package/index.es409.js +12 -19
  520. package/index.es410.js +28 -19
  521. package/index.es42.js +1 -1
  522. package/index.es423.js +4 -12
  523. package/index.es424.js +12 -4
  524. package/index.es425.js +1 -1
  525. package/index.es426.js +1 -1
  526. package/index.es43.js +1 -1
  527. package/index.es44.js +1 -1
  528. package/index.es45.js +2 -2
  529. package/index.es46.js +1 -1
  530. package/index.es47.js +2 -2
  531. package/index.es48.js +9 -9
  532. package/index.es49.js +9 -9
  533. package/index.es51.js +6 -6
  534. package/index.es52.js +183 -177
  535. package/index.es53.js +12 -12
  536. package/index.es54.js +4 -4
  537. package/index.es55.js +13 -13
  538. package/index.es57.js +1 -1
  539. package/index.es58.js +9 -9
  540. package/index.es59.js +1 -1
  541. package/index.es6.js +1 -1
  542. package/index.es60.js +1 -1
  543. package/index.es61.js +4 -4
  544. package/index.es62.js +4 -4
  545. package/index.es63.js +5 -5
  546. package/index.es67.js +1 -1
  547. package/index.es68.js +4 -4
  548. package/index.es7.js +1 -1
  549. package/index.es70.js +4 -4
  550. package/index.es71.js +7 -7
  551. package/index.es73.js +9 -9
  552. package/index.es74.js +5 -5
  553. package/index.es78.js +1 -1
  554. package/index.es79.js +1 -1
  555. package/index.es80.js +1 -1
  556. package/index.es81.js +5 -5
  557. package/index.es82.js +6 -6
  558. package/index.es83.js +1 -1
  559. package/index.es87.js +1 -1
  560. package/index.es9.js +1 -1
  561. package/index.es90.js +1 -1
  562. package/index.es92.js +1 -1
  563. package/index.es96.js +6 -6
  564. package/package.json +1 -1
package/index.es200.js CHANGED
@@ -1,481 +1,52 @@
1
- import { memo as f, notUndefined as v, approxEqual as M, debounce as z } from "./index.es206.js";
2
- const b = (r) => {
3
- const { offsetWidth: h, offsetHeight: t } = r;
4
- return { width: h, height: t };
5
- }, w = (r) => r, I = (r) => {
6
- const h = Math.max(r.startIndex - r.overscan, 0), t = Math.min(r.endIndex + r.overscan, r.count - 1), s = [];
7
- for (let e = h; e <= t; e++)
8
- s.push(e);
9
- return s;
10
- }, A = (r, h) => {
11
- const t = r.scrollElement;
12
- if (!t)
13
- return;
14
- const s = r.targetWindow;
15
- if (!s)
16
- return;
17
- const e = (n) => {
18
- const { width: o, height: a } = n;
19
- h({ width: Math.round(o), height: Math.round(a) });
20
- };
21
- if (e(b(t)), !s.ResizeObserver)
22
- return () => {
23
- };
24
- const i = new s.ResizeObserver((n) => {
25
- const o = () => {
26
- const a = n[0];
27
- if (a != null && a.borderBoxSize) {
28
- const c = a.borderBoxSize[0];
29
- if (c) {
30
- e({ width: c.inlineSize, height: c.blockSize });
31
- return;
32
- }
33
- }
34
- e(b(t));
35
- };
36
- r.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(o) : o();
37
- });
38
- return i.observe(t, { box: "border-box" }), () => {
39
- i.unobserve(t);
40
- };
41
- }, x = {
42
- passive: !0
43
- }, E = typeof window > "u" ? !0 : "onscrollend" in window, F = (r, h) => {
44
- const t = r.scrollElement;
45
- if (!t)
46
- return;
47
- const s = r.targetWindow;
48
- if (!s)
49
- return;
50
- let e = 0;
51
- const i = r.options.useScrollendEvent && E ? () => {
52
- } : z(
53
- s,
54
- () => {
55
- h(e, !1);
56
- },
57
- r.options.isScrollingResetDelay
58
- ), n = (l) => () => {
59
- const { horizontal: d, isRtl: u } = r.options;
60
- e = d ? t.scrollLeft * (u && -1 || 1) : t.scrollTop, i(), h(e, l);
61
- }, o = n(!0), a = n(!1);
62
- a(), t.addEventListener("scroll", o, x);
63
- const c = r.options.useScrollendEvent && E;
64
- return c && t.addEventListener("scrollend", a, x), () => {
65
- t.removeEventListener("scroll", o), c && t.removeEventListener("scrollend", a);
66
- };
67
- }, C = (r, h, t) => {
68
- if (h != null && h.borderBoxSize) {
69
- const s = h.borderBoxSize[0];
70
- if (s)
71
- return Math.round(
72
- s[t.options.horizontal ? "inlineSize" : "blockSize"]
73
- );
1
+ class o extends Error {
2
+ }
3
+ o.prototype.name = "InvalidTokenError";
4
+ function i(t) {
5
+ return decodeURIComponent(atob(t).replace(/(.)/g, (e, r) => {
6
+ let n = r.charCodeAt(0).toString(16).toUpperCase();
7
+ return n.length < 2 && (n = "0" + n), "%" + n;
8
+ }));
9
+ }
10
+ function s(t) {
11
+ let e = t.replace(/-/g, "+").replace(/_/g, "/");
12
+ switch (e.length % 4) {
13
+ case 0:
14
+ break;
15
+ case 2:
16
+ e += "==";
17
+ break;
18
+ case 3:
19
+ e += "=";
20
+ break;
21
+ default:
22
+ throw new Error("base64 string is not of the correct length");
74
23
  }
75
- return r[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
76
- }, N = (r, {
77
- adjustments: h = 0,
78
- behavior: t
79
- }, s) => {
80
- var e, i;
81
- const n = r + h;
82
- (i = (e = s.scrollElement) == null ? void 0 : e.scrollTo) == null || i.call(e, {
83
- [s.options.horizontal ? "left" : "top"]: n,
84
- behavior: t
85
- });
86
- };
87
- class W {
88
- constructor(h) {
89
- this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.measurementsCache = [], this.itemSizeCache = /* @__PURE__ */ new Map(), this.pendingMeasuredCacheIndexes = [], this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this.elementsCache = /* @__PURE__ */ new Map(), this.observer = /* @__PURE__ */ (() => {
90
- let t = null;
91
- const s = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((e) => {
92
- e.forEach((i) => {
93
- const n = () => {
94
- this._measureElement(i.target, i);
95
- };
96
- this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(n) : n();
97
- });
98
- }));
99
- return {
100
- disconnect: () => {
101
- var e;
102
- (e = s()) == null || e.disconnect(), t = null;
103
- },
104
- observe: (e) => {
105
- var i;
106
- return (i = s()) == null ? void 0 : i.observe(e, { box: "border-box" });
107
- },
108
- unobserve: (e) => {
109
- var i;
110
- return (i = s()) == null ? void 0 : i.unobserve(e);
111
- }
112
- };
113
- })(), this.range = null, this.setOptions = (t) => {
114
- Object.entries(t).forEach(([s, e]) => {
115
- typeof e > "u" && delete t[s];
116
- }), this.options = {
117
- debug: !1,
118
- initialOffset: 0,
119
- overscan: 1,
120
- paddingStart: 0,
121
- paddingEnd: 0,
122
- scrollPaddingStart: 0,
123
- scrollPaddingEnd: 0,
124
- horizontal: !1,
125
- getItemKey: w,
126
- rangeExtractor: I,
127
- onChange: () => {
128
- },
129
- measureElement: C,
130
- initialRect: { width: 0, height: 0 },
131
- scrollMargin: 0,
132
- gap: 0,
133
- indexAttribute: "data-index",
134
- initialMeasurementsCache: [],
135
- lanes: 1,
136
- isScrollingResetDelay: 150,
137
- enabled: !0,
138
- isRtl: !1,
139
- useScrollendEvent: !1,
140
- useAnimationFrameWithResizeObserver: !1,
141
- ...t
142
- };
143
- }, this.notify = (t) => {
144
- var s, e;
145
- (e = (s = this.options).onChange) == null || e.call(s, this, t);
146
- }, this.maybeNotify = f(
147
- () => (this.calculateRange(), [
148
- this.isScrolling,
149
- this.range ? this.range.startIndex : null,
150
- this.range ? this.range.endIndex : null
151
- ]),
152
- (t) => {
153
- this.notify(t);
154
- },
155
- {
156
- key: process.env.NODE_ENV !== "production" && "maybeNotify",
157
- debug: () => this.options.debug,
158
- initialDeps: [
159
- this.isScrolling,
160
- this.range ? this.range.startIndex : null,
161
- this.range ? this.range.endIndex : null
162
- ]
163
- }
164
- ), this.cleanup = () => {
165
- this.unsubs.filter(Boolean).forEach((t) => t()), this.unsubs = [], this.observer.disconnect(), this.scrollElement = null, this.targetWindow = null;
166
- }, this._didMount = () => () => {
167
- this.cleanup();
168
- }, this._willUpdate = () => {
169
- var t;
170
- const s = this.options.enabled ? this.options.getScrollElement() : null;
171
- if (this.scrollElement !== s) {
172
- if (this.cleanup(), !s) {
173
- this.maybeNotify();
174
- return;
175
- }
176
- this.scrollElement = s, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((t = this.scrollElement) == null ? void 0 : t.window) ?? null, this.elementsCache.forEach((e) => {
177
- this.observer.observe(e);
178
- }), this._scrollToOffset(this.getScrollOffset(), {
179
- adjustments: void 0,
180
- behavior: void 0
181
- }), this.unsubs.push(
182
- this.options.observeElementRect(this, (e) => {
183
- this.scrollRect = e, this.maybeNotify();
184
- })
185
- ), this.unsubs.push(
186
- this.options.observeElementOffset(this, (e, i) => {
187
- this.scrollAdjustments = 0, this.scrollDirection = i ? this.getScrollOffset() < e ? "forward" : "backward" : null, this.scrollOffset = e, this.isScrolling = i, this.maybeNotify();
188
- })
189
- );
190
- }
191
- }, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getFurthestMeasurement = (t, s) => {
192
- const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
193
- for (let n = s - 1; n >= 0; n--) {
194
- const o = t[n];
195
- if (e.has(o.lane))
196
- continue;
197
- const a = i.get(
198
- o.lane
199
- );
200
- if (a == null || o.end > a.end ? i.set(o.lane, o) : o.end < a.end && e.set(o.lane, !0), e.size === this.options.lanes)
201
- break;
202
- }
203
- return i.size === this.options.lanes ? Array.from(i.values()).sort((n, o) => n.end === o.end ? n.index - o.index : n.end - o.end)[0] : void 0;
204
- }, this.getMeasurementOptions = f(
205
- () => [
206
- this.options.count,
207
- this.options.paddingStart,
208
- this.options.scrollMargin,
209
- this.options.getItemKey,
210
- this.options.enabled
211
- ],
212
- (t, s, e, i, n) => (this.pendingMeasuredCacheIndexes = [], {
213
- count: t,
214
- paddingStart: s,
215
- scrollMargin: e,
216
- getItemKey: i,
217
- enabled: n
218
- }),
219
- {
220
- key: !1
221
- }
222
- ), this.getMeasurements = f(
223
- () => [this.getMeasurementOptions(), this.itemSizeCache],
224
- ({ count: t, paddingStart: s, scrollMargin: e, getItemKey: i, enabled: n }, o) => {
225
- if (!n)
226
- return this.measurementsCache = [], this.itemSizeCache.clear(), [];
227
- this.measurementsCache.length === 0 && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((l) => {
228
- this.itemSizeCache.set(l.key, l.size);
229
- }));
230
- const a = this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
231
- this.pendingMeasuredCacheIndexes = [];
232
- const c = this.measurementsCache.slice(0, a);
233
- for (let l = a; l < t; l++) {
234
- const d = i(l), u = this.options.lanes === 1 ? c[l - 1] : this.getFurthestMeasurement(c, l), g = u ? u.end + this.options.gap : s + e, m = o.get(d), p = typeof m == "number" ? m : this.options.estimateSize(l), O = g + p, y = u ? u.lane : l % this.options.lanes;
235
- c[l] = {
236
- index: l,
237
- start: g,
238
- size: p,
239
- end: O,
240
- key: d,
241
- lane: y
242
- };
243
- }
244
- return this.measurementsCache = c, c;
245
- },
246
- {
247
- key: process.env.NODE_ENV !== "production" && "getMeasurements",
248
- debug: () => this.options.debug
249
- }
250
- ), this.calculateRange = f(
251
- () => [
252
- this.getMeasurements(),
253
- this.getSize(),
254
- this.getScrollOffset(),
255
- this.options.lanes
256
- ],
257
- (t, s, e, i) => this.range = t.length > 0 && s > 0 ? R({
258
- measurements: t,
259
- outerSize: s,
260
- scrollOffset: e,
261
- lanes: i
262
- }) : null,
263
- {
264
- key: process.env.NODE_ENV !== "production" && "calculateRange",
265
- debug: () => this.options.debug
266
- }
267
- ), this.getVirtualIndexes = f(
268
- () => {
269
- let t = null, s = null;
270
- const e = this.calculateRange();
271
- return e && (t = e.startIndex, s = e.endIndex), this.maybeNotify.updateDeps([this.isScrolling, t, s]), [
272
- this.options.rangeExtractor,
273
- this.options.overscan,
274
- this.options.count,
275
- t,
276
- s
277
- ];
278
- },
279
- (t, s, e, i, n) => i === null || n === null ? [] : t({
280
- startIndex: i,
281
- endIndex: n,
282
- overscan: s,
283
- count: e
284
- }),
285
- {
286
- key: process.env.NODE_ENV !== "production" && "getVirtualIndexes",
287
- debug: () => this.options.debug
288
- }
289
- ), this.indexFromElement = (t) => {
290
- const s = this.options.indexAttribute, e = t.getAttribute(s);
291
- return e ? parseInt(e, 10) : -1;
292
- }, this._measureElement = (t, s) => {
293
- const e = this.indexFromElement(t), i = this.measurementsCache[e];
294
- if (!i)
295
- return;
296
- const n = i.key, o = this.elementsCache.get(n);
297
- o !== t && (o && this.observer.unobserve(o), this.observer.observe(t), this.elementsCache.set(n, t)), t.isConnected && this.resizeItem(e, this.options.measureElement(t, s, this));
298
- }, this.resizeItem = (t, s) => {
299
- const e = this.measurementsCache[t];
300
- if (!e)
301
- return;
302
- const i = this.itemSizeCache.get(e.key) ?? e.size, n = s - i;
303
- n !== 0 && ((this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(e, n, this) : e.start < this.getScrollOffset() + this.scrollAdjustments) && (process.env.NODE_ENV !== "production" && this.options.debug, this._scrollToOffset(this.getScrollOffset(), {
304
- adjustments: this.scrollAdjustments += n,
305
- behavior: void 0
306
- })), this.pendingMeasuredCacheIndexes.push(e.index), this.itemSizeCache = new Map(this.itemSizeCache.set(e.key, s)), this.notify(!1));
307
- }, this.measureElement = (t) => {
308
- if (!t) {
309
- this.elementsCache.forEach((s, e) => {
310
- s.isConnected || (this.observer.unobserve(s), this.elementsCache.delete(e));
311
- });
312
- return;
313
- }
314
- this._measureElement(t, void 0);
315
- }, this.getVirtualItems = f(
316
- () => [this.getVirtualIndexes(), this.getMeasurements()],
317
- (t, s) => {
318
- const e = [];
319
- for (let i = 0, n = t.length; i < n; i++) {
320
- const o = t[i], a = s[o];
321
- e.push(a);
322
- }
323
- return e;
324
- },
325
- {
326
- key: process.env.NODE_ENV !== "production" && "getVirtualItems",
327
- debug: () => this.options.debug
328
- }
329
- ), this.getVirtualItemForOffset = (t) => {
330
- const s = this.getMeasurements();
331
- if (s.length !== 0)
332
- return v(
333
- s[S(
334
- 0,
335
- s.length - 1,
336
- (e) => v(s[e]).start,
337
- t
338
- )]
339
- );
340
- }, this.getOffsetForAlignment = (t, s, e = 0) => {
341
- const i = this.getSize(), n = this.getScrollOffset();
342
- s === "auto" && (s = t >= n + i ? "end" : "start"), s === "center" ? t += (e - i) / 2 : s === "end" && (t -= i);
343
- const o = this.getTotalSize() + this.options.scrollMargin - i;
344
- return Math.max(Math.min(o, t), 0);
345
- }, this.getOffsetForIndex = (t, s = "auto") => {
346
- t = Math.max(0, Math.min(t, this.options.count - 1));
347
- const e = this.measurementsCache[t];
348
- if (!e)
349
- return;
350
- const i = this.getSize(), n = this.getScrollOffset();
351
- if (s === "auto")
352
- if (e.end >= n + i - this.options.scrollPaddingEnd)
353
- s = "end";
354
- else if (e.start <= n + this.options.scrollPaddingStart)
355
- s = "start";
356
- else
357
- return [n, s];
358
- const o = s === "end" ? e.end + this.options.scrollPaddingEnd : e.start - this.options.scrollPaddingStart;
359
- return [
360
- this.getOffsetForAlignment(o, s, e.size),
361
- s
362
- ];
363
- }, this.isDynamicMode = () => this.elementsCache.size > 0, this.scrollToOffset = (t, { align: s = "start", behavior: e } = {}) => {
364
- e === "smooth" && this.isDynamicMode(), this._scrollToOffset(this.getOffsetForAlignment(t, s), {
365
- adjustments: void 0,
366
- behavior: e
367
- });
368
- }, this.scrollToIndex = (t, { align: s = "auto", behavior: e } = {}) => {
369
- e === "smooth" && this.isDynamicMode(), t = Math.max(0, Math.min(t, this.options.count - 1));
370
- let i = 0;
371
- const n = 10, o = (c) => {
372
- if (!this.targetWindow) return;
373
- const l = this.getOffsetForIndex(t, c);
374
- if (!l)
375
- return;
376
- const [d, u] = l;
377
- this._scrollToOffset(d, { adjustments: void 0, behavior: e }), this.targetWindow.requestAnimationFrame(() => {
378
- const g = this.getScrollOffset(), m = this.getOffsetForIndex(t, u);
379
- m && (M(m[0], g) || a(u));
380
- });
381
- }, a = (c) => {
382
- this.targetWindow && (i++, i < n && (process.env.NODE_ENV !== "production" && this.options.debug, this.targetWindow.requestAnimationFrame(() => o(c))));
383
- };
384
- o(s);
385
- }, this.scrollBy = (t, { behavior: s } = {}) => {
386
- s === "smooth" && this.isDynamicMode(), this._scrollToOffset(this.getScrollOffset() + t, {
387
- adjustments: void 0,
388
- behavior: s
389
- });
390
- }, this.getTotalSize = () => {
391
- var t;
392
- const s = this.getMeasurements();
393
- let e;
394
- if (s.length === 0)
395
- e = this.options.paddingStart;
396
- else if (this.options.lanes === 1)
397
- e = ((t = s[s.length - 1]) == null ? void 0 : t.end) ?? 0;
398
- else {
399
- const i = Array(this.options.lanes).fill(null);
400
- let n = s.length - 1;
401
- for (; n >= 0 && i.some((o) => o === null); ) {
402
- const o = s[n];
403
- i[o.lane] === null && (i[o.lane] = o.end), n--;
404
- }
405
- e = Math.max(...i.filter((o) => o !== null));
406
- }
407
- return Math.max(
408
- e - this.options.scrollMargin + this.options.paddingEnd,
409
- 0
410
- );
411
- }, this._scrollToOffset = (t, {
412
- adjustments: s,
413
- behavior: e
414
- }) => {
415
- this.options.scrollToFn(t, { behavior: e, adjustments: s }, this);
416
- }, this.measure = () => {
417
- this.itemSizeCache = /* @__PURE__ */ new Map(), this.notify(!1);
418
- }, this.setOptions(h);
24
+ try {
25
+ return i(e);
26
+ } catch {
27
+ return atob(e);
419
28
  }
420
29
  }
421
- const S = (r, h, t, s) => {
422
- for (; r <= h; ) {
423
- const e = (r + h) / 2 | 0, i = t(e);
424
- if (i < s)
425
- r = e + 1;
426
- else if (i > s)
427
- h = e - 1;
428
- else
429
- return e;
30
+ function d(t, e) {
31
+ if (typeof t != "string")
32
+ throw new o("Invalid token specified: must be a string");
33
+ e || (e = {});
34
+ const r = e.header === !0 ? 0 : 1, n = t.split(".")[r];
35
+ if (typeof n != "string")
36
+ throw new o(`Invalid token specified: missing part #${r + 1}`);
37
+ let c;
38
+ try {
39
+ c = s(n);
40
+ } catch (a) {
41
+ throw new o(`Invalid token specified: invalid base64 for part #${r + 1} (${a.message})`);
430
42
  }
431
- return r > 0 ? r - 1 : 0;
432
- };
433
- function R({
434
- measurements: r,
435
- outerSize: h,
436
- scrollOffset: t,
437
- lanes: s
438
- }) {
439
- const e = r.length - 1, i = (a) => r[a].start;
440
- if (r.length <= s)
441
- return {
442
- startIndex: 0,
443
- endIndex: e
444
- };
445
- let n = S(
446
- 0,
447
- e,
448
- i,
449
- t
450
- ), o = n;
451
- if (s === 1)
452
- for (; o < e && r[o].end < t + h; )
453
- o++;
454
- else if (s > 1) {
455
- const a = Array(s).fill(0);
456
- for (; o < e && a.some((l) => l < t + h); ) {
457
- const l = r[o];
458
- a[l.lane] = l.end, o++;
459
- }
460
- const c = Array(s).fill(t + h);
461
- for (; n >= 0 && c.some((l) => l >= t); ) {
462
- const l = r[n];
463
- c[l.lane] = l.start, n--;
464
- }
465
- n = Math.max(0, n - n % s), o = Math.min(e, o + (s - 1 - o % s));
43
+ try {
44
+ return JSON.parse(c);
45
+ } catch (a) {
46
+ throw new o(`Invalid token specified: invalid json for part #${r + 1} (${a.message})`);
466
47
  }
467
- return { startIndex: n, endIndex: o };
468
48
  }
469
49
  export {
470
- W as Virtualizer,
471
- M as approxEqual,
472
- z as debounce,
473
- w as defaultKeyExtractor,
474
- I as defaultRangeExtractor,
475
- N as elementScroll,
476
- C as measureElement,
477
- f as memo,
478
- v as notUndefined,
479
- F as observeElementOffset,
480
- A as observeElementRect
50
+ o as InvalidTokenError,
51
+ d as jwtDecode
481
52
  };
package/index.es202.js CHANGED
@@ -1,35 +1,33 @@
1
- function y(n) {
2
- return Object.prototype.toString.call(n) === "[object Object]";
3
- }
4
- function a(n) {
5
- return y(n) || Array.isArray(n);
6
- }
7
- function p() {
8
- return !!(typeof window < "u" && window.document && window.document.createElement);
9
- }
10
- function l(n, t) {
11
- const e = Object.keys(n), c = Object.keys(t);
12
- if (e.length !== c.length) return !1;
13
- const s = JSON.stringify(Object.keys(n.breakpoints || {})), u = JSON.stringify(Object.keys(t.breakpoints || {}));
14
- return s !== u ? !1 : e.every((o) => {
15
- const r = n[o], i = t[o];
16
- return typeof r == "function" ? `${r}` == `${i}` : !a(r) || !a(i) ? r === i : l(r, i);
17
- });
18
- }
19
- function f(n) {
20
- return n.concat().sort((t, e) => t.name > e.name ? 1 : -1).map((t) => t.options);
21
- }
22
- function O(n, t) {
23
- if (n.length !== t.length) return !1;
24
- const e = f(n), c = f(t);
25
- return e.every((s, u) => {
26
- const o = c[u];
27
- return l(s, o);
28
- });
29
- }
1
+ import { forwardRef as f, createElement as e } from "react";
2
+ import l from "./index.es203.js";
3
+ const b = (a, s) => {
4
+ const r = f(
5
+ ({
6
+ color: p = "currentColor",
7
+ size: o = 24,
8
+ strokeWidth: d = 2,
9
+ absoluteStrokeWidth: h,
10
+ className: m = "",
11
+ children: t,
12
+ ...n
13
+ }, i) => e(
14
+ "svg",
15
+ {
16
+ ref: i,
17
+ ...l,
18
+ width: o,
19
+ height: o,
20
+ className: [m].join(" "),
21
+ ...n
22
+ },
23
+ [
24
+ ...s.map(([u, c]) => e(u, c)),
25
+ ...Array.isArray(t) ? t : [t]
26
+ ]
27
+ )
28
+ );
29
+ return r.displayName = `${a}`, r;
30
+ };
30
31
  export {
31
- l as areOptionsEqual,
32
- O as arePluginsEqual,
33
- p as canUseDOM,
34
- f as sortAndMapPluginToOptions
32
+ b as default
35
33
  };