-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
15757 create a controlled accordion stories (#15827)
* feat: added a story named controlled in accordian * test: added test cases for controlled accordion * feat(controlledAccordions): supports toggles, disabled panels * refactor(controlled-accordion): changes button styles * chore: styles updated and moved to story.scss * fix: removed avt test cases as per the PR review suggestions --------- Co-authored-by: riddhybansal <[email protected]> Co-authored-by: Nikhil Tomar <[email protected]> Co-authored-by: TJ Egan <[email protected]>
- Loading branch information
1 parent
536d342
commit 0474bce
Showing
4 changed files
with
136 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// Copyright IBM Corp. 2016, 2023 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
.controlled-accordion-btnset { | ||
padding-block-end: 0.5rem; | ||
} | ||
|
||
.controlled-accordion-btnset .controlled-accordion-btn { | ||
max-inline-size: 13.25rem; | ||
} |