docs: add beta banner frontmatter property documentation #1740
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update banner frontmatter property documentation
Summary
This PR updates the frontmatter documentation to replace the beta banner documentation with comprehensive documentation for the new flexible
bannerproperty. The banner property supports simple boolean/string usage as well as advanced configuration with multiple intents (info, warning, success, error, note, launch, tip, check) and optional custom color overrides.Key changes:
bannerfrontmatter propertybetaproperty as deprecated with migration guidanceReview & Testing Checklist for Human
banner: truebanner: "This is a test message"banner: { message: "...", intent: info }banner: { message: "...", intent: tip, color: { background: "...", text: "...", border: "..." } }beta: trueandbeta: "message"still work for backward compatibilityTest Plan
banner: trueand verify a yellow warning banner appearsbanner: "Custom test message"and verify the custom message displaysbanner: { message: "Test", intent: [intent_name] }banner: { message: "Test", intent: tip, color: { background: "#e8f5e9", text: "#1b5e20", border: "#4caf50" } }beta: trueand verifying it still shows a bannerNotes