Skip to content

Commit 973328c

Browse files
authored
chore: Remove legacy markdown for Avatar Style API (#86)
* chore: Remove legacy markdown for Avatar Style API * chore: Update snapshot tests for Avatar Style API * Update visual test screenshots * Revert Update visual test screenshots
1 parent d555ae4 commit 973328c

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

src/__tests__/__snapshots__/documenter.test.ts.snap

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,6 @@ Use it to define initials that uniquely identify the avatar's owner.",
7878
"type": "boolean",
7979
},
8080
{
81-
"description": "Specifies an object of selectors and properties that are used to apply custom styles.
82-
83-
- \`root.background\` (string) - (Optional) Background of the avatar.
84-
- \`root.borderColor\` (string) - (Optional) Border color of the avatar.
85-
- \`root.borderRadius\` (string) - (Optional) Border radius of the avatar.
86-
- \`root.borderWidth\` (string) - (Optional) Border width of the avatar.
87-
- \`root.boxShadow\` (string) - (Optional) Box shadow of the avatar.
88-
- \`root.color\` (string) - (Optional) Text color of the avatar.
89-
- \`root.focusRing.borderColor\` (string) - (Optional) Focus ring border color.
90-
- \`root.focusRing.borderRadius\` (string) - (Optional) Focus ring border radius.
91-
- \`root.focusRing.borderWidth\` (string) - (Optional) Focus ring border width.",
9281
"inlineType": {
9382
"name": "AvatarProps.Style",
9483
"properties": [

src/avatar/interfaces.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,6 @@ export interface AvatarProps {
6363
imgUrl?: string;
6464

6565
/**
66-
* Specifies an object of selectors and properties that are used to apply custom styles.
67-
*
68-
* - `root.background` (string) - (Optional) Background of the avatar.
69-
* - `root.borderColor` (string) - (Optional) Border color of the avatar.
70-
* - `root.borderRadius` (string) - (Optional) Border radius of the avatar.
71-
* - `root.borderWidth` (string) - (Optional) Border width of the avatar.
72-
* - `root.boxShadow` (string) - (Optional) Box shadow of the avatar.
73-
* - `root.color` (string) - (Optional) Text color of the avatar.
74-
* - `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.
75-
* - `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.
76-
* - `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.
7766
* @awsuiSystem core
7867
*/
7968
style?: AvatarProps.Style;

0 commit comments

Comments
 (0)