Skip to content

merge develop into main#87

Merged
lucasadsr merged 8 commits intomainfrom
develop
Jan 2, 2026
Merged

merge develop into main#87
lucasadsr merged 8 commits intomainfrom
develop

Conversation

@MarcosvBueno
Copy link
Contributor

@MarcosvBueno MarcosvBueno commented Jan 2, 2026

🔍 PR Summary — Global Component Search & Docs Enhancements

This pull request introduces a global component search feature, expands Input and Label documentation examples, updates dependencies, and enhances the Header UI to make search easily accessible on both desktop and mobile.


🌐 Global Component Search Feature

GlobalSearch Component

  • Added a new GlobalSearch component (src/components/global-search.tsx).
  • Enables searching components by:
    • Name
    • Description
    • Category
    • Tags
  • Features:
    • Keyboard shortcut support (⌘K / Ctrl+K)
    • Categorized search results
    • Optimized for fast component discovery

Header Integration

  • Integrated GlobalSearch into the Header.
  • Added a search button to:
    • Desktop navigation
    • Mobile navigation
  • Managed open/close state centrally within the header logic.

Related diffs:


📘 Documentation Example Components

Input Examples

  • Added input-examples.tsx with detailed demonstrations of:
    • Default input
    • Floating label
    • Outlined variant
    • Disabled states
    • Form usage
    • Variant comparisons
  • Designed to clearly showcase differences and best practices.

Label Examples

  • Added label-examples.tsx with comprehensive usage scenarios:
    • Helper text
    • Required fields
    • Disabled labels
    • Grouped form layouts
    • Labels with icons
  • Improves clarity around accessibility and composition patterns.

📦 Dependency Updates

  • Added @radix-ui/react-label to package.json.
  • Ensures consistent behavior and accessibility support for label-related examples and components.

✅ Summary

This PR significantly improves discoverability, documentation quality, and developer experience by:

  • Introducing a powerful global search with keyboard shortcuts
  • Expanding real-world Input and Label examples
  • Enhancing navigation UX across devices
  • Aligning dependencies with new UI capabilities

MarcosvBueno and others added 8 commits December 29, 2025 16:00
- Implemented Input component with support for different variants (default, floating, floatingInside, outlined).
- Created Label component using Radix UI's LabelPrimitive for better accessibility and styling.
- Updated package.json and package-lock.json to include new dependencies for Radix UI components.
- Introduced Input component with multiple variants (default, floating, floatingInside, outlined) and comprehensive documentation.
- Added Label component for accessible form labeling, including various usage examples.
- Updated component details and index to include new Input and Label components.
…onality

- Introduced a new GlobalSearch component that allows users to search for components by name, description, category, or tags.
- Implemented keyboard shortcut (Cmd/Ctrl + K) to toggle the search dialog.
- Organized search results into categories for better usability.
- Replaced the inline grouping logic with useMemo to improve performance by memoizing the grouped components based on filteredComponents.
- Added useMemo import to enhance the component's efficiency during re-renders.
- Integrated Search button in the Header for quick access to the GlobalSearch component.
- Updated mobile menu to include a Search option that toggles the search dialog.
- Introduced state management for search visibility within the Header component.
@MarcosvBueno MarcosvBueno requested a review from lucasadsr January 2, 2026 13:32
@vercel
Copy link

vercel bot commented Jan 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ui Ready Ready Preview, Comment Jan 2, 2026 1:32pm

@lucasadsr lucasadsr merged commit 596d1ea into main Jan 2, 2026
4 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.

2 participants