From befd1f21839939b54254bd316bbd158b136fcd15 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 12 十一月 2024 16:54:25 +0800 Subject: [PATCH] 简化主页 --- miniprogram_npm/tdesign-miniprogram/input/README.en-US.md | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/input/README.en-US.md b/miniprogram_npm/tdesign-miniprogram/input/README.en-US.md index ba2161f..85b6981 100644 --- a/miniprogram_npm/tdesign-miniprogram/input/README.en-US.md +++ b/miniprogram_npm/tdesign-miniprogram/input/README.en-US.md @@ -10,6 +10,7 @@ layout | String | horizontal | options锛歷ertical/horizontal | N borderless | Boolean | true | \- | N clearable | Boolean | false | \- | N +clear-trigger | String | always | options锛歛lways / focus | N disabled | Boolean | - | \- | N error-message | String | - | `deprecated` | N external-classes | Array | - | `['t-class', 't-class-input', 't-class-placeholder', 't-class-error-msg']` | N @@ -48,6 +49,7 @@ safe-password-nonce | String | - | \- | N safe-password-salt | String | - | \- | N safe-password-custom-hash | String | - | \- | N + ### Input Events name | params | description @@ -58,3 +60,32 @@ enter | `(value: InputValue)` | \- focus | `(value: InputValue)` | \- keyboardheightchange | `(height: number, duration: number)` | \- + +### CSS Variables + +The component provides the following CSS variables, which can be used to customize styles. +Name | Default Value | Description +-- | -- | -- +--td-input-bg-color | @bg-color-container | - +--td-input-border-color | @component-stroke | - +--td-input-border-left-space | 32rpx | - +--td-input-border-radius | @radius-default | - +--td-input-border-right-space | 0 | - +--td-input-default-text-color | @font-gray-1 | - +--td-input-default-tips-color | @font-gray-3 | - +--td-input-disabled-text-color | @text-color-disabled | - +--td-input-error-text-color | @error-color | - +--td-input-error-tips-color | @error-color | - +--td-input-label-max-width | 5em | - +--td-input-label-min-width | 2em | - +--td-input-label-text-color | @font-gray-1 | - +--td-input-placeholder-text-color | @text-color-placeholder | - +--td-input-placeholder-text-font-size | @font-size-m | - +--td-input-prefix-icon-color | @font-gray-1 | - +--td-input-success-text-color | @success-color | - +--td-input-success-tips-color | @success-color | - +--td-input-suffix-icon-color | @font-gray-3 | - +--td-input-suffix-text-color | @font-gray-1 | - +--td-input-vertical-padding | 32rpx | - +--td-input-warning-text-color | @warning-color | - +--td-input-warning-tips-color | @warning-color | - -- Gitblit v1.9.3