@ikas/core 1.0.26 → 1.0.27

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 (326) hide show
  1. package/dist/index102.cjs +1 -1
  2. package/dist/index102.js +1 -1
  3. package/dist/index104.cjs +1 -1
  4. package/dist/index104.js +1 -1
  5. package/dist/index112.cjs +1 -1
  6. package/dist/index112.js +3 -3
  7. package/dist/index114.cjs +1 -1
  8. package/dist/index114.js +2 -2
  9. package/dist/index123.cjs +1 -1
  10. package/dist/index123.js +96 -389
  11. package/dist/index124.cjs +6 -1
  12. package/dist/index124.js +14 -111
  13. package/dist/index125.cjs +1 -1
  14. package/dist/index125.js +6 -7
  15. package/dist/index126.cjs +2 -2
  16. package/dist/index126.js +8 -7
  17. package/dist/index127.cjs +5 -6
  18. package/dist/index127.js +2962 -14
  19. package/dist/index128.cjs +1 -5
  20. package/dist/index128.js +2 -2962
  21. package/dist/index129.cjs +1 -1
  22. package/dist/index129.js +5 -2
  23. package/dist/index130.cjs +1 -1
  24. package/dist/index130.js +404 -5
  25. package/dist/index131.cjs +1 -1
  26. package/dist/index131.js +4 -4
  27. package/dist/index132.cjs +1 -1
  28. package/dist/index132.js +4 -8
  29. package/dist/index133.cjs +1 -1
  30. package/dist/index133.js +7 -6
  31. package/dist/index134.cjs +1 -1
  32. package/dist/index134.js +6 -3
  33. package/dist/index146.cjs +1 -1
  34. package/dist/index146.js +1 -1
  35. package/dist/index156.cjs +1 -1
  36. package/dist/index156.js +1 -1
  37. package/dist/index179.cjs +1 -1
  38. package/dist/index179.js +1 -1
  39. package/dist/index183.cjs +1 -1
  40. package/dist/index183.js +3 -3
  41. package/dist/index209.cjs +1 -1
  42. package/dist/index209.js +4 -4
  43. package/dist/index210.cjs +1 -1
  44. package/dist/index210.js +2 -2
  45. package/dist/index212.cjs +1 -1
  46. package/dist/index212.js +7 -7
  47. package/dist/index213.cjs +1 -1
  48. package/dist/index213.js +2 -2
  49. package/dist/index214.cjs +1 -1
  50. package/dist/index214.js +1 -1
  51. package/dist/index216.cjs +1 -1
  52. package/dist/index216.js +1 -1
  53. package/dist/index218.cjs +1 -1
  54. package/dist/index218.js +83 -5
  55. package/dist/index219.cjs +1 -1
  56. package/dist/index219.js +5 -5
  57. package/dist/index220.cjs +1 -1
  58. package/dist/index220.js +5 -20
  59. package/dist/index221.cjs +1 -1
  60. package/dist/index221.js +20 -83
  61. package/dist/index235.cjs +1 -1
  62. package/dist/index235.js +15 -9
  63. package/dist/index236.cjs +1 -1
  64. package/dist/index236.js +5 -14
  65. package/dist/index237.cjs +1 -1
  66. package/dist/index237.js +2 -3
  67. package/dist/index238.cjs +1 -1
  68. package/dist/index238.js +28 -7
  69. package/dist/index239.cjs +1 -1
  70. package/dist/index239.js +6 -3
  71. package/dist/index240.cjs +1 -1
  72. package/dist/index240.js +4 -5
  73. package/dist/index241.cjs +1 -1
  74. package/dist/index241.js +6 -15
  75. package/dist/index242.cjs +1 -1
  76. package/dist/index242.js +10 -5
  77. package/dist/index243.cjs +1 -1
  78. package/dist/index243.js +10 -3
  79. package/dist/index244.cjs +1 -1
  80. package/dist/index244.js +14 -28
  81. package/dist/index245.cjs +1 -1
  82. package/dist/index245.js +3 -6
  83. package/dist/index246.cjs +1 -1
  84. package/dist/index246.js +7 -4
  85. package/dist/index247.cjs +1 -1
  86. package/dist/index247.js +4 -7
  87. package/dist/index248.cjs +1 -1
  88. package/dist/index248.js +5 -10
  89. package/dist/index252.cjs +1 -1
  90. package/dist/index252.js +1 -1
  91. package/dist/index257.cjs +1 -1
  92. package/dist/index257.js +5 -3
  93. package/dist/index258.cjs +1 -1
  94. package/dist/index258.js +3 -6
  95. package/dist/index259.cjs +1 -1
  96. package/dist/index259.js +5 -6
  97. package/dist/index260.cjs +1 -1
  98. package/dist/index260.js +7 -5
  99. package/dist/index263.cjs +1 -1
  100. package/dist/index263.js +5 -5
  101. package/dist/index268.cjs +1 -1
  102. package/dist/index268.js +2 -2
  103. package/dist/index269.cjs +1 -1
  104. package/dist/index269.js +1 -1
  105. package/dist/index272.cjs +1 -1
  106. package/dist/index272.js +1 -1
  107. package/dist/index273.cjs +1 -1
  108. package/dist/index273.js +1 -1
  109. package/dist/index275.cjs +1 -1
  110. package/dist/index275.js +3 -3
  111. package/dist/index276.cjs +1 -1
  112. package/dist/index276.js +2 -2
  113. package/dist/index277.cjs +1 -1
  114. package/dist/index277.js +2 -2
  115. package/dist/index278.cjs +1 -1
  116. package/dist/index278.js +2 -2
  117. package/dist/index279.cjs +1 -1
  118. package/dist/index279.js +2 -2
  119. package/dist/index280.cjs +1 -1
  120. package/dist/index280.js +3 -3
  121. package/dist/index281.cjs +1 -1
  122. package/dist/index281.js +3 -3
  123. package/dist/index282.cjs +1 -1
  124. package/dist/index282.js +2 -2
  125. package/dist/index283.cjs +1 -1
  126. package/dist/index283.js +2 -2
  127. package/dist/index284.cjs +1 -1
  128. package/dist/index284.js +3 -3
  129. package/dist/index285.cjs +1 -1
  130. package/dist/index285.js +26 -5
  131. package/dist/index286.cjs +1 -1
  132. package/dist/index286.js +9 -12
  133. package/dist/index287.cjs +1 -1
  134. package/dist/index287.js +5 -4
  135. package/dist/index288.cjs +1 -1
  136. package/dist/index288.js +5 -12
  137. package/dist/index289.cjs +1 -1
  138. package/dist/index289.js +6 -4
  139. package/dist/index290.cjs +1 -1
  140. package/dist/index290.js +4 -4
  141. package/dist/index291.cjs +1 -1
  142. package/dist/index291.js +9 -26
  143. package/dist/index292.cjs +1 -1
  144. package/dist/index292.js +4 -9
  145. package/dist/index293.cjs +1 -1
  146. package/dist/index293.js +7 -5
  147. package/dist/index294.cjs +1 -1
  148. package/dist/index294.js +5 -5
  149. package/dist/index295.cjs +1 -1
  150. package/dist/index295.js +6 -5
  151. package/dist/index296.cjs +1 -1
  152. package/dist/index296.js +12 -5
  153. package/dist/index297.cjs +1 -1
  154. package/dist/index297.js +4 -10
  155. package/dist/index298.cjs +1 -1
  156. package/dist/index298.js +5 -4
  157. package/dist/index299.cjs +1 -1
  158. package/dist/index299.js +5 -7
  159. package/dist/index300.cjs +1 -1
  160. package/dist/index300.js +11 -4
  161. package/dist/index301.cjs +1 -1
  162. package/dist/index301.js +4 -6
  163. package/dist/index303.cjs +1 -1
  164. package/dist/index303.js +1 -1
  165. package/dist/index304.cjs +1 -1
  166. package/dist/index304.js +39 -2
  167. package/dist/index305.cjs +1 -1
  168. package/dist/index305.js +2 -7
  169. package/dist/index306.cjs +1 -1
  170. package/dist/index306.js +2 -8
  171. package/dist/index307.cjs +1 -1
  172. package/dist/index307.js +6 -3
  173. package/dist/index308.cjs +1 -1
  174. package/dist/index308.js +7 -38
  175. package/dist/index309.cjs +1 -1
  176. package/dist/index309.js +4 -2
  177. package/dist/index310.cjs +1 -1
  178. package/dist/index310.js +4 -9
  179. package/dist/index311.cjs +1 -1
  180. package/dist/index311.js +9 -5
  181. package/dist/index312.cjs +1 -1
  182. package/dist/index312.js +5 -5
  183. package/dist/index313.cjs +1 -1
  184. package/dist/index313.js +4 -7
  185. package/dist/index314.cjs +1 -1
  186. package/dist/index314.js +5 -3
  187. package/dist/index315.cjs +1 -1
  188. package/dist/index315.js +4 -10
  189. package/dist/index316.cjs +1 -1
  190. package/dist/index316.js +17 -5
  191. package/dist/index317.cjs +1 -1
  192. package/dist/index317.js +5 -4
  193. package/dist/index318.cjs +1 -1
  194. package/dist/index318.js +5 -5
  195. package/dist/index319.cjs +1 -1
  196. package/dist/index319.js +8 -4
  197. package/dist/index320.cjs +1 -1
  198. package/dist/index320.js +8 -17
  199. package/dist/index321.cjs +1 -1
  200. package/dist/index321.js +29 -5
  201. package/dist/index322.cjs +1 -1
  202. package/dist/index322.js +9 -15
  203. package/dist/index323.cjs +1 -1
  204. package/dist/index323.js +4 -3
  205. package/dist/index324.cjs +1 -1
  206. package/dist/index324.js +16 -6
  207. package/dist/index325.cjs +1 -1
  208. package/dist/index325.js +6 -3
  209. package/dist/index326.cjs +1 -1
  210. package/dist/index326.js +5 -9
  211. package/dist/index327.cjs +1 -1
  212. package/dist/index327.js +14 -5
  213. package/dist/index328.cjs +1 -1
  214. package/dist/index328.js +3 -9
  215. package/dist/index329.cjs +1 -1
  216. package/dist/index329.js +6 -11
  217. package/dist/index330.cjs +1 -1
  218. package/dist/index330.js +3 -6
  219. package/dist/index331.cjs +1 -1
  220. package/dist/index331.js +9 -13
  221. package/dist/index332.cjs +1 -1
  222. package/dist/index332.js +6 -12
  223. package/dist/index333.cjs +1 -1
  224. package/dist/index333.js +9 -14
  225. package/dist/index334.cjs +1 -1
  226. package/dist/index334.js +10 -28
  227. package/dist/index335.cjs +1 -1
  228. package/dist/index335.js +13 -8
  229. package/dist/index336.cjs +1 -1
  230. package/dist/index336.js +12 -4
  231. package/dist/index337.cjs +1 -1
  232. package/dist/index337.js +13 -16
  233. package/dist/index338.cjs +1 -1
  234. package/dist/index338.js +1 -1
  235. package/dist/index341.cjs +1 -1
  236. package/dist/index341.js +7 -6
  237. package/dist/index342.cjs +1 -1
  238. package/dist/index342.js +6 -7
  239. package/dist/index343.cjs +1 -1
  240. package/dist/index343.js +1 -1
  241. package/dist/index348.cjs +1 -1
  242. package/dist/index348.js +8 -3
  243. package/dist/index349.cjs +1 -1
  244. package/dist/index349.js +37 -5
  245. package/dist/index350.cjs +1 -1
  246. package/dist/index350.js +42 -7
  247. package/dist/index351.cjs +1 -1
  248. package/dist/index351.js +33 -11
  249. package/dist/index352.cjs +1 -1
  250. package/dist/index352.js +26 -6
  251. package/dist/index353.cjs +1 -1
  252. package/dist/index353.js +11 -7
  253. package/dist/index354.cjs +1 -1
  254. package/dist/index354.js +3 -38
  255. package/dist/index355.cjs +1 -1
  256. package/dist/index355.js +5 -42
  257. package/dist/index356.cjs +1 -1
  258. package/dist/index356.js +7 -33
  259. package/dist/index357.cjs +1 -1
  260. package/dist/index357.js +6 -26
  261. package/dist/index358.cjs +1 -1
  262. package/dist/index358.js +3 -3
  263. package/dist/index360.cjs +1 -1
  264. package/dist/index360.js +5 -5
  265. package/dist/index361.cjs +1 -1
  266. package/dist/index361.js +1 -1
  267. package/dist/index362.cjs +1 -1
  268. package/dist/index362.js +8 -3
  269. package/dist/index363.cjs +1 -1
  270. package/dist/index363.js +5 -8
  271. package/dist/index364.cjs +1 -1
  272. package/dist/index364.js +10 -4
  273. package/dist/index365.cjs +1 -1
  274. package/dist/index365.js +6 -10
  275. package/dist/index366.cjs +1 -1
  276. package/dist/index366.js +3 -6
  277. package/dist/index367.cjs +1 -1
  278. package/dist/index367.js +6 -3
  279. package/dist/index368.cjs +1 -1
  280. package/dist/index368.js +4 -4
  281. package/dist/index369.cjs +1 -1
  282. package/dist/index369.js +6 -6
  283. package/dist/index370.cjs +1 -1
  284. package/dist/index370.js +4 -7
  285. package/dist/index371.cjs +1 -1
  286. package/dist/index371.js +4 -4
  287. package/dist/index372.cjs +1 -1
  288. package/dist/index372.js +4 -4
  289. package/dist/index373.cjs +1 -1
  290. package/dist/index373.js +4 -4
  291. package/dist/index374.cjs +1 -1
  292. package/dist/index374.js +14 -3
  293. package/dist/index375.cjs +1 -1
  294. package/dist/index375.js +3 -15
  295. package/dist/index376.cjs +1 -1
  296. package/dist/index376.js +4 -8
  297. package/dist/index377.cjs +1 -1
  298. package/dist/index377.js +4 -4
  299. package/dist/index378.cjs +1 -1
  300. package/dist/index378.js +10 -4
  301. package/dist/index379.cjs +1 -1
  302. package/dist/index379.js +6 -4
  303. package/dist/index380.cjs +1 -1
  304. package/dist/index380.js +6 -10
  305. package/dist/index381.cjs +1 -1
  306. package/dist/index381.js +4 -6
  307. package/dist/index382.cjs +1 -1
  308. package/dist/index382.js +7 -5
  309. package/dist/index388.cjs +1 -1
  310. package/dist/index388.js +1 -1
  311. package/dist/index389.cjs +1 -1
  312. package/dist/index389.js +2 -2
  313. package/dist/index390.cjs +1 -1
  314. package/dist/index390.js +2 -2
  315. package/dist/index394.cjs +1 -1
  316. package/dist/index394.js +1 -1
  317. package/dist/index50.cjs +1 -1
  318. package/dist/index50.js +3 -3
  319. package/dist/index56.cjs +1 -1
  320. package/dist/index56.js +1 -1
  321. package/dist/index57.cjs +1 -1
  322. package/dist/index57.js +1 -1
  323. package/dist/index58.cjs +1 -1
  324. package/dist/index58.js +1 -1
  325. package/dist/tw4.css +6 -3
  326. package/package.json +1 -1
package/dist/index213.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 a=require("./index241.cjs"),l=require("./index242.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,5 +1,5 @@
1
- import l from "./index247.js";
2
- import u from "./index248.js";
1
+ import l from "./index241.js";
2
+ import u from "./index242.js";
3
3
  function h(d) {
4
4
  return l(function(i, e) {
5
5
  var f = -1, n = e.length, t = n > 1 ? e[n - 1] : void 0, r = n > 2 ? e[2] : void 0;
package/dist/index214.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("./index302.cjs"),t=require("./index239.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;
1
+ "use strict";const s=require("./index302.cjs"),t=require("./index247.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,5 +1,5 @@
1
1
  import t from "./index302.js";
2
- import f from "./index239.js";
2
+ import f from "./index247.js";
3
3
  import m from "./index303.js";
4
4
  import i from "./index211.js";
5
5
  function s(r, a) {
package/dist/index216.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const o=require("./index134.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 "./index134.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("./index146.cjs"),h=require("./index158.cjs");require("./index147.cjs");require("./index148.cjs");require("./index149.cjs");require("./index150.cjs");require("./index151.cjs");require("./index152.cjs");const F=require("./index154.cjs"),p=require("./index257.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 "./index146.js";
3
+ import { getContrastingColor as d } from "./index158.js";
4
+ import "./index147.js";
5
+ import "./index148.js";
6
+ import "./index149.js";
7
+ import "./index150.js";
8
+ import "./index151.js";
9
+ import "./index152.js";
10
+ import m from "./index154.js";
11
+ import h from "./index257.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("./index258.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 "./index258.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("./index146.cjs"),h=require("./index158.cjs");require("./index147.cjs");require("./index148.cjs");require("./index149.cjs");require("./index150.cjs");require("./index151.cjs");require("./index152.cjs");const F=require("./index154.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("./index259.cjs"),s=require("./index219.cjs"),f=require("./index260.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 "./index146.js";
3
- import { getContrastingColor as d } from "./index158.js";
4
- import "./index147.js";
5
- import "./index148.js";
6
- import "./index149.js";
7
- import "./index150.js";
8
- import "./index151.js";
9
- import "./index152.js";
10
- import m from "./index154.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 "./index259.js";
2
+ import f from "./index219.js";
3
+ import o from "./index260.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/index235.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const a=require("./index291.cjs"),n=require("./index292.cjs"),c=require("./index293.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;
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;
package/dist/index235.js CHANGED
@@ -1,12 +1,18 @@
1
- import e from "./index291.js";
2
- import m from "./index292.js";
3
- import n from "./index293.js";
4
- function h(a) {
5
- var t = m(a);
6
- return t.length == 1 && t[0][2] ? n(t[0][0], t[0][1]) : function(r) {
7
- return r === a || e(r, a, t);
8
- };
1
+ import r from "./index263.js";
2
+ import a from "./index264.js";
3
+ import p from "./index265.js";
4
+ import s from "./index266.js";
5
+ import i from "./index267.js";
6
+ import m from "./index268.js";
7
+ function t(o) {
8
+ var e = this.__data__ = new r(o);
9
+ this.size = e.size;
9
10
  }
11
+ t.prototype.clear = a;
12
+ t.prototype.delete = p;
13
+ t.prototype.get = s;
14
+ t.prototype.has = i;
15
+ t.prototype.set = m;
10
16
  export {
11
- h as default
17
+ t as default
12
18
  };
package/dist/index236.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const i=require("./index294.cjs"),s=require("./index295.cjs"),o=require("./index296.cjs"),u=require("./index297.cjs"),c=require("./index298.cjs"),_=require("./index293.cjs"),q=require("./index299.cjs");var a=1,A=2;function E(e,r){return u(e)&&c(r)?_(q(e),r):function(n){var t=s(n,e);return t===void 0&&t===r?o(n,e):i(r,t,a|A)}}module.exports=E;
1
+ "use strict";const e=require("./index269.cjs"),r=require("./index270.cjs");function u(i,s,n){(n!==void 0&&!r(i[s],n)||n===void 0&&!(s in i))&&e(i,s,n)}module.exports=u;
package/dist/index236.js CHANGED
@@ -1,17 +1,8 @@
1
- import i from "./index294.js";
2
- import e from "./index295.js";
3
- import f from "./index296.js";
4
- import n from "./index297.js";
5
- import a from "./index298.js";
6
- import p from "./index293.js";
7
- import s from "./index299.js";
8
- var u = 1, A = 2;
9
- function y(r, o) {
10
- return n(r) && a(o) ? p(s(r), o) : function(m) {
11
- var t = e(m, r);
12
- return t === void 0 && t === o ? f(m, r) : i(o, t, u | A);
13
- };
1
+ import r from "./index269.js";
2
+ import s from "./index270.js";
3
+ function m(n, f, i) {
4
+ (i !== void 0 && !s(n[f], i) || i === void 0 && !(f in n)) && r(n, f, i);
14
5
  }
15
6
  export {
16
- y as default
7
+ m as default
17
8
  };
package/dist/index237.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function e(t){return t}module.exports=e;
1
+ "use strict";const e=require("./index271.cjs");var r=e();module.exports=r;
package/dist/index237.js CHANGED
@@ -1,6 +1,5 @@
1
- function e(t) {
2
- return t;
3
- }
1
+ import r from "./index271.js";
2
+ var e = r();
4
3
  export {
5
4
  e as default
6
5
  };
package/dist/index238.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index300.cjs"),t=require("./index301.cjs"),o=require("./index297.cjs"),s=require("./index299.cjs");function i(e){return o(e)?r(s(e)):t(e)}module.exports=i;
1
+ "use strict";const d=require("./index236.cjs"),v=require("./index272.cjs"),A=require("./index273.cjs"),V=require("./index274.cjs"),j=require("./index275.cjs"),_=require("./index276.cjs"),g=require("./index211.cjs"),y=require("./index277.cjs"),C=require("./index278.cjs"),M=require("./index279.cjs"),P=require("./index219.cjs"),m=require("./index280.cjs"),w=require("./index281.cjs"),O=require("./index240.cjs"),x=require("./index282.cjs");function D(u,c,n,b,p,l,s){var i=O(u,n),e=O(c,n),f=s.get(e);if(f){d(u,n,f);return}var r=l?l(i,e,n+"",u,c,s):void 0,t=r===void 0;if(t){var o=g(e),a=!o&&C(e),q=!o&&!a&&w(e);r=e,o||a||q?g(i)?r=i:y(i)?r=V(i):a?(t=!1,r=v(e)):q?(t=!1,r=A(e)):r=[]:m(e)||_(e)?(r=i,_(i)?r=x(i):(!P(i)||M(i))&&(r=j(e))):t=!1}t&&(s.set(e,r),p(r,e,b,l,s),s.delete(e)),d(u,n,r)}module.exports=D;
package/dist/index238.js CHANGED
@@ -1,10 +1,31 @@
1
- import o from "./index300.js";
2
- import e from "./index301.js";
3
- import t from "./index297.js";
4
- import m from "./index299.js";
5
- function s(r) {
6
- return t(r) ? o(m(r)) : e(r);
1
+ import u from "./index236.js";
2
+ import V from "./index272.js";
3
+ import j from "./index273.js";
4
+ import y from "./index274.js";
5
+ import c from "./index275.js";
6
+ import g from "./index276.js";
7
+ import O from "./index211.js";
8
+ import C from "./index277.js";
9
+ import M from "./index278.js";
10
+ import P from "./index279.js";
11
+ import w from "./index219.js";
12
+ import x from "./index280.js";
13
+ import D from "./index281.js";
14
+ import b from "./index240.js";
15
+ import F from "./index282.js";
16
+ function U(t, p, o, v, A, l, f) {
17
+ var i = b(t, o), e = b(p, o), s = f.get(e);
18
+ if (s) {
19
+ u(t, o, s);
20
+ return;
21
+ }
22
+ var r = l ? l(i, e, o + "", t, p, f) : void 0, m = r === void 0;
23
+ if (m) {
24
+ var a = O(e), n = !a && M(e), d = !a && !n && D(e);
25
+ r = e, a || n || d ? O(i) ? r = i : C(i) ? r = y(i) : n ? (m = !1, r = V(e)) : d ? (m = !1, r = j(e)) : r = [] : x(e) || g(e) ? (r = i, g(i) ? r = F(i) : (!w(i) || P(i)) && (r = c(e))) : m = !1;
26
+ }
27
+ m && (f.set(e, r), A(r, e, v, l, f), f.delete(e)), u(t, o, r);
7
28
  }
8
29
  export {
9
- s as default
30
+ U as default
10
31
  };
package/dist/index239.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index285.cjs"),r=require("./index286.cjs");var s=r(e);module.exports=s;
1
+ "use strict";const e=require("./index283.cjs"),s=require("./index284.cjs"),i=require("./index248.cjs");function n(r){return i(r)?e(r,!0):s(r)}module.exports=n;
package/dist/index239.js CHANGED
@@ -1,6 +1,9 @@
1
- import a from "./index285.js";
2
- import r from "./index286.js";
3
- var t = r(a);
1
+ import e from "./index283.js";
2
+ import i from "./index284.js";
3
+ import a from "./index248.js";
4
+ function t(r) {
5
+ return a(r) ? e(r, !0) : i(r);
6
+ }
4
7
  export {
5
8
  t as default
6
9
  };
package/dist/index240.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("./index279.cjs"),t=require("./index287.cjs");function i(n){return n!=null&&t(n.length)&&!r(n)}module.exports=i;
1
+ "use strict";function n(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}module.exports=n;
package/dist/index240.js CHANGED
@@ -1,8 +1,7 @@
1
- import t from "./index279.js";
2
- import i from "./index287.js";
3
- function e(r) {
4
- return r != null && i(r.length) && !t(r);
1
+ function n(r, t) {
2
+ if (!(t === "constructor" && typeof r[t] == "function") && t != "__proto__")
3
+ return r[t];
5
4
  }
6
5
  export {
7
- e as default
6
+ n as default
8
7
  };
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 r=require("./index245.cjs"),s=require("./index296.cjs"),i=require("./index297.cjs");function n(e,t){return i(s(e,t,r),e+"")}module.exports=n;
package/dist/index241.js CHANGED
@@ -1,18 +1,9 @@
1
- import r from "./index263.js";
2
- import a from "./index264.js";
3
- import p from "./index265.js";
4
- import s from "./index266.js";
5
- import i from "./index267.js";
6
- import m from "./index268.js";
7
- function t(o) {
8
- var e = this.__data__ = new r(o);
9
- this.size = e.size;
1
+ import o from "./index245.js";
2
+ import e from "./index296.js";
3
+ import i from "./index297.js";
4
+ function n(t, r) {
5
+ return i(e(t, r, o), t + "");
10
6
  }
11
- t.prototype.clear = a;
12
- t.prototype.delete = p;
13
- t.prototype.get = s;
14
- t.prototype.has = i;
15
- t.prototype.set = m;
16
7
  export {
17
- t as default
8
+ n as default
18
9
  };
package/dist/index242.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index269.cjs"),r=require("./index270.cjs");function u(i,s,n){(n!==void 0&&!r(i[s],n)||n===void 0&&!(s in i))&&e(i,s,n)}module.exports=u;
1
+ "use strict";const i=require("./index270.cjs"),n=require("./index248.cjs"),u=require("./index298.cjs"),a=require("./index219.cjs");function f(t,e,r){if(!a(r))return!1;var s=typeof e;return(s=="number"?n(r)&&u(e,r.length):s=="string"&&e in r)?i(r[e],t):!1}module.exports=f;
package/dist/index242.js CHANGED
@@ -1,8 +1,13 @@
1
- import r from "./index269.js";
2
- import s from "./index270.js";
3
- function m(n, f, i) {
4
- (i !== void 0 && !s(n[f], i) || i === void 0 && !(f in n)) && r(n, f, i);
1
+ import i from "./index270.js";
2
+ import m from "./index248.js";
3
+ import a from "./index298.js";
4
+ import s from "./index219.js";
5
+ function u(f, t, r) {
6
+ if (!s(r))
7
+ return !1;
8
+ var e = typeof t;
9
+ return (e == "number" ? m(r) && a(t, r.length) : e == "string" && t in r) ? i(r[t], f) : !1;
5
10
  }
6
11
  export {
7
- m as default
12
+ u as default
8
13
  };
package/dist/index243.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index271.cjs");var r=e();module.exports=r;
1
+ "use strict";const a=require("./index285.cjs"),n=require("./index286.cjs"),c=require("./index287.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;
package/dist/index243.js CHANGED
@@ -1,5 +1,12 @@
1
- import r from "./index271.js";
2
- var e = r();
1
+ import e from "./index285.js";
2
+ import m from "./index286.js";
3
+ import n from "./index287.js";
4
+ function h(a) {
5
+ var t = m(a);
6
+ return t.length == 1 && t[0][2] ? n(t[0][0], t[0][1]) : function(r) {
7
+ return r === a || e(r, a, t);
8
+ };
9
+ }
3
10
  export {
4
- e as default
11
+ h as default
5
12
  };
package/dist/index244.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const d=require("./index242.cjs"),v=require("./index272.cjs"),A=require("./index273.cjs"),V=require("./index274.cjs"),j=require("./index275.cjs"),_=require("./index276.cjs"),g=require("./index211.cjs"),y=require("./index277.cjs"),C=require("./index278.cjs"),M=require("./index279.cjs"),P=require("./index218.cjs"),m=require("./index280.cjs"),w=require("./index281.cjs"),O=require("./index246.cjs"),x=require("./index282.cjs");function D(u,c,n,b,p,l,s){var i=O(u,n),e=O(c,n),f=s.get(e);if(f){d(u,n,f);return}var r=l?l(i,e,n+"",u,c,s):void 0,t=r===void 0;if(t){var o=g(e),a=!o&&C(e),q=!o&&!a&&w(e);r=e,o||a||q?g(i)?r=i:y(i)?r=V(i):a?(t=!1,r=v(e)):q?(t=!1,r=A(e)):r=[]:m(e)||_(e)?(r=i,_(i)?r=x(i):(!P(i)||M(i))&&(r=j(e))):t=!1}t&&(s.set(e,r),p(r,e,b,l,s),s.delete(e)),d(u,n,r)}module.exports=D;
1
+ "use strict";const i=require("./index288.cjs"),s=require("./index289.cjs"),o=require("./index290.cjs"),u=require("./index291.cjs"),c=require("./index292.cjs"),_=require("./index287.cjs"),q=require("./index293.cjs");var a=1,A=2;function E(e,r){return u(e)&&c(r)?_(q(e),r):function(n){var t=s(n,e);return t===void 0&&t===r?o(n,e):i(r,t,a|A)}}module.exports=E;
package/dist/index244.js CHANGED
@@ -1,31 +1,17 @@
1
- import u from "./index242.js";
2
- import V from "./index272.js";
3
- import j from "./index273.js";
4
- import y from "./index274.js";
5
- import c from "./index275.js";
6
- import g from "./index276.js";
7
- import O from "./index211.js";
8
- import C from "./index277.js";
9
- import M from "./index278.js";
10
- import P from "./index279.js";
11
- import w from "./index218.js";
12
- import x from "./index280.js";
13
- import D from "./index281.js";
14
- import b from "./index246.js";
15
- import F from "./index282.js";
16
- function U(t, p, o, v, A, l, f) {
17
- var i = b(t, o), e = b(p, o), s = f.get(e);
18
- if (s) {
19
- u(t, o, s);
20
- return;
21
- }
22
- var r = l ? l(i, e, o + "", t, p, f) : void 0, m = r === void 0;
23
- if (m) {
24
- var a = O(e), n = !a && M(e), d = !a && !n && D(e);
25
- r = e, a || n || d ? O(i) ? r = i : C(i) ? r = y(i) : n ? (m = !1, r = V(e)) : d ? (m = !1, r = j(e)) : r = [] : x(e) || g(e) ? (r = i, g(i) ? r = F(i) : (!w(i) || P(i)) && (r = c(e))) : m = !1;
26
- }
27
- m && (f.set(e, r), A(r, e, v, l, f), f.delete(e)), u(t, o, r);
1
+ import i from "./index288.js";
2
+ import e from "./index289.js";
3
+ import f from "./index290.js";
4
+ import n from "./index291.js";
5
+ import a from "./index292.js";
6
+ import p from "./index287.js";
7
+ import s from "./index293.js";
8
+ var u = 1, A = 2;
9
+ function y(r, o) {
10
+ return n(r) && a(o) ? p(s(r), o) : function(m) {
11
+ var t = e(m, r);
12
+ return t === void 0 && t === o ? f(m, r) : i(o, t, u | A);
13
+ };
28
14
  }
29
15
  export {
30
- U as default
16
+ y as default
31
17
  };
package/dist/index245.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index283.cjs"),s=require("./index284.cjs"),i=require("./index240.cjs");function n(r){return i(r)?e(r,!0):s(r)}module.exports=n;
1
+ "use strict";function e(t){return t}module.exports=e;
package/dist/index245.js CHANGED
@@ -1,9 +1,6 @@
1
- import e from "./index283.js";
2
- import i from "./index284.js";
3
- import a from "./index240.js";
4
- function t(r) {
5
- return a(r) ? e(r, !0) : i(r);
1
+ function e(t) {
2
+ return t;
6
3
  }
7
4
  export {
8
- t as default
5
+ e as default
9
6
  };
package/dist/index246.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function n(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}module.exports=n;
1
+ "use strict";const r=require("./index294.cjs"),t=require("./index295.cjs"),o=require("./index291.cjs"),s=require("./index293.cjs");function i(e){return o(e)?r(s(e)):t(e)}module.exports=i;