mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-29 18:50:00 +08:00
docs: update release Date (#48745)
This commit is contained in:
parent
13c5801ac1
commit
eb205575a1
@ -18,7 +18,7 @@ tag: vVERSION
|
||||
|
||||
## 5.17.0
|
||||
|
||||
`2024-05-02`
|
||||
`2024-05-03`
|
||||
|
||||
- 🔥🔥🔥 `@ant-design/cssinjs` StyleProvider supports configuring `layer` to unified downgrade CSS priority. After the downgrade, the style of antd will always be lower than the default CSS selector priority, so that users can override the style (please be sure to check the browser compatibility of [@layer](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer#browser_compatibility)), see [full documentation](https://ant.design/docs/react/compatible-style#layer-downgrade) for usage. [#48229](https://github.com/ant-design/ant-design/pull/48229)
|
||||
- 🆕 Carousel supports `arrows` to switching between slides now. [#48542](https://github.com/ant-design/ant-design/pull/48542)
|
||||
|
@ -17,7 +17,7 @@ tag: vVERSION
|
||||
|
||||
## 5.17.0
|
||||
|
||||
`2024-05-02`
|
||||
`2024-05-03`
|
||||
|
||||
- 🔥🔥🔥 `@ant-design/cssinjs` StyleProvider 支持配置 `layer` 统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 [@layer](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer#browser_compatibility) 浏览器兼容性),详情可见[文档](https://ant.design/docs/react/compatible-style-cn#layer-%E9%99%8D%E6%9D%83)。[#48229](https://github.com/ant-design/ant-design/pull/48229)
|
||||
- 🆕 Carousel 现在支持 `arrows` 来开启箭头切换功能。[#48542](https://github.com/ant-design/ant-design/pull/48542)
|
||||
|
@ -178,7 +178,8 @@ export default function imageTest(
|
||||
|
||||
await page.evaluate(
|
||||
(innerHTML: string, ssrStyle: string, triggerClassName?: string) => {
|
||||
document.querySelector<HTMLDivElement>('#root')!.innerHTML = innerHTML;
|
||||
const root = document.querySelector<HTMLDivElement>('#root')!;
|
||||
root.innerHTML = innerHTML;
|
||||
const head = document.querySelector<HTMLElement>('head')!;
|
||||
head.innerHTML += ssrStyle;
|
||||
// Inject open trigger with block style
|
||||
|
Loading…
Reference in New Issue
Block a user