1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-10 17:35:47 +01:00
bitwarden-estensione-browser/libs/components
Nick Krantz ca839b3d80
[PM-14019] Toggle Vault Filters (#11929)
* move vault headings to their own component

* update aria-label to bind to the data attribute

* move vault headings to the vault-v2 folder

* integrate disclosure trigger to hide vault filters

* remove built in margin on search component

- spacing will be managed by the parent component

* add event emitter so consuming components can know when disclosure status has changed

* add filter badge when filters are selected and the filters are hidden

* persist filter visibility state to disk

* add supporting text for the filter button

* remove extra file

* only read from stored state on component launch.

- I noticed delays when trying to use stored state as the source of truth

* use two-way data binding for change event

* update vault headers to use two way data binds from disclosure component

- also adjust consuming changes

* add border thickness

* add ticket to the FIXME

* move number of filters observable into service

* move state coordination into filter service

* only expose state and update methods from filter service

* simplify observables to avoid needed state lifecycle methods

* remove comment

* fix test imports

* update badge colors

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2024-11-19 11:49:42 -06:00
..
src [PM-14019] Toggle Vault Filters (#11929) 2024-11-19 11:49:42 -06:00
.gitignore
jest.config.js
package.json
tailwind.config.base.js [CL-499][PM-14020] compact mode (#11796) 2024-11-18 16:35:49 -05:00
tailwind.config.js
test.setup.ts
tsconfig.app.json
tsconfig.json
tsconfig.spec.json