bitwarden-estensione-browser/libs/components/src
rr-bw 7c5e4dd3d6
[CL-7] Avatar (#3153)
* CL-7 Begin Implementing Avatar

* add figma design to parameters

* rework size property

* Update Figma file to correct component

* remove circle input (avatar will always be a circle)

* adjust sizing and limit inputs

* Setup color input and functionality

* Add border option

* fix bug duplicating classes

* Update size for large avatar

* Remove unnecessary class

* Fix typo

* Remove 'dynamic' input (Avatar will now regenerate on changes by default)

* Use Tailwind class instead of an arbitrary value

* Remove gravatars (deprecated, see SG-434)

* Rename methods to a more accurate name

* Rework classList() getter method

* Remove unnecessary logic and services

* Make properties private, and rename for better clarity

* Move sanitizer logic to the TS code rather than the template

* Rework and move function to a common static class in Utils

* Rename 'data' to 'text' for clarity

* Rework classList implementation

* Remove email since we removed gravatars

* Remove template

* set color based on color, id, or text input

* rework generate method

* add explicit null/undefined check

* remove comment

Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
2022-09-06 11:02:09 -07:00
..
app Move to libs 2022-06-03 16:24:40 +02:00
avatar [CL-7] Avatar (#3153) 2022-09-06 11:02:09 -07:00
badge [Cl-10] Make badge inline (#3089) 2022-07-15 10:59:19 +02:00
banner [SM-110] Add prettier-plugin-tailwindcss (#3215) 2022-08-02 08:45:59 +02:00
button [EC-423] Fix unit tests (#3265) 2022-08-11 11:35:08 +10:00
callout [SM-110] Add prettier-plugin-tailwindcss (#3215) 2022-08-02 08:45:59 +02:00
dialog [CL-46] Dialogs (#3237) 2022-08-05 17:45:36 +02:00
form-field [SM-110] Add prettier-plugin-tailwindcss (#3215) 2022-08-02 08:45:59 +02:00
icon [EC-512] Tree shakeable icons (#3427) 2022-09-06 08:21:59 +02:00
input [SG-430] Modify registration component to use static ids (#3144) 2022-07-22 11:22:01 +01:00
link [Component Library] Text/Button Links (#3126) 2022-08-08 11:21:46 -05:00
menu [SM-110] Add prettier-plugin-tailwindcss (#3215) 2022-08-02 08:45:59 +02:00
stories [SM-110] Add prettier-plugin-tailwindcss (#3215) 2022-08-02 08:45:59 +02:00
submit-button [CL-11] Submit button (#2971) 2022-06-29 16:27:42 +02:00
table [SM-110] Add prettier-plugin-tailwindcss (#3215) 2022-08-02 08:45:59 +02:00
tabs [Component Library] Text/Button Links (#3126) 2022-08-08 11:21:46 -05:00
toggle-group Remove absolute value in toggle group (#3213) 2022-08-02 17:43:50 +02:00
utils [PS-713] Fix locale search bug (#3014) 2022-07-12 09:02:19 -04:00
favicon.ico Move to libs 2022-06-03 16:24:40 +02:00
index.html Move to libs 2022-06-03 16:24:40 +02:00
index.ts [Component Library] Text/Button Links (#3126) 2022-08-08 11:21:46 -05:00
main.ts Move to libs 2022-06-03 16:24:40 +02:00
polyfills.ts Move to libs 2022-06-03 16:24:40 +02:00
styles.css Move to libs 2022-06-03 16:24:40 +02:00
styles.scss Move storybook dependencies to root package (#2859) 2022-06-08 19:03:03 +02:00
test.setup.ts PS-813 Add memory storage to state service (#2892) 2022-06-27 12:38:12 -05:00
tw-theme.css [Component Library] Text/Button Links (#3126) 2022-08-08 11:21:46 -05:00
variables.scss Move to libs 2022-06-03 16:24:40 +02:00