Skip to content

Commit

Permalink
fix(Icon): support input required type (#403)
Browse files Browse the repository at this point in the history
* fix(Icon): support input required type

* fix(Button): fix type error

* fix(Cell): update api docs

* docs(CountDoen): sync api docs

* feat(DateTimePicker): add usePopup props

* docs(DropdownMenu): remove externalClasses

* docs(Empty): remove style props

* docs(Footer): remove style props

* fix(Grid): remove externalClasses

* fix(Image): remove externalClasses

* docs(Indexes): update api docs

* docs(Input): update md

* docs(Link): update api docs

* feat(Message): add single and gap props

* docs(SideBar): update api doc

* docs(Upload): update api

* chore: run api:upload

* docs(Popup): sync api docs

* feat(radio): update api docs

* docs(treeSelect): update api

* fix(Input): fix status default value error

* docs(Transition): update api

* chore: run api:upload

* docs(Search): update api docs

* docs(Skeleton): update docs

* fix(Slider): remove style props

* fix(Slider): remove externalClasses props

* fix(Steps): remove externalClasses and style props

* docs(Toast): update api

* fix(Sticky): remove externalClasses and style props

* fix(SwipeCell): fix left type error

* fix(Switch): remove style props

* docs(Tabs): update docs

* docs(textarea): update api

* docs(textarea): update maxlength

---------

Co-authored-by: 黎伟杰 <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 3, 2024
1 parent b23221e commit eb4466a
Show file tree
Hide file tree
Showing 126 changed files with 2,110 additions and 3,385 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
78 changes: 39 additions & 39 deletions packages/products/tdesign-miniprogram/src/button/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,48 @@ custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on v
app-parameter | String | - | \- | N
block | Boolean | false | make button to be a block-level element | N
content | String / Slot | - | button's children elements。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
custom-dataset | Object | - | Typescript:``any`` \| N
disabled \| Boolean \| undefined \| disable the button, make it can not be clicked \| N
ghost \| Boolean \| false \| make background-color to be transparent \| N
hover-class \| String \| - \| \- \| N
hover-start-time \| Number \| 20 \| \- \| N
hover-stay-time \| Number \| 70 \| \- \| N
hover-stop-propagation \| Boolean \| false \| \- \| N
icon \| String / Object \| - \| icon name \| N
lang \| String \| - \| message language。options: en/zh_CN/zh_TW \| N
loading \| Boolean \| false \| set button to be loading state \| N
loading-props \| Object \| - \| Typescript:`LoadingProps`[Loading API Documents](./loading?tab=api)[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts) \| N
open-type \| String \| - \| open type of button, [Miniprogram Button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。options: contact/share/getPhoneNumber/getUserInfo/launchApp/openSetting/feedback/chooseAvatar/agreePrivacyAuthorization \| N
phone-number-no-quota-toast \| Boolean \| true \| \- \| N
send-message-img \| String \| 截图 \| \- \| N
send-message-path \| String \| 当前分享路径 \| \- \| N
send-message-title \| String \| 当前标题 \| \- \| N
session-from \| String \| - \| \- \| N
shape \| String \| rectangle \| button shape。options: rectangle/square/round/circle \| N
show-message-card \| Boolean \| false \| \- \| N
size \| String \| medium \| a button has four size。options: extra-small/small/medium/large \| N
suffix \| Slot \| - \| [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) \| N
t-id \| String \| - \| id \| N
theme \| String \| default \| button theme。options: default/primary/danger/light \| N
type \| String \| - \| type of button element, same as formType of Miniprogram。options: submit/reset \| N
variant \| String \| base \| variant of button。options: base/outline/dashed/text \| N
custom-dataset | Object | - | Typescript:`any` | N
disabled | Boolean | undefined | disable the button, make it can not be clicked | N
ghost | Boolean | false | make background-color to be transparent | N
hover-class | String | - | \- | N
hover-start-time | Number | 20 | \- | N
hover-stay-time | Number | 70 | \- | N
hover-stop-propagation | Boolean | false | \- | N
icon | String / Object | - | icon name | N
lang | String | - | message language。options: en/zh_CN/zh_TW | N
loading | Boolean | false | set button to be loading state | N
loading-props | Object | - | Typescript:`LoadingProps`[Loading API Documents](./loading?tab=api)[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts) | N
open-type | String | - | open type of button, [Miniprogram Button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。options: contact/share/getPhoneNumber/getUserInfo/launchApp/openSetting/feedback/chooseAvatar/agreePrivacyAuthorization | N
phone-number-no-quota-toast | Boolean | true | \- | N
send-message-img | String | 截图 | \- | N
send-message-path | String | 当前分享路径 | \- | N
send-message-title | String | 当前标题 | \- | N
session-from | String | - | \- | N
shape | String | rectangle | button shape。options: rectangle/square/round/circle | N
show-message-card | Boolean | false | \- | N
size | String | medium | a button has four size。options: extra-small/small/medium/large | N
suffix | Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
t-id | String | - | id | N
theme | String | default | button theme。options: default/primary/danger/light | N
type | String | - | type of button element, same as formType of Miniprogram。options: submit/reset | N
variant | String | base | variant of button。options: base/outline/dashed/text | N

### Button Events

name \| params \| description
-- \| -- \| --
agreeprivacyauthorization \| \- \| \-
chooseavatar \| \- \| \-
click \| `(e: MouseEvent)` \| trigger on click
contact \| \- \| \-
createliveactivity \| \- \| \-
error \| \- \| \-
getphonenumber \| \- \| \-
getrealtimephonenumber \| \- \| \-
getuserinfo \| \- \| \-
launchapp \| \- \| \-
opensetting \| \- \| \-
tap \| `event` | \-
name | params | description
-- | -- | --
agreeprivacyauthorization | \- | \-
chooseavatar | \- | \-
click | `(e: MouseEvent)` | trigger on click
contact | \- | \-
createliveactivity | \- | \-
error | \- | \-
getphonenumber | \- | \-
getrealtimephonenumber | \- | \-
getuserinfo | \- | \-
launchapp | \- | \-
opensetting | \- | \-
tap | `event` | \-

### Button External Classes

Expand Down
Loading

0 comments on commit eb4466a

Please sign in to comment.