@ikas/core 1.0.33 → 1.0.35

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 (454) hide show
  1. package/dist/core.css +1 -1
  2. package/dist/index100.cjs +1 -1
  3. package/dist/index100.js +1 -1
  4. package/dist/index101.cjs +1 -1
  5. package/dist/index101.js +1 -1
  6. package/dist/index117.cjs +1 -1
  7. package/dist/index117.js +8 -8
  8. package/dist/index123.cjs +1 -1
  9. package/dist/index123.js +1 -1
  10. package/dist/index125.cjs +1 -1
  11. package/dist/index125.js +1 -1
  12. package/dist/index126.cjs +1 -1
  13. package/dist/index126.js +1 -1
  14. package/dist/index127.cjs +1 -1
  15. package/dist/index127.js +1 -1
  16. package/dist/index130.cjs +1 -1
  17. package/dist/index130.js +1 -1
  18. package/dist/index131.cjs +1 -6
  19. package/dist/index131.js +4 -27
  20. package/dist/index132.cjs +1 -6
  21. package/dist/index132.js +4 -15
  22. package/dist/index133.cjs +1 -6
  23. package/dist/index133.js +8 -10
  24. package/dist/index134.cjs +1 -6
  25. package/dist/index134.js +7 -13
  26. package/dist/index135.cjs +1 -6
  27. package/dist/index135.js +71 -17
  28. package/dist/index136.cjs +1 -6
  29. package/dist/index136.js +19 -8
  30. package/dist/index137.cjs +1 -6
  31. package/dist/index137.js +35 -8
  32. package/dist/index138.cjs +1 -6
  33. package/dist/index138.js +50 -12
  34. package/dist/index139.cjs +1 -6
  35. package/dist/index139.js +39 -39
  36. package/dist/index140.cjs +1 -6
  37. package/dist/index140.js +92 -18
  38. package/dist/index141.cjs +1 -6
  39. package/dist/index141.js +60 -13
  40. package/dist/index142.cjs +6 -1
  41. package/dist/index142.js +17 -4
  42. package/dist/index143.cjs +6 -1
  43. package/dist/index143.js +26 -3
  44. package/dist/index144.cjs +6 -1
  45. package/dist/index144.js +15 -8
  46. package/dist/index145.cjs +6 -1
  47. package/dist/index145.js +10 -7
  48. package/dist/index146.cjs +6 -1
  49. package/dist/index146.js +13 -71
  50. package/dist/index147.cjs +6 -1
  51. package/dist/index147.js +8 -19
  52. package/dist/index148.cjs +6 -1
  53. package/dist/index148.js +8 -35
  54. package/dist/index149.cjs +6 -1
  55. package/dist/index149.js +12 -50
  56. package/dist/index150.cjs +6 -1
  57. package/dist/index150.js +39 -39
  58. package/dist/index151.cjs +6 -1
  59. package/dist/index151.js +18 -92
  60. package/dist/index152.cjs +6 -1
  61. package/dist/index152.js +13 -60
  62. package/dist/index153.cjs +1 -1
  63. package/dist/index153.js +1 -1
  64. package/dist/index154.cjs +1 -1
  65. package/dist/index154.js +2 -2
  66. package/dist/index164.cjs +1 -1
  67. package/dist/index164.js +1 -1
  68. package/dist/index165.cjs +1 -1
  69. package/dist/index165.js +2 -2
  70. package/dist/index166.cjs +1 -1
  71. package/dist/index166.js +1 -1
  72. package/dist/index168.cjs +1 -1
  73. package/dist/index168.js +4 -4
  74. package/dist/index187.cjs +1 -1
  75. package/dist/index187.js +1 -1
  76. package/dist/index191.cjs +1 -1
  77. package/dist/index191.js +3 -3
  78. package/dist/index194.cjs +1 -6
  79. package/dist/index194.js +27 -11
  80. package/dist/index195.cjs +1 -1
  81. package/dist/index195.js +2 -27
  82. package/dist/index196.cjs +1 -1
  83. package/dist/index196.js +28 -2
  84. package/dist/index197.cjs +1 -1
  85. package/dist/index197.js +28 -24
  86. package/dist/index198.cjs +1 -1
  87. package/dist/index198.js +109 -25
  88. package/dist/index199.cjs +1 -1
  89. package/dist/index199.js +53 -109
  90. package/dist/index200.cjs +1 -1
  91. package/dist/index200.js +33 -33
  92. package/dist/index201.cjs +1 -1
  93. package/dist/index201.js +14 -57
  94. package/dist/index202.cjs +6 -1
  95. package/dist/index202.js +11 -17
  96. package/dist/index208.cjs +1 -1
  97. package/dist/index208.js +5 -17
  98. package/dist/index209.cjs +1 -1
  99. package/dist/index209.js +8 -12
  100. package/dist/index210.cjs +1 -1
  101. package/dist/index210.js +8 -8
  102. package/dist/index211.cjs +1 -1
  103. package/dist/index211.js +2 -6
  104. package/dist/index212.cjs +1 -1
  105. package/dist/index212.js +17 -8
  106. package/dist/index213.cjs +1 -1
  107. package/dist/index213.js +11 -7
  108. package/dist/index214.cjs +1 -1
  109. package/dist/index214.js +9 -2
  110. package/dist/index216.cjs +1 -1
  111. package/dist/index216.js +1 -1
  112. package/dist/index218.cjs +1 -1
  113. package/dist/index218.js +83 -5
  114. package/dist/index219.cjs +1 -1
  115. package/dist/index219.js +5 -5
  116. package/dist/index220.cjs +1 -1
  117. package/dist/index220.js +5 -20
  118. package/dist/index221.cjs +1 -1
  119. package/dist/index221.js +20 -83
  120. package/dist/index238.cjs +1 -1
  121. package/dist/index238.js +1 -1
  122. package/dist/index241.cjs +1 -1
  123. package/dist/index241.js +8 -14
  124. package/dist/index242.cjs +1 -1
  125. package/dist/index242.js +14 -5
  126. package/dist/index243.cjs +1 -1
  127. package/dist/index243.js +3 -2
  128. package/dist/index244.cjs +1 -1
  129. package/dist/index244.js +7 -28
  130. package/dist/index245.cjs +1 -1
  131. package/dist/index245.js +3 -6
  132. package/dist/index246.cjs +1 -1
  133. package/dist/index246.js +5 -4
  134. package/dist/index247.cjs +1 -1
  135. package/dist/index247.js +15 -6
  136. package/dist/index248.cjs +1 -1
  137. package/dist/index248.js +5 -10
  138. package/dist/index249.cjs +1 -1
  139. package/dist/index249.js +3 -10
  140. package/dist/index250.cjs +1 -1
  141. package/dist/index250.js +28 -14
  142. package/dist/index251.cjs +1 -1
  143. package/dist/index251.js +6 -3
  144. package/dist/index252.cjs +1 -1
  145. package/dist/index252.js +4 -7
  146. package/dist/index253.cjs +1 -1
  147. package/dist/index253.js +7 -4
  148. package/dist/index254.cjs +1 -1
  149. package/dist/index254.js +10 -5
  150. package/dist/index257.cjs +1 -1
  151. package/dist/index257.js +1 -1
  152. package/dist/index258.cjs +1 -1
  153. package/dist/index258.js +1 -1
  154. package/dist/index259.cjs +1 -1
  155. package/dist/index259.js +2 -2
  156. package/dist/index260.cjs +1 -1
  157. package/dist/index260.js +1 -1
  158. package/dist/index263.cjs +1 -1
  159. package/dist/index263.js +5 -17
  160. package/dist/index264.cjs +1 -1
  161. package/dist/index264.js +12 -4
  162. package/dist/index265.cjs +1 -1
  163. package/dist/index265.js +9 -4
  164. package/dist/index266.cjs +1 -1
  165. package/dist/index266.js +4 -3
  166. package/dist/index267.cjs +1 -1
  167. package/dist/index267.js +26 -3
  168. package/dist/index268.cjs +1 -1
  169. package/dist/index268.js +8 -13
  170. package/dist/index269.cjs +1 -1
  171. package/dist/index269.js +5 -9
  172. package/dist/index270.cjs +1 -1
  173. package/dist/index270.js +5 -3
  174. package/dist/index271.cjs +1 -1
  175. package/dist/index271.js +5 -10
  176. package/dist/index272.cjs +1 -1
  177. package/dist/index272.js +5 -6
  178. package/dist/index273.cjs +1 -1
  179. package/dist/index273.js +9 -5
  180. package/dist/index274.cjs +1 -1
  181. package/dist/index274.js +4 -6
  182. package/dist/index275.cjs +1 -1
  183. package/dist/index275.js +7 -6
  184. package/dist/index276.cjs +1 -1
  185. package/dist/index276.js +6 -8
  186. package/dist/index277.cjs +1 -1
  187. package/dist/index277.js +6 -5
  188. package/dist/index278.cjs +1 -1
  189. package/dist/index278.js +18 -4
  190. package/dist/index279.cjs +1 -1
  191. package/dist/index279.js +4 -9
  192. package/dist/index280.cjs +1 -1
  193. package/dist/index280.js +4 -13
  194. package/dist/index281.cjs +1 -1
  195. package/dist/index281.js +4 -5
  196. package/dist/index282.cjs +1 -1
  197. package/dist/index282.js +3 -5
  198. package/dist/index283.cjs +1 -1
  199. package/dist/index283.js +14 -17
  200. package/dist/index284.cjs +1 -1
  201. package/dist/index284.js +9 -12
  202. package/dist/index285.cjs +1 -1
  203. package/dist/index285.js +3 -12
  204. package/dist/index286.cjs +1 -1
  205. package/dist/index286.js +11 -4
  206. package/dist/index287.cjs +1 -1
  207. package/dist/index287.js +6 -5
  208. package/dist/index288.cjs +1 -1
  209. package/dist/index288.js +5 -5
  210. package/dist/index289.cjs +1 -1
  211. package/dist/index289.js +6 -4
  212. package/dist/index290.cjs +1 -1
  213. package/dist/index290.js +6 -5
  214. package/dist/index291.cjs +1 -1
  215. package/dist/index291.js +8 -13
  216. package/dist/index292.cjs +1 -1
  217. package/dist/index292.js +5 -4
  218. package/dist/index293.cjs +1 -1
  219. package/dist/index293.js +4 -27
  220. package/dist/index294.cjs +1 -1
  221. package/dist/index294.js +13 -9
  222. package/dist/index295.cjs +1 -1
  223. package/dist/index295.js +5 -6
  224. package/dist/index296.cjs +1 -1
  225. package/dist/index296.js +5 -5
  226. package/dist/index297.cjs +1 -1
  227. package/dist/index297.js +17 -5
  228. package/dist/index298.cjs +1 -1
  229. package/dist/index298.js +12 -5
  230. package/dist/index299.cjs +1 -1
  231. package/dist/index299.js +12 -9
  232. package/dist/index300.cjs +1 -1
  233. package/dist/index300.js +4 -5
  234. package/dist/index301.cjs +1 -1
  235. package/dist/index301.js +5 -7
  236. package/dist/index302.cjs +1 -1
  237. package/dist/index302.js +5 -5
  238. package/dist/index303.cjs +1 -1
  239. package/dist/index303.js +4 -6
  240. package/dist/index304.cjs +1 -1
  241. package/dist/index304.js +2 -7
  242. package/dist/index305.cjs +1 -1
  243. package/dist/index305.js +6 -7
  244. package/dist/index306.cjs +1 -1
  245. package/dist/index306.js +7 -3
  246. package/dist/index307.cjs +1 -1
  247. package/dist/index307.js +4 -2
  248. package/dist/index310.cjs +1 -1
  249. package/dist/index310.js +6 -5
  250. package/dist/index311.cjs +1 -1
  251. package/dist/index311.js +9 -15
  252. package/dist/index312.cjs +1 -1
  253. package/dist/index312.js +30 -3
  254. package/dist/index313.cjs +1 -1
  255. package/dist/index313.js +2 -4
  256. package/dist/index314.cjs +1 -1
  257. package/dist/index314.js +16 -6
  258. package/dist/index315.cjs +1 -1
  259. package/dist/index315.js +3 -3
  260. package/dist/index316.cjs +1 -1
  261. package/dist/index316.js +9 -9
  262. package/dist/index317.cjs +1 -1
  263. package/dist/index317.js +5 -5
  264. package/dist/index318.cjs +1 -1
  265. package/dist/index318.js +5 -9
  266. package/dist/index319.cjs +1 -1
  267. package/dist/index319.js +5 -11
  268. package/dist/index320.cjs +1 -1
  269. package/dist/index320.js +4 -6
  270. package/dist/index321.cjs +1 -1
  271. package/dist/index321.js +17 -7
  272. package/dist/index322.cjs +1 -1
  273. package/dist/index322.js +9 -4
  274. package/dist/index323.cjs +1 -1
  275. package/dist/index323.js +5 -9
  276. package/dist/index324.cjs +1 -1
  277. package/dist/index324.js +15 -6
  278. package/dist/index325.cjs +1 -1
  279. package/dist/index325.js +3 -5
  280. package/dist/index326.cjs +1 -1
  281. package/dist/index326.js +5 -5
  282. package/dist/index327.cjs +1 -1
  283. package/dist/index327.js +7 -4
  284. package/dist/index328.cjs +1 -1
  285. package/dist/index328.js +2 -16
  286. package/dist/index329.cjs +1 -1
  287. package/dist/index329.js +10 -9
  288. package/dist/index330.cjs +1 -1
  289. package/dist/index330.js +5 -6
  290. package/dist/index331.cjs +1 -1
  291. package/dist/index331.js +8 -13
  292. package/dist/index332.cjs +1 -1
  293. package/dist/index332.js +12 -12
  294. package/dist/index333.cjs +1 -1
  295. package/dist/index333.js +5 -13
  296. package/dist/index334.cjs +1 -1
  297. package/dist/index334.js +7 -29
  298. package/dist/index335.cjs +1 -1
  299. package/dist/index335.js +13 -8
  300. package/dist/index336.cjs +1 -1
  301. package/dist/index336.js +12 -4
  302. package/dist/index337.cjs +1 -1
  303. package/dist/index337.js +13 -16
  304. package/dist/index341.cjs +1 -1
  305. package/dist/index341.js +11 -5
  306. package/dist/index342.cjs +1 -1
  307. package/dist/index342.js +8 -3
  308. package/dist/index343.cjs +1 -1
  309. package/dist/index343.js +37 -7
  310. package/dist/index344.cjs +1 -1
  311. package/dist/index344.js +42 -7
  312. package/dist/index345.cjs +1 -1
  313. package/dist/index345.js +33 -6
  314. package/dist/index346.cjs +1 -1
  315. package/dist/index346.js +26 -11
  316. package/dist/index347.cjs +1 -1
  317. package/dist/index347.js +7 -5
  318. package/dist/index348.cjs +1 -1
  319. package/dist/index348.js +6 -4
  320. package/dist/index349.cjs +1 -1
  321. package/dist/index349.js +10 -4
  322. package/dist/index350.cjs +1 -1
  323. package/dist/index350.js +5 -5
  324. package/dist/index351.cjs +1 -1
  325. package/dist/index351.js +4 -5
  326. package/dist/index352.cjs +1 -1
  327. package/dist/index352.js +4 -11
  328. package/dist/index353.cjs +1 -1
  329. package/dist/index353.js +5 -7
  330. package/dist/index354.cjs +1 -1
  331. package/dist/index354.js +3 -38
  332. package/dist/index355.cjs +1 -1
  333. package/dist/index355.js +5 -42
  334. package/dist/index356.cjs +1 -1
  335. package/dist/index356.js +7 -33
  336. package/dist/index357.cjs +1 -1
  337. package/dist/index357.js +6 -26
  338. package/dist/index358.cjs +1 -1
  339. package/dist/index358.js +3 -14
  340. package/dist/index359.cjs +1 -1
  341. package/dist/index359.js +8 -4
  342. package/dist/index360.cjs +1 -1
  343. package/dist/index360.js +4 -17
  344. package/dist/index361.cjs +1 -1
  345. package/dist/index361.js +10 -5
  346. package/dist/index362.cjs +1 -1
  347. package/dist/index362.js +7 -8
  348. package/dist/index363.cjs +1 -1
  349. package/dist/index363.js +3 -4
  350. package/dist/index364.cjs +1 -1
  351. package/dist/index364.js +6 -10
  352. package/dist/index365.cjs +1 -1
  353. package/dist/index365.js +6 -6
  354. package/dist/index366.cjs +1 -1
  355. package/dist/index366.js +6 -3
  356. package/dist/index367.cjs +1 -1
  357. package/dist/index367.js +4 -7
  358. package/dist/index368.cjs +1 -1
  359. package/dist/index368.js +4 -7
  360. package/dist/index369.cjs +1 -1
  361. package/dist/index369.js +4 -7
  362. package/dist/index370.cjs +1 -1
  363. package/dist/index370.js +3 -3
  364. package/dist/index371.cjs +1 -1
  365. package/dist/index371.js +15 -4
  366. package/dist/index372.cjs +1 -1
  367. package/dist/index372.js +14 -4
  368. package/dist/index373.cjs +1 -1
  369. package/dist/index373.js +4 -4
  370. package/dist/index374.cjs +1 -1
  371. package/dist/index374.js +16 -13
  372. package/dist/index375.cjs +1 -1
  373. package/dist/index375.js +6 -3
  374. package/dist/index376.cjs +1 -1
  375. package/dist/index376.js +8 -4
  376. package/dist/index377.cjs +1 -1
  377. package/dist/index377.js +15 -8
  378. package/dist/index378.cjs +1 -1
  379. package/dist/index378.js +4 -4
  380. package/dist/index379.cjs +1 -1
  381. package/dist/index379.js +3 -4
  382. package/dist/index380.cjs +1 -1
  383. package/dist/index380.js +5 -9
  384. package/dist/index381.cjs +1 -1
  385. package/dist/index381.js +8 -7
  386. package/dist/index382.cjs +1 -1
  387. package/dist/index382.js +8 -6
  388. package/dist/index383.cjs +1 -1
  389. package/dist/index383.js +4 -4
  390. package/dist/index384.cjs +1 -1
  391. package/dist/index384.js +4 -3
  392. package/dist/index385.cjs +1 -1
  393. package/dist/index385.js +10 -6
  394. package/dist/index386.cjs +1 -1
  395. package/dist/index386.js +7 -8
  396. package/dist/index387.cjs +1 -1
  397. package/dist/index387.js +6 -8
  398. package/dist/index388.cjs +1 -1
  399. package/dist/index388.js +4 -15
  400. package/dist/index389.cjs +1 -1
  401. package/dist/index389.js +16 -3
  402. package/dist/index390.cjs +1 -1
  403. package/dist/index390.js +6 -3
  404. package/dist/index391.cjs +1 -1
  405. package/dist/index391.js +7 -5
  406. package/dist/index392.cjs +1 -1
  407. package/dist/index392.js +3 -7
  408. package/dist/index393.cjs +1 -1
  409. package/dist/index393.js +3 -4
  410. package/dist/index394.cjs +1 -1
  411. package/dist/index394.js +3 -16
  412. package/dist/index50.cjs +1 -1
  413. package/dist/index50.js +3 -3
  414. package/dist/index54.cjs +1 -1
  415. package/dist/index54.js +1 -1
  416. package/dist/index55.cjs +1 -1
  417. package/dist/index55.js +1 -1
  418. package/dist/index56.cjs +1 -1
  419. package/dist/index56.js +1 -1
  420. package/dist/index57.cjs +1 -1
  421. package/dist/index57.js +1 -1
  422. package/dist/index63.cjs +1 -1
  423. package/dist/index63.js +1 -1
  424. package/dist/index64.cjs +1 -1
  425. package/dist/index64.js +1 -1
  426. package/dist/index65.cjs +1 -1
  427. package/dist/index65.js +1 -1
  428. package/dist/index66.cjs +1 -1
  429. package/dist/index66.js +1 -1
  430. package/dist/index68.cjs +1 -1
  431. package/dist/index68.js +1 -1
  432. package/dist/index69.cjs +1 -1
  433. package/dist/index69.js +1 -1
  434. package/dist/index70.cjs +1 -1
  435. package/dist/index70.js +1 -1
  436. package/dist/index71.cjs +1 -1
  437. package/dist/index71.js +1 -1
  438. package/dist/index72.cjs +1 -1
  439. package/dist/index72.js +1 -1
  440. package/dist/index73.cjs +1 -1
  441. package/dist/index73.js +1 -1
  442. package/dist/index74.cjs +1 -1
  443. package/dist/index74.js +1 -1
  444. package/dist/index75.cjs +1 -1
  445. package/dist/index75.js +1 -1
  446. package/dist/index80.cjs +1 -1
  447. package/dist/index80.js +1 -1
  448. package/dist/index81.cjs +1 -1
  449. package/dist/index81.js +1 -1
  450. package/dist/index82.cjs +1 -1
  451. package/dist/index82.js +1 -1
  452. package/dist/index99.cjs +1 -1
  453. package/dist/index99.js +1 -1
  454. package/package.json +1 -1
package/dist/index201.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index226.cjs"),w=require("react");var d;function M(){if(d)return n.__exports;d=1,Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.active=void 0;var h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},m=w,c=g(m);function g(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function O(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b=n.__exports.active=function(e){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return(function(a){O(i,a);function i(){var p,_,r,s;y(this,i);for(var l=arguments.length,v=Array(l),u=0;u<l;u++)v[u]=arguments[u];return s=(_=(r=f(this,(p=i.__proto__||Object.getPrototypeOf(i)).call.apply(p,[this].concat(v))),r),r.state={active:!1},r.handleMouseDown=function(){return r.setState({active:!0})},r.handleMouseUp=function(){return r.setState({active:!1})},r.render=function(){return c.default.createElement(o,{onMouseDown:r.handleMouseDown,onMouseUp:r.handleMouseUp},c.default.createElement(e,h({},r.props,r.state)))},_),f(r,s)}return i})(c.default.Component)};return n.__exports.default=b,n.__exports}exports.__require=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index227.cjs");var u;function p(){if(u)return t.__exports;u=1,Object.defineProperty(t.__exports,"__esModule",{value:!0});var n=function(e,a){var o={},r=function(s){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;o[s]=l};return e===0&&r("first-child"),e===a-1&&r("last-child"),(e===0||e%2===0)&&r("even"),Math.abs(e%2)===1&&r("odd"),r("nth-child",e),o};return t.__exports.default=n,t.__exports}exports.__require=p;
package/dist/index201.js CHANGED
@@ -1,62 +1,19 @@
1
- import { __exports as r } from "./index226.js";
2
- import b from "react";
3
- var d;
4
- function E() {
5
- if (d) return r;
6
- d = 1, Object.defineProperty(r, "__esModule", {
1
+ import { __exports as t } from "./index227.js";
2
+ var a;
3
+ function i() {
4
+ if (a) return t;
5
+ a = 1, Object.defineProperty(t, "__esModule", {
7
6
  value: !0
8
- }), r.active = void 0;
9
- var h = Object.assign || function(t) {
10
- for (var e = 1; e < arguments.length; e++) {
11
- var o = arguments[e];
12
- for (var a in o)
13
- Object.prototype.hasOwnProperty.call(o, a) && (t[a] = o[a]);
14
- }
15
- return t;
16
- }, m = b, c = g(m);
17
- function g(t) {
18
- return t && t.__esModule ? t : { default: t };
19
- }
20
- function w(t, e) {
21
- if (!(t instanceof e))
22
- throw new TypeError("Cannot call a class as a function");
23
- }
24
- function f(t, e) {
25
- if (!t)
26
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
27
- return e && (typeof e == "object" || typeof e == "function") ? e : t;
28
- }
29
- function y(t, e) {
30
- if (typeof e != "function" && e !== null)
31
- throw new TypeError("Super expression must either be null or a function, not " + typeof e);
32
- t.prototype = Object.create(e && e.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
33
- }
34
- var O = r.active = function(e) {
35
- var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "span";
36
- return (function(a) {
37
- y(i, a);
38
- function i() {
39
- var p, l, n, v;
40
- w(this, i);
41
- for (var _ = arguments.length, s = Array(_), u = 0; u < _; u++)
42
- s[u] = arguments[u];
43
- return v = (l = (n = f(this, (p = i.__proto__ || Object.getPrototypeOf(i)).call.apply(p, [this].concat(s))), n), n.state = { active: !1 }, n.handleMouseDown = function() {
44
- return n.setState({ active: !0 });
45
- }, n.handleMouseUp = function() {
46
- return n.setState({ active: !1 });
47
- }, n.render = function() {
48
- return c.default.createElement(
49
- o,
50
- { onMouseDown: n.handleMouseDown, onMouseUp: n.handleMouseUp },
51
- c.default.createElement(e, h({}, n.props, n.state))
52
- );
53
- }, l), f(n, v);
54
- }
55
- return i;
56
- })(c.default.Component);
7
+ });
8
+ var u = function(e, n) {
9
+ var o = {}, r = function(l) {
10
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
11
+ o[l] = s;
12
+ };
13
+ return e === 0 && r("first-child"), e === n - 1 && r("last-child"), (e === 0 || e % 2 === 0) && r("even"), Math.abs(e % 2) === 1 && r("odd"), r("nth-child", e), o;
57
14
  };
58
- return r.default = O, r;
15
+ return t.default = u, t;
59
16
  }
60
17
  export {
61
- E as __require
18
+ i as __require
62
19
  };
package/dist/index202.cjs CHANGED
@@ -1 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index227.cjs");var u;function p(){if(u)return t.__exports;u=1,Object.defineProperty(t.__exports,"__esModule",{value:!0});var n=function(e,a){var o={},r=function(s){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;o[s]=l};return e===0&&r("first-child"),e===a-1&&r("last-child"),(e===0||e%2===0)&&r("even"),Math.abs(e%2)===1&&r("odd"),r("nth-child",e),o};return t.__exports.default=n,t.__exports}exports.__require=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/**
2
+ * @license lucide-react v0.563.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const o=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,a,e)=>e?e.toUpperCase():a.toLowerCase());exports.toCamelCase=o;
package/dist/index202.js CHANGED
@@ -1,19 +1,13 @@
1
- import { __exports as t } from "./index227.js";
2
- var a;
3
- function i() {
4
- if (a) return t;
5
- a = 1, Object.defineProperty(t, "__esModule", {
6
- value: !0
7
- });
8
- var u = function(e, n) {
9
- var o = {}, r = function(l) {
10
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
11
- o[l] = s;
12
- };
13
- return e === 0 && r("first-child"), e === n - 1 && r("last-child"), (e === 0 || e % 2 === 0) && r("even"), Math.abs(e % 2) === 1 && r("odd"), r("nth-child", e), o;
14
- };
15
- return t.default = u, t;
16
- }
1
+ /**
2
+ * @license lucide-react v0.563.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */
7
+ const s = (a) => a.replace(
8
+ /^([A-Z])|[\s-_]+(\w)/g,
9
+ (t, o, e) => e ? e.toUpperCase() : o.toLowerCase()
10
+ );
17
11
  export {
18
- i as __require
12
+ s as toCamelCase
19
13
  };
package/dist/index208.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const _=require("./index241.cjs"),d=require("./index242.cjs"),g=require("./index243.cjs"),M=require("./index244.cjs"),o=require("./index218.cjs"),p=require("./index245.cjs"),a=require("./index246.cjs");function t(e,n,u,s,r){e!==n&&g(n,function(f,i){if(r||(r=new _),o(f))M(e,n,i,u,t,s,r);else{var q=s?s(a(e,i),f,i+"",e,n,r):void 0;q===void 0&&(q=f),d(e,i,q)}},p)}module.exports=t;
1
+ "use strict";function i(e,u){for(var t=-1,n=e==null?0:e.length,l=Array(n);++t<n;)l[t]=u(e[t],t,e);return l}module.exports=i;
package/dist/index208.js CHANGED
@@ -1,20 +1,8 @@
1
- import t from "./index241.js";
2
- import d from "./index242.js";
3
- import g from "./index243.js";
4
- import a from "./index244.js";
5
- import M from "./index218.js";
6
- import v from "./index245.js";
7
- import x from "./index246.js";
8
- function D(f, r, e, n, i) {
9
- f !== r && g(r, function(o, m) {
10
- if (i || (i = new t()), M(o))
11
- a(f, r, m, e, D, n, i);
12
- else {
13
- var p = n ? n(x(f, m), o, m + "", f, r, i) : void 0;
14
- p === void 0 && (p = o), d(f, m, p);
15
- }
16
- }, v);
1
+ function h(e, u) {
2
+ for (var l = -1, n = e == null ? 0 : e.length, t = Array(n); ++l < n; )
3
+ t[l] = u(e[l], l, e);
4
+ return t;
17
5
  }
18
6
  export {
19
- D as default
7
+ h as default
20
8
  };
package/dist/index209.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const a=require("./index247.cjs"),l=require("./index248.cjs");function g(f){return a(function(i,n){var d=-1,e=n.length,t=e>1?n[e-1]:void 0,r=e>2?n[2]:void 0;for(t=f.length>3&&typeof t=="function"?(e--,t):void 0,r&&l(n[0],n[1],r)&&(t=e<3?void 0:t,e=1),i=Object(i);++d<e;){var u=n[d];u&&f(i,u,d,t)}return i})}module.exports=g;
1
+ "use strict";const t=require("./index241.cjs"),e=require("./index242.cjs"),n=require("./index243.cjs"),i=require("./index211.cjs"),s=require("./index244.cjs");function o(r){return typeof r=="function"?r:r==null?n:typeof r=="object"?i(r)?e(r[0],r[1]):t(r):s(r)}module.exports=o;
package/dist/index209.js CHANGED
@@ -1,15 +1,11 @@
1
- import l from "./index247.js";
2
- import u from "./index248.js";
3
- function h(d) {
4
- return l(function(i, e) {
5
- var f = -1, n = e.length, t = n > 1 ? e[n - 1] : void 0, r = n > 2 ? e[2] : void 0;
6
- for (t = d.length > 3 && typeof t == "function" ? (n--, t) : void 0, r && u(e[0], e[1], r) && (t = n < 3 ? void 0 : t, n = 1), i = Object(i); ++f < n; ) {
7
- var a = e[f];
8
- a && d(i, a, f, t);
9
- }
10
- return i;
11
- });
1
+ import t from "./index241.js";
2
+ import o from "./index242.js";
3
+ import f from "./index243.js";
4
+ import i from "./index211.js";
5
+ import e from "./index244.js";
6
+ function c(r) {
7
+ return typeof r == "function" ? r : r == null ? f : typeof r == "object" ? i(r) ? o(r[0], r[1]) : t(r) : e(r);
12
8
  }
13
9
  export {
14
- h as default
10
+ c as default
15
11
  };
package/dist/index210.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("./index288.cjs"),t=require("./index253.cjs"),a=require("./index289.cjs"),n=require("./index214.cjs");function u(r,e){var c=n(r)?s:t;return c(r,a(e))}module.exports=u;
1
+ "use strict";const i=require("./index245.cjs"),b=require("./index246.cjs");function c(r,s){var t=-1,e=b(r)?Array(r.length):[];return i(r,function(a,n,u){e[++t]=s(a,n,u)}),e}module.exports=c;
package/dist/index210.js CHANGED
@@ -1,11 +1,11 @@
1
- import t from "./index288.js";
2
- import f from "./index253.js";
3
- import m from "./index289.js";
4
- import i from "./index214.js";
5
- function s(r, a) {
6
- var o = i(r) ? t : f;
7
- return o(r, m(a));
1
+ import s from "./index245.js";
2
+ import u from "./index246.js";
3
+ function o(r, e) {
4
+ var t = -1, a = u(r) ? Array(r.length) : [];
5
+ return s(r, function(f, i, n) {
6
+ a[++t] = e(f, i, n);
7
+ }), a;
8
8
  }
9
9
  export {
10
- s as default
10
+ o as default
11
11
  };
package/dist/index211.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function i(e,u){for(var t=-1,n=e==null?0:e.length,l=Array(n);++t<n;)l[t]=u(e[t],t,e);return l}module.exports=i;
1
+ "use strict";var r=Array.isArray;module.exports=r;
package/dist/index211.js CHANGED
@@ -1,8 +1,4 @@
1
- function h(e, u) {
2
- for (var l = -1, n = e == null ? 0 : e.length, t = Array(n); ++l < n; )
3
- t[l] = u(e[l], l, e);
4
- return t;
5
- }
1
+ var r = Array.isArray;
6
2
  export {
7
- h as default
3
+ r as default
8
4
  };
package/dist/index212.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const t=require("./index249.cjs"),e=require("./index250.cjs"),n=require("./index251.cjs"),i=require("./index214.cjs"),s=require("./index252.cjs");function o(r){return typeof r=="function"?r:r==null?n:typeof r=="object"?i(r)?e(r[0],r[1]):t(r):s(r)}module.exports=o;
1
+ "use strict";const _=require("./index247.cjs"),d=require("./index248.cjs"),g=require("./index249.cjs"),M=require("./index250.cjs"),o=require("./index219.cjs"),p=require("./index251.cjs"),a=require("./index252.cjs");function t(e,n,u,s,r){e!==n&&g(n,function(f,i){if(r||(r=new _),o(f))M(e,n,i,u,t,s,r);else{var q=s?s(a(e,i),f,i+"",e,n,r):void 0;q===void 0&&(q=f),d(e,i,q)}},p)}module.exports=t;
package/dist/index212.js CHANGED
@@ -1,11 +1,20 @@
1
- import t from "./index249.js";
2
- import o from "./index250.js";
3
- import f from "./index251.js";
4
- import i from "./index214.js";
5
- import e from "./index252.js";
6
- function c(r) {
7
- return typeof r == "function" ? r : r == null ? f : typeof r == "object" ? i(r) ? o(r[0], r[1]) : t(r) : e(r);
1
+ import t from "./index247.js";
2
+ import d from "./index248.js";
3
+ import g from "./index249.js";
4
+ import a from "./index250.js";
5
+ import M from "./index219.js";
6
+ import v from "./index251.js";
7
+ import x from "./index252.js";
8
+ function D(f, r, e, n, i) {
9
+ f !== r && g(r, function(o, m) {
10
+ if (i || (i = new t()), M(o))
11
+ a(f, r, m, e, D, n, i);
12
+ else {
13
+ var p = n ? n(x(f, m), o, m + "", f, r, i) : void 0;
14
+ p === void 0 && (p = o), d(f, m, p);
15
+ }
16
+ }, v);
8
17
  }
9
18
  export {
10
- c as default
19
+ D as default
11
20
  };
package/dist/index213.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const i=require("./index253.cjs"),b=require("./index254.cjs");function c(r,s){var t=-1,e=b(r)?Array(r.length):[];return i(r,function(a,n,u){e[++t]=s(a,n,u)}),e}module.exports=c;
1
+ "use strict";const a=require("./index253.cjs"),l=require("./index254.cjs");function g(f){return a(function(i,n){var d=-1,e=n.length,t=e>1?n[e-1]:void 0,r=e>2?n[2]:void 0;for(t=f.length>3&&typeof t=="function"?(e--,t):void 0,r&&l(n[0],n[1],r)&&(t=e<3?void 0:t,e=1),i=Object(i);++d<e;){var u=n[d];u&&f(i,u,d,t)}return i})}module.exports=g;
package/dist/index213.js CHANGED
@@ -1,11 +1,15 @@
1
- import s from "./index253.js";
1
+ import l from "./index253.js";
2
2
  import u from "./index254.js";
3
- function o(r, e) {
4
- var t = -1, a = u(r) ? Array(r.length) : [];
5
- return s(r, function(f, i, n) {
6
- a[++t] = e(f, i, n);
7
- }), a;
3
+ function h(d) {
4
+ return l(function(i, e) {
5
+ var f = -1, n = e.length, t = n > 1 ? e[n - 1] : void 0, r = n > 2 ? e[2] : void 0;
6
+ for (t = d.length > 3 && typeof t == "function" ? (n--, t) : void 0, r && u(e[0], e[1], r) && (t = n < 3 ? void 0 : t, n = 1), i = Object(i); ++f < n; ) {
7
+ var a = e[f];
8
+ a && d(i, a, f, t);
9
+ }
10
+ return i;
11
+ });
8
12
  }
9
13
  export {
10
- o as default
14
+ h as default
11
15
  };
package/dist/index214.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var r=Array.isArray;module.exports=r;
1
+ "use strict";const s=require("./index302.cjs"),t=require("./index245.cjs"),a=require("./index303.cjs"),n=require("./index211.cjs");function u(r,e){var c=n(r)?s:t;return c(r,a(e))}module.exports=u;
package/dist/index214.js CHANGED
@@ -1,4 +1,11 @@
1
- var r = Array.isArray;
1
+ import t from "./index302.js";
2
+ import f from "./index245.js";
3
+ import m from "./index303.js";
4
+ import i from "./index211.js";
5
+ function s(r, a) {
6
+ var o = i(r) ? t : f;
7
+ return o(r, m(a));
8
+ }
2
9
  export {
3
- r as default
10
+ s as default
4
11
  };
package/dist/index216.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const o=require("./index142.cjs"),r=require("./index255.cjs");var e=r.__require();const n=o.getDefaultExportFromCjs(e);module.exports=n;
1
+ "use strict";const o=require("./index131.cjs"),r=require("./index255.cjs");var e=r.__require();const n=o.getDefaultExportFromCjs(e);module.exports=n;
package/dist/index216.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getDefaultExportFromCjs as o } from "./index142.js";
1
+ import { getDefaultExportFromCjs as o } from "./index131.js";
2
2
  import { __require as r } from "./index255.js";
3
3
  var t = r();
4
4
  const a = /* @__PURE__ */ o(t);
package/dist/index218.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function n(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}module.exports=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react"),d=require("./index154.cjs"),h=require("./index166.cjs");require("./index155.cjs");require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");require("./index160.cjs");const F=require("./index162.cjs"),p=require("./index260.cjs");var l=function(e){var o=e.color,t=e.onClick,i=t===void 0?function(){}:t,a=e.onSwatchHover,n=e.first,s=e.last,u=e.active,c=d.default({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:o,marginBottom:"1px"},check:{color:h.getContrastingColor(o),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:n,last:s,active:u,"color-#FFFFFF":o==="#FFFFFF",transparent:o==="transparent"});return r.createElement(F.default,{color:o,style:c.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+o}},r.createElement("div",{style:c.check},r.createElement(p,null)))};exports.SwatchesColor=l;exports.default=l;
package/dist/index218.js CHANGED
@@ -1,7 +1,85 @@
1
- function n(t) {
2
- var e = typeof t;
3
- return t != null && (e == "object" || e == "function");
4
- }
1
+ import t from "react";
2
+ import s from "./index154.js";
3
+ import { getContrastingColor as d } from "./index166.js";
4
+ import "./index155.js";
5
+ import "./index156.js";
6
+ import "./index157.js";
7
+ import "./index158.js";
8
+ import "./index159.js";
9
+ import "./index160.js";
10
+ import m from "./index162.js";
11
+ import h from "./index260.js";
12
+ var E = function(o) {
13
+ var r = o.color, e = o.onClick, a = e === void 0 ? function() {
14
+ } : e, l = o.onSwatchHover, i = o.first, n = o.last, p = o.active, c = s({
15
+ default: {
16
+ color: {
17
+ width: "40px",
18
+ height: "24px",
19
+ cursor: "pointer",
20
+ background: r,
21
+ marginBottom: "1px"
22
+ },
23
+ check: {
24
+ color: d(r),
25
+ marginLeft: "8px",
26
+ display: "none"
27
+ }
28
+ },
29
+ first: {
30
+ color: {
31
+ overflow: "hidden",
32
+ borderRadius: "2px 2px 0 0"
33
+ }
34
+ },
35
+ last: {
36
+ color: {
37
+ overflow: "hidden",
38
+ borderRadius: "0 0 2px 2px"
39
+ }
40
+ },
41
+ active: {
42
+ check: {
43
+ display: "block"
44
+ }
45
+ },
46
+ "color-#FFFFFF": {
47
+ color: {
48
+ boxShadow: "inset 0 0 0 1px #ddd"
49
+ },
50
+ check: {
51
+ color: "#333"
52
+ }
53
+ },
54
+ transparent: {
55
+ check: {
56
+ color: "#333"
57
+ }
58
+ }
59
+ }, {
60
+ first: i,
61
+ last: n,
62
+ active: p,
63
+ "color-#FFFFFF": r === "#FFFFFF",
64
+ transparent: r === "transparent"
65
+ });
66
+ return t.createElement(
67
+ m,
68
+ {
69
+ color: r,
70
+ style: c.color,
71
+ onClick: a,
72
+ onHover: l,
73
+ focusStyle: { boxShadow: "0 0 4px " + r }
74
+ },
75
+ t.createElement(
76
+ "div",
77
+ { style: c.check },
78
+ t.createElement(h, null)
79
+ )
80
+ );
81
+ };
5
82
  export {
6
- n as default
83
+ E as SwatchesColor,
84
+ E as default
7
85
  };
package/dist/index219.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index257.cjs");var t=function(){return r.Date.now()};module.exports=t;
1
+ "use strict";function n(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}module.exports=n;
package/dist/index219.js CHANGED
@@ -1,7 +1,7 @@
1
- import o from "./index257.js";
2
- var t = function() {
3
- return o.Date.now();
4
- };
1
+ function n(t) {
2
+ var e = typeof t;
3
+ return t != null && (e == "object" || e == "function");
4
+ }
5
5
  export {
6
- t as default
6
+ n as default
7
7
  };
package/dist/index220.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index258.cjs"),s=require("./index218.cjs"),f=require("./index259.cjs");var n=NaN,o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt;function p(r){if(typeof r=="number")return r;if(f(r))return n;if(s(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=s(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=e(r);var i=c.test(r);return i||b.test(r)?y(r.slice(2),i?2:8):o.test(r)?n:+r}module.exports=p;
1
+ "use strict";const r=require("./index257.cjs");var t=function(){return r.Date.now()};module.exports=t;
package/dist/index220.js CHANGED
@@ -1,22 +1,7 @@
1
- import n from "./index258.js";
2
- import f from "./index218.js";
3
- import o from "./index259.js";
4
- var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
5
- function O(r) {
6
- if (typeof r == "number")
7
- return r;
8
- if (o(r))
9
- return s;
10
- if (f(r)) {
11
- var t = typeof r.valueOf == "function" ? r.valueOf() : r;
12
- r = f(t) ? t + "" : t;
13
- }
14
- if (typeof r != "string")
15
- return r === 0 ? r : +r;
16
- r = n(r);
17
- var i = p.test(r);
18
- return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
19
- }
1
+ import o from "./index257.js";
2
+ var t = function() {
3
+ return o.Date.now();
4
+ };
20
5
  export {
21
- O as default
6
+ t as default
22
7
  };
package/dist/index221.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react"),d=require("./index154.cjs"),h=require("./index166.cjs");require("./index155.cjs");require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");require("./index160.cjs");const F=require("./index162.cjs"),p=require("./index260.cjs");var l=function(e){var o=e.color,t=e.onClick,i=t===void 0?function(){}:t,a=e.onSwatchHover,n=e.first,s=e.last,u=e.active,c=d.default({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:o,marginBottom:"1px"},check:{color:h.getContrastingColor(o),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:n,last:s,active:u,"color-#FFFFFF":o==="#FFFFFF",transparent:o==="transparent"});return r.createElement(F.default,{color:o,style:c.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+o}},r.createElement("div",{style:c.check},r.createElement(p,null)))};exports.SwatchesColor=l;exports.default=l;
1
+ "use strict";const e=require("./index258.cjs"),s=require("./index219.cjs"),f=require("./index259.cjs");var n=NaN,o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt;function p(r){if(typeof r=="number")return r;if(f(r))return n;if(s(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=s(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=e(r);var i=c.test(r);return i||b.test(r)?y(r.slice(2),i?2:8):o.test(r)?n:+r}module.exports=p;
package/dist/index221.js CHANGED
@@ -1,85 +1,22 @@
1
- import t from "react";
2
- import s from "./index154.js";
3
- import { getContrastingColor as d } from "./index166.js";
4
- import "./index155.js";
5
- import "./index156.js";
6
- import "./index157.js";
7
- import "./index158.js";
8
- import "./index159.js";
9
- import "./index160.js";
10
- import m from "./index162.js";
11
- import h from "./index260.js";
12
- var E = function(o) {
13
- var r = o.color, e = o.onClick, a = e === void 0 ? function() {
14
- } : e, l = o.onSwatchHover, i = o.first, n = o.last, p = o.active, c = s({
15
- default: {
16
- color: {
17
- width: "40px",
18
- height: "24px",
19
- cursor: "pointer",
20
- background: r,
21
- marginBottom: "1px"
22
- },
23
- check: {
24
- color: d(r),
25
- marginLeft: "8px",
26
- display: "none"
27
- }
28
- },
29
- first: {
30
- color: {
31
- overflow: "hidden",
32
- borderRadius: "2px 2px 0 0"
33
- }
34
- },
35
- last: {
36
- color: {
37
- overflow: "hidden",
38
- borderRadius: "0 0 2px 2px"
39
- }
40
- },
41
- active: {
42
- check: {
43
- display: "block"
44
- }
45
- },
46
- "color-#FFFFFF": {
47
- color: {
48
- boxShadow: "inset 0 0 0 1px #ddd"
49
- },
50
- check: {
51
- color: "#333"
52
- }
53
- },
54
- transparent: {
55
- check: {
56
- color: "#333"
57
- }
58
- }
59
- }, {
60
- first: i,
61
- last: n,
62
- active: p,
63
- "color-#FFFFFF": r === "#FFFFFF",
64
- transparent: r === "transparent"
65
- });
66
- return t.createElement(
67
- m,
68
- {
69
- color: r,
70
- style: c.color,
71
- onClick: a,
72
- onHover: l,
73
- focusStyle: { boxShadow: "0 0 4px " + r }
74
- },
75
- t.createElement(
76
- "div",
77
- { style: c.check },
78
- t.createElement(h, null)
79
- )
80
- );
81
- };
1
+ import n from "./index258.js";
2
+ import f from "./index219.js";
3
+ import o from "./index259.js";
4
+ var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
5
+ function O(r) {
6
+ if (typeof r == "number")
7
+ return r;
8
+ if (o(r))
9
+ return s;
10
+ if (f(r)) {
11
+ var t = typeof r.valueOf == "function" ? r.valueOf() : r;
12
+ r = f(t) ? t + "" : t;
13
+ }
14
+ if (typeof r != "string")
15
+ return r === 0 ? r : +r;
16
+ r = n(r);
17
+ var i = p.test(r);
18
+ return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
19
+ }
82
20
  export {
83
- E as SwatchesColor,
84
- E as default
21
+ O as default
85
22
  };
package/dist/index238.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const a=require("./index191.cjs"),l=require("./index218.cjs");var u="Expected a function";function c(t,n,e){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(u);return l(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),a(t,n,{leading:r,maxWait:n,trailing:i})}module.exports=c;
1
+ "use strict";const a=require("./index191.cjs"),l=require("./index219.cjs");var u="Expected a function";function c(t,n,e){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(u);return l(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),a(t,n,{leading:r,maxWait:n,trailing:i})}module.exports=c;
package/dist/index238.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import n from "./index191.js";
2
- import l from "./index218.js";
2
+ import l from "./index219.js";
3
3
  var f = "Expected a function";
4
4
  function u(t, a, r) {
5
5
  var e = !0, i = !0;
package/dist/index241.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("./index263.cjs"),o=require("./index264.cjs"),a=require("./index265.cjs"),c=require("./index266.cjs"),i=require("./index267.cjs"),p=require("./index268.cjs");function t(e){var r=this.__data__=new s(e);this.size=r.size}t.prototype.clear=o;t.prototype.delete=a;t.prototype.get=c;t.prototype.has=i;t.prototype.set=p;module.exports=t;
1
+ "use strict";const a=require("./index267.cjs"),n=require("./index268.cjs"),c=require("./index269.cjs");function s(e){var t=n(e);return t.length==1&&t[0][2]?c(t[0][0],t[0][1]):function(r){return r===e||a(r,e,t)}}module.exports=s;