@ikas/core 1.0.21 → 1.0.22
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.
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +1 -1
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +1 -1
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +216 -380
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +70 -227
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +394 -73
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +1 -1
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +71 -4
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +18 -7
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +34 -6
- package/dist/index135.cjs +1 -6
- package/dist/index135.js +49 -26
- package/dist/index136.cjs +1 -6
- package/dist/index136.js +40 -15
- package/dist/index137.cjs +1 -6
- package/dist/index137.js +92 -10
- package/dist/index138.cjs +1 -6
- package/dist/index138.js +60 -13
- package/dist/index139.cjs +1 -1
- package/dist/index139.js +1 -1
- package/dist/index140.cjs +1 -6
- package/dist/index140.js +4 -8
- package/dist/index141.cjs +1 -6
- package/dist/index141.js +8 -8
- package/dist/index142.cjs +1 -6
- package/dist/index142.js +7 -12
- package/dist/index143.cjs +2 -2
- package/dist/index143.js +21 -34
- package/dist/index144.cjs +2 -2
- package/dist/index144.js +9 -12
- package/dist/index145.cjs +2 -2
- package/dist/index145.js +4 -7
- package/dist/index146.cjs +6 -1
- package/dist/index146.js +13 -6
- package/dist/index147.cjs +6 -3
- package/dist/index147.js +8 -146
- package/dist/index148.cjs +6 -1
- package/dist/index148.js +8 -31
- package/dist/index149.cjs +6 -1
- package/dist/index149.js +12 -144
- package/dist/index150.cjs +6 -15
- package/dist/index150.js +40 -137
- package/dist/index151.cjs +6 -1
- package/dist/index151.js +17 -86
- package/dist/index152.cjs +6 -11
- package/dist/index152.js +13 -148
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +6 -83
- package/dist/index154.cjs +3 -1
- package/dist/index154.js +144 -48
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +27 -20
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +144 -5
- package/dist/index157.cjs +15 -1
- package/dist/index157.js +137 -6
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +85 -42
- package/dist/index159.cjs +11 -1
- package/dist/index159.js +146 -48
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +82 -8
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +50 -19
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +17 -51
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +5 -286
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +5 -18
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +42 -16
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +41 -55
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +9 -113
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +19 -42
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +51 -17
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +279 -160
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +11 -15
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +13 -52
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +55 -24
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +104 -42
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +34 -125
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +18 -75
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +158 -71
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +17 -13
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +50 -26
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +28 -26
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +46 -26
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +113 -155
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +79 -50
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +77 -73
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +18 -70
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +31 -17
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +30 -34
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +29 -48
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +172 -37
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +50 -90
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +72 -56
- package/dist/index194.cjs +1 -6
- package/dist/index194.js +27 -11
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +2 -15
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +28 -2
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +31 -7
- package/dist/index198.cjs +1 -2
- package/dist/index198.js +113 -324
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +56 -46
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +56 -23
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +17 -2
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +14 -27
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +2 -32
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +7 -115
- package/dist/index205.cjs +2 -1
- package/dist/index205.js +323 -56
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +46 -56
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +5 -16
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +8 -17
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +8 -12
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +2 -9
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +17 -5
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +12 -8
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +8 -8
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +4 -2
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +5 -4
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +40 -5
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +70 -27
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +5 -83
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +5 -5
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +20 -5
- package/dist/index221.cjs +6 -1
- package/dist/index221.js +11 -20
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +26 -16
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +16 -6
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +42 -3
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +13 -28
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +13 -7
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +60 -4
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +9 -6
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +14 -10
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +4 -26
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +8 -16
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +4 -42
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +5 -13
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +16 -13
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +5 -60
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +3 -10
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +28 -14
- package/dist/index251.cjs +1 -1
- package/dist/index251.js +6 -3
- package/dist/index252.cjs +1 -1
- package/dist/index252.js +4 -7
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +7 -4
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +10 -5
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +5 -3
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +3 -6
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +5 -6
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +7 -5
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +5 -5
- package/dist/index264.cjs +1 -1
- package/dist/index264.js +12 -4
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +9 -17
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +4 -4
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +17 -4
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +4 -3
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +4 -3
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +3 -14
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +3 -9
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +14 -3
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +9 -10
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +3 -6
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +10 -5
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +6 -6
- package/dist/index277.cjs +1 -1
- package/dist/index277.js +5 -6
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +7 -8
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +6 -5
- package/dist/index280.cjs +1 -1
- package/dist/index280.js +8 -4
- package/dist/index281.cjs +1 -1
- package/dist/index281.js +5 -9
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +4 -14
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +14 -5
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +5 -6
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +5 -17
- package/dist/index286.cjs +1 -1
- package/dist/index286.js +17 -12
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +12 -5
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +5 -12
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +4 -4
- package/dist/index293.cjs +1 -1
- package/dist/index293.js +1 -1
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +1 -1
- package/dist/index296.cjs +1 -1
- package/dist/index296.js +1 -1
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +2 -2
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +1 -1
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +38 -6
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +2 -8
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +6 -3
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +8 -2
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +3 -38
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +2 -2
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +6 -3
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +3 -9
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +9 -5
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +5 -4
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +4 -5
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +6 -4
- package/dist/index316.cjs +1 -1
- package/dist/index316.js +4 -18
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +17 -5
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +5 -5
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +15 -8
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +2 -8
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +5 -6
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +6 -5
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +4 -15
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +10 -3
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +5 -6
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +9 -4
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +11 -9
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +9 -6
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +6 -9
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +7 -11
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +2 -2
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +4 -4
- package/dist/index337.cjs +1 -1
- package/dist/index337.js +3 -3
- package/dist/index338.cjs +1 -1
- package/dist/index338.js +1 -1
- package/dist/index341.cjs +1 -1
- package/dist/index341.js +11 -7
- package/dist/index342.cjs +1 -1
- package/dist/index342.js +7 -6
- package/dist/index343.cjs +1 -1
- package/dist/index343.js +6 -10
- package/dist/index344.cjs +1 -1
- package/dist/index344.js +10 -5
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +5 -4
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +4 -4
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +4 -5
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +5 -11
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +1 -1
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +2 -2
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +1 -1
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +2 -2
- package/dist/index357.cjs +1 -1
- package/dist/index357.js +1 -1
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +2 -17
- package/dist/index359.cjs +1 -1
- package/dist/index359.js +13 -5
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +3 -13
- package/dist/index361.cjs +1 -1
- package/dist/index361.js +17 -3
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +6 -3
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +1 -1
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +1 -1
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +2 -2
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +2 -2
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +2 -2
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +2 -2
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +3 -3
- package/dist/index387.cjs +1 -1
- package/dist/index387.js +1 -1
- package/dist/index389.cjs +1 -1
- package/dist/index389.js +1 -1
- package/dist/index390.cjs +1 -1
- package/dist/index390.js +1 -1
- package/dist/index391.cjs +1 -1
- package/dist/index391.js +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +3 -3
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +2 -2
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +2 -2
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +1 -1
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +1 -1
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +1 -1
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +10 -10
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +12 -12
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +13 -13
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +14 -14
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +14 -14
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +12 -12
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +11 -11
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +10 -10
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +15 -15
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +13 -13
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +12 -12
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +13 -13
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +13 -13
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +13 -13
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +1 -1
- package/package.json +1 -1
package/dist/index212.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
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/index212.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
|
|
1
|
+
import l from "./index253.js";
|
|
2
|
+
import u from "./index254.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
|
+
});
|
|
8
12
|
}
|
|
9
13
|
export {
|
|
10
|
-
|
|
14
|
+
h as default
|
|
11
15
|
};
|
package/dist/index213.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=require("./index288.cjs"),t=require("./index245.cjs"),a=require("./index289.cjs"),n=require("./index210.cjs");function u(r,e){var c=n(r)?s:t;return c(r,a(e))}module.exports=u;
|
package/dist/index213.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import t from "./index288.js";
|
|
2
|
+
import f from "./index245.js";
|
|
3
|
+
import m from "./index289.js";
|
|
4
|
+
import i from "./index210.js";
|
|
5
|
+
function s(r, a) {
|
|
6
|
+
var o = i(r) ? t : f;
|
|
7
|
+
return o(r, m(a));
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
s as default
|
|
11
11
|
};
|
package/dist/index214.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(e){return e===void 0}module.exports=n;
|
package/dist/index214.js
CHANGED
package/dist/index215.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
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/index215.js
CHANGED
package/dist/index216.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("react"),f=require("./index153.cjs");var i=function(t){var e=t.hsl,a=t.offset,s=t.onClick,r=s===void 0?function(){}:s,l=t.active,c=t.first,n=t.last,o=f.default({default:{swatch:{height:"12px",background:"hsl("+e.h+", 50%, "+a*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:c,last:n}),u=function(d){return r({h:e.h,s:.5,l:a,source:"hsl"},d)};return h.createElement("div",{style:o.swatch,onClick:u})};exports.SliderSwatch=i;exports.default=i;
|
package/dist/index216.js
CHANGED
|
@@ -1,7 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
var
|
|
4
|
-
|
|
1
|
+
import d from "react";
|
|
2
|
+
import u from "./index153.js";
|
|
3
|
+
var k = function(t) {
|
|
4
|
+
var a = t.hsl, s = t.offset, r = t.onClick, e = r === void 0 ? function() {
|
|
5
|
+
} : r, i = t.active, c = t.first, l = t.last, o = u({
|
|
6
|
+
default: {
|
|
7
|
+
swatch: {
|
|
8
|
+
height: "12px",
|
|
9
|
+
background: "hsl(" + a.h + ", 50%, " + s * 100 + "%)",
|
|
10
|
+
cursor: "pointer"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
first: {
|
|
14
|
+
swatch: {
|
|
15
|
+
borderRadius: "2px 0 0 2px"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
last: {
|
|
19
|
+
swatch: {
|
|
20
|
+
borderRadius: "0 2px 2px 0"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
active: {
|
|
24
|
+
swatch: {
|
|
25
|
+
transform: "scaleY(1.8)",
|
|
26
|
+
borderRadius: "3.6px/2px"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, { active: i, first: c, last: l }), n = function(h) {
|
|
30
|
+
return e({
|
|
31
|
+
h: a.h,
|
|
32
|
+
s: 0.5,
|
|
33
|
+
l: s,
|
|
34
|
+
source: "hsl"
|
|
35
|
+
}, h);
|
|
36
|
+
};
|
|
37
|
+
return d.createElement("div", { style: o.swatch, onClick: n });
|
|
38
|
+
};
|
|
5
39
|
export {
|
|
6
|
-
|
|
40
|
+
k as SliderSwatch,
|
|
41
|
+
k as default
|
|
7
42
|
};
|
package/dist/index217.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react"),d=require("./index153.cjs"),h=require("./index165.cjs");require("./index154.cjs");require("./index155.cjs");require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");const F=require("./index161.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/index217.js
CHANGED
|
@@ -1,42 +1,85 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import t from "react";
|
|
2
|
+
import s from "./index153.js";
|
|
3
|
+
import { getContrastingColor as d } from "./index165.js";
|
|
4
|
+
import "./index154.js";
|
|
5
|
+
import "./index155.js";
|
|
6
|
+
import "./index156.js";
|
|
7
|
+
import "./index157.js";
|
|
8
|
+
import "./index158.js";
|
|
9
|
+
import "./index159.js";
|
|
10
|
+
import m from "./index161.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({
|
|
6
15
|
default: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
cursor: "pointer"
|
|
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"
|
|
11
27
|
}
|
|
12
28
|
},
|
|
13
29
|
first: {
|
|
14
|
-
|
|
15
|
-
|
|
30
|
+
color: {
|
|
31
|
+
overflow: "hidden",
|
|
32
|
+
borderRadius: "2px 2px 0 0"
|
|
16
33
|
}
|
|
17
34
|
},
|
|
18
35
|
last: {
|
|
19
|
-
|
|
20
|
-
|
|
36
|
+
color: {
|
|
37
|
+
overflow: "hidden",
|
|
38
|
+
borderRadius: "0 0 2px 2px"
|
|
21
39
|
}
|
|
22
40
|
},
|
|
23
41
|
active: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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"
|
|
27
57
|
}
|
|
28
58
|
}
|
|
29
|
-
}, {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
+
);
|
|
38
81
|
};
|
|
39
82
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
83
|
+
E as SwatchesColor,
|
|
84
|
+
E as default
|
|
42
85
|
};
|
package/dist/index218.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}module.exports=n;
|
package/dist/index218.js
CHANGED
|
@@ -1,85 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
function n(t) {
|
|
2
|
+
var e = typeof t;
|
|
3
|
+
return t != null && (e == "object" || e == "function");
|
|
4
|
+
}
|
|
82
5
|
export {
|
|
83
|
-
|
|
84
|
-
E as default
|
|
6
|
+
n as default
|
|
85
7
|
};
|
package/dist/index219.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const r=require("./index258.cjs");var t=function(){return r.Date.now()};module.exports=t;
|
package/dist/index219.js
CHANGED
package/dist/index220.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index259.cjs"),s=require("./index218.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/index220.js
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import n from "./index259.js";
|
|
2
|
+
import f from "./index218.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
|
+
}
|
|
5
20
|
export {
|
|
6
|
-
|
|
21
|
+
O as default
|
|
7
22
|
};
|
package/dist/index221.cjs
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
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/index221.js
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
/**
|
|
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
|
+
);
|
|
20
11
|
export {
|
|
21
|
-
|
|
12
|
+
s as toCamelCase
|
|
22
13
|
};
|
package/dist/index235.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var v=function(t,e,o,c,i){var l=i.clientWidth,u=i.clientHeight,f=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,p=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,n=f-(i.getBoundingClientRect().left+window.pageXOffset),g=p-(i.getBoundingClientRect().top+window.pageYOffset);if(o==="vertical"){var r=void 0;if(g<0?r=0:g>u?r=1:r=Math.round(g*100/u)/100,e.a!==r)return{h:e.h,s:e.s,l:e.l,a:r,source:"rgb"}}else{var a=void 0;if(n<0?a=0:n>l?a=1:a=Math.round(n*100/l)/100,c!==a)return{h:e.h,s:e.s,l:e.l,a,source:"rgb"}}return null};exports.calculateChange=v;
|
package/dist/index235.js
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var d = function(t, e, f, l, a) {
|
|
2
|
+
var o = a.clientWidth, u = a.clientHeight, c = typeof t.pageX == "number" ? t.pageX : t.touches[0].pageX, p = typeof t.pageY == "number" ? t.pageY : t.touches[0].pageY, n = c - (a.getBoundingClientRect().left + window.pageXOffset), g = p - (a.getBoundingClientRect().top + window.pageYOffset);
|
|
3
|
+
if (f === "vertical") {
|
|
4
|
+
var r = void 0;
|
|
5
|
+
if (g < 0 ? r = 0 : g > u ? r = 1 : r = Math.round(g * 100 / u) / 100, e.a !== r)
|
|
6
|
+
return {
|
|
7
|
+
h: e.h,
|
|
8
|
+
s: e.s,
|
|
9
|
+
l: e.l,
|
|
10
|
+
a: r,
|
|
11
|
+
source: "rgb"
|
|
12
|
+
};
|
|
13
|
+
} else {
|
|
14
|
+
var i = void 0;
|
|
15
|
+
if (n < 0 ? i = 0 : n > o ? i = 1 : i = Math.round(n * 100 / o) / 100, l !== i)
|
|
16
|
+
return {
|
|
17
|
+
h: e.h,
|
|
18
|
+
s: e.s,
|
|
19
|
+
l: e.l,
|
|
20
|
+
a: i,
|
|
21
|
+
source: "rgb"
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
return null;
|
|
25
|
+
};
|
|
16
26
|
export {
|
|
17
|
-
|
|
27
|
+
d as calculateChange
|
|
18
28
|
};
|
package/dist/index236.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={},u=function(l,c,t,n){if(typeof document>"u"&&!n)return null;var e=n?new n:document.createElement("canvas");e.width=t*2,e.height=t*2;var r=e.getContext("2d");return r?(r.fillStyle=l,r.fillRect(0,0,e.width,e.height),r.fillStyle=c,r.fillRect(0,0,t,t),r.translate(t,t),r.fillRect(0,0,t,t),e.toDataURL()):null},f=function(l,c,t,n){var e=l+"-"+c+"-"+t+(n?"-server":"");if(a[e])return a[e];var r=u(l,c,t,n);return a[e]=r,r};exports.get=f;exports.render=u;
|
package/dist/index236.js
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var a = {}, u = function(l, c, t, n) {
|
|
2
|
+
if (typeof document > "u" && !n)
|
|
3
|
+
return null;
|
|
4
|
+
var e = n ? new n() : document.createElement("canvas");
|
|
5
|
+
e.width = t * 2, e.height = t * 2;
|
|
6
|
+
var r = e.getContext("2d");
|
|
7
|
+
return r ? (r.fillStyle = l, r.fillRect(0, 0, e.width, e.height), r.fillStyle = c, r.fillRect(0, 0, t, t), r.translate(t, t), r.fillRect(0, 0, t, t), e.toDataURL()) : null;
|
|
8
|
+
}, d = function(l, c, t, n) {
|
|
9
|
+
var e = l + "-" + c + "-" + t + (n ? "-server" : "");
|
|
10
|
+
if (a[e])
|
|
11
|
+
return a[e];
|
|
12
|
+
var r = u(l, c, t, n);
|
|
13
|
+
return a[e] = r, r;
|
|
14
|
+
};
|
|
6
15
|
export {
|
|
7
|
-
|
|
16
|
+
d as get,
|
|
17
|
+
u as render
|
|
8
18
|
};
|
package/dist/index237.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var s=function(t,o,e,r){var g=r.clientWidth,u=r.clientHeight,c=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,f=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,l=c-(r.getBoundingClientRect().left+window.pageXOffset),n=f-(r.getBoundingClientRect().top+window.pageYOffset);if(o==="vertical"){var a=void 0;if(n<0)a=359;else if(n>u)a=0;else{var v=-(n*100/u)+100;a=360*v/100}if(e.h!==a)return{h:a,s:e.s,l:e.l,a:e.a,source:"hsl"}}else{var i=void 0;if(l<0)i=0;else if(l>g)i=359;else{var p=l*100/g;i=360*p/100}if(e.h!==i)return{h:i,s:e.s,l:e.l,a:e.a,source:"hsl"}}return null};exports.calculateChange=s;
|
package/dist/index237.js
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
1
|
+
var d = function(a, o, e, r) {
|
|
2
|
+
var f = r.clientWidth, g = r.clientHeight, u = typeof a.pageX == "number" ? a.pageX : a.touches[0].pageX, v = typeof a.pageY == "number" ? a.pageY : a.touches[0].pageY, n = u - (r.getBoundingClientRect().left + window.pageXOffset), l = v - (r.getBoundingClientRect().top + window.pageYOffset);
|
|
3
|
+
if (o === "vertical") {
|
|
4
|
+
var t = void 0;
|
|
5
|
+
if (l < 0)
|
|
6
|
+
t = 359;
|
|
7
|
+
else if (l > g)
|
|
8
|
+
t = 0;
|
|
9
|
+
else {
|
|
10
|
+
var c = -(l * 100 / g) + 100;
|
|
11
|
+
t = 360 * c / 100;
|
|
12
|
+
}
|
|
13
|
+
if (e.h !== t)
|
|
14
|
+
return {
|
|
15
|
+
h: t,
|
|
16
|
+
s: e.s,
|
|
17
|
+
l: e.l,
|
|
18
|
+
a: e.a,
|
|
19
|
+
source: "hsl"
|
|
20
|
+
};
|
|
21
|
+
} else {
|
|
22
|
+
var i = void 0;
|
|
23
|
+
if (n < 0)
|
|
24
|
+
i = 0;
|
|
25
|
+
else if (n > f)
|
|
26
|
+
i = 359;
|
|
27
|
+
else {
|
|
28
|
+
var p = n * 100 / f;
|
|
29
|
+
i = 360 * p / 100;
|
|
30
|
+
}
|
|
31
|
+
if (e.h !== i)
|
|
32
|
+
return {
|
|
33
|
+
h: i,
|
|
34
|
+
s: e.s,
|
|
35
|
+
l: e.l,
|
|
36
|
+
a: e.a,
|
|
37
|
+
source: "hsl"
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
};
|
|
3
42
|
export {
|
|
4
|
-
|
|
43
|
+
d as calculateChange
|
|
5
44
|
};
|
package/dist/index238.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const a=require("./index190.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;
|