Skip to content

Commit 40830e7

Browse files
committed
fix: update docs
1 parent 56a2ed5 commit 40830e7

File tree

4 files changed

+33
-58
lines changed

4 files changed

+33
-58
lines changed

src/packages/elevator/doc.en-US.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,36 +74,28 @@ The component provides the following CSS variables, which can be used to customi
7474
| Name | Description | Default |
7575
| --- | --- | --- |
7676
| \--nutui-elevator-list-bg-color | Floor area background color | `$white` |
77-
| \--nutui-elevator-list-font-size | Floor area list item font size | `$font-size-s` |
77+
| \--nutui-elevator-list-font-size | Floor area list item font size | `$font-size-base` |
7878
| \--nutui-elevator-list-color | Floor area list item font color | `$color-title` |
79-
| \--nutui-elevator-list-item-padding | Floor area list item inside margin | `0 20px` |
80-
| \--nutui-elevator-list-item-name-height | Height of floor area list item | `30px` |
81-
| \--nutui-elevator-list-item-name-line-height | Floor area list item row height | `30px` |
79+
| \--nutui-elevator-list-item-padding | Floor area list item inside margin | `0 36px 0 20px` |
80+
| \--nutui-elevator-list-item-name-height | Height of floor area list item | `34px` |
8281
| \--nutui-elevator-list-item-code-font-size | Floor area list item heading font size | `$font-size-base` |
83-
| \--nutui-elevator-list-item-code-color | Floor area list item heading color | `$color-title` |
82+
| \--nutui-elevator-list-item-code-color | Floor area list item heading color | `$color-text-help` |
8483
| \--nutui-elevator-list-item-code-font-weight | Floor area list item heading font size | `$font-weight-bold` |
85-
| \--nutui-elevator-list-item-code-height | Floor area list item heading height | `35px` |
86-
| \--nutui-elevator-list-item-code-line-height | Floor area list item header row height | `35px` |
84+
| \--nutui-elevator-list-item-code-height | Floor area list item heading height | `34px` |
8785
| \--nutui-elevator-list-item-code-border-bottom | Width of bottom border of floor area list item heading | `1px solid $color-border` |
88-
| \--nutui-elevator-list-item-code-background-color | background color of floor area list item heading | `inherit` |
89-
| \--nutui-elevator-list-item-code-current-bg-color | Elevator cue background color | `#fff` |
86+
| \--nutui-elevator-list-item-code-current-bg-color | Elevator cue background color | `$color-text-disabled` |
9087
| \--nutui-elevator-list-item-code-current-border-radius | Elevator cue border radius | `50%` |
9188
| \--nutui-elevator-list-item-code-current-width | Elevator cue width | `45px` |
9289
| \--nutui-elevator-list-item-code-current-height | Lift indication height | `45px` |
93-
| \--nutui-elevator-list-item-code-current-line-height | The lift indicates the height | `45px` |
9490
| \--nutui-elevator-list-item-code-current-right | Elevator prompt position back right edge | `60px` |
9591
| \--nutui-elevator-list-item-code-current-top | Elevator prompt position back top edge | `50%` |
96-
| \--nutui-elevator-list-item-code-current-text-align | Elevator prompt text alignment | `center` |
97-
| \--nutui-elevator-bars-right | Position on the back right edge of elevator floor | `10px` |
92+
| \--nutui-elevator-bars-right | Position on the back right edge of elevator floor | `16px` |
9893
| \--nutui-elevator-bars-top | Position on the back top edge of elevator floor | `50%` |
9994
| \--nutui-elevator-bars-transform | Transform of elevator floor | `translateY(-50%)` |
100-
| \--nutui-elevator-bars-padding | Elevator floor inside margin | `15px 0` |
101-
| \--nutui-elevator-bars-background-color | Elevator floor background color | `#eeeff2` |
102-
| \--nutui-elevator-bars-border-radius | Elevator floor fillet size | `6px` |
103-
| \--nutui-elevator-bars-active-color | The elevator floor highlights the text color | `$color-primary` |
95+
| \--nutui-elevator-bars-active-color | The elevator floor highlights the text color | `$white` |
96+
| \--nutui-elevator-bars-color | The elevator floor the text color | `$color-text-help` |
10497
| \--nutui-elevator-bars-z-index | Elevator level | `1` |
105-
| \--nutui-elevator-bars-inner-item-padding | Inside margin of elevator floor identification item | `3px` |
106-
| \--nutui-elevator-bars-font-size | Elevator floor identification item font size | `10px` |
98+
| \--nutui-elevator-bars-font-size | Elevator floor identification item font size | `$font-size-xxs` |
10799
| \--nutui-elevator-list-fixed-color | Ceiling floor text color | `$color-primary` |
108100
| \--nutui-elevator-list-fixed-bg-color | Ceiling floor background color | `$white` |
109101
| \--nutui-elevator-list-fixed-box-shadow | Ceiling floor shadow | `0 0 10px #eee` |

src/packages/elevator/doc.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,36 +74,28 @@ import { Elevator } from '@nutui/nutui-react'
7474
| 名称 | 说明 | 默认值 |
7575
| --- | --- | --- |
7676
| \--nutui-elevator-list-bg-color | 楼层区域背景颜色 | `$white` |
77-
| \--nutui-elevator-list-font-size | 楼层区域列表项字体大小 | `$font-size-s` |
77+
| \--nutui-elevator-list-font-size | 楼层区域列表项字体大小 | `$font-size-base` |
7878
| \--nutui-elevator-list-color | 楼层区域列表项字体颜色 | `$color-title` |
79-
| \--nutui-elevator-list-item-padding | 楼层区域列表项内边距 | `0 20px` |
80-
| \--nutui-elevator-list-item-name-height | 楼层区域列表项高度 | `30px` |
81-
| \--nutui-elevator-list-item-name-line-height | 楼层区域列表项行高 | `30px` |
79+
| \--nutui-elevator-list-item-padding | 楼层区域列表项内边距 | `0 36px 0 20px` |
80+
| \--nutui-elevator-list-item-name-height | 楼层区域列表项高度 | `34px` |
8281
| \--nutui-elevator-list-item-code-font-size | 楼层区域列表项标题字体大小 | `$font-size-base` |
83-
| \--nutui-elevator-list-item-code-color | 楼层区域列表项标题颜色 | `$color-title` |
82+
| \--nutui-elevator-list-item-code-color | 楼层区域列表项标题颜色 | `$color-text-help` |
8483
| \--nutui-elevator-list-item-code-font-weight | 楼层区域列表项标题字体粗细 | `$font-weight-bold` |
85-
| \--nutui-elevator-list-item-code-height | 楼层区域列表项标题高度 | `35px` |
86-
| \--nutui-elevator-list-item-code-line-height | 楼层区域列表项标题行高 | `35px` |
84+
| \--nutui-elevator-list-item-code-height | 楼层区域列表项标题高度 | `34px` |
8785
| \--nutui-elevator-list-item-code-border-bottom | 楼层区域列表项标题下边框宽度 | `1px solid $color-border` |
88-
| \--nutui-elevator-list-item-code-background-color | 楼层区域列表项标题背景色 | `inherit` |
89-
| \--nutui-elevator-list-item-code-current-bg-color | 电梯提示背景颜色 | `#fff` |
86+
| \--nutui-elevator-list-item-code-current-bg-color | 电梯提示背景颜色 | `$color-text-disabled` |
9087
| \--nutui-elevator-list-item-code-current-border-radius | 电梯提示圆角 | `50%` |
9188
| \--nutui-elevator-list-item-code-current-width | 电梯提示宽度 | `45px` |
9289
| \--nutui-elevator-list-item-code-current-height | 电梯提示高度 | `45px` |
93-
| \--nutui-elevator-list-item-code-current-line-height | 电梯提示行高 | `45px` |
9490
| \--nutui-elevator-list-item-code-current-right | 电梯提示定位后右边缘位置 | `60px` |
9591
| \--nutui-elevator-list-item-code-current-top | 电梯提示定位后top边缘位置 | `50%` |
96-
| \--nutui-elevator-list-item-code-current-text-align | 电梯提示文字对齐方式 | `center` |
97-
| \--nutui-elevator-bars-right | 电梯楼层定位后右边缘位置 | `10px` |
92+
| \--nutui-elevator-bars-right | 电梯楼层定位后右边缘位置 | `16px` |
9893
| \--nutui-elevator-bars-top | 电梯楼层定位后顶部边缘位置 | `50%` |
9994
| \--nutui-elevator-bars-transform | 电梯楼层定位后滑动距离 | `translateY(-50%)` |
100-
| \--nutui-elevator-bars-padding | 电梯楼层内边距 | `15px 0` |
101-
| \--nutui-elevator-bars-background-color | 电梯楼层背景颜色 | `#eeeff2` |
102-
| \--nutui-elevator-bars-border-radius | 电梯楼层圆角大小 | `6px` |
103-
| \--nutui-elevator-bars-active-color | 电梯楼层高亮文字颜色 | `$color-primary` |
95+
| \--nutui-elevator-bars-active-color | 电梯楼层文字颜色 | `$white` |
96+
| \--nutui-elevator-bars-color | 电梯楼层高亮文字颜色 | `$color-text-help` |
10497
| \--nutui-elevator-bars-z-index | 电梯楼层层级 | `1` |
105-
| \--nutui-elevator-bars-inner-item-padding | 电梯楼层标识项内边距 | `3px` |
106-
| \--nutui-elevator-bars-font-size | 电梯楼层标识项字体大小 | `10px` |
98+
| \--nutui-elevator-bars-font-size | 电梯楼层标识项字体大小 | `$font-size-xxs` |
10799
| \--nutui-elevator-list-fixed-color | 吸顶楼层文字颜色 | `$color-primary` |
108100
| \--nutui-elevator-list-fixed-bg-color | 吸顶楼层背景颜色 | `$white` |
109101
| \--nutui-elevator-list-fixed-box-shadow | 吸顶楼层阴影 | `0 0 10px #eee` |

src/packages/elevator/doc.taro.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,36 +74,28 @@ import { Elevator } from '@nutui/nutui-react-taro'
7474
| 名称 | 说明 | 默认值 |
7575
| --- | --- | --- |
7676
| \--nutui-elevator-list-bg-color | 楼层区域背景颜色 | `$white` |
77-
| \--nutui-elevator-list-font-size | 楼层区域列表项字体大小 | `$font-size-s` |
77+
| \--nutui-elevator-list-font-size | 楼层区域列表项字体大小 | `$font-size-base` |
7878
| \--nutui-elevator-list-color | 楼层区域列表项字体颜色 | `$color-title` |
79-
| \--nutui-elevator-list-item-padding | 楼层区域列表项内边距 | `0 20px` |
80-
| \--nutui-elevator-list-item-name-height | 楼层区域列表项高度 | `30px` |
81-
| \--nutui-elevator-list-item-name-line-height | 楼层区域列表项行高 | `30px` |
79+
| \--nutui-elevator-list-item-padding | 楼层区域列表项内边距 | `0 36px 0 20px` |
80+
| \--nutui-elevator-list-item-name-height | 楼层区域列表项高度 | `34px` |
8281
| \--nutui-elevator-list-item-code-font-size | 楼层区域列表项标题字体大小 | `$font-size-base` |
83-
| \--nutui-elevator-list-item-code-color | 楼层区域列表项标题颜色 | `$color-title` |
82+
| \--nutui-elevator-list-item-code-color | 楼层区域列表项标题颜色 | `$color-text-help` |
8483
| \--nutui-elevator-list-item-code-font-weight | 楼层区域列表项标题字体粗细 | `$font-weight-bold` |
85-
| \--nutui-elevator-list-item-code-height | 楼层区域列表项标题高度 | `35px` |
86-
| \--nutui-elevator-list-item-code-line-height | 楼层区域列表项标题行高 | `35px` |
84+
| \--nutui-elevator-list-item-code-height | 楼层区域列表项标题高度 | `34px` |
8785
| \--nutui-elevator-list-item-code-border-bottom | 楼层区域列表项标题下边框宽度 | `1px solid $color-border` |
88-
| \--nutui-elevator-list-item-code-background-color | 楼层区域列表项标题背景色 | `inherit` |
89-
| \--nutui-elevator-list-item-code-current-bg-color | 电梯提示背景颜色 | `#fff` |
86+
| \--nutui-elevator-list-item-code-current-bg-color | 电梯提示背景颜色 | `$color-text-disabled` |
9087
| \--nutui-elevator-list-item-code-current-border-radius | 电梯提示圆角 | `50%` |
9188
| \--nutui-elevator-list-item-code-current-width | 电梯提示宽度 | `45px` |
9289
| \--nutui-elevator-list-item-code-current-height | 电梯提示高度 | `45px` |
93-
| \--nutui-elevator-list-item-code-current-line-height | 电梯提示行高 | `45px` |
9490
| \--nutui-elevator-list-item-code-current-right | 电梯提示定位后右边缘位置 | `60px` |
9591
| \--nutui-elevator-list-item-code-current-top | 电梯提示定位后top边缘位置 | `50%` |
96-
| \--nutui-elevator-list-item-code-current-text-align | 电梯提示文字对齐方式 | `center` |
97-
| \--nutui-elevator-bars-right | 电梯楼层定位后右边缘位置 | `10px` |
92+
| \--nutui-elevator-bars-right | 电梯楼层定位后右边缘位置 | `16px` |
9893
| \--nutui-elevator-bars-top | 电梯楼层定位后顶部边缘位置 | `50%` |
9994
| \--nutui-elevator-bars-transform | 电梯楼层定位后滑动距离 | `translateY(-50%)` |
100-
| \--nutui-elevator-bars-padding | 电梯楼层内边距 | `15px 0` |
101-
| \--nutui-elevator-bars-background-color | 电梯楼层背景颜色 | `#eeeff2` |
102-
| \--nutui-elevator-bars-border-radius | 电梯楼层圆角大小 | `6px` |
103-
| \--nutui-elevator-bars-active-color | 电梯楼层高亮文字颜色 | `$color-primary` |
95+
| \--nutui-elevator-bars-active-color | 电梯楼层文字颜色 | `$white` |
96+
| \--nutui-elevator-bars-color | 电梯楼层高亮文字颜色 | `$color-text-help` |
10497
| \--nutui-elevator-bars-z-index | 电梯楼层层级 | `1` |
105-
| \--nutui-elevator-bars-inner-item-padding | 电梯楼层标识项内边距 | `3px` |
106-
| \--nutui-elevator-bars-font-size | 电梯楼层标识项字体大小 | `10px` |
98+
| \--nutui-elevator-bars-font-size | 电梯楼层标识项字体大小 | `$font-size-xxs` |
10799
| \--nutui-elevator-list-fixed-color | 吸顶楼层文字颜色 | `$color-primary` |
108100
| \--nutui-elevator-list-fixed-bg-color | 吸顶楼层背景颜色 | `$white` |
109101
| \--nutui-elevator-list-fixed-box-shadow | 吸顶楼层阴影 | `0 0 10px #eee` |

src/packages/elevator/doc.zh-TW.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ import { Elevator } from '@nutui/nutui-react'
7474
| 名稱 | 說明 | 默認值 |
7575
| --- | --- | --- |
7676
| \--nutui-elevator-list-bg-color | 樓層區域背景顏色 | `$white` |
77-
| \--nutui-elevator-list-font-size | 樓層區域列表項字體大小 | `$font-size-s` |
77+
| \--nutui-elevator-list-font-size | 樓層區域列表項字體大小 | `$font-size-base` |
7878
| \--nutui-elevator-list-color | 樓層區域列表項字體顏色 | `$color-title` |
79-
| \--nutui-elevator-list-item-padding | 樓層區域列表項內邊距 | `0 20px` |
80-
| \--nutui-elevator-list-item-name-height | 樓層區域列表項高度 | `30px` |
81-
| \--nutui-elevator-list-item-name-line-height | 樓層區域列表項行高 | `30px` |
79+
| \--nutui-elevator-list-item-padding | 樓層區域列表項內邊距 | `0 36px 0 20px` |
80+
| \--nutui-elevator-list-item-name-height | 樓層區域列表項高度 | `34px` |
8281
| \--nutui-elevator-list-item-code-font-size | 樓層區域列表項標題字體大小 | `$font-size-base` |
8382
| \--nutui-elevator-list-item-code-color | 樓層區域列表項標題顏色 | `$color-title` |
8483
| \--nutui-elevator-list-item-code-font-weight | 樓層區域列表項標題字體粗細 | `$font-weight-bold` |

0 commit comments

Comments
 (0)