Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency antd to v5 #66

Merged
merged 1 commit into from
Dec 9, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 18, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
antd (source) ^4.23.6 -> ^5.0.0 age adoption passing confidence

Release Notes

ant-design/ant-design

v5.0.5

Compare Source


v5.0.4

Compare Source


  • Modal
  • 🐞 修复 Tree checkableblockNode 配合时,title 元素不拉伸的问题。#​39209 @​Wxh16144
  • 🐞 修复 Dropdown 二级菜单丢失动画的问题。#​39235
  • 💄 修复 RangePicker 内时间面板的 padding 样式。#​39228
  • 🐞 修复 Card 的按钮组圆角样式。#​39210 @​muxin
  • 🐞 修复了 Badge 自定义颜色的时候,波纹的颜色不会跟着小圆点颜色发生变化的问题。#​39182 @​li-jia-nan
  • 🐞 修复 Radio 禁用状态选中样式。#​39165 @​Wxh16144
  • 🐞 修复 TextArea resize 不是 none 时计数文字的样式问题。#​39121 @​51wangping
  • 🐞 修复 Transfer 组件 点击复选框位置不可以取消选中,并触发了两次 onSelectChange 问题。#​39078 @​edc-hui
  • 🐞 修复 Steps size="small" 第一项带有进度时,进度条显示不全的问题。#​39100 @​Wxh16144
  • 🐞 修复 Form 水平布局下 xs 的响应式布局不生效的问题。#​39130
  • 🐞 修复 message 在 RTL 下位置不正确的问题。#​39248 @​Yuiai01
  • 🐞 修复 Switch 在只设置 checkedChildrenunCheckedChildren 时,其内容不会显示的问题。#​39262

v5.0.3

Compare Source


  • 🐞 修复 Spin 包裹模式时的样式偏移问题。#​38923 @​sribich
  • Menu
    • 🐞 修复 Menu 溢出时下拉菜单的样式问题。#​39093
    • 🐞 修复 hover 在 Menu.Item 外面时颜色变蓝的问题。#​39077 @​Pulset
  • 🐞 修复 Input.TextArea 没有重置样式导致 resize 行为和 4.x 不一致的问题。aa92f02
  • 🐞 修复 Upload 默认图标颜色。#​39114 @​MARKX97
  • 🐞 修复 dev 下动态 hashId 导致的 ssr 注水失败的问题。#​39069
  • 🐞 修复 FloatButton.Group 关闭时闪烁的问题。#​39061
  • 🐞 修复 Card.Meta 宽度没有默认填满容器的问题。#​39026 @​justanotheranonymoususer

v5.0.2

Compare Source


v5.0.1

Compare Source


v5.0.0

Compare Source

🏆 Ant Design 5.0.0 is out!

Read it before migration

🌟 If you want to migrate to Ant Design 5.0, please check V4 to V5.

Major Changes
  • 🔥 New Components
  • 🔥 New Component Variants
  • 💄 New Design
    • 💄 Change primary color to #​1677ff. #​37254
    • 💄 Change basic border radius to 6px, and support gradient radius. #​37146 #​37369
    • 💄 Optimize transition duration. #​37438
    • 💄 Optimize padding and remove border for some components. #​37283
    • 💄 Optimize focus style for some components. #​37483
    • 💄 Optimize style with large border radius.
      • 💄 Optimize Table hover style. #​37370
      • 💄 Optimize Segmented hover style. #​37498
      • 💄 Optimize Dropdown hover style. #​37491
      • 💄 Optimize close button style for some components like Modal. #​37634
      • 💄 Optimize Menu style. #​38009
      • 💄 Optimize hover style for some more components. #​37433
    • 💄 Optimize Switch transition. #​37658
    • 💄 Optimize Anchor ink ball style. #​38616
  • 🆕 Export object theme which contains hooks and algorithms related with theme. #​36302
    • 🆕 Add theme.useToken hook to get Design Token in context. #​36267
    • 🆕 Preset algorithm
  • 🆕 ConfigProvider support theme prop to modify theme configuration. For more: Customize Theme.
    • 🆕 Support multiple algorithm pipeline. #​37082
    • 🆕 Support switching wireframe style. #​37507
    • 🆕 Support override Design Token for single component. #​37568
  • 🆕 Add locale directory in package, which contains commonjs locale files. #​38194 @​chunsch
  • 🗑 Do not support IE browser anymore.
  • 🗑 Remove package antd/lib. #​36362
    • 🛠 Change main in package.json to dist/antd.js. eb8835f
  • 🗑 Remove dist/antd.css, and add dist/reset.css to override common styles. #​36224
  • 🗑 Deprecate visible and provide open instead in components below. @​yykoypj
    • 🗑 Tag deprecate visible. #​36671
    • 🗑 Table deprecate filterDropdownVisible and provide filterDropdownOpen. #​36747
    • 🗑 Drawer deprecate visible and provide open instead. #​36750
    • 🗑 Modal deprecate visible and provide open instead. #​36774
    • 🗑 Dropdown deprecate visible and provide open instead. #​36799
    • 🗑 Tooltip deprecate visible and provide open instead, Popover and Popconfirm. #​36807
  • 🗑 Deprecate dropdownClassName and provide popupClassName instead in components below. @​heiyu4585
    • 🗑 AutoComplete deprecate dropdownClassName and provide popupClassName instead. #​37087
    • 🗑 Mentions deprecate dropdownClassName and provide popupClassName instead. #​37122
    • 🗑 Cascader deprecate dropdownClassName and provide popupClassName instead. #​37089
    • 🗑 Select deprecate dropdownClassName and provide popupClassName instead. #​37091
    • 🗑 TreeSelect deprecate dropdownClassName and provide popupClassName instead. #​37092
    • 🗑 DatePicker and TimePicker deprecate dropdownClassName and provide popupClassName instead. #​37207
  • 🛠 Refactor styles with CSS-in-JS for all components.
    • 🗑 Remove less and css in package. #​36244
  • 🛠 Change date library from Moment.js to Day.js, for more: Use custom date library. b22815d @​iamkun
  • 🛠 React Notification to support React 18 concurrent mode and refactor useNotification hook,which is preferred instead of static function. #​35423 #​35568
  • 🛠 Slider props related with Tooltip are unified into tooltip. #​37043 @​yykoypj
  • 🛠 Migrate official site to dumi@2. #​38328

  • 🏆 Ant Design 5.0.0 已发布!欢迎阅读我们的 发布文档
    升级必读
  • 🌟 如果你想升级到 Ant Design 5.0,请仔细查阅我们的迁移文档
    主要变化
  • 🔥 新增组件
  • 🔥 新增组件变体
  • 💄 设计变化
    • 💄 调整主色为 #​1677ff#​37254
    • 💄 基础圆角调整为 6px,并支持梯度圆角。#​37146 #​37369
    • 💄 优化组件整体动画速度,效果更简练。#​37438
    • 💄 对部分组件进行了去线框化和间距上的调整,整体风格更加简洁。#​37283
      • 💄 Pagination 组件去线框化。#​37441
      • 💄 优化 Timeline 组件 UI 设计。#​37465
      • 💄 优化 Steps 组件 UI 设计。#​37473
    • 💄 优化部分组件 focus 样式。#​37483
    • 💄 优化组件圆角较大时的部分样式。
      • 💄 优化 Table 组件 hover 样式。#​37370
      • 💄 优化 Segmented 组件 hover 样式。#​37498
      • 💄 优化 Dropdown 组件 hover 样式。#​37491
      • 💄 优化 Modal 等组件关闭按钮样式。#​37634
      • 💄 优化 Menu 组件样式。#​38009
      • 💄 更多组件 hover 样式优化。#​37433
    • 💄 优化 Switch 组件动画效果。#​37658
    • 💄 优化 Anchor 组件样式 UI 设计。#​38616
  • 🆕 新增导出对象 theme,用于获取主题相关属性。#​36302
    • 🆕 新增 theme.useToken hook,用于获取当前上下文的主题变量。#​36267
    • 🆕 新增内置算法。
  • 🆕 ConfigProvider 新增 theme 属性,用于更改主题配置,详情:定制主题
    • 🆕 支持多个 algorithm#​37082
    • 🆕 支持线框化切换。#​37507
    • 🆕 支持覆盖单个组件的主题变量。#​37568
  • 🆕 产物新增 locale 目录,内含 cjs 格式的语言文件。#​38194 @​chunsch
  • 🗑 移除对 IE 的支持。
  • 🗑 移除 lib 产物。#​36362
    • 🛠 调整 package.jsonmaindist/antd.jseb8835f
  • 🗑 移除 dist/antd.css 产物。默认不再入侵全局样式,新增 dist/reset.css 用于重置部分常见样式。#​36224
  • 🗑 废弃下列组件的 visible 属性,改用 open@​yykoypj
    • 🗑 Tag 废弃 visible 属性。#​36671
    • 🗑 Table filterDropdownVisible 调整为 filterDropdownOpen#​36747
    • 🗑 Drawer 废弃 visible 属性,改用 open#​36750
    • 🗑 Modal 废弃 visible 属性,改用 open#​36774
    • 🗑 Dropdown 废弃 visible 属性,改用 open#​36799
    • 🗑 Tooltip & Popover & Popconfirm 废弃 visible 属性,改用 open#​36807
  • 🗑 废弃下列组件的 dropdownClassName,统一为 popupClassName@​heiyu4585
    • 🗑 AutoComplete 废弃 dropdownClassName,改用 popupClassName#​37087
    • 🗑 Mentions 废弃 dropdownClassName,改用 popupClassName#​37122
    • 🗑 Cascader 废弃 dropdownClassName,改用 popupClassName#​37089
    • 🗑 Select 废弃 dropdownClassName,改用 popupClassName#​37091
    • 🗑 TreeSelect 废弃 dropdownClassName,改用 popupClassName#​37092
    • 🗑 DatePicker 和 TimePicker 废弃 dropdownClassName,改用 popupClassName#​37207
  • 🛠 所有组件使用 CSS-in-JS 重构样式。
    • 🗑 移除 less 及相关 less 和 css 产物。#​36244
  • 🛠 内置时间库由 Moment.js 替换为 Day.js,详情:使用自定义日期库b22815d @​iamkun
  • 🛠 重构 Notification 以支持 React 18 concurrent 模式,并重构 useNotification hook,推荐替代静态方法使用。#​35423 #​35568
  • 🛠 Slider 组件 Tooltip 相关 API 合并至 tooltip 属性中。#​37043 @​yykoypj
  • 🛠 文档站技术栈迁移 dumi@2#​38328

v4.24.5

Compare Source


v4.24.4

Compare Source


v4.24.3

Compare Source


v4.24.2

Compare Source


  • Image
    • 💄 优化 Image 预览图片的工具栏显示动画的效果,现在工具条不再用缩放动画进场。#​36456
    • 🐞 修复 Image 预览图片没有展现错误图片的问题。#​38112
  • Typography
  • 🐞 修复 Menu 收起时 SubMenu 闪动的问题。#​36636 @​JarvisArt
  • 🐞 修复 RangePicker 选择日期过程中触发 onBlur 的问题。#​38411 @​kiner-tang
  • 🐞 修复 Result iconnull 时图标没有隐藏的问题。#​38488
  • 🐞 修复 Dropdown.Button 出现 overlay is deprecated 警告的问题。#​38446 @​li-jia-nan
  • 🛎 优化 Form 的相关控制台提示的表述。#​38038 @​cincodenada
  • 🛠 修复 Tree 模块循环导入的问题。#​38421 @​KotoriK
  • 🐞 修复当 Affix 隐藏切换到显示时会出现抖动。#​38410 @​imoctopus
  • 🐞 修复 Pagination showTotal 属性在 simple 模式下不生效的问题。#​38399
  • 🐞 修复 Modal.confirm 关闭中确认按钮依旧可能被触发的问题。#​38400
  • 🐞 修复在 Drawer extra 中使用 Radio.Group 的样式问题。#​38385
  • ⌨️ 修复 Table 组件 aria-label 出现 [object Object] 的问题。#​38389 @​kiner-tang
  • ⌨️ Progress 组件增加 role="progressbar"#​38447 @​kpustakhod

v4.24.1

Compare Source


v4.24.0

Compare Source


  • 🔥 新增组件 Space.Compact 用以替代 Input.Group 和 Button.Group 组件。#​37652 @​foryuki
  • 🆕 Form 内组件上的 disabled 属性现在将优先于 Form 的 disabled 属性。#​37628 @​kiner-tang
  • 🆕 Typograph 增加 text 配置,支持同时开启省略与编辑模式时的使用。#​37761 @​zheeeng
  • 🆕 Row 组件的 alignjustify 属性支持设置响应式的值。#​37860 @​kiner-tang
  • 🆕 Image 增加 preview.scaleStep 属性调整放大缩小的幅度,并将默认的 scaleOffset 设置为 0.5。#​37340 @​coldice945
  • 🆕 Steps 新增支持 `items

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@funnyzak funnyzak merged commit d5c2840 into develop Dec 9, 2022
@funnyzak funnyzak deleted the renovate/antd-5.x branch December 9, 2022 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant