mada-design-system 0.2.2 → 0.2.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 (705) hide show
  1. package/index.cjs.js +1 -1
  2. package/index.cjs10.js +1 -1
  3. package/index.cjs100.js +1 -1
  4. package/index.cjs101.js +5 -1
  5. package/index.cjs102.js +1 -1
  6. package/index.cjs103.js +1 -1
  7. package/index.cjs104.js +1 -1
  8. package/index.cjs105.js +1 -1
  9. package/index.cjs106.js +1 -1
  10. package/index.cjs107.js +1 -1
  11. package/index.cjs108.js +1 -5
  12. package/index.cjs109.js +1 -1
  13. package/index.cjs110.js +1 -1
  14. package/index.cjs111.js +1 -1
  15. package/index.cjs112.js +1 -1
  16. package/index.cjs113.js +1 -1
  17. package/index.cjs114.js +4 -1
  18. package/index.cjs115.js +1 -1
  19. package/index.cjs116.js +2 -1
  20. package/index.cjs117.js +1 -1
  21. package/index.cjs118.js +2 -1
  22. package/index.cjs119.js +1 -1
  23. package/index.cjs12.js +1 -1
  24. package/index.cjs120.js +1 -1
  25. package/index.cjs121.js +1 -1
  26. package/index.cjs122.js +1 -2
  27. package/index.cjs123.js +1 -1
  28. package/index.cjs124.js +1 -2
  29. package/index.cjs125.js +1 -1
  30. package/index.cjs126.js +20 -1
  31. package/index.cjs127.js +1 -1
  32. package/index.cjs128.js +1 -1
  33. package/index.cjs129.js +1 -1
  34. package/index.cjs13.js +1 -1
  35. package/index.cjs130.js +1 -1
  36. package/index.cjs131.js +1 -1
  37. package/index.cjs132.js +1 -20
  38. package/index.cjs133.js +1 -1
  39. package/index.cjs134.js +1 -1
  40. package/index.cjs135.js +1 -1
  41. package/index.cjs136.js +1 -1
  42. package/index.cjs137.js +1 -1
  43. package/index.cjs138.js +1 -1
  44. package/index.cjs139.js +1 -1
  45. package/index.cjs140.js +1 -1
  46. package/index.cjs141.js +1 -1
  47. package/index.cjs142.js +1 -1
  48. package/index.cjs143.js +1 -1
  49. package/index.cjs144.js +1 -1
  50. package/index.cjs145.js +1 -1
  51. package/index.cjs146.js +1 -1
  52. package/index.cjs147.js +1 -1
  53. package/index.cjs148.js +1 -1
  54. package/index.cjs149.js +1 -1
  55. package/index.cjs15.js +1 -1
  56. package/index.cjs150.js +1 -1
  57. package/index.cjs151.js +1 -1
  58. package/index.cjs152.js +1 -1
  59. package/index.cjs153.js +1 -1
  60. package/index.cjs154.js +1 -1
  61. package/index.cjs155.js +1 -1
  62. package/index.cjs156.js +1 -1
  63. package/index.cjs157.js +1 -1
  64. package/index.cjs158.js +1 -1
  65. package/index.cjs159.js +1 -1
  66. package/index.cjs160.js +1 -1
  67. package/index.cjs161.js +1 -1
  68. package/index.cjs162.js +1 -1
  69. package/index.cjs163.js +1 -1
  70. package/index.cjs164.js +1 -1
  71. package/index.cjs165.js +1 -1
  72. package/index.cjs166.js +1 -1
  73. package/index.cjs167.js +1 -1
  74. package/index.cjs168.js +1 -1
  75. package/index.cjs169.js +1 -1
  76. package/index.cjs17.js +1 -1
  77. package/index.cjs170.js +1 -1
  78. package/index.cjs171.js +1 -1
  79. package/index.cjs172.js +1 -1
  80. package/index.cjs173.js +1 -4
  81. package/index.cjs174.js +1 -1
  82. package/index.cjs175.js +1 -1
  83. package/index.cjs176.js +1 -1
  84. package/index.cjs177.js +1 -1
  85. package/index.cjs178.js +1 -1
  86. package/index.cjs179.js +1 -1
  87. package/index.cjs180.js +1 -1
  88. package/index.cjs181.js +1 -1
  89. package/index.cjs182.js +1 -1
  90. package/index.cjs183.js +4 -1
  91. package/index.cjs184.js +1 -1
  92. package/index.cjs185.js +1 -1
  93. package/index.cjs186.js +1 -1
  94. package/index.cjs187.js +1 -1
  95. package/index.cjs188.js +1 -1
  96. package/index.cjs189.js +1 -1
  97. package/index.cjs190.js +1 -1
  98. package/index.cjs191.js +3 -1
  99. package/index.cjs192.js +1 -1
  100. package/index.cjs193.js +1 -1
  101. package/index.cjs194.js +1 -1
  102. package/index.cjs195.js +1 -1
  103. package/index.cjs196.js +1 -1
  104. package/index.cjs197.js +1 -1
  105. package/index.cjs198.js +1 -1
  106. package/index.cjs199.js +1 -1
  107. package/index.cjs20.js +1 -1
  108. package/index.cjs200.js +1 -1
  109. package/index.cjs201.js +1 -1
  110. package/index.cjs202.js +1 -1
  111. package/index.cjs203.js +1 -1
  112. package/index.cjs204.js +1 -1
  113. package/index.cjs205.js +1 -1
  114. package/index.cjs206.js +1 -1
  115. package/index.cjs207.js +1 -1
  116. package/index.cjs208.js +1 -1
  117. package/index.cjs209.js +1 -1
  118. package/index.cjs21.js +1 -1
  119. package/index.cjs210.js +1 -1
  120. package/index.cjs211.js +1 -1
  121. package/index.cjs212.js +1 -1
  122. package/index.cjs213.js +1 -1
  123. package/index.cjs214.js +1 -3
  124. package/index.cjs215.js +1 -1
  125. package/index.cjs216.js +1 -1
  126. package/index.cjs217.js +1 -1
  127. package/index.cjs218.js +1 -1
  128. package/index.cjs219.js +1 -1
  129. package/index.cjs22.js +1 -1
  130. package/index.cjs220.js +1 -1
  131. package/index.cjs221.js +1 -1
  132. package/index.cjs222.js +1 -1
  133. package/index.cjs223.js +1 -1
  134. package/index.cjs224.js +1 -1
  135. package/index.cjs225.js +1 -1
  136. package/index.cjs226.js +1 -1
  137. package/index.cjs227.js +1 -1
  138. package/index.cjs228.js +1 -1
  139. package/index.cjs229.js +1 -1
  140. package/index.cjs23.js +1 -1
  141. package/index.cjs230.js +2 -1
  142. package/index.cjs231.js +1 -1
  143. package/index.cjs232.js +1 -1
  144. package/index.cjs233.js +1 -1
  145. package/index.cjs234.js +1 -1
  146. package/index.cjs235.js +1 -1
  147. package/index.cjs236.js +1 -1
  148. package/index.cjs237.js +1 -1
  149. package/index.cjs238.js +1 -1
  150. package/index.cjs239.js +1 -1
  151. package/index.cjs240.js +1 -1
  152. package/index.cjs241.js +1 -2
  153. package/index.cjs242.js +1 -1
  154. package/index.cjs243.js +1 -1
  155. package/index.cjs244.js +1 -1
  156. package/index.cjs245.js +1 -1
  157. package/index.cjs246.js +2 -1
  158. package/index.cjs247.js +1 -1
  159. package/index.cjs248.js +1 -1
  160. package/index.cjs249.js +1 -1
  161. package/index.cjs25.js +1 -1
  162. package/index.cjs250.js +1 -1
  163. package/index.cjs251.js +1 -1
  164. package/index.cjs252.js +1 -1
  165. package/index.cjs253.js +1 -1
  166. package/index.cjs254.js +1 -1
  167. package/index.cjs255.js +1 -1
  168. package/index.cjs256.js +1 -1
  169. package/index.cjs257.js +1 -2
  170. package/index.cjs258.js +1 -1
  171. package/index.cjs259.js +1 -1
  172. package/index.cjs260.js +1 -1
  173. package/index.cjs261.js +1 -1
  174. package/index.cjs262.js +1 -1
  175. package/index.cjs263.js +1 -1
  176. package/index.cjs264.js +15 -1
  177. package/index.cjs265.js +1 -1
  178. package/index.cjs266.js +1 -1
  179. package/index.cjs267.js +1 -1
  180. package/index.cjs268.js +1 -1
  181. package/index.cjs269.js +1 -15
  182. package/index.cjs27.js +1 -1
  183. package/index.cjs270.js +1 -1
  184. package/index.cjs271.js +1 -1
  185. package/index.cjs272.js +1 -1
  186. package/index.cjs273.js +1 -1
  187. package/index.cjs274.js +1 -1
  188. package/index.cjs275.js +1 -1
  189. package/index.cjs276.js +1 -1
  190. package/index.cjs277.js +1 -1
  191. package/index.cjs278.js +1 -1
  192. package/index.cjs279.js +1 -1
  193. package/index.cjs28.js +1 -1
  194. package/index.cjs280.js +1 -1
  195. package/index.cjs281.js +1 -1
  196. package/index.cjs282.js +1 -1
  197. package/index.cjs283.js +3 -1
  198. package/index.cjs284.js +1 -1
  199. package/index.cjs285.js +1 -1
  200. package/index.cjs286.js +1 -1
  201. package/index.cjs287.js +1 -1
  202. package/index.cjs288.js +1 -1
  203. package/index.cjs289.js +1 -1
  204. package/index.cjs29.js +1 -1
  205. package/index.cjs290.js +1 -1
  206. package/index.cjs291.js +1 -1
  207. package/index.cjs292.js +1 -1
  208. package/index.cjs293.js +1 -1
  209. package/index.cjs294.js +1 -1
  210. package/index.cjs295.js +1 -3
  211. package/index.cjs296.js +1 -1
  212. package/index.cjs297.js +1 -1
  213. package/index.cjs298.js +1 -1
  214. package/index.cjs299.js +1 -1
  215. package/index.cjs30.js +1 -1
  216. package/index.cjs300.js +1 -1
  217. package/index.cjs301.js +1 -1
  218. package/index.cjs302.js +1 -1
  219. package/index.cjs303.js +1 -1
  220. package/index.cjs304.js +1 -1
  221. package/index.cjs305.js +1 -1
  222. package/index.cjs306.js +1 -1
  223. package/index.cjs307.js +1 -1
  224. package/index.cjs308.js +1 -1
  225. package/index.cjs309.js +1 -1
  226. package/index.cjs31.js +1 -1
  227. package/index.cjs310.js +1 -1
  228. package/index.cjs311.js +1 -1
  229. package/index.cjs312.js +1 -1
  230. package/index.cjs313.js +1 -1
  231. package/index.cjs314.js +1 -1
  232. package/index.cjs315.js +1 -1
  233. package/index.cjs316.js +1 -1
  234. package/index.cjs317.js +1 -1
  235. package/index.cjs318.js +1 -1
  236. package/index.cjs319.js +1 -1
  237. package/index.cjs32.js +1 -1
  238. package/index.cjs320.js +1 -1
  239. package/index.cjs321.js +1 -1
  240. package/index.cjs322.js +1 -1
  241. package/index.cjs323.js +1 -1
  242. package/index.cjs324.js +1 -1
  243. package/index.cjs325.js +1 -1
  244. package/index.cjs326.js +1 -1
  245. package/index.cjs327.js +1 -1
  246. package/index.cjs328.js +1 -1
  247. package/index.cjs329.js +1 -1
  248. package/index.cjs330.js +1 -1
  249. package/index.cjs331.js +1 -1
  250. package/index.cjs332.js +1 -1
  251. package/index.cjs333.js +1 -1
  252. package/index.cjs334.js +1 -1
  253. package/index.cjs335.js +1 -1
  254. package/index.cjs336.js +1 -1
  255. package/index.cjs337.js +1 -1
  256. package/index.cjs338.js +1 -1
  257. package/index.cjs339.js +1 -1
  258. package/index.cjs340.js +1 -1
  259. package/index.cjs341.js +1 -1
  260. package/index.cjs342.js +1 -1
  261. package/index.cjs343.js +1 -1
  262. package/index.cjs344.js +1 -1
  263. package/index.cjs345.js +1 -1
  264. package/index.cjs346.js +1 -1
  265. package/index.cjs347.js +1 -1
  266. package/index.cjs348.js +1 -1
  267. package/index.cjs349.js +1 -1
  268. package/index.cjs35.js +1 -1
  269. package/index.cjs350.js +1 -1
  270. package/index.cjs351.js +1 -1
  271. package/index.cjs352.js +1 -1
  272. package/index.cjs353.js +1 -1
  273. package/index.cjs354.js +1 -1
  274. package/index.cjs355.js +1 -1
  275. package/index.cjs356.js +1 -1
  276. package/index.cjs357.js +1 -1
  277. package/index.cjs358.js +1 -1
  278. package/index.cjs359.js +2 -1
  279. package/index.cjs36.js +1 -1
  280. package/index.cjs360.js +1 -1
  281. package/index.cjs361.js +1 -1
  282. package/index.cjs362.js +1 -1
  283. package/index.cjs363.js +1 -1
  284. package/index.cjs364.js +1 -1
  285. package/index.cjs365.js +1 -2
  286. package/index.cjs366.js +1 -1
  287. package/index.cjs367.js +1 -1
  288. package/index.cjs368.js +1 -1
  289. package/index.cjs369.js +1 -1
  290. package/index.cjs37.js +1 -1
  291. package/index.cjs370.js +1 -1
  292. package/index.cjs371.js +1 -1
  293. package/index.cjs372.js +1 -1
  294. package/index.cjs373.js +1 -1
  295. package/index.cjs374.js +1 -1
  296. package/index.cjs375.js +1 -1
  297. package/index.cjs376.js +74 -1
  298. package/index.cjs377.js +1 -74
  299. package/index.cjs378.js +1 -1
  300. package/index.cjs379.js +1 -1
  301. package/index.cjs38.js +1 -1
  302. package/index.cjs380.js +1 -1
  303. package/index.cjs381.js +1 -1
  304. package/index.cjs382.js +1 -1
  305. package/index.cjs39.js +1 -1
  306. package/index.cjs397.js +1 -1
  307. package/index.cjs399.js +1 -1
  308. package/index.cjs4.js +1 -1
  309. package/index.cjs40.js +1 -1
  310. package/index.cjs41.js +2 -2
  311. package/index.cjs43.js +1 -1
  312. package/index.cjs44.js +1 -1
  313. package/index.cjs45.js +1 -1
  314. package/index.cjs46.js +1 -1
  315. package/index.cjs47.js +1 -1
  316. package/index.cjs49.js +1 -1
  317. package/index.cjs50.js +1 -1
  318. package/index.cjs51.js +1 -1
  319. package/index.cjs54.js +1 -1
  320. package/index.cjs56.js +1 -1
  321. package/index.cjs57.js +3 -3
  322. package/index.cjs59.js +1 -1
  323. package/index.cjs60.js +1 -1
  324. package/index.cjs65.js +1 -1
  325. package/index.cjs66.js +1 -1
  326. package/index.cjs67.js +1 -1
  327. package/index.cjs68.js +1 -1
  328. package/index.cjs69.js +1 -1
  329. package/index.cjs7.js +1 -1
  330. package/index.cjs73.js +1 -1
  331. package/index.cjs75.js +1 -1
  332. package/index.cjs76.js +1 -1
  333. package/index.cjs79.js +1 -1
  334. package/index.cjs8.js +1 -1
  335. package/index.cjs80.js +1 -1
  336. package/index.cjs81.js +1 -1
  337. package/index.cjs82.js +1 -1
  338. package/index.cjs83.js +1 -1
  339. package/index.cjs86.js +1 -1
  340. package/index.cjs9.js +1 -1
  341. package/index.cjs90.js +1 -1
  342. package/index.cjs92.js +1 -1
  343. package/index.cjs93.js +1 -1
  344. package/index.cjs94.js +1 -1
  345. package/index.cjs95.js +1 -1
  346. package/index.cjs96.js +1 -4
  347. package/index.cjs97.js +1 -1
  348. package/index.cjs98.js +1 -1
  349. package/index.cjs99.js +1 -1
  350. package/index.es.d.ts +45 -25
  351. package/index.es.js +261 -256
  352. package/index.es10.js +3 -3
  353. package/index.es100.js +35 -22
  354. package/index.es101.js +2581 -124
  355. package/index.es102.js +322 -6
  356. package/index.es103.js +5 -5
  357. package/index.es104.js +10 -87
  358. package/index.es105.js +11 -24
  359. package/index.es106.js +8 -1709
  360. package/index.es107.js +33 -35
  361. package/index.es108.js +38 -2596
  362. package/index.es109.js +10 -321
  363. package/index.es110.js +5 -5
  364. package/index.es111.js +4 -4
  365. package/index.es112.js +5 -5
  366. package/index.es113.js +10 -7
  367. package/index.es114.js +2567 -31
  368. package/index.es115.js +142 -39
  369. package/index.es116.js +117 -11
  370. package/index.es117.js +137 -11
  371. package/index.es118.js +223 -11
  372. package/index.es119.js +516 -11
  373. package/index.es12.js +3 -3
  374. package/index.es120.js +310 -11
  375. package/index.es121.js +12 -142
  376. package/index.es122.js +11 -117
  377. package/index.es123.js +11 -137
  378. package/index.es124.js +11 -223
  379. package/index.es125.js +11 -516
  380. package/index.es126.js +193 -298
  381. package/index.es127.js +4 -4
  382. package/index.es128.js +4 -10
  383. package/index.es129.js +5 -5
  384. package/index.es13.js +2 -2
  385. package/index.es130.js +5 -5
  386. package/index.es131.js +5 -5
  387. package/index.es132.js +11 -205
  388. package/index.es133.js +5 -5
  389. package/index.es134.js +10 -4
  390. package/index.es135.js +5 -5
  391. package/index.es136.js +2 -11
  392. package/index.es137.js +2 -11
  393. package/index.es138.js +2 -11
  394. package/index.es139.js +2 -11
  395. package/index.es140.js +2 -11
  396. package/index.es141.js +2 -11
  397. package/index.es142.js +11 -2
  398. package/index.es143.js +11 -2
  399. package/index.es144.js +11 -2
  400. package/index.es145.js +11 -2
  401. package/index.es146.js +3 -2
  402. package/index.es147.js +11 -2
  403. package/index.es148.js +5 -5
  404. package/index.es149.js +5 -5
  405. package/index.es15.js +5 -5
  406. package/index.es150.js +5 -5
  407. package/index.es151.js +5 -5
  408. package/index.es152.js +5 -5
  409. package/index.es153.js +22 -11
  410. package/index.es154.js +5 -5
  411. package/index.es155.js +22 -11
  412. package/index.es156.js +5 -5
  413. package/index.es157.js +11 -22
  414. package/index.es158.js +12 -11
  415. package/index.es159.js +5 -5
  416. package/index.es160.js +5 -5
  417. package/index.es161.js +11 -12
  418. package/index.es162.js +5 -5
  419. package/index.es163.js +4 -4
  420. package/index.es164.js +4 -4
  421. package/index.es165.js +138 -10
  422. package/index.es166.js +6 -11
  423. package/index.es167.js +2338 -11
  424. package/index.es168.js +2152 -11
  425. package/index.es169.js +10 -470
  426. package/index.es17.js +1 -1
  427. package/index.es170.js +3 -52
  428. package/index.es171.js +232 -5
  429. package/index.es172.js +54 -2
  430. package/index.es173.js +5 -2260
  431. package/index.es174.js +31 -14
  432. package/index.es175.js +12 -8
  433. package/index.es176.js +482 -3
  434. package/index.es177.js +17 -3
  435. package/index.es178.js +35 -2
  436. package/index.es179.js +1224 -2
  437. package/index.es180.js +14 -58
  438. package/index.es181.js +8 -57
  439. package/index.es182.js +2 -13
  440. package/index.es183.js +2260 -24
  441. package/index.es184.js +49 -10
  442. package/index.es185.js +37 -37
  443. package/index.es186.js +9 -1998
  444. package/index.es187.js +12 -6
  445. package/index.es188.js +13 -72
  446. package/index.es189.js +14 -24
  447. package/index.es190.js +100 -227
  448. package/index.es191.js +24 -53
  449. package/index.es192.js +51 -2
  450. package/index.es193.js +370 -7
  451. package/index.es194.js +62 -2
  452. package/index.es195.js +47 -30
  453. package/index.es196.js +6 -12
  454. package/index.es197.js +5 -98
  455. package/index.es198.js +45 -24
  456. package/index.es199.js +22 -39
  457. package/index.es20.js +1 -1
  458. package/index.es200.js +6 -450
  459. package/index.es201.js +10 -2
  460. package/index.es202.js +11 -45
  461. package/index.es203.js +16 -51
  462. package/index.es204.js +230 -18
  463. package/index.es205.js +24 -34
  464. package/index.es206.js +11 -1223
  465. package/index.es207.js +278 -35
  466. package/index.es208.js +262 -2
  467. package/index.es209.js +17 -2
  468. package/index.es21.js +3 -3
  469. package/index.es210.js +20 -10
  470. package/index.es211.js +7 -12
  471. package/index.es212.js +5 -13
  472. package/index.es213.js +5 -106
  473. package/index.es214.js +5 -25
  474. package/index.es215.js +2 -51
  475. package/index.es216.js +57 -370
  476. package/index.es217.js +56 -61
  477. package/index.es218.js +4 -48
  478. package/index.es219.js +2 -6
  479. package/index.es22.js +1 -1
  480. package/index.es220.js +13 -5
  481. package/index.es221.js +24 -46
  482. package/index.es222.js +11 -22
  483. package/index.es223.js +39 -6
  484. package/index.es224.js +2000 -10
  485. package/index.es225.js +7 -11
  486. package/index.es226.js +71 -16
  487. package/index.es227.js +24 -229
  488. package/index.es228.js +2 -25
  489. package/index.es229.js +7 -11
  490. package/index.es23.js +6 -6
  491. package/index.es230.js +325 -277
  492. package/index.es231.js +50 -261
  493. package/index.es232.js +29 -16
  494. package/index.es233.js +33 -14
  495. package/index.es234.js +53 -21
  496. package/index.es235.js +119 -8
  497. package/index.es236.js +9 -5
  498. package/index.es237.js +163 -5
  499. package/index.es238.js +310 -5
  500. package/index.es239.js +127 -2
  501. package/index.es240.js +180 -8
  502. package/index.es241.js +24 -325
  503. package/index.es242.js +60 -49
  504. package/index.es243.js +5 -30
  505. package/index.es244.js +36 -34
  506. package/index.es245.js +26 -53
  507. package/index.es246.js +170 -103
  508. package/index.es247.js +138 -9
  509. package/index.es248.js +2 -163
  510. package/index.es249.js +8 -310
  511. package/index.es25.js +1 -1
  512. package/index.es250.js +2 -127
  513. package/index.es251.js +96 -178
  514. package/index.es252.js +24 -24
  515. package/index.es253.js +36 -59
  516. package/index.es254.js +2 -5
  517. package/index.es255.js +69 -36
  518. package/index.es256.js +84 -25
  519. package/index.es257.js +43 -181
  520. package/index.es258.js +9 -138
  521. package/index.es259.js +5 -2
  522. package/index.es260.js +46 -63
  523. package/index.es261.js +2 -85
  524. package/index.es262.js +58 -46
  525. package/index.es263.js +16 -8
  526. package/index.es264.js +243 -4
  527. package/index.es265.js +72 -50
  528. package/index.es266.js +5 -2
  529. package/index.es267.js +56 -58
  530. package/index.es268.js +11 -17
  531. package/index.es269.js +6 -243
  532. package/index.es27.js +2 -2
  533. package/index.es270.js +35 -73
  534. package/index.es271.js +26 -4
  535. package/index.es272.js +290 -57
  536. package/index.es273.js +91 -11
  537. package/index.es274.js +3 -7
  538. package/index.es275.js +7 -35
  539. package/index.es276.js +14 -25
  540. package/index.es277.js +146 -290
  541. package/index.es278.js +9 -89
  542. package/index.es279.js +38 -3
  543. package/index.es28.js +2 -2
  544. package/index.es280.js +3 -8
  545. package/index.es281.js +7 -15
  546. package/index.es282.js +349 -145
  547. package/index.es283.js +94 -37
  548. package/index.es284.js +10 -3
  549. package/index.es285.js +3 -11
  550. package/index.es286.js +205 -115
  551. package/index.es287.js +116 -7
  552. package/index.es288.js +6 -9
  553. package/index.es289.js +2 -2
  554. package/index.es29.js +2 -2
  555. package/index.es290.js +7 -7
  556. package/index.es291.js +2 -2
  557. package/index.es292.js +2 -2
  558. package/index.es293.js +15 -7
  559. package/index.es294.js +2 -351
  560. package/index.es295.js +44 -94
  561. package/index.es296.js +52 -3
  562. package/index.es297.js +2 -206
  563. package/index.es298.js +2 -16
  564. package/index.es299.js +6 -2
  565. package/index.es30.js +3 -3
  566. package/index.es300.js +24 -2
  567. package/index.es301.js +20 -5
  568. package/index.es302.js +30 -19
  569. package/index.es303.js +6 -24
  570. package/index.es304.js +3 -32
  571. package/index.es305.js +7 -6
  572. package/index.es306.js +3 -6
  573. package/index.es307.js +19 -3
  574. package/index.es308.js +66 -3
  575. package/index.es309.js +15 -19
  576. package/index.es31.js +1 -1
  577. package/index.es310.js +3 -66
  578. package/index.es311.js +1 -1
  579. package/index.es312.js +13 -15
  580. package/index.es313.js +143 -4
  581. package/index.es314.js +41 -11
  582. package/index.es315.js +3 -143
  583. package/index.es316.js +38 -40
  584. package/index.es317.js +8 -3
  585. package/index.es318.js +74 -39
  586. package/index.es319.js +54 -7
  587. package/index.es32.js +1 -1
  588. package/index.es320.js +7 -75
  589. package/index.es321.js +73 -52
  590. package/index.es322.js +23 -7
  591. package/index.es323.js +57 -71
  592. package/index.es324.js +4 -23
  593. package/index.es325.js +58 -61
  594. package/index.es326.js +11 -3
  595. package/index.es327.js +4 -59
  596. package/index.es328.js +9 -12
  597. package/index.es329.js +55 -4
  598. package/index.es330.js +5 -10
  599. package/index.es331.js +17 -55
  600. package/index.es332.js +17 -5
  601. package/index.es333.js +17 -17
  602. package/index.es334.js +16 -16
  603. package/index.es335.js +14 -14
  604. package/index.es336.js +14 -14
  605. package/index.es337.js +17 -17
  606. package/index.es338.js +5 -17
  607. package/index.es339.js +5 -17
  608. package/index.es340.js +6 -4
  609. package/index.es341.js +335 -4
  610. package/index.es342.js +19 -7
  611. package/index.es343.js +3 -335
  612. package/index.es344.js +6 -19
  613. package/index.es345.js +3 -4
  614. package/index.es346.js +71 -5
  615. package/index.es347.js +4 -3
  616. package/index.es348.js +15 -71
  617. package/index.es349.js +7 -4
  618. package/index.es35.js +1 -1
  619. package/index.es350.js +28 -14
  620. package/index.es351.js +9 -6
  621. package/index.es352.js +7 -29
  622. package/index.es353.js +6 -9
  623. package/index.es354.js +2 -8
  624. package/index.es355.js +2 -7
  625. package/index.es356.js +2 -11
  626. package/index.es357.js +66 -3
  627. package/index.es358.js +65 -8
  628. package/index.es359.js +78 -4
  629. package/index.es36.js +10 -10
  630. package/index.es360.js +255 -42
  631. package/index.es361.js +31 -9
  632. package/index.es362.js +6 -2
  633. package/index.es363.js +126 -60
  634. package/index.es364.js +17 -67
  635. package/index.es365.js +7 -78
  636. package/index.es366.js +5 -258
  637. package/index.es367.js +3 -31
  638. package/index.es368.js +11 -6
  639. package/index.es369.js +3 -131
  640. package/index.es37.js +1 -1
  641. package/index.es370.js +6 -17
  642. package/index.es371.js +45 -6
  643. package/index.es372.js +24 -5
  644. package/index.es373.js +8 -3
  645. package/index.es374.js +1 -1
  646. package/index.es375.js +1 -1
  647. package/index.es376.js +251 -2
  648. package/index.es377.js +8 -251
  649. package/index.es378.js +3 -8
  650. package/index.es379.js +2 -3
  651. package/index.es38.js +2 -2
  652. package/index.es380.js +9 -9
  653. package/index.es381.js +1 -1
  654. package/index.es382.js +1 -1
  655. package/index.es39.js +1 -1
  656. package/index.es397.js +2 -2
  657. package/index.es399.js +6 -3
  658. package/index.es4.js +4 -4
  659. package/index.es40.js +2 -2
  660. package/index.es41.js +204 -154
  661. package/index.es43.js +4 -4
  662. package/index.es44.js +5 -5
  663. package/index.es45.js +11 -11
  664. package/index.es46.js +2 -2
  665. package/index.es47.js +114 -98
  666. package/index.es49.js +1 -1
  667. package/index.es50.js +2 -2
  668. package/index.es51.js +111 -110
  669. package/index.es54.js +2 -2
  670. package/index.es56.js +2 -2
  671. package/index.es57.js +7 -7
  672. package/index.es59.js +60 -59
  673. package/index.es60.js +87 -92
  674. package/index.es65.js +1 -1
  675. package/index.es66.js +1 -1
  676. package/index.es67.js +3 -3
  677. package/index.es68.js +4 -4
  678. package/index.es69.js +1 -1
  679. package/index.es7.js +35 -35
  680. package/index.es73.js +6 -6
  681. package/index.es75.js +1 -1
  682. package/index.es76.js +17 -12
  683. package/index.es79.js +5 -5
  684. package/index.es8.js +1 -1
  685. package/index.es80.js +1 -1
  686. package/index.es81.js +4 -4
  687. package/index.es82.js +2 -2
  688. package/index.es83.js +1 -1
  689. package/index.es86.js +1 -1
  690. package/index.es9.js +6 -6
  691. package/index.es90.js +2 -2
  692. package/index.es92.js +2 -1
  693. package/index.es93.js +1 -0
  694. package/index.es94.js +443 -2295
  695. package/index.es95.js +11 -21
  696. package/index.es96.js +82 -2563
  697. package/index.es97.js +21 -2152
  698. package/index.es98.js +24 -3
  699. package/index.es99.js +1708 -10
  700. package/package.json +2 -2
  701. package/style.css +1 -1
  702. package/tailwind.config.cjs +0 -1
  703. package/tailwind.config.js +0 -1
  704. package/index.cjs400.js +0 -1
  705. package/index.es400.js +0 -9
package/index.es198.js CHANGED
@@ -1,28 +1,49 @@
1
- function c(i) {
2
- if (i < 1)
3
- return {
4
- get: function() {
5
- },
6
- set: function() {
7
- }
8
- };
9
- var u = 0, t = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map();
10
- function a(r, e) {
11
- t.set(r, e), u++, u > i && (u = 0, f = t, t = /* @__PURE__ */ new Map());
12
- }
1
+ import * as T from "react";
2
+ import { useUtils as C } from "./index.es191.js";
3
+ import R from "./index.es241.js";
4
+ import d from "./index.es206.js";
5
+ const I = ({
6
+ timezone: i,
7
+ value: s,
8
+ defaultValue: c,
9
+ onChange: o,
10
+ valueManager: e
11
+ }) => {
12
+ var u, m;
13
+ const t = C(), z = T.useRef(c), n = (u = s ?? z.current) != null ? u : e.emptyValue, l = T.useMemo(() => e.getTimezone(t, n), [t, e, n]), p = d((r) => l == null ? r : e.setTimezone(t, l, r)), f = (m = i ?? l) != null ? m : "default", h = T.useMemo(() => e.setTimezone(t, f, n), [e, t, f, n]), V = d((r, ...a) => {
14
+ const W = p(r);
15
+ o == null || o(W, ...a);
16
+ });
13
17
  return {
14
- get: function(e) {
15
- var n = t.get(e);
16
- if (n !== void 0)
17
- return n;
18
- if ((n = f.get(e)) !== void 0)
19
- return a(e, n), n;
20
- },
21
- set: function(e, n) {
22
- t.has(e) ? t.set(e, n) : a(e, n);
23
- }
18
+ value: h,
19
+ handleValueChange: V,
20
+ timezone: f
24
21
  };
25
- }
22
+ }, b = ({
23
+ name: i,
24
+ timezone: s,
25
+ value: c,
26
+ defaultValue: o,
27
+ onChange: e,
28
+ valueManager: u
29
+ }) => {
30
+ const [m, t] = R({
31
+ name: i,
32
+ state: "value",
33
+ controlled: c,
34
+ default: o ?? u.emptyValue
35
+ }), z = d((n, ...l) => {
36
+ t(n), e == null || e(n, ...l);
37
+ });
38
+ return I({
39
+ timezone: s,
40
+ value: m,
41
+ defaultValue: void 0,
42
+ onChange: z,
43
+ valueManager: u
44
+ });
45
+ };
26
46
  export {
27
- c as createLruCache
47
+ b as useControlledValueWithTimezone,
48
+ I as useValueWithTimezone
28
49
  };
package/index.es199.js CHANGED
@@ -1,41 +1,24 @@
1
- var g = "!";
2
- function I(o) {
3
- var r = o.separator || ":", i = r.length === 1, s = r[0], f = r.length;
4
- return function(a) {
5
- for (var v = [], h = 0, e = 0, n, t = 0; t < a.length; t++) {
6
- var p = a[t];
7
- if (h === 0) {
8
- if (p === s && (i || a.slice(t, t + f) === r)) {
9
- v.push(a.slice(e, t)), e = t + f;
10
- continue;
11
- }
12
- if (p === "/") {
13
- n = t;
14
- continue;
15
- }
16
- }
17
- p === "[" ? h++ : p === "]" && h--;
18
- }
19
- var u = v.length === 0 ? a : a.substring(e), M = u.startsWith(g), l = M ? u.substring(1) : u, b = n && n > e ? n - e : void 0;
20
- return {
21
- modifiers: v,
22
- hasImportantModifier: M,
23
- baseClassName: l,
24
- maybePostfixModifierPosition: b
25
- };
26
- };
27
- }
28
- function P(o) {
29
- if (o.length <= 1)
30
- return o;
31
- var r = [], i = [];
32
- return o.forEach(function(s) {
33
- var f = s[0] === "[";
34
- f ? (r.push.apply(r, i.sort().concat([s])), i = []) : i.push(s);
35
- }), r.push.apply(r, i.sort()), r;
36
- }
1
+ import a from "./index.es187.js";
2
+ import { getTodayDate as n, replaceInvalidDateByNull as u, areDatesEqual as o } from "./index.es195.js";
3
+ import { getDefaultReferenceDate as i } from "./index.es233.js";
4
+ const m = ["value", "referenceDate"], d = {
5
+ emptyValue: null,
6
+ getTodayValue: n,
7
+ getInitialReferenceValue: (e) => {
8
+ let {
9
+ value: l,
10
+ referenceDate: t
11
+ } = e, r = a(e, m);
12
+ return l != null && r.utils.isValid(l) ? l : t ?? i(r);
13
+ },
14
+ cleanValue: u,
15
+ areValuesEqual: o,
16
+ isSameError: (e, l) => e === l,
17
+ hasError: (e) => e != null,
18
+ defaultErrorState: null,
19
+ getTimezone: (e, l) => l == null || !e.isValid(l) ? null : e.getTimezone(l),
20
+ setTimezone: (e, l, t) => t == null ? null : e.setTimezone(t, l)
21
+ };
37
22
  export {
38
- g as IMPORTANT_MODIFIER,
39
- I as createSplitModifiers,
40
- P as sortModifiers
23
+ d as singleItemValueManager
41
24
  };
package/index.es20.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
- import { cva as i } from "./index.es107.js";
2
+ import { cva as i } from "./index.es100.js";
3
3
  import { cn as c } from "./index.es79.js";
4
4
  const l = i(
5
5
  "inline-flex items-center gap-space-01 font-medium transition-colors text-center focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
package/index.es200.js CHANGED
@@ -1,452 +1,8 @@
1
- import { debounce as z, memo as d, notUndefined as f, approxEqual as M } from "./index.es207.js";
2
- const I = (r) => r, y = (r) => {
3
- const h = Math.max(r.startIndex - r.overscan, 0), t = Math.min(r.endIndex + r.overscan, r.count - 1), s = [];
4
- for (let e = h; e <= t; e++)
5
- s.push(e);
6
- return s;
7
- }, R = (r, h) => {
8
- const t = r.scrollElement;
9
- if (!t)
10
- return;
11
- const s = r.targetWindow;
12
- if (!s)
13
- return;
14
- const e = (n) => {
15
- const { width: o, height: l } = n;
16
- h({ width: Math.round(o), height: Math.round(l) });
17
- };
18
- if (e(t.getBoundingClientRect()), !s.ResizeObserver)
19
- return () => {
20
- };
21
- const i = new s.ResizeObserver((n) => {
22
- const o = () => {
23
- const l = n[0];
24
- if (l != null && l.borderBoxSize) {
25
- const a = l.borderBoxSize[0];
26
- if (a) {
27
- e({ width: a.inlineSize, height: a.blockSize });
28
- return;
29
- }
30
- }
31
- e(t.getBoundingClientRect());
32
- };
33
- r.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(o) : o();
34
- });
35
- return i.observe(t, { box: "border-box" }), () => {
36
- i.unobserve(t);
37
- };
38
- }, b = {
39
- passive: !0
40
- }, E = typeof window > "u" ? !0 : "onscrollend" in window, _ = (r, h) => {
41
- const t = r.scrollElement;
42
- if (!t)
43
- return;
44
- const s = r.targetWindow;
45
- if (!s)
46
- return;
47
- let e = 0;
48
- const i = r.options.useScrollendEvent && E ? () => {
49
- } : z(
50
- s,
51
- () => {
52
- h(e, !1);
53
- },
54
- r.options.isScrollingResetDelay
55
- ), n = (c) => () => {
56
- const { horizontal: m, isRtl: u } = r.options;
57
- e = m ? t.scrollLeft * (u && -1 || 1) : t.scrollTop, i(), h(e, c);
58
- }, o = n(!0), l = n(!1);
59
- l(), t.addEventListener("scroll", o, b);
60
- const a = r.options.useScrollendEvent && E;
61
- return a && t.addEventListener("scrollend", l, b), () => {
62
- t.removeEventListener("scroll", o), a && t.removeEventListener("scrollend", l);
63
- };
64
- }, w = (r, h, t) => {
65
- if (h != null && h.borderBoxSize) {
66
- const s = h.borderBoxSize[0];
67
- if (s)
68
- return Math.round(
69
- s[t.options.horizontal ? "inlineSize" : "blockSize"]
70
- );
71
- }
72
- return Math.round(
73
- r.getBoundingClientRect()[t.options.horizontal ? "width" : "height"]
74
- );
75
- }, N = (r, {
76
- adjustments: h = 0,
77
- behavior: t
78
- }, s) => {
79
- var e, i;
80
- const n = r + h;
81
- (i = (e = s.scrollElement) == null ? void 0 : e.scrollTo) == null || i.call(e, {
82
- [s.options.horizontal ? "left" : "top"]: n,
83
- behavior: t
84
- });
85
- };
86
- class A {
87
- constructor(h) {
88
- this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollToIndexTimeoutId = null, 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__ */ (() => {
89
- let t = null;
90
- const s = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((e) => {
91
- e.forEach((i) => {
92
- const n = () => {
93
- this._measureElement(i.target, i);
94
- };
95
- this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(n) : n();
96
- });
97
- }));
98
- return {
99
- disconnect: () => {
100
- var e;
101
- (e = s()) == null || e.disconnect(), t = null;
102
- },
103
- observe: (e) => {
104
- var i;
105
- return (i = s()) == null ? void 0 : i.observe(e, { box: "border-box" });
106
- },
107
- unobserve: (e) => {
108
- var i;
109
- return (i = s()) == null ? void 0 : i.unobserve(e);
110
- }
111
- };
112
- })(), this.range = null, this.setOptions = (t) => {
113
- Object.entries(t).forEach(([s, e]) => {
114
- typeof e > "u" && delete t[s];
115
- }), this.options = {
116
- debug: !1,
117
- initialOffset: 0,
118
- overscan: 1,
119
- paddingStart: 0,
120
- paddingEnd: 0,
121
- scrollPaddingStart: 0,
122
- scrollPaddingEnd: 0,
123
- horizontal: !1,
124
- getItemKey: I,
125
- rangeExtractor: y,
126
- onChange: () => {
127
- },
128
- measureElement: w,
129
- initialRect: { width: 0, height: 0 },
130
- scrollMargin: 0,
131
- gap: 0,
132
- indexAttribute: "data-index",
133
- initialMeasurementsCache: [],
134
- lanes: 1,
135
- isScrollingResetDelay: 150,
136
- enabled: !0,
137
- isRtl: !1,
138
- useScrollendEvent: !0,
139
- useAnimationFrameWithResizeObserver: !1,
140
- ...t
141
- };
142
- }, this.notify = (t) => {
143
- var s, e;
144
- (e = (s = this.options).onChange) == null || e.call(s, this, t);
145
- }, this.maybeNotify = d(
146
- () => (this.calculateRange(), [
147
- this.isScrolling,
148
- this.range ? this.range.startIndex : null,
149
- this.range ? this.range.endIndex : null
150
- ]),
151
- (t) => {
152
- this.notify(t);
153
- },
154
- {
155
- key: process.env.NODE_ENV !== "production" && "maybeNotify",
156
- debug: () => this.options.debug,
157
- initialDeps: [
158
- this.isScrolling,
159
- this.range ? this.range.startIndex : null,
160
- this.range ? this.range.endIndex : null
161
- ]
162
- }
163
- ), this.cleanup = () => {
164
- this.unsubs.filter(Boolean).forEach((t) => t()), this.unsubs = [], this.observer.disconnect(), this.scrollElement = null, this.targetWindow = null;
165
- }, this._didMount = () => () => {
166
- this.cleanup();
167
- }, this._willUpdate = () => {
168
- var t;
169
- const s = this.options.enabled ? this.options.getScrollElement() : null;
170
- if (this.scrollElement !== s) {
171
- if (this.cleanup(), !s) {
172
- this.maybeNotify();
173
- return;
174
- }
175
- 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) => {
176
- this.observer.observe(e);
177
- }), this._scrollToOffset(this.getScrollOffset(), {
178
- adjustments: void 0,
179
- behavior: void 0
180
- }), this.unsubs.push(
181
- this.options.observeElementRect(this, (e) => {
182
- this.scrollRect = e, this.maybeNotify();
183
- })
184
- ), this.unsubs.push(
185
- this.options.observeElementOffset(this, (e, i) => {
186
- this.scrollAdjustments = 0, this.scrollDirection = i ? this.getScrollOffset() < e ? "forward" : "backward" : null, this.scrollOffset = e, this.isScrolling = i, this.maybeNotify();
187
- })
188
- );
189
- }
190
- }, 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) => {
191
- const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
192
- for (let n = s - 1; n >= 0; n--) {
193
- const o = t[n];
194
- if (e.has(o.lane))
195
- continue;
196
- const l = i.get(
197
- o.lane
198
- );
199
- if (l == null || o.end > l.end ? i.set(o.lane, o) : o.end < l.end && e.set(o.lane, !0), e.size === this.options.lanes)
200
- break;
201
- }
202
- 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;
203
- }, this.getMeasurementOptions = d(
204
- () => [
205
- this.options.count,
206
- this.options.paddingStart,
207
- this.options.scrollMargin,
208
- this.options.getItemKey,
209
- this.options.enabled
210
- ],
211
- (t, s, e, i, n) => (this.pendingMeasuredCacheIndexes = [], {
212
- count: t,
213
- paddingStart: s,
214
- scrollMargin: e,
215
- getItemKey: i,
216
- enabled: n
217
- }),
218
- {
219
- key: !1
220
- }
221
- ), this.getMeasurements = d(
222
- () => [this.getMeasurementOptions(), this.itemSizeCache],
223
- ({ count: t, paddingStart: s, scrollMargin: e, getItemKey: i, enabled: n }, o) => {
224
- if (!n)
225
- return this.measurementsCache = [], this.itemSizeCache.clear(), [];
226
- this.measurementsCache.length === 0 && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((c) => {
227
- this.itemSizeCache.set(c.key, c.size);
228
- }));
229
- const l = this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
230
- this.pendingMeasuredCacheIndexes = [];
231
- const a = this.measurementsCache.slice(0, l);
232
- for (let c = l; c < t; c++) {
233
- const m = i(c), u = this.options.lanes === 1 ? a[c - 1] : this.getFurthestMeasurement(a, c), g = u ? u.end + this.options.gap : s + e, p = o.get(m), v = typeof p == "number" ? p : this.options.estimateSize(c), x = g + v, O = u ? u.lane : c % this.options.lanes;
234
- a[c] = {
235
- index: c,
236
- start: g,
237
- size: v,
238
- end: x,
239
- key: m,
240
- lane: O
241
- };
242
- }
243
- return this.measurementsCache = a, a;
244
- },
245
- {
246
- key: process.env.NODE_ENV !== "production" && "getMeasurements",
247
- debug: () => this.options.debug
248
- }
249
- ), this.calculateRange = d(
250
- () => [
251
- this.getMeasurements(),
252
- this.getSize(),
253
- this.getScrollOffset(),
254
- this.options.lanes
255
- ],
256
- (t, s, e, i) => this.range = t.length > 0 && s > 0 ? C({
257
- measurements: t,
258
- outerSize: s,
259
- scrollOffset: e,
260
- lanes: i
261
- }) : null,
262
- {
263
- key: process.env.NODE_ENV !== "production" && "calculateRange",
264
- debug: () => this.options.debug
265
- }
266
- ), this.getVirtualIndexes = d(
267
- () => {
268
- let t = null, s = null;
269
- const e = this.calculateRange();
270
- return e && (t = e.startIndex, s = e.endIndex), [
271
- this.options.rangeExtractor,
272
- this.options.overscan,
273
- this.options.count,
274
- t,
275
- s
276
- ];
277
- },
278
- (t, s, e, i, n) => i === null || n === null ? [] : t({
279
- startIndex: i,
280
- endIndex: n,
281
- overscan: s,
282
- count: e
283
- }),
284
- {
285
- key: process.env.NODE_ENV !== "production" && "getVirtualIndexes",
286
- debug: () => this.options.debug
287
- }
288
- ), this.indexFromElement = (t) => {
289
- const s = this.options.indexAttribute, e = t.getAttribute(s);
290
- return e ? parseInt(e, 10) : -1;
291
- }, this._measureElement = (t, s) => {
292
- const e = this.indexFromElement(t), i = this.measurementsCache[e];
293
- if (!i)
294
- return;
295
- const n = i.key, o = this.elementsCache.get(n);
296
- 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));
297
- }, this.resizeItem = (t, s) => {
298
- const e = this.measurementsCache[t];
299
- if (!e)
300
- return;
301
- const i = this.itemSizeCache.get(e.key) ?? e.size, n = s - i;
302
- 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(), {
303
- adjustments: this.scrollAdjustments += n,
304
- behavior: void 0
305
- })), this.pendingMeasuredCacheIndexes.push(e.index), this.itemSizeCache = new Map(this.itemSizeCache.set(e.key, s)), this.notify(!1));
306
- }, this.measureElement = (t) => {
307
- if (!t) {
308
- this.elementsCache.forEach((s, e) => {
309
- s.isConnected || (this.observer.unobserve(s), this.elementsCache.delete(e));
310
- });
311
- return;
312
- }
313
- this._measureElement(t, void 0);
314
- }, this.getVirtualItems = d(
315
- () => [this.getVirtualIndexes(), this.getMeasurements()],
316
- (t, s) => {
317
- const e = [];
318
- for (let i = 0, n = t.length; i < n; i++) {
319
- const o = t[i], l = s[o];
320
- e.push(l);
321
- }
322
- return e;
323
- },
324
- {
325
- key: process.env.NODE_ENV !== "production" && "getVirtualItems",
326
- debug: () => this.options.debug
327
- }
328
- ), this.getVirtualItemForOffset = (t) => {
329
- const s = this.getMeasurements();
330
- if (s.length !== 0)
331
- return f(
332
- s[S(
333
- 0,
334
- s.length - 1,
335
- (e) => f(s[e]).start,
336
- t
337
- )]
338
- );
339
- }, this.getOffsetForAlignment = (t, s, e = 0) => {
340
- const i = this.getSize(), n = this.getScrollOffset();
341
- s === "auto" && (s = t >= n + i ? "end" : "start"), s === "center" ? t += (e - i) / 2 : s === "end" && (t -= i);
342
- const o = this.options.horizontal ? "scrollWidth" : "scrollHeight", a = (this.scrollElement ? "document" in this.scrollElement ? this.scrollElement.document.documentElement[o] : this.scrollElement[o] : 0) - i;
343
- return Math.max(Math.min(a, t), 0);
344
- }, this.getOffsetForIndex = (t, s = "auto") => {
345
- t = Math.max(0, Math.min(t, this.options.count - 1));
346
- const e = this.measurementsCache[t];
347
- if (!e)
348
- return;
349
- const i = this.getSize(), n = this.getScrollOffset();
350
- if (s === "auto")
351
- if (e.end >= n + i - this.options.scrollPaddingEnd)
352
- s = "end";
353
- else if (e.start <= n + this.options.scrollPaddingStart)
354
- s = "start";
355
- else
356
- return [n, s];
357
- const o = s === "end" ? e.end + this.options.scrollPaddingEnd : e.start - this.options.scrollPaddingStart;
358
- return [
359
- this.getOffsetForAlignment(o, s, e.size),
360
- s
361
- ];
362
- }, this.isDynamicMode = () => this.elementsCache.size > 0, this.cancelScrollToIndex = () => {
363
- this.scrollToIndexTimeoutId !== null && this.targetWindow && (this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId), this.scrollToIndexTimeoutId = null);
364
- }, this.scrollToOffset = (t, { align: s = "start", behavior: e } = {}) => {
365
- this.cancelScrollToIndex(), e === "smooth" && this.isDynamicMode(), this._scrollToOffset(this.getOffsetForAlignment(t, s), {
366
- adjustments: void 0,
367
- behavior: e
368
- });
369
- }, this.scrollToIndex = (t, { align: s = "auto", behavior: e } = {}) => {
370
- t = Math.max(0, Math.min(t, this.options.count - 1)), this.cancelScrollToIndex(), e === "smooth" && this.isDynamicMode();
371
- const i = this.getOffsetForIndex(t, s);
372
- if (!i)
373
- return;
374
- const [n, o] = i;
375
- this._scrollToOffset(n, { adjustments: void 0, behavior: e }), e !== "smooth" && this.isDynamicMode() && this.targetWindow && (this.scrollToIndexTimeoutId = this.targetWindow.setTimeout(() => {
376
- if (this.scrollToIndexTimeoutId = null, this.elementsCache.has(
377
- this.options.getItemKey(t)
378
- )) {
379
- const [a] = f(
380
- this.getOffsetForIndex(t, o)
381
- );
382
- M(a, this.getScrollOffset()) || this.scrollToIndex(t, { align: o, behavior: e });
383
- } else
384
- this.scrollToIndex(t, { align: o, behavior: e });
385
- }));
386
- }, this.scrollBy = (t, { behavior: s } = {}) => {
387
- this.cancelScrollToIndex(), s === "smooth" && this.isDynamicMode(), this._scrollToOffset(this.getScrollOffset() + t, {
388
- adjustments: void 0,
389
- behavior: s
390
- });
391
- }, this.getTotalSize = () => {
392
- var t;
393
- const s = this.getMeasurements();
394
- let e;
395
- return s.length === 0 ? e = this.options.paddingStart : e = this.options.lanes === 1 ? ((t = s[s.length - 1]) == null ? void 0 : t.end) ?? 0 : Math.max(
396
- ...s.slice(-this.options.lanes).map((i) => i.end)
397
- ), Math.max(
398
- e - this.options.scrollMargin + this.options.paddingEnd,
399
- 0
400
- );
401
- }, this._scrollToOffset = (t, {
402
- adjustments: s,
403
- behavior: e
404
- }) => {
405
- this.options.scrollToFn(t, { behavior: e, adjustments: s }, this);
406
- }, this.measure = () => {
407
- this.itemSizeCache = /* @__PURE__ */ new Map(), this.notify(!1);
408
- }, this.setOptions(h);
409
- }
410
- }
411
- const S = (r, h, t, s) => {
412
- for (; r <= h; ) {
413
- const e = (r + h) / 2 | 0, i = t(e);
414
- if (i < s)
415
- r = e + 1;
416
- else if (i > s)
417
- h = e - 1;
418
- else
419
- return e;
420
- }
421
- return r > 0 ? r - 1 : 0;
422
- };
423
- function C({
424
- measurements: r,
425
- outerSize: h,
426
- scrollOffset: t,
427
- lanes: s
428
- }) {
429
- const e = r.length - 1;
430
- let n = S(
431
- 0,
432
- e,
433
- (l) => r[l].start,
434
- t
435
- ), o = n;
436
- for (; o < e && r[o].end < t + h; )
437
- o++;
438
- return s > 1 && (n = Math.max(0, n - n % s), o = Math.min(e, o + (s - 1 - o % s))), { startIndex: n, endIndex: o };
439
- }
1
+ const A = 36, I = 2, o = 320, t = 280, _ = 334;
440
2
  export {
441
- A as Virtualizer,
442
- M as approxEqual,
443
- z as debounce,
444
- I as defaultKeyExtractor,
445
- y as defaultRangeExtractor,
446
- N as elementScroll,
447
- w as measureElement,
448
- d as memo,
449
- f as notUndefined,
450
- _ as observeElementOffset,
451
- R as observeElementRect
3
+ I as DAY_MARGIN,
4
+ A as DAY_SIZE,
5
+ o as DIALOG_WIDTH,
6
+ t as MAX_CALENDAR_HEIGHT,
7
+ _ as VIEW_HEIGHT
452
8
  };
package/index.es201.js CHANGED
@@ -1,4 +1,12 @@
1
- var e = { exports: {} };
1
+ import t from "./index.es274.js";
2
+ import r from "./index.es261.js";
3
+ import e, { shouldForwardProp as d } from "./index.es277.js";
4
+ const s = (o) => d(o) && o !== "classes", l = e({
5
+ themeId: r,
6
+ defaultTheme: t,
7
+ rootShouldForwardProp: s
8
+ }), f = l;
2
9
  export {
3
- e as __module
10
+ f as default,
11
+ s as rootShouldForwardProp
4
12
  };
package/index.es202.js CHANGED
@@ -1,47 +1,13 @@
1
- import { __exports as i } from "./index.es208.js";
2
- import h from "react";
3
- var f;
4
- function x() {
5
- if (f)
6
- return i;
7
- f = 1;
8
- var u = h;
9
- function s(e, t) {
10
- return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
11
- }
12
- var S = typeof Object.is == "function" ? Object.is : s, d = u.useState, l = u.useEffect, p = u.useLayoutEffect, E = u.useDebugValue;
13
- function v(e, t) {
14
- var r = t(), a = d({ inst: { value: r, getSnapshot: t } }), n = a[0].inst, c = a[1];
15
- return p(
16
- function() {
17
- n.value = r, n.getSnapshot = t, o(n) && c({ inst: n });
18
- },
19
- [e, r, t]
20
- ), l(
21
- function() {
22
- return o(n) && c({ inst: n }), e(function() {
23
- o(n) && c({ inst: n });
24
- });
25
- },
26
- [e]
27
- ), E(r), r;
28
- }
29
- function o(e) {
30
- var t = e.getSnapshot;
31
- e = e.value;
32
- try {
33
- var r = t();
34
- return !S(e, r);
35
- } catch {
36
- return !0;
37
- }
38
- }
39
- function y(e, t) {
40
- return t();
41
- }
42
- var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : v;
43
- return i.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : m, i;
44
- }
1
+ import { DIALOG_WIDTH as o, VIEW_HEIGHT as i } from "./index.es200.js";
2
+ import e from "./index.es201.js";
3
+ const m = e("div")({
4
+ overflow: "hidden",
5
+ width: o,
6
+ maxHeight: i,
7
+ display: "flex",
8
+ flexDirection: "column",
9
+ margin: "0 auto"
10
+ });
45
11
  export {
46
- x as __require
12
+ m as PickerViewRoot
47
13
  };