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

✨ Add Call to Action button component and update related files #67

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

damien-schneider
Copy link
Owner

This pull request introduces a new "Call to action" button component and makes several improvements and refactorings to the button components and text-to-speech hooks in the codebase. The most important changes include the addition of the new button component, renaming and refactoring of existing button components, and integration of the text-to-speech category and its hooks into the section list.

New Component Addition:

  • Added a new "Call to action" button component with a corresponding variant file. (packages/ui/cuicui/common-ui/buttons/call-to-action-button/call-to-action-button.variant.tsx, packages/ui/cuicui/common-ui/buttons/call-to-action-button/component.ts) [1] [2]

Button Components Refactoring:

  • Renamed component.magnetic-background-button.tsx to magnetic-background-button.tsx and updated the import paths accordingly. (packages/ui/cuicui/common-ui/buttons/magnetic-button/magnetic-background-button.tsx) [1] [2]
  • Renamed component.magnetic-button.tsx to magnetic-button.tsx and updated the import paths accordingly. (packages/ui/cuicui/common-ui/buttons/magnetic-button/magnetic-button.tsx) [1] [2]
  • Updated the ShinyRotatingBorderButton component to include a new text and updated the import paths. (packages/ui/cuicui/common-ui/buttons/shiny-rotating-border-button/shiny-rotating-border-button.variant.tsx)

Text-to-Speech Integration:

  • Added the use-text-to-speech category and its hooks to the section list. (packages/ui/section-list.ts) [1] [2] [3] [4] [5] [6] [7] [8] [9]

Minor Improvements:

  • Added a new button entry to the changelog. (apps/website/src/changelogs/2024-12-06.mdx)
  • Improved the fallback message for unsupported browsers in the useTextToSpeechAdvancedDemo component. (packages/ui/cuicui/hooks/use-text-to-speech/hook/advanced-demo.variant.tsx)

@damien-schneider damien-schneider self-assigned this Dec 16, 2024
Copy link

vercel bot commented Dec 16, 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 Dec 16, 2024 5:13pm

@damien-schneider damien-schneider merged commit a5a9589 into main Dec 16, 2024
3 checks passed
@damien-schneider damien-schneider deleted the add-new-call-to-action-button branch December 16, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant