From 5e15cff836c9ed36e94b0330296d9a8220bc077e Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Mon, 28 Oct 2024 11:37:42 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 27 ++++++++++++++++++++++ packages/themes/types/button/index.d.ts | 23 ++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 08a1fe723..efb39727d 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -76868,6 +76868,33 @@ "default": "", "description": "Danger color of text" }, + { + "name": "contrast.hoverBackground", + "token": "button.text.contrast.hover.background", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Contrast hover background of text" + }, + { + "name": "contrast.activeBackground", + "token": "button.text.contrast.active.background", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Contrast active background of text" + }, + { + "name": "contrast.color", + "token": "button.text.contrast.color", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Contrast color of text" + }, { "name": "plain.hoverBackground", "token": "button.text.plain.hover.background", diff --git a/packages/themes/types/button/index.d.ts b/packages/themes/types/button/index.d.ts index 1b51ffccb..d9e2cf2a5 100644 --- a/packages/themes/types/button/index.d.ts +++ b/packages/themes/types/button/index.d.ts @@ -1189,6 +1189,29 @@ export interface ButtonDesignTokens extends ColorSchemeDesignToken