Skip to content

v2.59.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 May 10:01
· 7 commits to main since this release
  • 【Fix】
    • 修复 Select Option 传入 data-*属性未生效的问题 #2258
    • 修复 Toast 在多条长度不同的 toast 弹出时,没有居中而是左对齐的问题 #2257
    • 修复 TreeSelect 在 defaultOpen 模式时候,点击外部没有无法关闭弹出层问题 #2254
    • 修复 Avatar 在设置了 border/topSlot/bottomSlot API 情况下,无法触发 onClick、onMouseEnter、onMouseLeave 事件问题 #2255
    • 修复 Badge className 作用范围不正确的问题,功能对齐其他组件,作用于 DOM 最外层
    • 修正 Badge API 定义,增加更语义的 countStyle API,作用与现有 style API 保持一致(旧 API props.style 仍可使用,效果不变,但不再于文档中推荐)
  • 【Chore】
    • 修复 FormApi 在未传入泛型时,调用 setValue时会有 string类型不能赋值给 never 的类型报错问题(影响范围,v2.59.0) #2259
    • 优化 FormApi getValue 对于嵌套路径的类型提示,对齐 setValue 行为 #2259
    • 修复 TextArea 的 onBlur/onFocus 类型定义错误问题 #2261
    • 修复 Semi Webpack plugin 中的 webcomponentPath 参数类型定义错误问题 #2260

  • 【Fix】
    • Fixed the problem that the data-* attributes passed into Select Option did not render #2258
    • Fixed the problem that Toast is not centered but aligned to the left when multiple toasts with different lengths #2257
    • Fixed the problem that when TreeSelect is in defaultOpen mode, the pop-up layer cannot be closed when clicking outside. #2254
    • Fixed the problem that Avatar cannot trigger onClick, onMouseEnter, and onMouseLeave events when the border/topSlot/bottomSlot API is set. #2255
    • Fixed the problem that Badge className function aligns other components and acts on the outermost layer of DOM
    • Revised Badge API definition, added a more semantic countStyle API, and made it consistent with the existing style API (the old API props.style can still be used, and the effect remains unchanged, but it is no longer recommended in the documentation)
  • 【Chore】
    • Fixed the problem that when FormApi does not pass in generics, there will be a type error that string type cannot be assigned to never when calling setValue (affected scope, v2.59.0) #2259
    • Optimize FormApi getValue type hints for nested paths and align setValue behavior #2259
    • Fixed onBlur/onFocus type define error in TextArea #2261
    • Fixed webComponentPath parameter type error in Semi webpack plugin #2260