feat: add UI components and utilities

- Introduced Skeleton component for loading states.
- Added Slider component with customizable properties.
- Implemented Sonner for toast notifications.
- Created Switch component for toggle functionality.
- Developed Table component with header, body, footer, and cell subcomponents.
- Added Tabs component with list, trigger, and content subcomponents.
- Implemented Tooltip component with provider, trigger, and content.
- Created useIsMobile hook for responsive design.
- Added global styles in index.css with custom properties.
- Implemented utility function for class name merging.
- Set up main entry point for the application.
- Configured TypeScript settings for the application and node.
- Set up Vite configuration with React and Tailwind CSS support.
This commit is contained in:
JSC
2025-07-25 22:15:54 +02:00
commit 12cb39503b
51 changed files with 4903 additions and 0 deletions

16
.prettierrc Normal file
View File

@@ -0,0 +1,16 @@
{
"printWidth": 80,
"trailingComma": "all",
"singleQuote": true,
"tabWidth": 2,
"semi": false,
"jsxSingleQuote": false,
"quoteProps": "as-needed",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrderSeparation": false,
"importOrderSortSpecifiers": true,
"plugins": ["@trivago/prettier-plugin-sort-imports"]
}