Skip to content

feat(vue): create select button component#1655

Merged
gcornut merged 3 commits into
masterfrom
feat/vue_create_select_button_component
May 22, 2026
Merged

feat(vue): create select button component#1655
gcornut merged 3 commits into
masterfrom
feat/vue_create_select_button_component

Conversation

@gcornut
Copy link
Copy Markdown
Member

@gcornut gcornut commented May 7, 2026

General summary

Migrate SelectButton to vue

StoryBook lumx-react: https://349d7813b--5fbfb1d508c0520021560f10.chromatic.com/

StoryBook lumx-vue: https://349d7813b--697a023f84e832e23544fb3c.chromatic.com/

@gcornut gcornut force-pushed the feat/vue_create_select_button_component branch 2 times, most recently from c2de7a2 to 504ceeb Compare May 7, 2026 09:18
@gcornut gcornut changed the base branch from master to feat/select_text_field_fallback_on_option_name_on_custom_option May 7, 2026 09:27
@gcornut gcornut force-pushed the feat/vue_create_select_button_component branch 4 times, most recently from 5c9b6f2 to 72c550b Compare May 7, 2026 12:32
Base automatically changed from feat/select_text_field_fallback_on_option_name_on_custom_option to master May 7, 2026 13:36
@gcornut gcornut force-pushed the feat/vue_create_select_button_component branch 2 times, most recently from 4f7577b to 4d97d93 Compare May 7, 2026 16:00
@gcornut gcornut marked this pull request as ready for review May 7, 2026 16:00
@gcornut gcornut requested review from a team and lumautomation as code owners May 7, 2026 16:00
@gcornut gcornut force-pushed the feat/vue_create_select_button_component branch from 4d97d93 to a0bc959 Compare May 20, 2026 09:24
@gcornut gcornut force-pushed the feat/vue_create_select_button_component branch 2 times, most recently from cd1a26d to ba7c416 Compare May 20, 2026 10:54
@gcornut gcornut force-pushed the feat/vue_create_select_button_component branch from ba7c416 to 30b104f Compare May 20, 2026 12:47
@github-actions
Copy link
Copy Markdown

Visual Regression Report

@lumx/react — 15 difference(s)

@lumx/vue — 18 new

@lumx/react vs @lumx/vue — 1 difference(s), 451 matched, 123 React-only, 3 Vue-only


View full report · Download artifacts

const setButtonRef = (el: any) => {
buttonRef.value = (el?.$el ?? el) as HTMLElement | null;
};
expose({
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@andrzej-augustyniak I have no idea what this does... is it reactive written this way? And in general do we really care if this is reactive or not?


// Otherwise wrap in span
return <span>{children}</span>;
return <span>{visibleChildren}</span>;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What can be the children here? Can we wrap them always in a span?

Copy link
Copy Markdown
Member Author

@gcornut gcornut May 21, 2026

Choose a reason for hiding this comment

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

We do not really support anything else than text in button content for now

@gcornut gcornut merged commit 8a41fa3 into master May 22, 2026
25 of 26 checks passed
@gcornut gcornut deleted the feat/vue_create_select_button_component branch May 22, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants