-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Details): Add summary subcomponent (#5015)
* fix(Details): Add summary prop and subcomponent * Create old-boxes-clap.md * fix: lint * fix(Docs): details story use default export * fix(Details): remove summary prop in favor of Details.Summary * test(Details): fix breaking tests * update changeset * fix(Summary): add polymorphic type * docs(Defatils): revert default story changes * set output to true instead of files * Update .changeset/old-boxes-clap.md Co-authored-by: Josh Black <[email protected]> * fix(Details): refactor summary detection logic * fix(Details): remove console log * test(Details): remove unused import * fix(Details): use mutationObserver to track child changes * test(Details): fix async tests * fix(Details): remove summary warning * fix(Summary): do not forward a ref * fix(Summary): do not use sx prop * fix(Summary): fix types --------- Co-authored-by: Siddharth Kshetrapal <[email protected]> Co-authored-by: Josh Black <[email protected]>
- Loading branch information
1 parent
8e58e4d
commit 1473c26
Showing
5 changed files
with
159 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/react": minor | ||
--- | ||
|
||
feat(Details): Add summary subcomponent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters