Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Jun 17, 2025

Describe changes

Checklist

Before taking this PR from the draft, please, make sure you have done the following:

  • Pipeline is passed
  • Tests are added (including unit tests and stories in the storybook)
  • Tests are passed successfully
  • If you're adding a new component/new props, add stories that describe how this component/prop works
  • Changeset(s) is(are) added
  • You have passed the threshold of the library size
  • Commit message follows commit guidelines

Closes: N/A

Other information

@changeset-bot
Copy link

changeset-bot bot commented Jun 17, 2025

🦋 Changeset detected

Latest commit: 771f796

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Minor

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link

vercel bot commented Jun 17, 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 Jun 17, 2025 5:03pm

@netlify
Copy link

netlify bot commented Jun 17, 2025

Deploy Preview for cube-uikit-docs failed.

Name Link
🔨 Latest commit 771f796
🔍 Latest deploy log https://app.netlify.com/projects/cube-uikit-docs/deploys/68519f91e592cc000842f8bc

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2025

📦 NPM canary release

Deployed canary version 0.0.0-canary-a0015e8.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2025

🏗 Docs are successfully deployed!

👀 Preview: https://68519fcf7f55a2444d750eab--cube-uikit-docs.netlify.app

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2025

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2025

🏋️ Size limit report

Name Size Passed?
All 252.98 KB (+0.1% 🔺) Yes 🎉
Tree shaking (just a Button) 21.72 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 11.4 KB (0% 🟰) Yes 🎉

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for sections across the ComboBox, Menu, and Select components while updating token values and refactoring styled component names for clarity.

  • Updates design tokens to include separate bold weights.
  • Refactors styled components in Menu and adjusts component imports and naming for consistent sections support.
  • Implements divider insertion between sections and adds Section support in Select and ComboBox along with corresponding stories.

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/tokens.ts Updated font weight tokens and added bold-weight entries
src/components/pickers/Menu/styled.tsx Renamed styled components and updated QA attributes
src/components/pickers/Menu/MenuSection.tsx Updated imports to match new styled component names
src/components/pickers/Menu/MenuItem.tsx Adjusted to use the renamed StyledItem
src/components/pickers/Menu/Menu.tsx Reworked menu rendering to insert dividers between sections
src/components/pickers/Menu/Menu.stories.tsx Removed Divider usage in stories in favor of sections support
src/components/fields/Select/Select.tsx Modified ListBox styling and implemented section rendering logic
src/components/fields/Select/Select.stories.tsx Added Section support in Select stories
src/components/fields/ComboBox/ComboBox.tsx Extended ComboBox support to include sections and updated state props
src/components/fields/ComboBox/ComboBox.stories.tsx Added static and dynamic section stories for ComboBox
.changeset/*.md Updated changeset files for new section support changes

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.

2 participants