feat: add tool json #5

Merged
typist merged 5 commits from feat/add-tool/json into main 2025-10-28 03:48:38 +08:00

5 Commits

Author SHA1 Message Date
typist
3aa825d75b feat: integrate Sonner for error handling in JSON tool
- Replaced error state management with Sonner toast notifications for JSON validation feedback.
- Added success notifications for minifying and prettifying JSON.
- Cleaned up the code by removing the Alert component related to error display.
2025-10-28 03:45:11 +08:00
typist
1bc10d5272 feat: add Sonner Toaster component and update dependencies
- Introduced a new Toaster component using Sonner for notifications.
- Integrated Toaster into the main application layout.
- Added 'next-themes' and 'sonner' dependencies in package.json and updated pnpm-lock.yaml.
2025-10-28 03:42:31 +08:00
typist
9009b9a1c6 feat: add JSON Formatter tool component
- Introduced a new JSON Formatter tool for formatting and validating JSON input.
- Added functionality for minifying and prettifying JSON.
- Updated tools list to include the new JSON Formatter with appropriate icon and description.
2025-10-28 03:41:26 +08:00
typist
cd9e0c1f66 feat: add Alert component with title and description
- Introduced a new Alert component for displaying notifications.
- Added AlertTitle and AlertDescription subcomponents for structured content.
- Utilized class-variance-authority for styling variants.
2025-10-28 03:34:08 +08:00
typist
fe21cc5c65 feat: add Textarea component
- Introduced a new Textarea component for enhanced text input functionality.
- Utilized utility functions for styling and accessibility features.
2025-10-28 03:31:45 +08:00