Update API doc

pull/6674/head
GitHub Actions Bot 2024-10-28 15:10:10 +00:00
parent e2040e9bb2
commit 9276289aed
2 changed files with 123 additions and 0 deletions

View File

@ -74523,6 +74523,14 @@
"default": "", "default": "",
"description": "Used to pass tokens of the root section" "description": "Used to pass tokens of the root section"
}, },
{
"name": "icon",
"optional": true,
"readonly": false,
"type": "Object",
"default": "",
"description": "Used to pass tokens of the icon section"
},
{ {
"name": "group", "name": "group",
"optional": true, "optional": true,
@ -74601,6 +74609,15 @@
"default": "", "default": "",
"description": "Background of root" "description": "Background of root"
}, },
{
"name": "root.color",
"token": "avatar.color",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Color of root"
},
{ {
"name": "root.borderRadius", "name": "root.borderRadius",
"token": "avatar.border.radius", "token": "avatar.border.radius",
@ -74610,6 +74627,15 @@
"default": "", "default": "",
"description": "Border radius of root" "description": "Border radius of root"
}, },
{
"name": "icon.size",
"token": "avatar.icon.size",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Size of icon"
},
{ {
"name": "group.borderColor", "name": "group.borderColor",
"token": "avatar.group.border.color", "token": "avatar.group.border.color",
@ -74655,6 +74681,24 @@
"default": "", "default": "",
"description": "Font size of lg" "description": "Font size of lg"
}, },
{
"name": "icon.size",
"token": "avatar.lg.icon.size",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon size of lg"
},
{
"name": "group.offset",
"token": "avatar.lg.group.offset",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Group offset of lg"
},
{ {
"name": "xl.width", "name": "xl.width",
"token": "avatar.xl.width", "token": "avatar.xl.width",
@ -74681,6 +74725,24 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Font size of xl" "description": "Font size of xl"
},
{
"name": "icon.size",
"token": "avatar.xl.icon.size",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Icon size of xl"
},
{
"name": "group.offset",
"token": "avatar.xl.group.offset",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Group offset of xl"
} }
] ]
} }

View File

@ -39,6 +39,12 @@ export interface AvatarDesignTokens extends ColorSchemeDesignToken<AvatarDesignT
* @designToken avatar.background * @designToken avatar.background
*/ */
background?: string; background?: string;
/**
* Color of root
*
* @designToken avatar.color
*/
color?: string;
/** /**
* Border radius of root * Border radius of root
* *
@ -46,6 +52,17 @@ export interface AvatarDesignTokens extends ColorSchemeDesignToken<AvatarDesignT
*/ */
borderRadius?: string; borderRadius?: string;
}; };
/**
* Used to pass tokens of the icon section
*/
icon?: {
/**
* Size of icon
*
* @designToken avatar.icon.size
*/
size?: string;
};
/** /**
* Used to pass tokens of the group section * Used to pass tokens of the group section
*/ */
@ -85,6 +102,28 @@ export interface AvatarDesignTokens extends ColorSchemeDesignToken<AvatarDesignT
* @designToken avatar.lg.font.size * @designToken avatar.lg.font.size
*/ */
fontSize?: string; fontSize?: string;
/**
* Icon of lg
*/
icon?: {
/**
* Icon size of lg
*
* @designToken avatar.lg.icon.size
*/
size?: string;
};
/**
* Group of lg
*/
group?: {
/**
* Group offset of lg
*
* @designToken avatar.lg.group.offset
*/
offset?: string;
};
}; };
/** /**
* Used to pass tokens of the xl section * Used to pass tokens of the xl section
@ -108,5 +147,27 @@ export interface AvatarDesignTokens extends ColorSchemeDesignToken<AvatarDesignT
* @designToken avatar.xl.font.size * @designToken avatar.xl.font.size
*/ */
fontSize?: string; fontSize?: string;
/**
* Icon of xl
*/
icon?: {
/**
* Icon size of xl
*
* @designToken avatar.xl.icon.size
*/
size?: string;
};
/**
* Group of xl
*/
group?: {
/**
* Group offset of xl
*
* @designToken avatar.xl.group.offset
*/
offset?: string;
};
}; };
} }