Skip to content
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

feat(userAvatar): add example #7004

Merged

Conversation

anamikaanu96
Copy link
Contributor

@anamikaanu96 anamikaanu96 commented Feb 28, 2025

Closes #6962

stackblitz example created for user avatar default variant and the missing controls in the Storybook docs are now working as expected.

What did you change?

Created a new folder user-avatar under packages/ibm-products-web-components/examples.

Files changed:
packages/ibm-products-web-components/examples/user-avatar/.gitignore
packages/ibm-products-web-components/examples/user-avatar/.sassrc
packages/ibm-products-web-components/examples/user-avatar/gallery.config.json
packages/ibm-products-web-components/examples/user-avatar/index.html
packages/ibm-products-web-components/examples/user-avatar/package.json
packages/ibm-products-web-components/examples/user-avatar/src/index.js
packages/ibm-products-web-components/examples/user-avatar/src/styles.scss
packages/ibm-products-web-components/examples/user-avatar/vite.config.js
packages/ibm-products-web-components/src/components/user-avatar/user-avatar.mdx

How did you test and verify your work?

Run npm install & npm run dev from the user-avatar example folder.

@anamikaanu96 anamikaanu96 requested a review from a team as a code owner February 28, 2025 10:16
@anamikaanu96 anamikaanu96 requested review from davidmenendez and paul-balchin-ibm and removed request for a team February 28, 2025 10:16
Copy link

netlify bot commented Feb 28, 2025

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit e41e070
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/67c7efd3caebbf0008388255
😎 Deploy Preview https://deploy-preview-7004--ibm-products-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 28, 2025

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit e41e070
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/67c7efd3215f82000868f095
😎 Deploy Preview https://deploy-preview-7004--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.72%. Comparing base (f985088) to head (e41e070).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7004      +/-   ##
==========================================
- Coverage   81.73%   81.72%   -0.01%     
==========================================
  Files         401      401              
  Lines       13031    13031              
  Branches     4293     4293              
==========================================
- Hits        10651    10650       -1     
- Misses       2380     2381       +1     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

davidmenendez
davidmenendez previously approved these changes Mar 3, 2025
Copy link
Contributor

@davidmenendez davidmenendez left a comment

Choose a reason for hiding this comment

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

LGTM

@anamikaanu96 anamikaanu96 added this pull request to the merge queue Mar 5, 2025
Merged via the queue into carbon-design-system:main with commit bda7598 Mar 5, 2025
31 checks passed
@anamikaanu96 anamikaanu96 deleted the userAvatarExample branch March 5, 2025 14:14
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.

Create Stackblitz examples for user avatar WC
3 participants