Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Icon): support input required type #403

Merged
merged 36 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dd86549
fix(Icon): support input required type
anlyyao Sep 2, 2024
78f9812
fix(Button): fix type error
anlyyao Sep 2, 2024
586f56b
fix(Cell): update api docs
anlyyao Sep 2, 2024
ca5b0d7
docs(CountDoen): sync api docs
anlyyao Sep 2, 2024
5391777
feat(DateTimePicker): add usePopup props
anlyyao Sep 2, 2024
a2569e2
docs(DropdownMenu): remove externalClasses
anlyyao Sep 2, 2024
c920b84
docs(Empty): remove style props
anlyyao Sep 3, 2024
bf52de2
docs(Footer): remove style props
anlyyao Sep 3, 2024
0069ed0
fix(Grid): remove externalClasses
anlyyao Sep 3, 2024
bcfcde1
fix(Image): remove externalClasses
anlyyao Sep 3, 2024
ace9162
docs(Indexes): update api docs
anlyyao Sep 3, 2024
4439f3d
docs(Input): update md
anlyyao Sep 3, 2024
c81c011
docs(Link): update api docs
anlyyao Sep 3, 2024
8482b13
feat(Message): add single and gap props
anlyyao Sep 3, 2024
82da1d4
docs(SideBar): update api doc
liweijie0812 Sep 3, 2024
398a7cd
docs(Upload): update api
liweijie0812 Sep 3, 2024
b296fb1
chore: run api:upload
liweijie0812 Sep 3, 2024
53ffa2f
docs(Popup): sync api docs
anlyyao Sep 3, 2024
e4fbced
feat(radio): update api docs
anlyyao Sep 3, 2024
9fe1d0b
docs(treeSelect): update api
liweijie0812 Sep 3, 2024
d0fca63
fix(Input): fix status default value error
anlyyao Sep 3, 2024
b287622
docs(Transition): update api
liweijie0812 Sep 3, 2024
c86606f
chore: run api:upload
liweijie0812 Sep 3, 2024
039ba17
docs(Search): update api docs
anlyyao Sep 3, 2024
c7f82f7
docs(Skeleton): update docs
anlyyao Sep 3, 2024
e1d6250
fix(Slider): remove style props
anlyyao Sep 3, 2024
f59fff9
fix(Slider): remove externalClasses props
anlyyao Sep 3, 2024
5ca6279
fix(Steps): remove externalClasses and style props
anlyyao Sep 3, 2024
91b0693
docs(Toast): update api
liweijie0812 Sep 3, 2024
9fad736
fix(Sticky): remove externalClasses and style props
anlyyao Sep 3, 2024
84aea42
fix(SwipeCell): fix left type error
anlyyao Sep 3, 2024
490efab
fix(Switch): remove style props
anlyyao Sep 3, 2024
0d20b03
docs(Tabs): update docs
anlyyao Sep 3, 2024
5e8d083
docs(textarea): update api
liweijie0812 Sep 3, 2024
db9b003
docs(textarea): update maxlength
liweijie0812 Sep 3, 2024
116758a
chore: resolve conflict
github-actions[bot] Sep 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading