-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(filter-bar): allow consumer to open a filter from another filter…
…'s action (#3884) * fix(filter-bar): prevent infinite loop when opening a filter through selecting a value * refactor(filter-bar): tighten state type for values/isUsable to no longer be null * docs(filter-bar): add docs for open filter through another filter * refactor(filter-bar): rename toggleOpenFilter (deprecated) to setFilterOpenState * feat(filter-bar): add context util openFilter
- Loading branch information
1 parent
049cc68
commit 039a457
Showing
24 changed files
with
428 additions
and
160 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,9 @@ | ||
--- | ||
"@kaizen/components": minor | ||
--- | ||
|
||
#### FilterBar | ||
|
||
- Prevent infinite loop when calling `toggleOpenFilter` from selecting a value. | ||
- Deprecate `toggleOpenFilter`, and replace with `setFilterOpenState` for clearer function intent. | ||
- Add context util `openFilter` for consumers to be able to open a filter through an event from another filter. |
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
Oops, something went wrong.