Skip to content

feat(redesign): Alert component - #2205

Merged
g-francesca merged 44 commits into
redesignfrom
redesign-alert
Mar 5, 2026
Merged

feat(redesign): Alert component#2205
g-francesca merged 44 commits into
redesignfrom
redesign-alert

Conversation

@g-francesca

@g-francescag-francesca commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Preview
This PR introduces a new Alert primitive for contextual callout blocks, replacing the legacy doc-box HTML pattern.

Changes

  • New componentAlert.astro with three severity levels: info, alert, and warning, each with a distinct icon, color scheme, and optional auto-resolved title.
  • Usage exampleinstalling.mdx (renamed from .md) now uses the new Alert component for three different callout types, replacing the old doc-box div. Alers were added for demo purposes only.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

@netlify

netlifyBot commented Mar 4, 2026

Copy link
Copy Markdown

Deploy Preview for expressjscom-preview canceled.

NameLink
🔨 Latest commitaf592f8
🔍 Latest deploy loghttps://app.netlify.com/projects/expressjscom-preview/deploys/69a90536882ab50008a65c7e

@socket-security

socket-securityBot commented Mar 4, 2026

Copy link
Copy Markdown

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@g-francesca
g-francesca marked this pull request as ready for review March 4, 2026 12:15
@g-francesca
g-francesca requested a review from a team as a code ownerMarch 4, 2026 12:15
@g-francesca
g-francesca merged commit 758adc0 into redesignMar 5, 2026
10 checks passed
@ShubhamOulkar
ShubhamOulkar deleted the redesign-alert branch March 5, 2026 09:30
@bjohansebasbjohansebas mentioned this pull request Apr 4, 2026
Sign up for freeto 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

@g-francesca@ShubhamOulkar