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 Various Chart Components and Styles #7

Merged
merged 22 commits into from
Jul 8, 2024
Merged

Conversation

nyxb
Copy link
Collaborator

@nyxb nyxb commented Jul 8, 2024

Description

This pull request includes the following changes:

  • Added various radar and radial chart components for Miami.
  • Added various chart components for the Miami registry.
  • Added various chart components for data visualization.
  • Added chart components and configurations for various charts.
  • Added new interactive pie chart component.
  • Updated class names for consistency and readability.
  • Added new chart demo examples to the registry.
  • Reformatted code for better readability and consistency.
  • Added chartsNav to DocsConfig for chart documentation.

Commits

  • ✨ feat(miami): add various radar and radial chart components
  • ✨ feat(web): add various chart components for Miami registry
  • ✨ feat(web/registry/miami): add various chart components
  • ✨ feat(web): add various chart components for data visualization
  • ✨ feat(web): add various chart components to the registry
  • ✨ feat(web): add various chart components for data visualization
  • ✨ feat(web): add chart components and configurations for various charts
  • ✨ feat(charts): add various chart components and pages for chart display
  • ✨ feat(web): add various chart components and utility functions
  • ✨ feat(web): add various chart components with different configurations
  • ✨ feat(chart-pie-interactive.tsx): add new interactive pie chart component
  • 🎨 style: update class names for consistency and readability
  • ✨ feat(examples.ts): add new chart demo examples to the registry
  • 🎨 style(components:ui): reformat code for better readability and consistency
  • ✨ feat(docs.ts): add chartsNav to DocsConfig for chart documentation

Reviewers

@nyxb

nyxb added 19 commits July 8, 2024 16:30
- Added radar chart components with icons, custom labels, legends, and lines only.
- Added radial chart components with grid, labels, shapes, and stacked sections.
- Added bar chart demo components with axis, grid, legend, and tooltip.
- Added tooltip demo component.
- Added navigation types.
Added multiple chart components including line, pie, radar, and their variations. This enhances the data visualization capabilities of the Miami registry.
- Added `chart-area-step.tsx` for step area charts.
- Added `chart-bar-active.tsx` for bar charts with active bars.
- Added `chart-bar-default.tsx` for default bar charts.
- Added `chart-bar-horizontal.tsx` for horizontal bar charts.
- Added `chart-bar-interactive.tsx` for interactive bar charts.
- Added `chart-bar-label-custom.tsx` for bar charts with custom labels.
- Added `chart-bar-label.tsx` for bar charts with labels.
- Added `chart-bar-mixed.tsx` for mixed bar charts.
- Added `chart-bar-multiple.tsx` for multiple bar charts.
- Added `chart-bar-negative.tsx` for bar charts with negative values.
- Added `chart-bar-stacked.tsx` for stacked bar charts with legends.
- Added `chart-line-default.tsx` for default line charts.
- Added `chart-line-dots-colors.tsx` for line charts with colored dots.
- Added `chart-line-dots-custom.tsx` for line charts with custom dots.
- Added `chart-line-dots.tsx` for line charts with dots.
- Added `chart-line-interactive.tsx` for interactive line charts.
- Added `chart-line-label-custom.tsx` for line charts with custom labels.
- Added `chart-line-label.tsx` for line charts with labels.
- Added `chart-line-linear.tsx` for linear line charts.
- Added `chart-radar-grid-none.tsx` for radar charts without grids.
- Added `chart-radial-shape.tsx` for radial chart with custom shape
- Added `chart-radial-simple.tsx` for simple radial chart
- Added `chart-radial-stacked.tsx` for stacked radial chart
- Added `chart-radial-text.tsx` for radial chart with text
- Added `chart-bar-demo-axis.tsx` for bar chart with axis
- Added `chart-bar-demo-grid.tsx` for bar chart with grid
- Added `chart-bar-demo-legend.tsx` for bar chart with legend
- Added `chart-bar-demo-tooltip.tsx` for bar chart with tooltip
- Added `chart-bar-demo.tsx` for basic bar chart
- Added `chart-tooltip-demo.tsx` for tooltip demo
- Added `chart.tsx` for chart container and utilities
- Added `chart-area-axes.tsx` for area chart with axes
- Added `chart-area-default.tsx` for default area chart
- Added `chart-area-gradient.tsx` for area chart with gradient fill
- Added `chart-area-icons.tsx` for area chart with icons
- Added `chart-area-interactive.tsx` for interactive area chart
- Added `chart-area-legend.tsx` for area chart with legend
- Added `chart-area-linear.tsx` for linear area chart
- Added `chart-area-stacked-expand.tsx` for stacked area chart with expand stacking
- Added `chart-line-multiple.tsx` for multiple line chart
- Added `chart-pie-legend.tsx` for pie chart with legend
- Added `chart-pie-separator-none.tsx` for pie chart without separator
- Added `chart-pie-simple.tsx` for simple pie chart
- Added `chart-pie-stacked.tsx` for pie chart with stacked sections
- Added `chart-radar-default.tsx` for default radar chart
- Added `chart-radar-dots.tsx` for radar chart with dots
- Added `chart-radar-grid-circle-fill.tsx` for radar chart with grid and circle fill
- Added `chart-radar-grid-circle-no-lines.tsx` for radar chart with grid and circle, no lines
- Added `chart-radar-grid-circle.tsx` for radar chart with grid and circle
- Added `chart-radar-grid-custom.tsx` for radar chart with custom grid
- Added `chart-radar-grid-fill.tsx` for radar chart with grid filled
- Added `chart-radar-grid-none.tsx` for radar chart with no grid
- Added `chart-radar-icons.tsx` for radar chart with icons
- Added `chart-radar-label-custom.tsx` for radar chart with custom label
- Added `chart-radar-legend.tsx` for radar chart with legend
- Added `chart-radar-lines-only.tsx` for radar chart with lines only
- Added `chart-radar-multiple.tsx` for radar chart with multiple data
- Added `chart-radar-radius.tsx` for radar chart with radius axis
- Added `chart-radial-grid.tsx` for radial chart with grid
- Added `chart-area-stacked.tsx` for stacked area chart in Miami registry
- Added multiple bar chart component
- Added bar chart with negative values component
- Added stacked bar chart with legend component
- Added default line chart component
- Added line chart with dots and colors component
- Added line chart with custom dots component
- Added line chart with dots component
- Added interactive line chart component
- Added line chart with custom label component
- Added line chart with label component
- Added linear line chart component
- Added multiple line chart component
- Added line chart with step component
- Added donut chart with active sector component
- Added donut chart with text component
- Added donut chart component
- Added interactive pie chart component
- Added pie chart with custom label component
- Added pie chart with label list component
- Added radial chart with label component
…t types

- Added default and Miami chart configurations in JSON format.
- Implemented various chart components including area, bar, and pie charts.
- Included interactive and customizable chart options.
- Enhanced chart components with tooltips, legends, and labels.
- Added multiple chart components for different chart types.
- Created pages and layouts for displaying charts.
- Implemented chart theme switcher and chart code viewer.
- Added documentation for chart components and usage.
- Added multiple chart components for pie, radar, radial, area, bar, and line charts.
- Implemented utility functions for theme color conversion to CSS variables.
…onent

🎨 style(particles.tsx): update canvas class to use size-full utility

🎨 style(popover.tsx): reformat className for better readability

🎨 style(progress.tsx): reformat className for better readability

🎨 style(pulsating-button.tsx): reformat className for better readability

🎨 style(radio-group.tsx): reformat className for better readability

🎨 style(resizable.tsx): reformat className for better readability

🎨 style(retro-grid.tsx): update className to use size-full utility

🎨 style(ripple.tsx): reformat className for better readability

🎨 style(scratch-to-reveal.tsx): reformat className for better readability

🎨 style(scroll-area.tsx): reformat className for better readability

🎨 style(scroll-progress.tsx): reformat className for better readability

🎨 style(select.tsx): reformat className for better readability

🎨 style(separator.tsx): reformat className for better readability

🎨 style(sheet.tsx): reformat className for better readability

🎨 style(shimmer-button.tsx): reformat className for better readability

🎨 style(shine-border.tsx): reformat className for better readability

🎨 style(shiny-button.tsx): reformat className for better readability

🎨 style(skeleton.tsx): reformat className for better readability

🎨 style(slider.tsx): reformat className for better readability

🎨 style(sparkles-text.tsx): reformat className for better readability

🎨 style(star-rating.tsx): reformat className for better readability

🎨 style(stepper.tsx): reformat className for better readability

🎨 style(switch.tsx): reformat className for better readability

🎨 style(table.tsx): reformat className for better readability

🎨 style(tabs.tsx): reformat className for better readability

🎨 style(text-reveal.tsx): reformat className for better readability

🎨 style(textarea.tsx): reformat className for better readability

🎨 style(timeline.tsx): reformat className for better readability

🎨 style(toast.tsx): reformat className for better readability

🎨 style(toc.tsx):
✨ feat(registry.ts): include charts in the registry

✨ feat(schema.ts): add 'components:chart' type to registry schema

♻️ refactor(themes.ts): update theme names and color values

✨ feat(ui.ts): add chart component to the UI registry
♻️ refactor(blocks.ts): update import paths and add error handling
✨ feat(events.ts): add new event types for chart interactions
🧹 chore(package.json): update dependencies and remove unused packages
🎨 style(themes.css): update theme variables and add new themes
✨ feat(eslint.config.mjs): add TailwindCSS settings and rules to ESLint configuration
Copy link

vercel bot commented Jul 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nyxb-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 3:27pm

@nyxb nyxb merged commit 8c75609 into main Jul 8, 2024
6 checks passed
@nyxb nyxb deleted the feat/charts branch July 8, 2024 15:28
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