Skip to content

fix: minor issues and linting#1092

Merged
tenphi merged 5 commits intomainfrom
fix-minor-issues-and-linting
Mar 24, 2026
Merged

fix: minor issues and linting#1092
tenphi merged 5 commits intomainfrom
fix-minor-issues-and-linting

Conversation

@tenphi
Copy link
Copy Markdown
Member

@tenphi tenphi commented Mar 23, 2026

Note

Medium Risk
Touches shared styling for Icon, CopySnippet, and Menu items plus bumps @tenphi/tasty, so small selector semantics changes could cause subtle UI regressions even though behavior is unchanged.

Overview
Refactors internal styled-component sub-element targeting to use tasty’s $ selector syntax (e.g. Svg: { $: 'svg' }, Code: { $: 'code' }) instead of raw nested selectors in Icon and CopySnippet.

Cleans up Menu item styling/docs by removing unused ButtonIcon/Postfix sub-element styles, and bumps @tenphi/tasty to 0.14.2 (lockfile updated) with an accompanying patch changeset.

Written by Cursor Bugbot for commit 6a0b341. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 23, 2026

🦋 Changeset detected

Latest commit: 6a0b341

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 Patch

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
Copy Markdown

vercel Bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Mar 24, 2026 11:21am

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 23, 2026

📦 NPM canary release

Deployed canary version 0.0.0-canary-1019492.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 23, 2026

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 23, 2026

🏋️ Size limit report

Name Size Passed?
All 360.58 KB (-0.04% 🔽👏) Yes 🎉
Tree shaking (just a Button) 101.11 KB (-0.11% 🔽👏) Yes 🎉

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

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread src/icons/Icon.tsx Outdated
@tenphi tenphi merged commit 6afa274 into main Mar 24, 2026
16 checks passed
@tenphi tenphi deleted the fix-minor-issues-and-linting branch March 24, 2026 12:19
@github-actions github-actions Bot mentioned this pull request Mar 24, 2026
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