Skip to content

Commit 8faad82

Browse files
committed
docs: fixed
1 parent 28c07fd commit 8faad82

File tree

9 files changed

+8
-15
lines changed

9 files changed

+8
-15
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ The component provides the following CSS variables, which can be used to customi
144144
| \--nutui-popover-content-background-color | The background color of the options area | `$white` |
145145
| \--nutui-popover-divider-color | The bottom border color of the options area | `$color-border` |
146146
| \--nutui-popover-disable-color | Option Disabled Colors | `$color-text-disabled` |
147-
| \--nutui-popover-menu-item-padding | The padding value of each item in the option area menu | `8px` |
148-
| \--nutui-popover-menu-item-width | The width value of each item in the options | `160px` |
147+
| \--nutui-popover-padding | The padding value of each item in the option area menu | `8px` |
148+
| \--nutui-popover-item-width | The width value of each item in the options | `160px` |
149149

150150
<Contribution name="Popover" />

src/packages/popover/doc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ PopoverList 属性是一个由对象构成的数组,数组中的每个对象
148148
| \--nutui-popover-content-background-color | 选项区的背景颜色 | `$white` |
149149
| \--nutui-popover-divider-color | 选项区的底部 border 颜色 | `$color-border` |
150150
| \--nutui-popover-disable-color | 选项禁用的颜色 | `$color-text-disabled` |
151-
| \--nutui-popover-menu-item-padding | 选项区菜单每一项的 padding 值 | `8px` |
152-
| \--nutui-popover-menu-item-width | 选项区菜单每一项宽度值,超过宽度值后,会折行展示,保障信息的完整性 | `160px` |
151+
| \--nutui-popover-padding | 选项区菜单每一项的 padding 值 | `8px` |
152+
| \--nutui-popover-item-width | 选项区菜单每一项宽度值,超过宽度值后,会折行展示,保障信息的完整性 | `160px` |
153153

154154
<Contribution name="Popover" />

src/packages/popover/doc.taro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ PopoverList 属性是一个由对象构成的数组,数组中的每个对象
139139
| \--nutui-popover-content-background-color | 选项区的背景颜色 | `$white` |
140140
| \--nutui-popover-divider-color | 选项区的底部 border 颜色 | `$color-border` |
141141
| \--nutui-popover-disable-color | 选项禁用的颜色 | `$color-text-disabled` |
142-
| \--nutui-popover-menu-item-padding | 选项区菜单每一项的 padding 值 | `8px` |
143-
| \--nutui-popover-menu-item-width | 选项区菜单每一项宽度值,超过宽度值后,会折行展示,保障信息的完整性 | `160px` |
142+
| \--nutui-popover-padding | 选项区菜单每一项的 padding 值 | `8px` |
143+
| \--nutui-popover-item-width | 选项区菜单每一项宽度值,超过宽度值后,会折行展示,保障信息的完整性 | `160px` |
144144

145145
<Contribution name="Popover" />

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ PopoverList 屬性是一個由對象構成的數組,數組中的每個對象
148148
| \--nutui-popover-content-background-color | 選項區的背景顏色 | `$white` |
149149
| \--nutui-popover-divider-color | 選項區的底部 border 顏色 | `$color-border` |
150150
| \--nutui-popover-disable-color | 選項禁用的顏色 | `$color-text-disabled` |
151-
| \--nutui-popover-menu-item-padding | 選項區菜單每一項的 padding 值 | `8px` |
152-
| \--nutui-popover-menu-item-width | 選項區菜單每一項寬度值,超過寬度值後,會折行展示,保障信息的完整性 | `160px` |
151+
| \--nutui-popover-padding | 選項區菜單每一項的 padding 值 | `8px` |
152+
| \--nutui-popover-item-width | 選項區菜單每一項寬度值,超過寬度值後,會折行展示,保障信息的完整性 | `160px` |
153153

154154
<Contribution name="Popover" />

src/packages/tour/__test__/tour.spec.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ test('custom style', () => {
7474
style={{
7575
'--nutui-popover-content-background-color': 'rgb(255, 0, 0)',
7676
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
77-
'--nutui-popover-border-color': 'rgb(255, 0, 0)',
7877
}}
7978
offset={[0, 0]}
8079
maskWidth={50}
@@ -99,7 +98,6 @@ test('custom offset', () => {
9998
style={{
10099
'--nutui-popover-content-background-color': 'rgb(255, 0, 0)',
101100
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
102-
'--nutui-popover-border-color': 'rgb(255, 0, 0)',
103101
}}
104102
offset={[8, 8]}
105103
/>
@@ -121,7 +119,6 @@ test('slot render', () => {
121119
style={{
122120
'--nutui-popover-content-background-color': 'rgb(75, 76, 77)',
123121
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
124-
'--nutui-popover-border-color': 'rgb(75, 76, 77)',
125122
}}
126123
>
127124
<div className="tour-demo-custom-content">

src/packages/tour/demos/h5/demo2.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const Demo2 = () => {
3838
style={{
3939
'--nutui-popover-content-background-color': 'rgb(255, 0, 0)',
4040
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
41-
'--nutui-popover-border-color': 'rgb(255, 0, 0)',
4241
}}
4342
offset={[0, 0]}
4443
maskWidth={50}

src/packages/tour/demos/h5/demo3.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const Demo3 = () => {
5252
style={{
5353
'--nutui-popover-content-background-color': 'rgb(255, 0, 0)',
5454
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
55-
'--nutui-popover-border-color': 'rgb(255, 0, 0)',
5655
}}
5756
offset={[8, 8]}
5857
/>

src/packages/tour/demos/taro/demo2.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const Demo2 = () => {
3838
style={{
3939
'--nutui-popover-content-background-color': 'rgb(255, 0, 0)',
4040
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
41-
'--nutui-popover-border-color': 'rgb(255, 0, 0)',
4241
}}
4342
offset={[0, 0]}
4443
maskWidth={50}

src/packages/tour/demos/taro/demo3.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const Demo3 = () => {
5353
style={{
5454
'--nutui-popover-content-background-color': 'rgb(255, 0, 0)',
5555
'--nutui-popover-text-color': 'rgb(255, 255, 255)',
56-
'--nutui-popover-border-color': 'rgb(255, 0, 0)',
5756
}}
5857
offset={[8, 8]}
5958
/>

0 commit comments

Comments
 (0)