✨ Add Call to Action button component and update related files #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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:
component.magnetic-background-button.tsx
tomagnetic-background-button.tsx
and updated the import paths accordingly. (packages/ui/cuicui/common-ui/buttons/magnetic-button/magnetic-background-button.tsx
) [1] [2]component.magnetic-button.tsx
tomagnetic-button.tsx
and updated the import paths accordingly. (packages/ui/cuicui/common-ui/buttons/magnetic-button/magnetic-button.tsx
) [1] [2]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:
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:
apps/website/src/changelogs/2024-12-06.mdx
)useTextToSpeechAdvancedDemo
component. (packages/ui/cuicui/hooks/use-text-to-speech/hook/advanced-demo.variant.tsx
)