Skip to content

Commit 6832e64

Browse files
committed
docs: update doc
1 parent c7d2c63 commit 6832e64

File tree

7 files changed

+35
-34
lines changed

7 files changed

+35
-34
lines changed

src/ConfigProvider/index.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ toc: 'content'
99

1010
# ConfigProvider
1111

12-
Used to globally configure Antd-Mini components, provide theme customization, internationalization support.
12+
For global configuration Ant Design Mini components, provide theme customization, internationalization support.
1313

14-
can pass `ConfigProvider` component to globally configure Antd-Mini components, including:
14+
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;
1717
- Global setting internationalization, multi-language support by setting Locales;

src/NumberInput/index.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ Component provides the following CSS variables, which can be used to customize s
7676
| --------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------ |
7777
| --number-input-background-color | <div style="width: 150px; height: 30px; background-color: #ffffff; color: #333333;">#ffffff</div> | <div style="width: 150px; height: 30px; background-color: #1a1a1a; color: #ffffff;">#1a1a1a</div> | Background Color |
7878
| --number-input-title-color | <div style="width: 150px; height: 30px; background-color: #333333; color: #ffffff;">#333333</div> | <div style="width: 150px; height: 30px; background-color: #c5cad1; color: #ffffff;">#c5cad1</div> | Title Color |
79-
| --number-input-link-color | <div style="width: 150px; height: 30px; background-color: #4b6b99; color: #ffffff;">#4b6b99</div> | <div style="width: 150px; height: 30px; background-color: #3f5980; color: #ffffff;">#3f5980</div> | Top Right Link Color |
79+
| --number-input-link-color | <div style="width: 150px; height: 30px; background-color: #4b6b99; color: #ffffff;">#4b6b99</div> | <div style="width: 150px; height: 30px; background-color: #3f5980; color: #ffffff;">#3f5980</div> | Upper Right Corner Link Color |
8080
| --number-input-unit-color | <div style="width: 150px; height: 30px; background-color: #999999; color: #ffffff;">#999999</div> | <div style="width: 150px; height: 30px; background-color: #616161; color: #ffffff;">#616161</div> | Unit color above input box |
8181
| --number-input-border-color | <div style="width: 150px; height: 30px; background-color: #eeeeee; color: #333333;">#eeeeee</div> | <div style="width: 150px; height: 30px; background-color: #2b2b2b; color: #ffffff;">#2b2b2b</div> | Split line color |
82-
| --number-input-prefix-color | <div style="width: 150px; height: 30px; background-color: #333333; color: #ffffff;">#333333</div> | <div style="width: 150px; height: 30px; background-color: #c5cad1; color: #ffffff;">#c5cad1</div> | Crop color |
82+
| --number-input-prefix-color | <div style="width: 150px; height: 30px; background-color: #333333; color: #ffffff;">#333333</div> | <div style="width: 150px; height: 30px; background-color: #c5cad1; color: #ffffff;">#c5cad1</div> | Croissant Color |
8383
| --number-input-caret-color | <div style="width: 150px; height: 30px; background-color: #1677ff; color: #ffffff;">#1677ff</div> | <div style="width: 150px; height: 30px; background-color: #3086ff; color: #ffffff;">#3086ff</div> | Cursor Color |
8484
| --number-input-quick-text-color | <div style="width: 150px; height: 30px; background-color: #1677ff; color: #ffffff;">#1677ff</div> | <div style="width: 150px; height: 30px; background-color: #3086ff; color: #ffffff;">#3086ff</div> | Quick input text color |
8585
| --number-input-quick-border-color | <div style="width: 150px; height: 30px; background-color: #1677ff; color: #ffffff;">#1677ff</div> | <div style="width: 150px; height: 30px; background-color: #3086ff; color: #ffffff;">#3086ff</div> | Quick input border color |

src/Picker/index.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In `index.json` Introducing Components in
2626
#endif
2727
#if WECHAT
2828
"ant-picker": "antd-mini/Picker/index",
29-
"ant-cascader-picker": "antd-mini/CascaderPicker/index"
29+
"ant-cascader-picker": "antd-mini/Picker/CascaderPicker/index"
3030
#endif
3131
}
3232
```

src/Picker/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Picker 选择器显示一个或多个选项集合的可滚动列表,相比于
2222
"usingComponents": {
2323
#if ALIPAY
2424
"ant-picker": "antd-mini/es/Picker/index",
25-
"ant-cascader-picker": "antd-mini/es/CascaderPicker/index"
25+
"ant-cascader-picker": "antd-mini/es/Picker/CascaderPicker/index"
2626
#endif
2727
#if WECHAT
2828
"ant-picker": "antd-mini/Picker/index",
29-
"ant-cascader-picker": "antd-mini/CascaderPicker/index"
29+
"ant-cascader-picker": "antd-mini/Picker/CascaderPicker/index"
3030
#endif
3131
}
3232
```

src/Popup/index.en.md

+24-23
Original file line numberDiff line numberDiff line change
@@ -130,29 +130,30 @@ Page({
130130

131131
## API
132132

133-
| Property | Description | Type | Default Value |
134-
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- |
135-
| animation | Whether to turn on transition animation | boolean | true |
136-
| animationType | Animation type, optional`transform` `position`, the default is used`transform`Animation performance is better. However, when there is a fixed positioning or picker-view element inside the pop-up window, there may be a style problem, which can be switched`position`Solve | string | `transform` |
137-
| className | Class Name | string | - |
138-
| destroyOnClose | Unload content when invisible | boolean | false |
139-
| duration | Transition animation duration, in milliseconds | number | 300 |
140-
| height | The height, in position, is `top` or `bottom` When used, the unit is px. Optional, when not transmitted, it is highly adaptive according to the content area. | number | - |
141-
| maskClassName | Class name of the layer | string | - |
142-
| maskStyle | The style of the layer | string | - |
143-
| position | Pop-up window layout, optional`top` `bottom` `left` `right` | string | `bottom` |
144-
| showMask | Whether to show the layer | boolean | true |
145-
| style | Style | string | - |
146-
| visible | Whether to display | boolean | false |
147-
| width | The width, in position, is `left` or `right` unit px | number | - |
148-
| zIndex | Pop-up Level | number | 998 |
149-
| backgroundImage | Background map of the pop-up box | string | - |
150-
| showClose | Show icon with bullet box closed | boolean | false |
151-
| showBack | Show the icon returned by the bullet box | boolean | false |
152-
| #if ALIPAY onClose | Click the layer to close and trigger the callback. | () => void | - |
153-
| #if ALIPAY onClickBack | Click the back button to trigger the callback | () => void | - |
154-
| #if ALIPAY onAfterShow | Trigger after full display | () => void | - |
155-
| #if ALIPAY onAfterClose | Trigger after full shutdown | () => void | - |
133+
| Property | Description | Type | Default Value |
134+
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ----------- |
135+
| animation | Whether to turn on transition animation | boolean | true |
136+
| animationType | Animation type, optional`transform` `position`, the default is used`transform`Animation performance is better. However, when there is a fixed positioning or picker-view element inside the pop-up window, there may be a style problem, which can be switched`position`Solve | string | `transform` |
137+
| className | Class Name | string | - |
138+
| title | Title | string | '' |
139+
| destroyOnClose | Unload content when invisible | boolean | false |
140+
| duration | Transition animation duration, in milliseconds | number | 300 |
141+
| height | The height, in position, is `top` or `bottom` When used, the unit is px. Optional, when not transmitted, it is highly adaptive according to the content area. | number | - |
142+
| maskClassName | Class name of the layer | string | - |
143+
| maskStyle | The style of the layer | string | - |
144+
| position | Pop-up window layout, optional`top` `bottom` `left` `right` | string | `bottom` |
145+
| showMask | Whether to show the layer | boolean | true |
146+
| style | Style | string | - |
147+
| visible | Whether to display | boolean | false |
148+
| width | The width, in position, is `left` or `right` unit px | number | - |
149+
| zIndex | Pop-up Level | number | 998 |
150+
| backgroundImage | Background map of the pop-up box | string | - |
151+
| showClose | Show icon with bullet box closed | boolean | false |
152+
| showBack | Show the icon returned by the bullet box | boolean | false |
153+
| #if ALIPAY onClose | Click the layer to close and trigger the callback. | () => void | - |
154+
| #if ALIPAY onClickBack | Click the back button to trigger the callback | () => void | - |
155+
| #if ALIPAY onAfterShow | Trigger after full display | () => void | - |
156+
| #if ALIPAY onAfterClose | Trigger after full shutdown | () => void | - |
156157
| #if WECHAT bindclose | Click the layer to close and trigger the callback. | () => void | - |
157158
| #if WECHAT bindclickbackicon | Click the back button to trigger the callback | () => void | - |
158159
| #if WECHAT bindaftershow | Trigger after full display | () => void | - |

0 commit comments

Comments
 (0)