From 9276289aed7dcaf7209c9b5be2726db8edd7b782 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Mon, 28 Oct 2024 15:10:10 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 62 ++++++++++++++++++++++ packages/themes/types/avatar/index.d.ts | 61 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index a4f074d7e..71b9a7afc 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -74523,6 +74523,14 @@ "default": "", "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", "optional": true, @@ -74601,6 +74609,15 @@ "default": "", "description": "Background of root" }, + { + "name": "root.color", + "token": "avatar.color", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Color of root" + }, { "name": "root.borderRadius", "token": "avatar.border.radius", @@ -74610,6 +74627,15 @@ "default": "", "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", "token": "avatar.group.border.color", @@ -74655,6 +74681,24 @@ "default": "", "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", "token": "avatar.xl.width", @@ -74681,6 +74725,24 @@ "type": "string", "default": "", "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" } ] } diff --git a/packages/themes/types/avatar/index.d.ts b/packages/themes/types/avatar/index.d.ts index 093bc3c46..2c5dbea7a 100644 --- a/packages/themes/types/avatar/index.d.ts +++ b/packages/themes/types/avatar/index.d.ts @@ -39,6 +39,12 @@ export interface AvatarDesignTokens extends ColorSchemeDesignToken