From 2dfd360e784e3058c17712b5a3504ba6cac910a0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Mon, 28 Oct 2024 11:13:27 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 55 ++++++++++++------- packages/themes/types/message/index.d.ts | 64 ++++++++++++++-------- pnpm-lock.yaml | 31 +++++------ 3 files changed, 89 insertions(+), 61 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 7db307586..aace60729 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -41417,7 +41417,7 @@ "name": "variant", "optional": true, "readonly": false, - "type": "\"outlined\" | \"text\"", + "type": "\"outlined\" | \"simple\"", "default": "outlined", "description": "Specifies the input variant of the component." } @@ -88123,6 +88123,14 @@ "default": "", "description": "Used to pass tokens of the outlined section" }, + { + "name": "simple", + "optional": true, + "readonly": false, + "type": "Object", + "default": "", + "description": "Used to pass tokens of the simple section" + }, { "name": "info", "optional": true, @@ -88398,6 +88406,15 @@ "default": "", "description": "Root border width of outlined" }, + { + "name": "content.padding", + "token": "message.simple.content.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Content padding of simple" + }, { "name": "info.background", "token": "message.info.background", @@ -88480,13 +88497,13 @@ "description": "Outlined border color of info" }, { - "name": "plain.color", - "token": "message.info.plain.color", + "name": "simple.color", + "token": "message.info.simple.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Plain color of info" + "description": "Simple color of info" }, { "name": "success.background", @@ -88570,13 +88587,13 @@ "description": "Outlined border color of success" }, { - "name": "plain.color", - "token": "message.success.plain.color", + "name": "simple.color", + "token": "message.success.simple.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Plain color of success" + "description": "Simple color of success" }, { "name": "warn.background", @@ -88660,13 +88677,13 @@ "description": "Outlined border color of warn" }, { - "name": "plain.color", - "token": "message.warn.plain.color", + "name": "simple.color", + "token": "message.warn.simple.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Plain color of warn" + "description": "Simple color of warn" }, { "name": "error.background", @@ -88750,13 +88767,13 @@ "description": "Outlined border color of error" }, { - "name": "plain.color", - "token": "message.error.plain.color", + "name": "simple.color", + "token": "message.error.simple.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Plain color of error" + "description": "Simple color of error" }, { "name": "secondary.background", @@ -88840,13 +88857,13 @@ "description": "Outlined border color of secondary" }, { - "name": "plain.color", - "token": "message.secondary.plain.color", + "name": "simple.color", + "token": "message.secondary.simple.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Plain color of secondary" + "description": "Simple color of secondary" }, { "name": "contrast.background", @@ -88930,13 +88947,13 @@ "description": "Outlined border color of contrast" }, { - "name": "plain.color", - "token": "message.contrast.plain.color", + "name": "simple.color", + "token": "message.contrast.simple.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Plain color of contrast" + "description": "Simple color of contrast" } ] } diff --git a/packages/themes/types/message/index.d.ts b/packages/themes/types/message/index.d.ts index 5a6da20bc..588d88b27 100644 --- a/packages/themes/types/message/index.d.ts +++ b/packages/themes/types/message/index.d.ts @@ -240,6 +240,22 @@ export interface MessageDesignTokens extends ColorSchemeDesignToken