diff --git a/package-lock.json b/package-lock.json index 720c66b..35d15e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "lucide-vue-next": "^0.548.0", "mathjs": "^14.6.0", "matter-js": "^0.20.0", - "motion-v": "^1.5.0", + "motion-v": "^1.10.2", "ogl": "^1.0.11", "postprocessing": "^6.37.6", "primeicons": "^7.0.0", @@ -8164,13 +8164,13 @@ } }, "node_modules/framer-motion": { - "version": "12.23.12", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.12.tgz", - "integrity": "sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==", + "version": "12.29.2", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.29.2.tgz", + "integrity": "sha512-lSNRzBJk4wuIy0emYQ/nfZ7eWhqud2umPKw2QAQki6uKhZPKm2hRQHeQoHTG9MIvfobb+A/LbEWPJU794ZUKrg==", "license": "MIT", "dependencies": { - "motion-dom": "^12.23.12", - "motion-utils": "^12.23.6", + "motion-dom": "^12.29.2", + "motion-utils": "^12.29.2", "tslib": "^2.4.0" }, "peerDependencies": { @@ -9984,29 +9984,29 @@ "license": "MIT" }, "node_modules/motion-dom": { - "version": "12.23.12", - "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.23.12.tgz", - "integrity": "sha512-RcR4fvMCTESQBD/uKQe49D5RUeDOokkGRmz4ceaJKDBgHYtZtntC/s2vLvY38gqGaytinij/yi3hMcWVcEF5Kw==", + "version": "12.29.2", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.29.2.tgz", + "integrity": "sha512-/k+NuycVV8pykxyiTCoFzIVLA95Nb1BFIVvfSu9L50/6K6qNeAYtkxXILy/LRutt7AzaYDc2myj0wkCVVYAPPA==", "license": "MIT", "dependencies": { - "motion-utils": "^12.23.6" + "motion-utils": "^12.29.2" } }, "node_modules/motion-utils": { - "version": "12.23.6", - "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.23.6.tgz", - "integrity": "sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==", + "version": "12.29.2", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.29.2.tgz", + "integrity": "sha512-G3kc34H2cX2gI63RqU+cZq+zWRRPSsNIOjpdl9TN4AQwC4sgwYPl/Q/Obf/d53nOm569T0fYK+tcoSV50BWx8A==", "license": "MIT" }, "node_modules/motion-v": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/motion-v/-/motion-v-1.7.1.tgz", - "integrity": "sha512-B22fYcHGx05moUtoIH0ZP/JzeacGOHzLkLmMTKU9tRB+uVMSfgqiXVzZb602qiG1ap8W7TZ+5RD5R3MmODu9oA==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/motion-v/-/motion-v-1.10.2.tgz", + "integrity": "sha512-K+Zus21KKgZP4CBY7CvU/B7UZCV9sZTHG0FgsAfGHlbZi+u8EolmZ2kvJe5zOG0RzCgdiVCobHBt54qch9rweg==", "license": "MIT", "dependencies": { - "framer-motion": "12.23.12", + "framer-motion": "^12.25.0", "hey-listen": "^1.0.8", - "motion-dom": "12.23.12" + "motion-dom": "^12.23.23" }, "peerDependencies": { "@vueuse/core": ">=10.0.0", diff --git a/package.json b/package.json index 11b9f7f..3f5dcfc 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lucide-vue-next": "^0.548.0", "mathjs": "^14.6.0", "matter-js": "^0.20.0", - "motion-v": "^1.5.0", + "motion-v": "^1.10.2", "ogl": "^1.0.11", "postprocessing": "^6.37.6", "primeicons": "^7.0.0", diff --git a/public/r/BlurText.json b/public/r/BlurText.json index b2edf33..018ce9a 100644 --- a/public/r/BlurText.json +++ b/public/r/BlurText.json @@ -1 +1 @@ -{"name":"BlurText","title":"BlurText","description":"Text starts blurred then crisply resolves for a soft-focus reveal effect.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"BlurText/BlurText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"motion-v","version":"^1.5.0"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file +{"name":"BlurText","title":"BlurText","description":"Text starts blurred then crisply resolves for a soft-focus reveal effect.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"BlurText/BlurText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"motion-v","version":"^1.10.2"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file diff --git a/public/r/CircularText.json b/public/r/CircularText.json index 19c1295..8365887 100644 --- a/public/r/CircularText.json +++ b/public/r/CircularText.json @@ -1 +1 @@ -{"name":"CircularText","title":"CircularText","description":"Layouts characters around a circle with optional rotation animation.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"CircularText/CircularText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"motion-v","version":"^1.5.0"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file +{"name":"CircularText","title":"CircularText","description":"Layouts characters around a circle with optional rotation animation.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"CircularText/CircularText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"motion-v","version":"^1.10.2"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file diff --git a/public/r/FuzzyText.json b/public/r/FuzzyText.json index 6df7479..0268e76 100644 --- a/public/r/FuzzyText.json +++ b/public/r/FuzzyText.json @@ -1 +1 @@ -{"name":"FuzzyText","title":"FuzzyText","description":"Vibrating fuzzy text with controllable hover intensity.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"FuzzyText/FuzzyText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file +{"name":"FuzzyText","title":"FuzzyText","description":"Vibrating fuzzy text with controllable hover intensity.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"FuzzyText/FuzzyText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file diff --git a/public/r/GradientText.json b/public/r/GradientText.json index bc468b4..204e36a 100644 --- a/public/r/GradientText.json +++ b/public/r/GradientText.json @@ -1 +1 @@ -{"name":"GradientText","title":"GradientText","description":"Animated gradient sweep across live text with speed and color control.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n\n\n","path":"GradientText/GradientText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file +{"name":"GradientText","title":"GradientText","description":"Animated gradient sweep across live text with speed and color control.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"GradientText/GradientText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"motion-v","version":"^1.10.2"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file diff --git a/public/r/ShinyText.json b/public/r/ShinyText.json index de2efc6..5aa8d4b 100644 --- a/public/r/ShinyText.json +++ b/public/r/ShinyText.json @@ -1 +1 @@ -{"name":"ShinyText","title":"ShinyText","description":"Metallic sheen sweeps across text producing a reflective highlight.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n\n\n","path":"ShinyText/ShinyText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file +{"name":"ShinyText","title":"ShinyText","description":"Metallic sheen sweeps across text producing a reflective highlight.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"ShinyText/ShinyText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"motion-v","version":"^1.10.2"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file diff --git a/public/r/SplitText.json b/public/r/SplitText.json index 2cb8144..e3c3f4a 100644 --- a/public/r/SplitText.json +++ b/public/r/SplitText.json @@ -1 +1 @@ -{"name":"SplitText","title":"SplitText","description":"Splits text into characters / words for staggered entrance animation.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"SplitText/SplitText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"gsap","version":"^3.13.0"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file +{"name":"SplitText","title":"SplitText","description":"Splits text into characters / words for staggered entrance animation.","type":"registry:component","add":"when-added","files":[{"type":"registry:component","role":"file","content":"\n\n\n","path":"SplitText/SplitText.vue","_imports_":[],"registryDependencies":[],"dependencies":[],"devDependencies":[]}],"registryDependencies":[],"dependencies":[{"ecosystem":"js","name":"gsap","version":"^3.13.0"}],"devDependencies":[],"categories":["TextAnimations"]} \ No newline at end of file diff --git a/src/constants/code/TextAnimations/blurTextCode.ts b/src/constants/code/TextAnimations/blurTextCode.ts index c4e998c..f7536e7 100644 --- a/src/constants/code/TextAnimations/blurTextCode.ts +++ b/src/constants/code/TextAnimations/blurTextCode.ts @@ -1,18 +1,15 @@ -import code from '@content/TextAnimations/BlurText/BlurText.vue?raw'; import { createCodeObject } from '@/types/code'; +import code from '@content/TextAnimations/BlurText/BlurText.vue?raw'; export const blurText = createCodeObject(code, 'TextAnimations/BlurText', { installation: `npm install motion-v`, usage: ` diff --git a/src/constants/code/TextAnimations/fuzzyTextCode.ts b/src/constants/code/TextAnimations/fuzzyTextCode.ts index 4a2aa4b..85519d5 100644 --- a/src/constants/code/TextAnimations/fuzzyTextCode.ts +++ b/src/constants/code/TextAnimations/fuzzyTextCode.ts @@ -1,17 +1,18 @@ -import code from '@content/TextAnimations/FuzzyText/FuzzyText.vue?raw'; import { createCodeObject } from '@/types/code'; +import code from '@content/TextAnimations/FuzzyText/FuzzyText.vue?raw'; export const fuzzyText = createCodeObject(code, 'TextAnimations/FuzzyText', { usage: ` diff --git a/src/content/TextAnimations/CircularText/CircularText.vue b/src/content/TextAnimations/CircularText/CircularText.vue index 5daea6e..8ae8160 100644 --- a/src/content/TextAnimations/CircularText/CircularText.vue +++ b/src/content/TextAnimations/CircularText/CircularText.vue @@ -1,6 +1,6 @@ diff --git a/src/content/TextAnimations/GradientText/GradientText.vue b/src/content/TextAnimations/GradientText/GradientText.vue index 6e19415..2fb1044 100644 --- a/src/content/TextAnimations/GradientText/GradientText.vue +++ b/src/content/TextAnimations/GradientText/GradientText.vue @@ -1,75 +1,140 @@ - - diff --git a/src/content/TextAnimations/ShinyText/ShinyText.vue b/src/content/TextAnimations/ShinyText/ShinyText.vue index 2545abb..e7c0c30 100644 --- a/src/content/TextAnimations/ShinyText/ShinyText.vue +++ b/src/content/TextAnimations/ShinyText/ShinyText.vue @@ -1,49 +1,135 @@ - - diff --git a/src/content/TextAnimations/SplitText/SplitText.vue b/src/content/TextAnimations/SplitText/SplitText.vue index c116f52..0fac6a4 100644 --- a/src/content/TextAnimations/SplitText/SplitText.vue +++ b/src/content/TextAnimations/SplitText/SplitText.vue @@ -1,18 +1,11 @@ diff --git a/src/demo/TextAnimations/BlurTextDemo.vue b/src/demo/TextAnimations/BlurTextDemo.vue index 045f27a..1ef466c 100644 --- a/src/demo/TextAnimations/BlurTextDemo.vue +++ b/src/demo/TextAnimations/BlurTextDemo.vue @@ -1,33 +1,24 @@