Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Jun 19, 2025

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jun 19, 2025

🦋 Changeset detected

Latest commit: 678d638

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

@netlify
Copy link

netlify bot commented Jun 19, 2025

Deploy Preview for cube-uikit-docs failed.

Name Link
🔨 Latest commit 678d638
🔍 Latest deploy log https://app.netlify.com/projects/cube-uikit-docs/deploys/68540e116a0428000845ddf5

@vercel
Copy link

vercel bot commented Jun 19, 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 19, 2025 1:18pm

@github-actions
Copy link
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-0c19580.

@github-actions
Copy link
Contributor

🏗 Docs are successfully deployed!

👀 Preview: https://68540e549ad995d77899af40--cube-uikit-docs.netlify.app

@github-actions
Copy link
Contributor

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Contributor

🏋️ Size limit report

Name Size Passed?
All 253.7 KB (+0.29% 🔺) 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

@tenphi tenphi requested a review from Copilot June 19, 2025 13:25
@tenphi tenphi merged commit 0f0b2b3 into main Jun 19, 2025
13 of 17 checks passed
@tenphi tenphi deleted the new-icons branch June 19, 2025 13:26
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 introduces a set of new chart icons and updates the Storybook demo to display them with the Text component and correct sizing labels.

  • Exported nine new chart icons in the icons index
  • Added corresponding SVG icon components under src/icons
  • Updated Storybook Icons.stories.tsx to use Text for icon labels and adjust the 24px section title

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

File Description
src/icons/index.ts Export new chart icons
src/icons/*.tsx Add nine new chart icon components
src/icons/Icons.stories.tsx Use <Text> instead of <span> and update size label
.changeset/olive-lions-notice.md Declare a patch release for new icons
Comments suppressed due to low confidence (2)

src/icons/ChartScatterIcon.tsx:1

  • New icons like ChartScatterIcon lack associated unit or snapshot tests; consider adding tests to verify correct SVG output and prevent regressions.
import { wrapIcon } from './wrap-icon';

src/icons/Icons.stories.tsx:50

  • [nitpick] The label 'full-size' may be unclear; consider using more descriptive or consistent terminology such as 'default size' to align with design system conventions.
      <Title>24px (full-size)</Title>

export { CalendarIcon } from './CalendarIcon';
export { CaretDownIcon } from './CaretDownIcon';
export { CaretUpIcon } from './CaretUpIcon';
export { ChartBarGroupedIcon } from './ChartBarGroupedIcon';
Copy link

Copilot AI Jun 19, 2025

Choose a reason for hiding this comment

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

[nitpick] Manually adding each new icon export increases maintenance overhead; consider automating barrel file generation or using a script to keep the index in sync.

Copilot uses AI. Check for mistakes.
@github-actions github-actions bot mentioned this pull request Jun 19, 2025
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