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

feat: Add shadcn components to UI package #183

Merged
merged 5 commits into from
Oct 2, 2024
Merged

feat: Add shadcn components to UI package #183

merged 5 commits into from
Oct 2, 2024

Conversation

EdSDR
Copy link
Member

@EdSDR EdSDR commented Oct 1, 2024

No description provided.

EdSDR added 5 commits October 2, 2024 11:14
- Added "tailwindcss-animate" and "tailwindcss-animated" plugins to the tailwind package.json dependencies.
- Updated the import statements in the web.ts file to use the new plugins.

refactor: Update tsconfig.json and package.json in the ui package

- Updated the tsconfig.json file in the ui package to include a "baseUrl" and "paths" configuration.
- Updated the package.json file in the ui package to include new dependencies: "@radix-ui/react-dialog", "@radix-ui/react-icons", "@radix-ui/react-select", and "@radix-ui/react-slot".

feat: Add new components and styles to the ui package

- Added new components: Button, Dialog, Select.
- Added new styles to the globals.css file.

feat: Update index.ts file in the ui package

- Updated the index.ts file in the ui package to export the newly added components: Button, Dialog, Select.

feat: Add new components.json file to the ui package

- Added a new components.json file to the ui package, which includes configuration for the UI components.

feat: Update base.ts file in the tailwind package

- Updated the base.ts file in the tailwind package to extend the theme with new color variables.

feat: Add Button component to the ui package

- Added a new Button component to the ui package, with support for different variants and sizes.

feat: Add Dialog component to the ui package

- Added a new Dialog component to the ui package, with support for opening and closing dialogs.
- Update tailwind.config.ts to extend the theme with new keyframes and animations.
- Update globals.css to adjust the background and popover colors.
- Update package.json in the ui package to add new dependencies.

feat: Add Textarea and Label components

- Add a new Textarea component to handle multiline input.
- Add a new Label component for form labels.

feat: Add Checkbox component

- Add a new Checkbox component with custom styles and icons.

feat: Add Badge and HoverCard components

- Add a new Badge component for displaying badges with different variants.
- Add a new HoverCard component for creating interactive hover cards.

feat: Update HomePage component

- Add a new checkbox for accepting terms and conditions.
- Added new components to the UI package: Breadcrumb, Popover, and Tabs.
- Updated package.json to include new dependencies: @radix-ui/react-navigation-menu and cmdk.
- Updated the index file to export the new components.

Refactor the report module form and types

- Updated the report module form and types for better functionality and code organization.

Update delegate store and subnet store

- Made updates to the delegate store and subnet store for improved performance and reliability.
This commit rearranges the order of class names in several UI components to improve readability and consistency. The changes were made in the following files:
- `packages/ui/src/components/card.tsx`
- `packages/ui/src/components/button.tsx`
- `packages/ui/src/components/checkbox.tsx`
- `packages/ui/src/components/input.tsx`
- `packages/ui/src/components/hover-card.tsx`
- `packages/ui/src/components/badge.tsx`
- `packages/ui/src/components/dialog.tsx`
- `packages/ui/src/components/select.tsx`

The class names were reordered to follow a consistent pattern and improve maintainability.
@EdSDR EdSDR force-pushed the feat/shadcn-config branch from b09440e to 0523d77 Compare October 2, 2024 14:16
@EdSDR EdSDR merged commit 992743e into main Oct 2, 2024
3 checks passed
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