diff --git a/AGENTS.md b/AGENTS.md index a6faa28..9fde436 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -76,7 +76,10 @@ - Do not include React-only APIs such as `asChild`. - Do not add "Composition" sections unless they describe stable Basecoat markup. - Do not add API Reference sections for native/CSS-only components unless there is a real Basecoat API. +- Structure component docs as: title and preview, `## Usage`, optional `### HTML structure` for stable markup requirements, optional `### JavaScript API` for components with Basecoat JS methods/events/options, then `## Examples`. +- Keep `Usage` focused on the minimal working snippet and important Basecoat/upstream differences; put variants, states, RTL, and richer patterns under `Examples`. - Keep snippets minimal and aligned with current behavior. +- In HTML snippets, keep text-only elements on one line, such as `
Text
`; use multiline formatting when the element contains child elements or when line length would hurt readability. - Document intentional differences from upstream near the relevant example. ## Validation diff --git a/CHANGELOG.md b/CHANGELOG.md index e0c3474..8b84d34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ ## Unreleased +## [1.0.0-beta.5] - 2026-06-22 + +### Added + +- Added a dedicated Accordion component with native `Yes. It adheres to the WAI-ARIA design pattern.
-Yes. It comes with default styles that matches the other components' aesthetic.
-Yes. It's animated by default, but you can disable it if you prefer.
+ We offer standard (5-7 days), express (2-3 days), and overnight shipping. Free shipping on international orders. +Yes. It uses native disclosure semantics.
-<section class="accordion">data-multiple to allow multiple open items.
+ <details open>open attribute for the default expanded item. Add aria-disabled="true" when an item should not toggle.
+ <summary><section>Common questions about your account, plans, payments and cancellations.
+