npm ng-zorro-antd 22.1.0

6 hours ago

22.1.0

2026-09-17

Features

  • auto-complete: support custom overlay origins (#9946) (ae7c405)
  • auto-complete: support nzDropdownMatchSelectWidth (#9879) (909e499)
  • avatar: support responsive sizes (#9801) (584928e)
  • core-time: support date adapter configuration factories in an injection context (#9952) (0108fb7)
  • cron-expression: support nzStatus and synchronize form validation status (#9895) (9408016)
  • icon: add new brand icons, including Anthropic, Claude, DeepSeek, Gemini, and Qwen (#9909) (73401ac)

Bug Fixes

  • cdk: respond to changes in the resize observer disabled state (#9923) (4ef7d34)
  • color-picker: preserve hue when reapplying equivalent grayscale values (#9938) (eea2bb4)
  • core: clean up drag event listeners (#9922) (68ea6c8)
  • date-picker: support range pickers with Signal Forms (#9911) (991645f)
  • descriptions: prevent data loss when resizing (#9942) (bcf0ee0)
  • drawer: avoid overwriting signal inputs with drawer data (#9889) (1ea1bd8)
  • graph: remove invalid units from SVG transforms (#9950) (b3ddf73)
  • i18n: add missing sections to en_GB, en_AU, and the default locale (#9913) (ffa75af)
  • i18n: add missing translations to ar_EG (#9912) (b3eadd4)
  • icon: preserve custom aria-label values (#9934) (929d16e)
  • icon: avoid rotation errors when the first child is not an element (#9921) (6d3169b)
  • input: support writing values with Signal Forms (#9908) (753a714)
  • input-number: prevent keyboard stepping when read-only (#9925) (a6a1c9c)
  • modal: animate the mask when closing (#9920) (9f1e6ae)
  • segmented: recompute thumb styles when switching orientation (#9937) (8419827)
  • select: prevent ngModel warnings in parent forms (#9945) (a2a6837)
  • select: prevent dropdown options from overflowing (#9849) (#9957) (844ac55)

Styles and upgrade notes

  • style: consolidate LTR and RTL styles using CSS logical properties and remove standalone RTL style files. Applications importing removed style/rtl.less files directly should use the component style entry points instead. (#9892) (8cfb6be)
  • anchor: migrate custom theme overrides from @anchor-link-top to @anchor-link-padding-block and from @anchor-link-left to @anchor-link-padding-inline-start. @anchor-link-padding has been removed; configure the two new variables separately. (#9892) (8cfb6be)
  • tabs: tab spacing now uses @tabs-horizontal-gutter. Migrate custom overrides of @tabs-horizontal-margin and the removed @tabs-horizontal-margin-rtl variable. (#9892) (8cfb6be)

22.1.0

2026-09-17

Features

  • auto-complete: 支持自定义浮层定位元素 (#9946) (ae7c405)
  • auto-complete: 支持 nzDropdownMatchSelectWidth 配置下拉框宽度 (#9879) (909e499)
  • avatar: 支持响应式尺寸 (#9801) (584928e)
  • core-time: 支持在注入上下文中使用日期适配器配置工厂 (#9952) (0108fb7)
  • cron-expression: 支持 nzStatus 并同步表单校验状态 (#9895) (9408016)
  • icon: 新增 Anthropic、Claude、DeepSeek、Gemini、Qwen 等品牌图标 (#9909) (73401ac)

Bug Fixes

  • cdk: 响应尺寸观察器禁用状态的变化 (#9923) (4ef7d34)
  • color-picker: 重复设置等效灰度值时保留色相 (#9938) (eea2bb4)
  • core: 清理拖拽事件监听器 (#9922) (68ea6c8)
  • date-picker: 支持范围选择器与 Signal Forms 配合使用 (#9911) (991645f)
  • descriptions: 修复调整尺寸时数据丢失的问题 (#9942) (bcf0ee0)
  • drawer: 避免抽屉数据覆盖信号输入 (#9889) (1ea1bd8)
  • graph: 移除 SVG 变换中的无效单位 (#9950) (b3ddf73)
  • i18n: 补充 en_GBen_AU 和默认语言缺失的翻译区块 (#9913) (ffa75af)
  • i18n: 补充 ar_EG 缺失的翻译 (#9912) (b3eadd4)
  • icon: 保留自定义 aria-label 值 (#9934) (929d16e)
  • icon: 避免首个子节点不是元素时旋转报错 (#9921) (6d3169b)
  • input: 支持通过 Signal Forms 写入值 (#9908) (753a714)
  • input-number: 只读时禁止通过键盘调整数值 (#9925) (a6a1c9c)
  • modal: 关闭时播放遮罩动画 (#9920) (9f1e6ae)
  • segmented: 切换排列方向时重新计算滑块样式 (#9937) (8419827)
  • select: 避免在父表单中触发 ngModel 警告 (#9945) (a2a6837)
  • select: 防止下拉选项溢出 (#9849) (#9957) (844ac55)

样式与升级说明

  • style: 使用 CSS 逻辑属性合并 LTR 与 RTL 样式,并移除独立的 RTL 样式文件。直接导入已移除 style/rtl.less 文件的项目需改为使用组件样式入口。 (#9892) (8cfb6be)
  • anchor: 自定义主题需将 @anchor-link-top 迁移为 @anchor-link-padding-block,将 @anchor-link-left 迁移为 @anchor-link-padding-inline-start@anchor-link-padding 已移除,请分别配置这两个新变量。 (#9892) (8cfb6be)
  • tabs: 标签间距统一使用 @tabs-horizontal-gutter,自定义主题需迁移 @tabs-horizontal-margin 和已移除的 @tabs-horizontal-margin-rtl 配置。 (#9892) (8cfb6be)

Don't miss a new ng-zorro-antd release

NewReleases is sending notifications on new releases.