Material UI 5.2.0 发布,Material Design 组件

栏目: 软件资讯 · 发布时间: 4年前

内容简介:Material UI 5.2.0 发布了,Material UI 是一组实现 Google Material Design 规范的 React 组件,它是一个前端 JS 框架,主要用在 web 领域。 更新内容如下: @mui/material@5.2.0 [IconButton] 设置 disableRip...

Material UI 5.2.0 发布了,Material UI 是一组实现 Google Material Design 规范的 React 组件,它是一个前端 JS 框架,主要用在 web 领域。 更新内容如下:

@mui/material@5.2.0

  • [IconButton] 设置 disableRipple 时,移除悬停效果( #29298 )
  • [i18n] 添加阿姆哈拉语 ( #29153 )
  • [material] 修复 variants.style 接受回调的类型(#29610
  • [Popper] 简化 prop 类型(#29680
  • [选择] 选项未被选中时,默认 aria-selected = false ( #29695 )
  • [useMediaQuery] 修复 Safari 14 以下版本 和 IE 11 中的崩溃问题。 ( #29776 )
  • [useMediaQuery] 确保在 React 18 没有撕裂和串联更新。( #28491 )

@mui/codemod@5.2.0

  • [codemod] 修复 jss-to-styled ,以支持多个 withStyles ( #29824 )

@mui/icons-material@5.2.0

  • [图标] 同步新的 Google Material Icons ( #29818 )
  • [图标] 同步最近来自 Google 的 Material Icons ( #29328 )

@mui/system@5.2.0

  • [Box] 在 sx 用作函数时,修复 prop 的运行时问题 ( #29830 )
  • [系统] 修复 sx 值为 null  undefined 时报错的问题 ( #29756 )
  • [系统] 修复轻微的 CssVars 问题(#29747

@mui/styled-engine@5.2.0

  • [styled-engine] 修复 styled-engine 的 prop 推断  ( #29739 )

@mui/base@5.0.0-alpha.56

  • [FormControlUnstyled] focused 始终为 false,除非明确设置为 true
  • [TabsUnstyled] 引入新组件 ( #29597 )

@mui/lab@5.0.0-alpha.56

  • [DatePicker][timepicker] 添加缺少的组件声明 ( #29517 )
  • [Masonry] 从 root 包导出 ( #29754 )
  • [ pickers ] 扩大接受的 luxon 版本范围 ( #29761 )

Core

  • [测试] 允许使用 Chrome 和 VSCode 检查器进行调试 ( #29777 )
  • [测试] 使用渲染器时钟而不是自定义 useFakeTimers 调用(#29778
  • [测试] 仅在回归测试中模拟日期 ( #29763 )
  • [测试] 在 next 分支上禁用 nightly 集成测试( #29748 )
  • [测试] 允许直接从 createRenderer 配置时钟(#29684
  • [测试] 在测试 CLI  接受反斜杠作为路径分隔符 ( #29694 )
  • [utils] 在 useId 可用时使用内置 hooks ( #26489 )

除以上特性变更,此版本还包含一些文档变更,详情可查看更新公告

 


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Beginning ARKit for iPhone and iPad

Beginning ARKit for iPhone and iPad

Wallace Wang / Apress / 2018-11-5 / USD 39.99

Explore how to use ARKit to create iOS apps and learn the basics of augmented reality while diving into ARKit specific topics. This book reveals how augmented reality allows you to view the screen on ......一起来看看 《Beginning ARKit for iPhone and iPad》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

html转js在线工具
html转js在线工具

html转js在线工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具