From a983a7fc712b8e1cd55e8c0ccd4ab7bbfa6d4de7 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 14 Jan 2025 12:00:46 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 30 +++++++++++++++---- packages/themes/types/togglebutton/index.d.ts | 20 ++++++------- pnpm-lock.yaml | 20 ++++++++----- 3 files changed, 46 insertions(+), 24 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 6feafbf5a..c0e384c0c 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -98288,22 +98288,22 @@ "description": "Checked color of icon" }, { - "name": "content.left", - "token": "togglebutton.content.left", + "name": "content.padding", + "token": "togglebutton.content.padding", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Left of content" + "description": "Padding of content" }, { - "name": "content.top", - "token": "togglebutton.content.top", + "name": "content.borderRadius", + "token": "togglebutton.content.border.radius", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Top of content" + "description": "Border radius of content" }, { "name": "content.checkedShadow", @@ -98314,6 +98314,24 @@ "default": "", "description": "Checked shadow of content" }, + { + "name": "sm.padding", + "token": "togglebutton.content.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of content" + }, + { + "name": "lg.padding", + "token": "togglebutton.content.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of content" + }, { "name": "content.checkedBackground", "token": "togglebutton.content.checked.background", diff --git a/packages/themes/types/togglebutton/index.d.ts b/packages/themes/types/togglebutton/index.d.ts index 7c6ece7d0..b1dadc869 100644 --- a/packages/themes/types/togglebutton/index.d.ts +++ b/packages/themes/types/togglebutton/index.d.ts @@ -221,15 +221,15 @@ export interface ToggleButtonDesignTokens extends ColorSchemeDesignToken