Skip to content

Commit ea5d11b

Browse files
authored
Feat 0207 issue (#1398)
* docs: update demo list * fix: numberkeyboard styles in android * fix: stepper input mode in wechat * docs: tags doc update
1 parent eb0a075 commit ea5d11b

File tree

55 files changed

+144
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+144
-144
lines changed

demo/pages/Tag/index.axml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</ant-container>
66
<ant-container title="语义标签">
77
<view class="tag-list">
8-
<ant-tag className="myTag">default</ant-tag>
8+
<ant-tag className="myTag">primary</ant-tag>
99
<ant-tag
1010
className="myTag"
1111
color="success">

src/ActionSheet/index.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In `index.json` Introducing Components in
3030

3131
### Basic use
3232

33-
> `ant-action-sheet` Components must pass `visible` Property controls the show/hide state.`actions` property passes in the data to drive the options rendering.
33+
> `ant-action-sheet` components must pass through `visible` Property controls the show/hide state.`actions` property passes in the data to drive the options rendering.
3434
3535
```xml
3636
<ant-action-sheet
@@ -106,7 +106,7 @@ Page({
106106

107107
### Option Status
108108

109-
> [actions](#actionsheetitem) Each of the items provided `icon` `danger` `description` `disabled` Used to set the option state.
109+
> [actions](#actionsheetitem) Each of the provided `icon` `danger` `description` `disabled` Used to set the option state.
110110
111111
```xml
112112
<ant-action-sheet

src/AutoResize/index.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ In `index.json` Introducing Components in
3636
| ----------- | ----------------------------------------------------------------------------------------------------------------------- | ------- | ------ |
3737
| text | Text to be passed in, used to calculate the width | string | - |
3838
| minFontSize | The minimum font size limit can be set according to the business. | number | 30 |
39-
| maxFontSize | The original design font size of the area, the maximum size cannot exceed this font size. | number | 36 |
39+
| maxFontSize | The original design font size of this area, which cannot exceed this font size at most. | number | 36 |
4040
| wrap | Whether to support line feed | boolean | false |
41-
| ratio | Copy width ratio, calculated `maxFontSize / ratio * Copy Length`, there are scenes where the English characters are long but the container width is enough to display, but the font is reduced, which can be increased at this time. |
41+
| ratio | Copy width ratio, calculated `maxFontSize / ratio * Copy length`, there are scenes where the English characters are long but the container width is enough to display, but the font is reduced, which can be increased at this time. |

src/Badge/index.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ In `index.json` Introducing Components in
8989

9090
#### Style Variables
9191

92-
Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components.
92+
Component provides the following CSS variables, which can be used to customize styles. For more information, see ConfigProvider Components.
9393

9494
| Variable name | Default Value | Dark Mode Default | Remarks |
9595
| ------------------------ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------- |

src/Button/index.en.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In `index.json` Introducing Components in
2626
}
2727
```
2828

29-
## Code Sample
29+
## Code example
3030

3131
### Basic use
3232

@@ -111,7 +111,7 @@ The following table describes the API properties for the Button component:
111111
| loading | Whether it is loading or not, it cannot be clicked during loading. | boolean | - |
112112
| size | Button size. Only in `inline` Effective under, optional `small``medium``large` | string | `medium` |
113113
| aide | Whether the button is a secondary button Only default and primary buttons consume this parameter | boolean | false |
114-
| subText | Secondary text, displayed on the second line.`inline` DOWN NOT EFFECTIVE | string | - |
114+
| subText | Secondary text, displayed on the second line.`inline` Do not take effect | string | - |
115115
| #if ALIPAY catchTap | Click the button to trigger this callback, non-bubbling | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - |
116116
| #if ALIPAY onTap | Click the button to trigger this callback | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - |
117117
| #if ALIPAY onDisabledTap | Click Departure Callback when disabled (not supported by WeChat) | (e: [Event](https://opendocs.alipay.com/mini/framework/event-object)) => void | - |
@@ -123,7 +123,7 @@ The following table describes the API properties for the Button component:
123123

124124
#### Style Variables
125125

126-
Component provides the following CSS variables, which can be used to customize styles. For more information, see ConfigProvider Components.
126+
Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components.
127127

128128
| Variable name | Default Value | Dark Mode Default | Remarks |
129129
| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------- |
@@ -136,7 +136,7 @@ Component provides the following CSS variables, which can be used to customize s
136136
| --button-primary-color | <div style="width: 150px; height: 40px; background-color: #FFFFFF; color: #333333;">#FFFFFF</div> | <div style="width: 150px; height: 40px; background-color: #FFFFFF; color: #000000;">#FFFFFF</div> | Main button color |
137137
| --button-primary-aide-border-color | <div style="width: 150px; height: 40px; background-color: #E7F1FF; color: #333333;">#E7F1FF</div> | <div style="width: 150px; height: 40px; background-color: #0D2543; color: #FFFFFF;">#0D2543</div> | Primary Secondary Button Border Color |
138138
| --button-primary-aide-color | <div style="width: 150px; height: 40px; background-color: #1677FF;">#1677FF</div> | <div style="width: 150px; height: 40px; background-color: #3086FF;">#3086FF</div> | Primary Auxiliary Button Color |
139-
| --button-default-aide-border-color | <div style="width: 150px; height: 40px; background-color: #F5F5F5; color: #333333;">#F5F5F5</div> | <div style="width: 150px; height: 40px; background-color: #121212; color: #FFFFFF;">#121212</div> | Default Auxiliary Button Border Color |
139+
| --button-default-aide-border-color | <div style="width: 150px; height: 40px; background-color: #F5F5F5; color: #333333;">#F5F5F5</div> | <div style="width: 150px; height: 40px; background-color: #121212; color: #FFFFFF;">#121212</div> | Default Secondary Button Border Color |
140140
| --button-default-aide-background-color | <div style="width: 150px; height: 40px; background-color: #FFFFFF; color: #333333;">#FFFFFF</div> | <div style="width: 150px; height: 40px; background-color: #1a1a1a; color: #FFFFFF;">#1a1a1a</div> | Default Auxiliary Button Background Color |
141141
| --button-default-aide-color | <div style="width: 150px; height: 40px; background-color: #333333; color: #FFFFFF;">#333333</div> | <div style="width: 150px; height: 40px; background-color: #C5CAD1; color: #FFFFFF;">#C5CAD1</div> | Default Auxiliary Button Color |
142142
| --button-primary-danger-background-color | <div style="width: 150px; height: 40px; background-color: #FF3141;">#FF3141</div> | <div style="width: 150px; height: 40px; background-color: #FF4A58;">#FF4A58</div> | Primary Danger Button Background Color |
@@ -146,7 +146,7 @@ Component provides the following CSS variables, which can be used to customize s
146146
| --button-default-danger-border-color | <div style="width: 150px; height: 40px; background-color: #FF3141;">#FF3141</div> | <div style="width: 150px; height: 40px; background-color: #FF4A58;">#FF4A58</div> | Default Hazard Button Border Color |
147147
| --button-default-danger-color | <div style="width: 150px; height: 40px; background-color: #FF3141;">#FF3141</div> | <div style="width: 150px; height: 40px; background-color: #FF4A58;">#FF4A58</div> | Default Hazard Button Color |
148148
| --button-text-danger-color | <div style="width: 150px; height: 40px; background-color: #FF3141;">#FF3141</div> | <div style="width: 150px; height: 40px; background-color: #FF4A58;">#FF4A58</div> | Hazard button text color |
149-
| --button-danger-default-color | <div style="width: 150px; height: 40px; background-color: #FF3141;">#FF3141</div> | <div style="width: 150px; height: 40px; background-color: #FF4A58;">#FF4A58</div> | Danger Button Default Color |
149+
| --button-danger-default-color | <div style="width: 150px; height: 40px; background-color: #FF3141;">#FF3141</div> | <div style="width: 150px; height: 40px; background-color: #FF4A58;">#FF4A58</div> | Hazard Button Default Color |
150150
| --button-active-bg | <div style="width: 150px; height: 40px; background-color: rgba(255, 255, 255, 0.08);">rgba(255, 255, 255, 0.08)</div> | <div style="width: 150px; height: 40px; background-color: rgba(255, 255, 255, 0.08);">rgba(255, 255, 255, 0.08)</div> | Button to activate background color |
151151

152152
### More Properties

src/Card/index.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ In `index.json` Introducing Components in
145145
| Name | Description |
146146
| ----------- | -------------------- |
147147
| Default Slot | Card Content |
148-
| headerTitle | Custom Title Bar Left Title |
148+
| headerTitle | Custom Title Bar Left Header |
149149
| headerRight | Customize the right content of the title bar |
150150

151151
### Theme customization

src/Checkbox/index.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Page({
252252

253253
#### Style Variables
254254

255-
Component provides the following CSS variables, which can be used to customize styles. For more information, see ConfigProvider Components.
255+
Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components.
256256

257257
| Variable name | Default Value | Dark Mode Default | Remarks |
258258
| ------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------- |

src/ConfigProvider/index.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ For global configuration Ant Design Mini components, provide theme customization
1414
can pass `ConfigProvider` component to globally configure Ant Design Mini components, including:
1515

1616
- Setting the theme globally,[CSS Variables](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Using_CSS_custom_properties) To organize styles, by overwriting these CSS variables, you can customize the theme, dynamically switch the theme and other effects;
17-
- Global setting internationalization, multi-language support by setting Locales;
17+
- Global settings internationalization, through the setting of Locales to achieve multi-language support;
1818

1919
## Introduction
2020

src/Container/index.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In `index.json` Introducing Components in
2626
}
2727
```
2828

29-
## Code Sample
29+
## Code example
3030

3131
### Basic use
3232

@@ -75,7 +75,7 @@ The following is `Container` Parameter list for the component:
7575

7676
#### Style Variables
7777

78-
Component provides the following CSS variables, which can be used to customize styles. For more information, see ConfigProvider Components.
78+
Component provides the following CSS variables, which can be used to customize styles. For details, see ConfigProvider Components.
7979

8080
| Variable name | Default Value | Dark Mode Default | Remarks |
8181
| ----------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------ |

src/Countdown/index.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Page({
7676
| time | Choose one from the countdownEndTime, in seconds | `number` | 0 |
7777
| autoShowDay | Less than one day automatically does not show days | `boolean` | true |
7878
| countdownType | Extra-long countdown requires display days | `string` | - |
79-
| #if ALIPAY onCountdownChange | Callback when the countdown changes | `Function` | - |
79+
| #if ALIPAY onCountdownChange | Callback when countdown changes | `Function` | - |
8080
| #if ALIPAY onCountdownFinish | Countdown End Callback | `Function` | - |
81-
| #if WECHAT bindcountdownchange | Callback when the countdown changes | `Function` | - |
81+
| #if WECHAT bindcountdownchange | Callback when countdown changes | `Function` | - |
8282
| #if WECHAT bindcountdownfinish | Countdown End Callback | `Function` | - |
8383

8484
### Theme customization

0 commit comments

Comments
 (0)