Skip to content

Commit 518ad46

Browse files
committed
Merge branch 'main' into release
2 parents bfe5922 + e256186 commit 518ad46

File tree

37 files changed

+365
-319
lines changed

37 files changed

+365
-319
lines changed

content/input/datepicker/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,6 @@ function Demo() {
859859
| presets | 日期时间快捷方式, start 和 end 在 v2.52 版本支持函数类型 | <ApiType detail='type PresetType = { start?: BaseValueType \| (() => BaseValueType); end?: BaseValueType \| (() => BaseValueType); text?: string }; type PresetsType = Array<PresetType \| (() => PresetType)>;'>Array</ApiType> | [] | |
860860
| preventScroll | 指示浏览器是否应滚动文档以显示新聚焦的元素,作用于组件内的 focus 方法 | boolean | | |
861861
| presetPosition | 日期时间快捷方式面板位置, 可选值'left', 'right', 'top', 'bottom' | string | 'bottom' | **2.18.0** |
862-
| rangeSeparator | 自定义范围类型输入框的日期分隔符 | string | '~' | |
863-
| renderDate | 自定义日期显示内容 | (dayNumber, fullDate) => ReactNode | - | |
864-
| renderFullDate | 自定义显示日期格子内容 | (dayNumber, fullDate, dayStatus) => ReactNode | - | |
865862
| rangeSeparator | 自定义范围类型输入框的日期分隔符 | string | '~' | |
866863
| renderDate | 自定义日期显示内容 | (dayNumber, fullDate) => ReactNode | - | |
867864
| renderFullDate | 自定义显示日期格子内容 | (dayNumber, fullDate, dayStatus) => ReactNode | - | |

content/navigation/tree/index-en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ import { Tree } from '@douyinfe/semi-ui';
19591959
role="treeitem"
19601960
onClick={isLeaf ? onClick : onExpand}
19611961
>
1962-
{isLeaf ? null : expandIcon}
1962+
{expandIcon}
19631963
<span>{label}</span>
19641964
</li>
19651965
);

content/navigation/tree/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ import { Tree } from '@douyinfe/semi-ui';
19821982
role="treeitem"
19831983
onClick={isLeaf ? onClick : onExpand}
19841984
>
1985-
{isLeaf ? null : expandIcon}
1985+
{expandIcon}
19861986
<span>{label}</span>
19871987
</li>
19881988
);

content/show/highlight/index-en-US.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ import { Highlight } from '@douyinfe/semi-ui';
2424

2525
You can specify keywords to be highlighted with `searchWords` and source text with `sourceString`
2626

27+
<Notice title='Attension'>
28+
The Highlight component will split the text into multiple independent inline elements. Any CSS layout that splits the text flow (such as flex layout) may break the highlighted text. To prevent the highlighted content from being split into different rows or columns by the browser, please wrap the Highlight component with a wrapper element as needed.
29+
</Notice>
2730

2831
```jsx live=true dir="column"
2932
import React from 'react';

content/show/highlight/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ import { Highlight } from '@douyinfe/semi-ui';
2323

2424
你可以通过 `searchWords` 指定需要高亮的关键字,通过 `sourceString` 指定源文本
2525

26+
<Notice title='注意事项'>
27+
Highlight 组件会将文本被拆分成多个独立的行内元素,任何分割文本流的 CSS 布局(如 flex 布局)可能会将高亮文本断开,为避免高亮内容被浏览器拆分到不同行或列,请按需使用元素包裹 Highlight 组件。
28+
</Notice>
29+
30+
2631

2732
```jsx live=true dir="column"
2833
import React from 'react';

content/show/popover/index-en-US.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ Please refer to [Use with Tooltip/Popconfirm](/en-US/show/tooltip#%E6%90%AD%E9%8
544544
| --- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- | --- | --- |
545545
| autoAdjustOverflow | Whether to automatically adjust the expansion direction of the floating layer for automatic adjustment of the expansion direction during edge occlusion | boolean | true |
546546
| arrowPointAtCenter | Whether the "small triangle" points to the center of the element, you need to pass in "showArrow = true" at the same time | boolean | true | **0.34.0** |
547+
| className | Pop-up layer classname | string | | |
547548
| closeOnEsc | Whether to close the panel by pressing the Esc key in the trigger or popup layer. It does not take effect when visible is under controlled | boolean | true | **2.8.0** |
548549
| content | Content displayed | string \| ReactNode | |
549550
| clickToHide | Whether to automatically close the elastic layer when clicking on the floating layer and any element inside | boolean | false | **0.24.0** |
@@ -562,6 +563,7 @@ Please refer to [Use with Tooltip/Popconfirm](/en-US/show/tooltip#%E6%90%AD%E9%8
562563
| showArrow | Display little arrow or not | boolean | |
563564
| trigger | Trigger mode, optional value: `hover`, `focus`, `click`, `custom` | string | 'hover' |
564565
| stopPropagation | Whether to prevent click events on the bomb layer from bubbling | boolean | false | **0.34.0** |
566+
| style | Pop-up layer inline style | object | | |
565567
| zIndex | Floating layer z-index value | number | 1030 |
566568
| onClickOutSide | Callback when the pop-up layer is in the display state and the non-Children, non-floating layer inner area is clicked (only valid when trigger is custom, click) | (e:event) => void | | **2.1.0** |
567569
| onEscKeyDown | Called when Esc key is pressed in trigger or popup layer | function(e:event) | | **2.8.0** |

content/show/popover/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ import { Button, Input, Popover, Space } from '@douyinfe/semi-ui';
530530
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | ------------------------------------------- |------------|
531531
| autoAdjustOverflow | 是否自动调整弹出层展开方向,用于边缘遮挡时自动调整展开方向 | boolean | true | |
532532
| arrowPointAtCenter | “小三角”是否指向元素中心,需要同时传入"showArrow=true" | boolean | true | **0.34.0** |
533+
| className | 弹出层的样式名 | string | | |
533534
| closeOnEsc | 在 trigger 或 弹出层按 Esc 键是否关闭面板,受控时不生效 | boolean | true | **2.8.0** |
534535
| content | 显示的内容(函数类型,2.8.0 版本支持) | ReactNode \| ({ initialFocusRef }) => ReactNode | | |
535536
| clickToHide | 点击弹出层及内部任一元素时是否自动关闭弹层 | boolean | false | **0.24.0** |
@@ -546,6 +547,7 @@ import { Button, Input, Popover, Space } from '@douyinfe/semi-ui';
546547
| spacing | 弹出层与 children 元素的距离,单位 px(object类型自 v2.45后支持) | number| <ApiType detail='{ x: number; y: number }'>SpacingObject</ApiType> | 4(showArrow=false 时) 10(showArrow=true 时) | |
547548
| showArrow | 是否显示“小三角” | boolean | | |
548549
| stopPropagation | 是否阻止弹出层上的点击事件冒泡 | boolean | false | **0.34.0** |
550+
| style | 弹出层的内联样式 | object | | |
549551
| trigger | 触发方式,可选值:`hover`, `focus`, `click`, `custom`, `contextMenu`(v2.42支持) | string | 'hover' | |
550552
| visible | 是否显示,配合trigger='custom'可实现完全受控 | boolean | | |
551553
| zIndex | 弹出层 z-index 值 | number | 1030 | |

content/start/changelog/index-en-US.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ Version:Major.Minor.Patch (follow the **Semver** specification)
3434
- 【Style】
3535
- Dropdown, Modal, SideSheet, Popover, Tooltip add backdrop-filter to set related tokens [#2981](https://github.com/DouyinFE/semi-design/issues/2981)
3636

37+
#### 🎉 2.87.1 (2025-10-16)
38+
- 【Fix】
39+
- Fixed an issue in Chrome V140 and 141 where an error would occur when expanding Tree/TreeSelect after collapsing it [#3005](https://github.com/DouyinFE/semi-design/issues/3005)
40+
- Fixed the issue where the Collapsible animation did not work in some Chrome versions 140 and 141. [#3006](https://github.com/DouyinFE/semi-design/pull/3006)
41+
42+
#### 🎉 2.87.0 (2025-10-15)
43+
- 【Style】
44+
- Dropdown, Modal, SideSheet, Popover, Tooltip add backdrop-filter to set related tokens [#2981](https://github.com/DouyinFE/semi-design/issues/2981)
45+
3746
#### 🎉 2.87.0-beta.0 (2025-09-08)
3847
- 【Fix】
3948
- JsonViewer keyboard events are compatible with window [@anjiazhuyouxing](https://github.com/anjiazhuyouxing)

content/start/changelog/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Semi 版本号遵循 **Semver** 规范(主版本号 - 次版本号 - 修订版
2323
- 新增 AI Token,AI ICON [#2997](https://github.com/DouyinFE/semi-design/pull/2997)
2424
- Tag/Button 新增加 colorful API [#2997](https://github.com/DouyinFE/semi-design/pull/2997)
2525

26+
=======
27+
2628
#### 🎉 2.87.1 (2025-10-16)
2729
- 【Fix】
2830
- 修复部分 chrome V140,141版本中,Tree/TreeSelect 在收起后,再次展开出现错误问题 [#3005](https://github.com/DouyinFE/semi-design/issues/3005)

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"useWorkspaces": true,
33
"npmClient": "yarn",
4-
"version": "2.87.0-beta.0"
4+
"version": "2.87.1"
55
}

0 commit comments

Comments
 (0)