Skip to content

Commit

Permalink
feat: refactor Persona and rename it to UserLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
DakEnviy committed Jan 31, 2024
1 parent 2d49002 commit 13f731f
Show file tree
Hide file tree
Showing 23 changed files with 489 additions and 315 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
/src/components/Menu @NikitaCG
/src/components/Modal @amje
/src/components/Pagination @jhoncool
/src/components/Persona @DaffPunks
/src/components/Popover @kseniya57
/src/components/Popup @amje
/src/components/Portal @amje
Expand All @@ -32,6 +31,7 @@
/src/components/RadioButton @zamkovskaya
/src/components/RadioGroup @zamkovskaya
/src/components/User @DakEnviy
/src/components/UserLabel @DakEnviy
/src/components/Select @korvin89
/src/components/Sheet @mournfulCoroner
/src/components/Skeleton @SeqviriouM
Expand Down
1 change: 1 addition & 0 deletions src/components/Avatar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ LANDING_BLOCK-->
| aria-label | `aria-label` for avatar block | `string` | |
| aria-labelledby | `aria-labelledby` for avatar block | `string` | |
| className | Custom CSS class for root element | `string` | |
| style | HTML style attribute | `React.CSSProperties` | |
| qa | HTML `data-qa` attribute, used in tests | `string` | |

### Image-specific
Expand Down
74 changes: 0 additions & 74 deletions src/components/Persona/Persona.tsx

This file was deleted.

120 changes: 0 additions & 120 deletions src/components/Persona/README.md

This file was deleted.

52 changes: 0 additions & 52 deletions src/components/Persona/__stories__/Persona.stories.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/Persona/i18n/en.json

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/Persona/i18n/ru.json

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/Persona/index.ts

This file was deleted.

30 changes: 0 additions & 30 deletions src/components/Persona/types.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/components/Persona/utils.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/components/User/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ LANDING_BLOCK-->
| aria-label | `aria-label` for user block | `string` | |
| aria-labelledby | `aria-labelledby` for user block | `string` | |
| className | Custom CSS class for root element | `string` | |
| style | HTML style attribute | `React.CSSProperties` | |
| qa | HTML `data-qa` attribute, used in tests | `string` | |
Loading

0 comments on commit 13f731f

Please sign in to comment.