Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use click outside & noise & border trail & grid pattern #46

Merged

Conversation

damien-schneider
Copy link
Owner

This pull request introduces new hooks and creative effects, as well as updates to existing components and categories. The most important changes include adding a new useClickOutside hook, creating new animated and static noise components, and introducing a border trail effect.

New Hooks:

  • Added useClickOutsideCategory to the hooks section (src/ui/cuicui/hooks/hooks.section.tsx, src/ui/cuicui/hooks/use-click-outside/category.use-click-outside.tsx) [1] [2] [3].
  • Implemented the useOnClickOutside hook for detecting clicks outside a specified element (src/ui/cuicui/hooks/use-click-outside/use-click-outside.ts).

Creative Effects:

  • Introduced AnimatedNoise and StaticNoise components for creative noise effects (src/ui/cuicui/other/creative-effects/animated-noise/animated-noise.tsx, src/ui/cuicui/other/creative-effects/animated-noise/component.animated-noise.tsx, src/ui/cuicui/other/creative-effects/animated-noise/preview.animated-noise.tsx, src/ui/cuicui/other/creative-effects/animated-noise/preview.static-noise.tsx, src/ui/cuicui/other/creative-effects/animated-noise/static-noise.tsx) [1] [2] [3] [4] [5].
  • Added BorderTrail component for creating a border trail effect (src/ui/cuicui/other/creative-effects/border-trail/border-trail.tsx, src/ui/cuicui/other/creative-effects/border-trail/component.animated-noise.tsx, src/ui/cuicui/other/creative-effects/border-trail/preview.border-trail.tsx) [1] [2] [3].

Category Updates:

  • Updated creativeEffectCategory to include new components (src/ui/cuicui/other/creative-effects/category.creative-effet.tsx) [1] [2].
  • Added gridPatternComponent to the patterns category (src/ui/cuicui/other/patterns/grid-pattern/component.grid-pattern.tsx, src/ui/cuicui/other/patterns/grid-pattern/grid-pattern.tsx, src/ui/cuicui/other/patterns/patterns.category.tsx) [1] [2] [3] [4].

Tools:

  • Introduced cssSelectorsCategory with a visual guide to CSS selectors (src/ui/cuicui/tools/css-selectors/category.css-selectors.tsx, src/ui/cuicui/tools/css-selectors/page.css-selectors.tsx) [1] [2].
  • Added noiseGeneratorCategory for generating noise for creative projects (src/ui/cuicui/tools/noise-creator/category.noise-generator.tsx).

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cuicui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 11:51pm

@damien-schneider damien-schneider merged commit e0b3036 into main Oct 14, 2024
3 checks passed
@damien-schneider damien-schneider deleted the use-click-outside-&-noise-&-border-trail-&-grid-pattern branch October 14, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant