Skip to content

fix!: remove not working helper-above variants from CheckboxVariant#9293

Merged
web-padawan merged 1 commit into
mainfrom
fix/remove-checkbox-variant
May 15, 2026
Merged

fix!: remove not working helper-above variants from CheckboxVariant#9293
web-padawan merged 1 commit into
mainfrom
fix/remove-checkbox-variant

Conversation

@web-padawan
Copy link
Copy Markdown
Member

Description

Fixes vaadin/web-components#11750

The only variant in CheckboxVariant is helper-above-field and it does nothing. Let's remove it as agreed.

Type of change

  • Behavior altering change

@web-padawan web-padawan requested review from jouni and vursen May 15, 2026 07:41
*/
@Deprecated
AURA_HELPER_ABOVE_FIELD("helper-above-field"),
HELPER_ABOVE("helper-above-field");
Copy link
Copy Markdown
Contributor

@knoobie knoobie May 15, 2026

Choose a reason for hiding this comment

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

Suggestion: Instead of deleting the whole enum and possible create compile problems for people that rely on the fact that typically fields have HasThemeVariant<?> - just delete the enum variants leaving an empty class for later use-cases.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks, done. Also added AURA_SMALL which is actually supported to avoid empty enum.

@web-padawan web-padawan force-pushed the fix/remove-checkbox-variant branch from ccba95c to 9b85ef5 Compare May 15, 2026 11:14
@web-padawan web-padawan changed the title fix!: remove CheckboxVariant with not working helper above fix!: remove not working helper-above variants from CheckboxVariant May 15, 2026
@sonarqubecloud
Copy link
Copy Markdown

@web-padawan web-padawan added this pull request to the merge queue May 15, 2026
Merged via the queue into main with commit f5a8be2 May 15, 2026
17 checks passed
@web-padawan web-padawan deleted the fix/remove-checkbox-variant branch May 15, 2026 12:08
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.

[checkbox] Helper text does not support helper-above-field variant

4 participants