-
Notifications
You must be signed in to change notification settings - Fork 6
Feature/2725 callout develop component #2842
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
Conversation
🦋 Changeset detectedLatest commit: bd0166c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
There was a problem hiding this 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 new sl-callout component to the design system for displaying additional informational content. The component is designed to be static (not dynamically shown/hidden) and supports various variants and sizes for different use cases.
Key Changes:
- New
CalloutLit component with 4 variants (info, positive, caution, negative) and 2 sizes (md, lg) - Comprehensive Storybook stories demonstrating various use cases including custom icons and actions
- Basic test suite covering default behavior, variants, and title handling
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.all.json | Added callout component to TypeScript project references |
| packages/components/callout/tsconfig.json | TypeScript configuration for the callout component package |
| packages/components/callout/src/callout.ts | Main component implementation with variant-based icon logic and title slot handling |
| packages/components/callout/src/callout.stories.ts | Storybook stories demonstrating component usage with various configurations and actions |
| packages/components/callout/src/callout.spec.ts | Unit tests for default properties, variants, and title visibility |
| packages/components/callout/src/callout.scss | Styling with grid layout, variant-specific colors, and responsive sizing |
| packages/components/callout/register.ts | Custom element registration for sl-callout |
| packages/components/callout/package.json | Package manifest with dependencies and build configuration |
| packages/components/callout/index.ts | Main entry point exporting component classes and types |
🕸 Website previewYou can view a preview here (commit |
🕸 Storybook previewYou can view a preview here (commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…develop-component
…develop-component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 4 comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 16 out of 17 changed files in this pull request and generated 2 comments.
No description provided.