Skip to content

Conversation

mikenewbon
Copy link
Contributor

πŸ”— Linked issue

Resolves #4713

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Adding additional styling options for the select state of the calendar - including Soft, Subtle, Outline and Ghost - as well as the previous default Solid.

Docs have been updated with this property.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link

pkg-pr-new bot commented Aug 20, 2025

npm i https://pkg.pr.new/@nuxt/ui@4800

commit: d12f551

Co-authored-by: Hugo Richard <hrichard206@gmail.com>
@mikenewbon mikenewbon requested a review from HugoRCD August 26, 2025 14:51
@benjamincanac benjamincanac added the v3 #1289 label Aug 27, 2025
@benjamincanac benjamincanac changed the title feat(Calendar): Add variant property feat(Calendar): add variant prop Sep 1, 2025
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Sep 1, 2025
/**
* @defaultValue 'solid'
*/
variant?: 'solid' | 'outline' | 'soft' | 'subtle' | 'ghost'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variant should be dynamically typed based on the theme:

Suggested change
variant?: 'solid' | 'outline' | 'soft' | 'subtle' | 'ghost'
variant?: Calendar['variants']['variant']

@benjamincanac benjamincanac removed the documentation Improvements or additions to documentation label Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 #1289
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calender: add variant options
3 participants