1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-08 00:17:06 +01:00
bitwarden-estensione-browser/libs/components
rr-bw a4303fac59
[PM-2452] Popover Component (#5889)
* setup popover component template and basic story

* add a11y features

* add multiple positions for the popover

* add stories for open right and left

* prevent panel from hugging edges of screen

* fix typo

* add popover arrow depending on position

* add buttons to stories

* add figma preview

* move toward directive approach

* add all positions

* add header input

* add close functionality

* make standalone component

* add a11y import

* add all stories

* add story controls/args

* add module of standalone components

* gracefully handle text wrap and align close button to top for longer headings

* update semantic html

* add story for open state

* use bitIconButton

* adjust styles

* add public close method

* setup walkthrough mode

* add walkthrough mode

* revert to before walkthrough service added

* add triggerRef to stories

* change property name

* add Escape key to close events

* add initially open state

* add docs

* minor reformatting

---------

Co-authored-by: William Martin <contact@willmartian.com>
2023-10-23 09:22:54 -07:00
..
src [PM-2452] Popover Component (#5889) 2023-10-23 09:22:54 -07:00
.gitignore
jest.config.js [PM-2328] Fix jest deprecations (#5483) 2023-05-22 20:19:16 +02:00
package.json
tailwind.config.base.js
tailwind.config.js [PM-2276] Upgrade Storybook to v7 (#5258) 2023-05-26 15:58:06 +02:00
test.setup.ts
tsconfig.app.json
tsconfig.json
tsconfig.spec.json