diff --git a/src/objects/components.js b/src/objects/components.js new file mode 100644 index 0000000..56004c9 --- /dev/null +++ b/src/objects/components.js @@ -0,0 +1 @@ +export default {} \ No newline at end of file diff --git a/src/objects/connect.js b/src/objects/connect.js new file mode 100644 index 0000000..56004c9 --- /dev/null +++ b/src/objects/connect.js @@ -0,0 +1 @@ +export default {} \ No newline at end of file diff --git a/src/objects/crossCheck.js b/src/objects/crossCheck.js new file mode 100644 index 0000000..90bb579 --- /dev/null +++ b/src/objects/crossCheck.js @@ -0,0 +1,5 @@ +// checks for differences between the processed start and end values, +// can be set to make sure start unit and end unit are same, +// stack transforms, process SVG paths, +// any type of post processing the component needs +export default {} \ No newline at end of file diff --git a/src/objects/defaultOptions.js b/src/objects/defaultOptions.js new file mode 100644 index 0000000..0aa0121 --- /dev/null +++ b/src/objects/defaultOptions.js @@ -0,0 +1,6 @@ +let defaultOptions = { + duration: 700, + delay: 0, + easing: 'linear' +} +export default defaultOptions \ No newline at end of file diff --git a/src/objects/defaultValues.js b/src/objects/defaultValues.js new file mode 100644 index 0000000..56004c9 --- /dev/null +++ b/src/objects/defaultValues.js @@ -0,0 +1 @@ +export default {} \ No newline at end of file diff --git a/src/objects/globalObject.js b/src/objects/globalObject.js new file mode 100644 index 0000000..43d4f63 --- /dev/null +++ b/src/objects/globalObject.js @@ -0,0 +1,5 @@ +const globalObject = typeof (global) !== 'undefined' ? global + : typeof(self) !== 'undefined' ? self + : typeof(window) !== 'undefined' ? window : {} + +export default globalObject \ No newline at end of file diff --git a/src/objects/interpolate.js b/src/objects/interpolate.js new file mode 100644 index 0000000..1d4f01d --- /dev/null +++ b/src/objects/interpolate.js @@ -0,0 +1,3 @@ +// KUTE.js INTERPOLATE FUNCTIONS +// ============================= +export default {} \ No newline at end of file diff --git a/src/objects/kute.js b/src/objects/kute.js new file mode 100644 index 0000000..56004c9 --- /dev/null +++ b/src/objects/kute.js @@ -0,0 +1 @@ +export default {} \ No newline at end of file diff --git a/src/objects/linkProperty.js b/src/objects/linkProperty.js new file mode 100644 index 0000000..36927ae --- /dev/null +++ b/src/objects/linkProperty.js @@ -0,0 +1,2 @@ +// link properties to interpolate functions +export default {} \ No newline at end of file diff --git a/src/objects/objects.js b/src/objects/objects.js new file mode 100644 index 0000000..9f12c03 --- /dev/null +++ b/src/objects/objects.js @@ -0,0 +1,22 @@ +import supportedProperties from './supportedProperties.js' +import defaultValues from './defaultValues.js' +import defaultOptions from './defaultOptions.js' +import prepareProperty from './prepareProperty.js' +import prepareStart from './prepareStart.js' +import crossCheck from './crossCheck.js' +import onStart from './onStart.js' +import onComplete from './onComplete.js' +import linkProperty from './linkProperty.js' +// import connect from './connect.js' + +export default { + supportedProperties, + defaultValues, + defaultOptions, + prepareProperty, + prepareStart, + crossCheck, + onStart, + onComplete, + linkProperty +} \ No newline at end of file diff --git a/src/objects/objectsBase.js b/src/objects/objectsBase.js new file mode 100644 index 0000000..f0e27fe --- /dev/null +++ b/src/objects/objectsBase.js @@ -0,0 +1,11 @@ +import defaultOptions from './defaultOptions.js' +import linkProperty from './linkProperty.js' +import onStart from './onStart.js' +import onComplete from './onComplete.js' + +export default { + defaultOptions, + linkProperty, + onStart, + onComplete +} \ No newline at end of file diff --git a/src/objects/onComplete.js b/src/objects/onComplete.js new file mode 100644 index 0000000..504a429 --- /dev/null +++ b/src/objects/onComplete.js @@ -0,0 +1,2 @@ +// schedule property specific function on animation complete +export default {} \ No newline at end of file diff --git a/src/objects/onStart.js b/src/objects/onStart.js new file mode 100644 index 0000000..7b3c18a --- /dev/null +++ b/src/objects/onStart.js @@ -0,0 +1,3 @@ +// schedule property specific function on animation start +// link property update function to KUTE.js execution context +export default {} \ No newline at end of file diff --git a/src/objects/prepareProperty.js b/src/objects/prepareProperty.js new file mode 100644 index 0000000..76739f0 --- /dev/null +++ b/src/objects/prepareProperty.js @@ -0,0 +1,2 @@ +// used in preparePropertiesObject +export default {} \ No newline at end of file diff --git a/src/objects/prepareStart.js b/src/objects/prepareStart.js new file mode 100644 index 0000000..2b168ea --- /dev/null +++ b/src/objects/prepareStart.js @@ -0,0 +1,2 @@ +// check current property value when .to() method is used +export default {} \ No newline at end of file diff --git a/src/objects/supportedProperties.js b/src/objects/supportedProperties.js new file mode 100644 index 0000000..56004c9 --- /dev/null +++ b/src/objects/supportedProperties.js @@ -0,0 +1 @@ +export default {} \ No newline at end of file diff --git a/src/objects/tweens.js b/src/objects/tweens.js new file mode 100644 index 0000000..4ad71d6 --- /dev/null +++ b/src/objects/tweens.js @@ -0,0 +1 @@ +export default [] \ No newline at end of file diff --git a/src/objects/util.js b/src/objects/util.js new file mode 100644 index 0000000..1166ac0 --- /dev/null +++ b/src/objects/util.js @@ -0,0 +1,2 @@ +// util - a general object for utils like rgbToHex, processEasing +export default {} \ No newline at end of file