Skip to content

feat(ItemBase) add generic item component #752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

tenphi
Copy link
Member

@tenphi tenphi commented Aug 8, 2025

No description provided.

Copy link

changeset-bot bot commented Aug 8, 2025

⚠️ No Changeset found

Latest commit: 367252a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Aug 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cube-ui-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2025 4:21pm
cube-ui-kit-cursor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2025 4:21pm

Copy link
Contributor

github-actions bot commented Aug 8, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-8ef60f0.

Copy link
Contributor

github-actions bot commented Aug 8, 2025

🏋️ Size limit report

Name Size Passed?
All 276.72 KB (+0.13% 🔺) Yes 🎉
Tree shaking (just a Button) 23.16 KB (+0.9% 🔺) Yes 🎉
Tree shaking (just an Icon) 12.07 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

Copy link
Contributor

github-actions bot commented Aug 8, 2025

🧪 Storybook is successfully deployed!

{validationState ? validation : null}
</>
);
}, [suffix, validationState, validation]);
Copy link

Choose a reason for hiding this comment

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

Bug: Select Component Validation Icon Display Issues

The Select component has two display regressions: the suffixPosition prop is ignored, causing the suffix to always appear before the validation icon, and validation icons are now incorrectly displayed during loading states.

Fix in Cursor Fix in Web

{state.selectedItem
? state.selectedItem.rendered
: placeholder || <>&nbsp;</>}
</SelectTrigger>
Copy link

Choose a reason for hiding this comment

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

Bug: Select Component Icon Display Issues

The Select component's rightIcon logic now incorrectly hides the dropdown arrow (DirectionIcon) when isLoading is true, instead of displaying it simultaneously with the LoadingIcon. Additionally, the suffixPosition prop is no longer respected, causing user-provided suffixes to always render before validation icons, breaking their intended placement.

Fix in Cursor Fix in Web

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.

1 participant