From 08969f715d2f05ddfdb15536dc49dd7882154099 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Sat, 26 Oct 2024 13:05:13 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 88 ++++++++ packages/themes/types/message/index.d.ts | 88 ++++++++ pnpm-lock.yaml | 240 +++++++++++++++------ 3 files changed, 352 insertions(+), 64 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index d30484a6b..ec6b3b5b8 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -41360,6 +41360,22 @@ "type": "boolean", "default": "false", "description": "When enabled, it removes component related styles in the core." + }, + { + "name": "size", + "optional": true, + "readonly": false, + "type": "\"small\" | \"large\"", + "default": "", + "description": "Defines the size of the component." + }, + { + "name": "variant", + "optional": true, + "readonly": false, + "type": "\"outlined\" | \"text\"", + "default": "outlined", + "description": "Specifies the input variant of the component." } ], "methods": [] @@ -88097,6 +88113,24 @@ "default": "", "description": "Gap of content" }, + { + "name": "sm.padding", + "token": "message.content.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of content" + }, + { + "name": "lg.padding", + "token": "message.content.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of content" + }, { "name": "text.fontSize", "token": "message.text.font.size", @@ -88115,6 +88149,24 @@ "default": "", "description": "Font weight of text" }, + { + "name": "sm.fontSize", + "token": "message.text.sm.font.size", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm font size of text" + }, + { + "name": "lg.fontSize", + "token": "message.text.lg.font.size", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg font size of text" + }, { "name": "icon.size", "token": "message.icon.size", @@ -88124,6 +88176,24 @@ "default": "", "description": "Size of icon" }, + { + "name": "sm.size", + "token": "message.icon.sm.size", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm size of icon" + }, + { + "name": "lg.size", + "token": "message.icon.lg.size", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg size of icon" + }, { "name": "closeButton.width", "token": "message.close.button.width", @@ -88187,6 +88257,24 @@ "default": "", "description": "Size of close icon" }, + { + "name": "sm.size", + "token": "message.close.icon.sm.size", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm size of close icon" + }, + { + "name": "lg.size", + "token": "message.close.icon.lg.size", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg size of close icon" + }, { "name": "info.background", "token": "message.info.background", diff --git a/packages/themes/types/message/index.d.ts b/packages/themes/types/message/index.d.ts index 5c96d87de..8c70d7019 100644 --- a/packages/themes/types/message/index.d.ts +++ b/packages/themes/types/message/index.d.ts @@ -50,6 +50,28 @@ export interface MessageDesignTokens extends ColorSchemeDesignToken