Skip to content

Conversation

@rossnelson
Copy link
Collaborator

@rossnelson rossnelson commented Sep 5, 2025

Summary

  • Added smooth CSS transitions to menu component for open/close animations
  • Added animation classes to modal component for opening transitions
  • Added custom class prop support to combobox options for flexible item styling
menu modal
CleanShot 2025-09-05 at 11 23 23 CleanShot 2025-09-05 at 11 34 52

Changes

Combobox Component (Custom Styling Support)

  • Added optionClass prop to Combobox component to pass custom classes to all option items
  • Added class prop support to ComboboxOption component
  • Uses tailwind-merge for proper class merging with default styles
  • Use case: Allows styling individual combobox list items (e.g., custom padding, colors, hover states)

Menu Component

  • Replaced fly transition with CSS transition utilities
  • Uses visibility, scale, and opacity for smooth animations
  • 100ms duration with ease-out timing

Modal Component

  • Added scale and opacity transitions on open
  • 200ms duration for better UX on larger elements
  • Animated backdrop with bg-black/50 fade

Visual Changes

  • Menu and modal components now have smooth scale and fade animations when opening
  • Combobox options can now be styled with custom classes for better design flexibility

- Add class prop to combobox-option component
- Add optionClass prop to combobox component to pass through custom classes
- Use tailwind-merge to properly combine classes with defaults
- Replace fly transition with CSS transitions for better performance
- Use visibility and transform/opacity for smooth animations
- Add transition-all with 100ms duration for opening
- Scale from 95% to 100% with opacity fade
- Add transition classes for smooth scale and opacity animations
- Use duration-200 for modal (slightly slower than menu for better UX)
- Add backdrop fade animation with bg-black/50
@vercel
Copy link

vercel bot commented Sep 5, 2025

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

Project Deployment Preview Comments Updated (UTC)
holocene Ready Ready Preview Comment Sep 5, 2025 3:43pm

@rossnelson rossnelson merged commit ebcf057 into main Sep 5, 2025
15 checks passed
@rossnelson rossnelson deleted the DT-3161-namespace-tag-filtering branch September 5, 2025 16:31
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.

3 participants