From 24961cc4174e04bd106d02743d1d457573519b0c Mon Sep 17 00:00:00 2001 From: simplejason Date: Mon, 18 Sep 2023 16:24:04 +0800 Subject: [PATCH] chore(release): release 16.2.0 (#8083) --- CHANGELOG.md | 51 +++++ components/package.json | 346 +++++++++++++++++----------------- components/version/version.ts | 2 +- docs/changelog.en-US.md | 51 +++++ docs/changelog.zh-CN.md | 51 +++++ 5 files changed, 327 insertions(+), 174 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d8075959..0d13806215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,54 @@ +# [16.2.0](https://github.com/NG-ZORRO/ng-zorro-antd/compare/16.0.0...16.2.0) (2023-09-18) + + +### Bug Fixes + +* **list:** fix the bug that synchrone action item are not displayed in the item ([#7958](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7958)) ([3b6bdec](https://github.com/NG-ZORRO/ng-zorro-antd/commit/3b6bdecef32ee4d9bb14491b617870733cfd9553)) +* **tree:** fix nz-tree-node keep dragging class with nzBeforeDrop ([#8015](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8015)) ([2d0b3f7](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2d0b3f71490e38f8512285f81fcf3baa8f6eb4db)) +* **button:** fix add class ant-btn-icon-only([#7631](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7631)) ([#7678](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7678)) ([7470ed6](https://github.com/NG-ZORRO/ng-zorro-antd/commit/7470ed66e1651d753fa43e197a4ab0d548744885)) +* **cascader:** customize the option title to undefined ([#8011](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8011)) ([10003db](https://github.com/NG-ZORRO/ng-zorro-antd/commit/10003db77b9bda21772733c41b3c503ee85d5c81)), closes [#8006](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8006) +* **core:** resolve CSP errors ([#8059](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8059)) ([295b333](https://github.com/NG-ZORRO/ng-zorro-antd/commit/295b333774990a420c39ba67912598dafd2f1842)) +* **cron-expression:** clear console warnings ([#7926](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7926)) ([b358345](https://github.com/NG-ZORRO/ng-zorro-antd/commit/b358345c14746501e47d7e73dffe41d32b9ab118)) +* **date-picker:** fix code comment ([#7991](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7991)) ([8b6b653](https://github.com/NG-ZORRO/ng-zorro-antd/commit/8b6b653547d92a27079c27b3ef7e68df68a4f5fd)) +* **i18n:** update zh_TW.ts ([#7901](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7901)) ([9bfce45](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9bfce45a37a9c50aafbcaf96a8db9450bc2c5bf1)) +* **message:** clean up DOM after usage ([#7965](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7965)) ([71ead99](https://github.com/NG-ZORRO/ng-zorro-antd/commit/71ead99aa781e50f3c896107f5b668b9a2cea767)), closes [#7772](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7772) +* **message:** fix the z-index of overlay ([#8081](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8081)) ([b1d2095](https://github.com/NG-ZORRO/ng-zorro-antd/commit/b1d20953eda23c9dcb4f74530621cf9cf1a33e45)) +* **notification:** don't create new messageId for update ([#8000](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8000)) ([e240264](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e240264796dfd3a8692efcb92178688b78d0b69f)) +* **qrcode:** optimize demo display and nzPadding value ([#8020](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8020)) ([078aaf9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/078aaf91335d2d9fa085d06a792ddd49c17948e0)) +* **table:** remove empty space in custom columns ([#8022](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8022)) ([15e244c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/15e244cc954cab1186d33006c7915f34d92e4d6d)) +* **time-picker:** modelChange trigger twice ([#7902](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7902)) ([74c13a4](https://github.com/NG-ZORRO/ng-zorro-antd/commit/74c13a49f92a263a05a34af63f6a2b71a554078e)) +* **tree-view:** re-rendering fix ([#8035](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8035)) ([68cb4b2](https://github.com/NG-ZORRO/ng-zorro-antd/commit/68cb4b2d25d3bc149e4f8e80c030a16db75959c2)) +* **tree:** remove console.log ([#8019](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8019)) ([fa0312a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/fa0312a4c68b26902ca28ed974754599b17b2d8a)) +* **watermark:** removing the watermark fails to redraw ([#8012](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8012)) ([030318e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/030318e82725d7650c98bf0ec06d2b23df16d9f0)) +* **showcase:** ui bug in rtl mode inside the doc site ([#8063](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8063)) ([d57b7da](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d57b7dac5817cb1de9de9edda2343a6089854fff)) + + +### Features + +* add provide function ([#7952](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7952)) ([150c6ca](https://github.com/NG-ZORRO/ng-zorro-antd/commit/150c6cab4636fa9daa1e892d27b894c6b7381b35)) +* **cascader:** support for load options with observable ([#8048](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8048)) ([1436f21](https://github.com/NG-ZORRO/ng-zorro-antd/commit/1436f212130041bec03d6f2d2d7f5591dff04b7a)) +* **color-picker:** add color-picker component ([#8013](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8013)) ([8439704](https://github.com/NG-ZORRO/ng-zorro-antd/commit/843970459fdb18dfa0ddc861d02e6c21e87c12b4)) +* **cron-expression:** add Unit Testing ([#7993](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7993)) ([605e969](https://github.com/NG-ZORRO/ng-zorro-antd/commit/605e969013cf48a29f4786765cf6c6da9f10643a)) +* **cron-expression:** support nzDisabled && nzBorderless ([#7992](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7992)) ([6d31bde](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6d31bde3ef1f43cc145d2009afcf90931e96a731)) +* **dropdown:** close context menu on escape ([#7915](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7915)) ([6d0032e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6d0032ededc140a017c01158ae76402a86c7b334)) +* **dropdown:** improve `NzContextMenuService#create()` ([#7768](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7768)) ([9b3e6cb](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9b3e6cba852d4a782d15311c910b747a3bbc4d02)) +* **form:** support form label wrap ([#7892](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7892)) ([37391de](https://github.com/NG-ZORRO/ng-zorro-antd/commit/37391de29afdd3126dbbdcae6ca3ba2e637fd596)) +* **input:** hide stepper for type number ([#8003](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8003)) ([0f3aed5](https://github.com/NG-ZORRO/ng-zorro-antd/commit/0f3aed599874e0d1c2786f2d14fec52128afbec8)) +* **modal:** Remove nzComponentParams in v16 ([#7930](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7930)) ([baab16c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/baab16c497902f0cbf2668fb061ac8d40ffd18b2)) +* **qrcode:** padding & background color for qrcode ([#8001](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8001)) ([718ba29](https://github.com/NG-ZORRO/ng-zorro-antd/commit/718ba2943c7c7e12c8526e52e8806955d3fb0504)) +* **resizable:** add direction parameter in NzResizeEvent ([#7987](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7987)) ([4143473](https://github.com/NG-ZORRO/ng-zorro-antd/commit/41434734ffe839f3ed71bd19486a5f76adc20463)) +* **resizable:** support for multiple cursor types ([#8042](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8042)) ([e564714](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e56471423142d71ce9117707f7240c83f6fe44e5)) +* **table:** support display and sorting of custom table columns ([#7966](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7966)) ([d26870f](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d26870f9ffd3f5122e95246a24587c739b04fd8a)) + + +### Performance Improvements + +* **select:** ability to pass nzKey to nz-option ([#8033](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8033)) ([e94da4e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e94da4eddd663a1e7a5e9e6e0781f1a6da59f1c7)) +* **select:** remove unused types ([#7850](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7850)) ([71c2138](https://github.com/NG-ZORRO/ng-zorro-antd/commit/71c2138ce28e07539784d8fb228adf122ed13a33)) +* **tabs:** need add .ant-tabs-tab class reduce css computing time consuming([#7935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7935)) ([#7936](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7936)) ([198644a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/198644a09ac828c4e9b208799c8be1a57cd8ce86)) + + + # [16.1.0](https://github.com/NG-ZORRO/ng-zorro-antd/compare/16.0.0...16.1.0) (2023-07-16) diff --git a/components/package.json b/components/package.json index 3653042047..9dfc30bd75 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd", - "version": "16.1.0", + "version": "16.2.0", "license": "MIT", "description": "An enterprise-class UI components based on Ant Design and Angular", "schematics": "./schematics/collection.json", @@ -74,284 +74,284 @@ "less": "./*.less" }, "./affix/style/*": { - "less": "./affix/style/*.less", - "style": "./affix/style/index.min.css" + "less": "./affix/style/*.less", + "style": "./affix/style/index.min.css" }, - "./alert/style/*": { - "less": "./alert/style/*.less", - "style": "./alert/style/index.min.css" + "./alert/style/*": { + "less": "./alert/style/*.less", + "style": "./alert/style/index.min.css" }, "./anchor/style/*": { - "less": "./anchor/style/*.less", - "style": "./anchor/style/index.min.css" + "less": "./anchor/style/*.less", + "style": "./anchor/style/index.min.css" }, "./auto-complete/style/*": { - "less": "./auto-complete/style/*.less", - "style": "./auto-complete/style/index.min.css" + "less": "./auto-complete/style/*.less", + "style": "./auto-complete/style/index.min.css" }, - "./avatar/style/*": { - "less": "./avatar/style/*.less", - "style": "./avatar/style/index.min.css" + "./avatar/style/*": { + "less": "./avatar/style/*.less", + "style": "./avatar/style/index.min.css" }, "./back-top/style/*": { - "less": "./back-top/style/*.less", - "style": "./back-top/style/index.min.css" + "less": "./back-top/style/*.less", + "style": "./back-top/style/index.min.css" }, - "./badge/style/*": { - "less": "./badge/style/*.less", - "style": "./badge/style/index.min.css" + "./badge/style/*": { + "less": "./badge/style/*.less", + "style": "./badge/style/index.min.css" }, "./breadcrumb/style/*": { - "less": "./breadcrumb/style/*.less", - "style": "./breadcrumb/style/index.min.css" + "less": "./breadcrumb/style/*.less", + "style": "./breadcrumb/style/index.min.css" }, - "./button/style/*": { - "less": "./button/style/*.less", - "style": "./button/style/index.min.css" + "./button/style/*": { + "less": "./button/style/*.less", + "style": "./button/style/index.min.css" }, - "./calendar/style/*": { - "less": "./calendar/style/*.less", - "style": "./calendar/style/index.min.css" + "./calendar/style/*": { + "less": "./calendar/style/*.less", + "style": "./calendar/style/index.min.css" }, "./card/style/*": { - "less": "./card/style/*.less", - "style": "./card/style/index.min.css" + "less": "./card/style/*.less", + "style": "./card/style/index.min.css" }, - "./carousel/style/*": { - "less": "./carousel/style/*.less", - "style": "./carousel/style/index.min.css" + "./carousel/style/*": { + "less": "./carousel/style/*.less", + "style": "./carousel/style/index.min.css" }, - "./cascader/style/*": { - "less": "./cascader/style/*.less", - "style": "./cascader/style/index.min.css" + "./cascader/style/*": { + "less": "./cascader/style/*.less", + "style": "./cascader/style/index.min.css" }, "./code-editor/style/*": { - "less": "./code-editor/style/*.less", - "style": "./code-editor/style/index.min.css" + "less": "./code-editor/style/*.less", + "style": "./code-editor/style/index.min.css" }, "./checkbox/style/*": { - "less": "./checkbox/style/*.less", - "style": "./checkbox/style/index.min.css" + "less": "./checkbox/style/*.less", + "style": "./checkbox/style/index.min.css" }, - "./collapse/style/*": { - "less": "./collapse/style/*.less", - "style": "./collapse/style/index.min.css" + "./collapse/style/*": { + "less": "./collapse/style/*.less", + "style": "./collapse/style/index.min.css" }, "./comment/style/*": { - "less": "./comment/style/*.less", - "style": "./comment/style/index.min.css" + "less": "./comment/style/*.less", + "style": "./comment/style/index.min.css" }, - "./cron-expression/style/*": { - "less": "./cron-expression/style/*.less", - "style": "./cron-expression/style/index.min.css" + "./cron-expression/style/*": { + "less": "./cron-expression/style/*.less", + "style": "./cron-expression/style/index.min.css" }, - "./date-picker/style/*": { - "less": "./date-picker/style/*.less", - "style": "./date-picker/style/index.min.css" + "./date-picker/style/*": { + "less": "./date-picker/style/*.less", + "style": "./date-picker/style/index.min.css" }, "./descriptions/style/*": { - "less": "./descriptions/style/*.less", - "style": "./descriptions/style/index.min.css" + "less": "./descriptions/style/*.less", + "style": "./descriptions/style/index.min.css" }, - "./divider/style/*": { - "less": "./divider/style/*.less", - "style": "./divider/style/index.min.css" + "./divider/style/*": { + "less": "./divider/style/*.less", + "style": "./divider/style/index.min.css" }, "./drawer/style/*": { - "less": "./drawer/style/*.less", - "style": "./drawer/style/index.min.css" + "less": "./drawer/style/*.less", + "style": "./drawer/style/index.min.css" }, - "./dropdown/style/*": { - "less": "./dropdown/style/*.less", - "style": "./dropdown/style/index.min.css" + "./dropdown/style/*": { + "less": "./dropdown/style/*.less", + "style": "./dropdown/style/index.min.css" }, "./empty/style/*": { - "less": "./empty/style/*.less", - "style": "./empty/style/index.min.css" + "less": "./empty/style/*.less", + "style": "./empty/style/index.min.css" }, "./form/style/*": { - "less": "./form/style/*.less", - "style": "./form/style/index.min.css" + "less": "./form/style/*.less", + "style": "./form/style/index.min.css" }, - "./graph/style/*": { - "less": "./graph/style/*.less", - "style": "./graph/style/index.min.css" + "./graph/style/*": { + "less": "./graph/style/*.less", + "style": "./graph/style/index.min.css" }, - "./grid/style/*": { - "less": "./grid/style/*.less", - "style": "./grid/style/index.min.css" + "./grid/style/*": { + "less": "./grid/style/*.less", + "style": "./grid/style/index.min.css" }, "./icon/style/*": { "less": "./icon/style/*.less", "style": "./icon/style/index.min.css" }, "./image/style/*": { - "less": "./image/style/*.less", - "style": "./image/style/index.min.css" + "less": "./image/style/*.less", + "style": "./image/style/index.min.css" }, "./input/style/*": { - "less": "./input/style/*.less", - "style": "./input/style/index.min.css" + "less": "./input/style/*.less", + "style": "./input/style/index.min.css" }, - "./input-number/style/*": { - "less": "./input-number/style/*.less", - "style": "./input-number/style/index.min.css" + "./input-number/style/*": { + "less": "./input-number/style/*.less", + "style": "./input-number/style/index.min.css" }, "./layout/style/*": { - "less": "./layout/style/*.less", - "style": "./layout/style/index.min.css" + "less": "./layout/style/*.less", + "style": "./layout/style/index.min.css" }, "./list/style/*": { - "less": "./list/style/*.less", - "style": "./list/style/index.min.css" + "less": "./list/style/*.less", + "style": "./list/style/index.min.css" }, "./mention/style/*": { - "less": "./mention/style/*.less", - "style": "./mention/style/index.min.css" + "less": "./mention/style/*.less", + "style": "./mention/style/index.min.css" }, - "./menu/style/*": { - "less": "./menu/style/*.less", - "style": "./menu/style/index.min.css" + "./menu/style/*": { + "less": "./menu/style/*.less", + "style": "./menu/style/index.min.css" }, - "./message/style/*": { - "less": "./message/style/*.less", - "style": "./message/style/index.min.css" + "./message/style/*": { + "less": "./message/style/*.less", + "style": "./message/style/index.min.css" }, "./modal/style/*": { - "less": "./modal/style/*.less", - "style": "./modal/style/index.min.css" + "less": "./modal/style/*.less", + "style": "./modal/style/index.min.css" }, - "./notification/style/*": { - "less": "./notification/style/*.less", - "style": "./notification/style/index.min.css" + "./notification/style/*": { + "less": "./notification/style/*.less", + "style": "./notification/style/index.min.css" }, "./page-header/style/*": { - "less": "./page-header/style/*.less", - "style": "./page-header/style/index.min.css" + "less": "./page-header/style/*.less", + "style": "./page-header/style/index.min.css" }, - "./pagination/style/*": { - "less": "./pagination/style/*.less", - "style": "./pagination/style/index.min.css" + "./pagination/style/*": { + "less": "./pagination/style/*.less", + "style": "./pagination/style/index.min.css" }, "./popconfirm/style/*": { - "less": "./popconfirm/style/*.less", - "style": "./popconfirm/style/index.min.css" + "less": "./popconfirm/style/*.less", + "style": "./popconfirm/style/index.min.css" }, - "./popover/style/*": { - "less": "./popover/style/*.less", - "style": "./popover/style/index.min.css" + "./popover/style/*": { + "less": "./popover/style/*.less", + "style": "./popover/style/index.min.css" }, "./progress/style/*": { - "less": "./progress/style/*.less", - "style": "./progress/style/index.min.css" + "less": "./progress/style/*.less", + "style": "./progress/style/index.min.css" }, "./qr-code/style/*": { - "less": "./qr-code/style/*.less", - "style": "./qr-code/style/index.min.css" + "less": "./qr-code/style/*.less", + "style": "./qr-code/style/index.min.css" }, - "./radio/style/*": { - "less": "./radio/style/*.less", - "style": "./radio/style/index.min.css" + "./radio/style/*": { + "less": "./radio/style/*.less", + "style": "./radio/style/index.min.css" }, "./rate/style/*": { - "less": "./rate/style/*.less", - "style": "./rate/style/index.min.css" + "less": "./rate/style/*.less", + "style": "./rate/style/index.min.css" }, "./resizable/style/*": { - "less": "./resizable/style/*.less", - "style": "./resizable/style/index.min.css" + "less": "./resizable/style/*.less", + "style": "./resizable/style/index.min.css" }, "./result/style/*": { - "less": "./result/style/*.less", - "style": "./result/style/index.min.css" + "less": "./result/style/*.less", + "style": "./result/style/index.min.css" }, - "./skeleton/style/*": { - "less": "./skeleton/style/*.less", - "style": "./skeleton/style/index.min.css" + "./skeleton/style/*": { + "less": "./skeleton/style/*.less", + "style": "./skeleton/style/index.min.css" }, - "./slider/style/*": { - "less": "./slider/style/*.less", - "style": "./slider/style/index.min.css" + "./slider/style/*": { + "less": "./slider/style/*.less", + "style": "./slider/style/index.min.css" }, "./segmented/style/*": { - "less": "./segmented/style/*.less", - "style": "./segmented/style/index.min.css" + "less": "./segmented/style/*.less", + "style": "./segmented/style/index.min.css" }, - "./select/style/*": { - "less": "./select/style/*.less", - "style": "./select/style/index.min.css" + "./select/style/*": { + "less": "./select/style/*.less", + "style": "./select/style/index.min.css" }, - "./space/style/*": { - "less": "./space/style/*.less", - "style": "./space/style/index.min.css" + "./space/style/*": { + "less": "./space/style/*.less", + "style": "./space/style/index.min.css" }, - "./spin/style/*": { - "less": "./spin/style/*.less", - "style": "./spin/style/index.min.css" + "./spin/style/*": { + "less": "./spin/style/*.less", + "style": "./spin/style/index.min.css" }, "./statistic/style/*": { - "less": "./statistic/style/*.less", - "style": "./statistic/style/index.min.css" + "less": "./statistic/style/*.less", + "style": "./statistic/style/index.min.css" }, - "./steps/style/*": { - "less": "./steps/style/*.less", - "style": "./steps/style/index.min.css" + "./steps/style/*": { + "less": "./steps/style/*.less", + "style": "./steps/style/index.min.css" }, "./switch/style/*": { - "less": "./switch/style/*.less", - "style": "./switch/style/index.min.css" + "less": "./switch/style/*.less", + "style": "./switch/style/index.min.css" }, - "./table/style/*": { - "less": "./table/style/*.less", - "style": "./table/style/index.min.css" + "./table/style/*": { + "less": "./table/style/*.less", + "style": "./table/style/index.min.css" }, "./tabs/style/*": { - "less": "./tabs/style/*.less", - "style": "./tabs/style/index.min.css" + "less": "./tabs/style/*.less", + "style": "./tabs/style/index.min.css" }, - "./tag/style/*": { - "less": "./tag/style/*.less", - "style": "./tag/style/index.min.css" + "./tag/style/*": { + "less": "./tag/style/*.less", + "style": "./tag/style/index.min.css" }, "./time-picker/style/*": { - "less": "./time-picker/style/*.less", - "style": "./time-picker/style/index.min.css" + "less": "./time-picker/style/*.less", + "style": "./time-picker/style/index.min.css" }, - "./timeline/style/*": { - "less": "./timeline/style/*.less", - "style": "./timeline/style/index.min.css" + "./timeline/style/*": { + "less": "./timeline/style/*.less", + "style": "./timeline/style/index.min.css" }, "./tooltip/style/*": { - "less": "./tooltip/style/*.less", - "style": "./tooltip/style/index.min.css" + "less": "./tooltip/style/*.less", + "style": "./tooltip/style/index.min.css" }, - "./transfer/style/*": { - "less": "./transfer/style/*.less", - "style": "./transfer/style/index.min.css" + "./transfer/style/*": { + "less": "./transfer/style/*.less", + "style": "./transfer/style/index.min.css" }, - "./tree/style/*": { - "less": "./tree/style/*.less", - "style": "./tree/style/index.min.css" + "./tree/style/*": { + "less": "./tree/style/*.less", + "style": "./tree/style/index.min.css" }, "./tree-select/style/*": { - "less": "./tree-select/style/*.less", - "style": "./tree-select/style/index.min.css" + "less": "./tree-select/style/*.less", + "style": "./tree-select/style/index.min.css" }, "./tree-view/style/*": { - "less": "./tree-view/style/*.less", - "style": "./tree-view/style/index.min.css" + "less": "./tree-view/style/*.less", + "style": "./tree-view/style/index.min.css" }, "./typography/style/*": { - "less": "./typography/style/*.less", - "style": "./typography/style/index.min.css" + "less": "./typography/style/*.less", + "style": "./typography/style/index.min.css" }, - "./upload/style/*": { - "less": "./upload/style/*.less", - "style": "./upload/style/index.min.css" + "./upload/style/*": { + "less": "./upload/style/*.less", + "style": "./upload/style/index.min.css" }, - "./water-mark/style/*": { - "less": "./water-mark/style/*.less", - "style": "./water-mark/style/index.min.css" + "./water-mark/style/*": { + "less": "./water-mark/style/*.less", + "style": "./water-mark/style/index.min.css" } } } diff --git a/components/version/version.ts b/components/version/version.ts index 749923ada7..df8ef2bae1 100644 --- a/components/version/version.ts +++ b/components/version/version.ts @@ -5,4 +5,4 @@ import { Version } from '@angular/core'; -export const VERSION = new Version('16.1.0'); +export const VERSION = new Version('16.2.0'); diff --git a/docs/changelog.en-US.md b/docs/changelog.en-US.md index 589d9beadb..47ffaff881 100755 --- a/docs/changelog.en-US.md +++ b/docs/changelog.en-US.md @@ -13,6 +13,57 @@ timeline: true * Major version release is not included in this schedule for breaking change and new features. --- +## 16.2.0 + +`2023-09-18` + +### Bug Fixes + +* **list:** fix the bug that synchrone action item are not displayed in the item ([#7958](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7958)) ([3b6bdec](https://github.com/NG-ZORRO/ng-zorro-antd/commit/3b6bdecef32ee4d9bb14491b617870733cfd9553)) +* **tree:** fix nz-tree-node keep dragging class with nzBeforeDrop ([#8015](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8015)) ([2d0b3f7](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2d0b3f71490e38f8512285f81fcf3baa8f6eb4db)) +* **button:** fix add class ant-btn-icon-only([#7631](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7631)) ([#7678](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7678)) ([7470ed6](https://github.com/NG-ZORRO/ng-zorro-antd/commit/7470ed66e1651d753fa43e197a4ab0d548744885)) +* **cascader:** customize the option title to undefined ([#8011](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8011)) ([10003db](https://github.com/NG-ZORRO/ng-zorro-antd/commit/10003db77b9bda21772733c41b3c503ee85d5c81)), closes [#8006](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8006) +* **core:** resolve CSP errors ([#8059](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8059)) ([295b333](https://github.com/NG-ZORRO/ng-zorro-antd/commit/295b333774990a420c39ba67912598dafd2f1842)) +* **cron-expression:** clear console warnings ([#7926](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7926)) ([b358345](https://github.com/NG-ZORRO/ng-zorro-antd/commit/b358345c14746501e47d7e73dffe41d32b9ab118)) +* **date-picker:** fix code comment ([#7991](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7991)) ([8b6b653](https://github.com/NG-ZORRO/ng-zorro-antd/commit/8b6b653547d92a27079c27b3ef7e68df68a4f5fd)) +* **i18n:** update zh_TW.ts ([#7901](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7901)) ([9bfce45](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9bfce45a37a9c50aafbcaf96a8db9450bc2c5bf1)) +* **message:** clean up DOM after usage ([#7965](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7965)) ([71ead99](https://github.com/NG-ZORRO/ng-zorro-antd/commit/71ead99aa781e50f3c896107f5b668b9a2cea767)), closes [#7772](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7772) +* **message:** fix the z-index of overlay ([#8081](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8081)) ([b1d2095](https://github.com/NG-ZORRO/ng-zorro-antd/commit/b1d20953eda23c9dcb4f74530621cf9cf1a33e45)) +* **notification:** don't create new messageId for update ([#8000](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8000)) ([e240264](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e240264796dfd3a8692efcb92178688b78d0b69f)) +* **qrcode:** optimize demo display and nzPadding value ([#8020](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8020)) ([078aaf9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/078aaf91335d2d9fa085d06a792ddd49c17948e0)) +* **table:** remove empty space in custom columns ([#8022](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8022)) ([15e244c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/15e244cc954cab1186d33006c7915f34d92e4d6d)) +* **time-picker:** modelChange trigger twice ([#7902](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7902)) ([74c13a4](https://github.com/NG-ZORRO/ng-zorro-antd/commit/74c13a49f92a263a05a34af63f6a2b71a554078e)) +* **tree-view:** re-rendering fix ([#8035](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8035)) ([68cb4b2](https://github.com/NG-ZORRO/ng-zorro-antd/commit/68cb4b2d25d3bc149e4f8e80c030a16db75959c2)) +* **tree:** remove console.log ([#8019](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8019)) ([fa0312a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/fa0312a4c68b26902ca28ed974754599b17b2d8a)) +* **watermark:** removing the watermark fails to redraw ([#8012](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8012)) ([030318e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/030318e82725d7650c98bf0ec06d2b23df16d9f0)) +* **showcase:** ui bug in rtl mode inside the doc site ([#8063](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8063)) ([d57b7da](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d57b7dac5817cb1de9de9edda2343a6089854fff)) + + +### Features + +* add provide function ([#7952](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7952)) ([150c6ca](https://github.com/NG-ZORRO/ng-zorro-antd/commit/150c6cab4636fa9daa1e892d27b894c6b7381b35)) +* **cascader:** support for load options with observable ([#8048](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8048)) ([1436f21](https://github.com/NG-ZORRO/ng-zorro-antd/commit/1436f212130041bec03d6f2d2d7f5591dff04b7a)) +* **color-picker:** add color-picker component ([#8013](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8013)) ([8439704](https://github.com/NG-ZORRO/ng-zorro-antd/commit/843970459fdb18dfa0ddc861d02e6c21e87c12b4)) +* **cron-expression:** add Unit Testing ([#7993](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7993)) ([605e969](https://github.com/NG-ZORRO/ng-zorro-antd/commit/605e969013cf48a29f4786765cf6c6da9f10643a)) +* **cron-expression:** support nzDisabled && nzBorderless ([#7992](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7992)) ([6d31bde](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6d31bde3ef1f43cc145d2009afcf90931e96a731)) +* **dropdown:** close context menu on escape ([#7915](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7915)) ([6d0032e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6d0032ededc140a017c01158ae76402a86c7b334)) +* **dropdown:** improve `NzContextMenuService#create()` ([#7768](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7768)) ([9b3e6cb](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9b3e6cba852d4a782d15311c910b747a3bbc4d02)) +* **form:** support form label wrap ([#7892](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7892)) ([37391de](https://github.com/NG-ZORRO/ng-zorro-antd/commit/37391de29afdd3126dbbdcae6ca3ba2e637fd596)) +* **input:** hide stepper for type number ([#8003](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8003)) ([0f3aed5](https://github.com/NG-ZORRO/ng-zorro-antd/commit/0f3aed599874e0d1c2786f2d14fec52128afbec8)) +* **modal:** Remove nzComponentParams in v16 ([#7930](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7930)) ([baab16c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/baab16c497902f0cbf2668fb061ac8d40ffd18b2)) +* **qrcode:** padding & background color for qrcode ([#8001](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8001)) ([718ba29](https://github.com/NG-ZORRO/ng-zorro-antd/commit/718ba2943c7c7e12c8526e52e8806955d3fb0504)) +* **resizable:** add direction parameter in NzResizeEvent ([#7987](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7987)) ([4143473](https://github.com/NG-ZORRO/ng-zorro-antd/commit/41434734ffe839f3ed71bd19486a5f76adc20463)) +* **resizable:** support for multiple cursor types ([#8042](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8042)) ([e564714](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e56471423142d71ce9117707f7240c83f6fe44e5)) +* **table:** support display and sorting of custom table columns ([#7966](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7966)) ([d26870f](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d26870f9ffd3f5122e95246a24587c739b04fd8a)) + + +### Performance Improvements + +* **select:** ability to pass nzKey to nz-option ([#8033](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8033)) ([e94da4e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e94da4eddd663a1e7a5e9e6e0781f1a6da59f1c7)) +* **select:** remove unused types ([#7850](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7850)) ([71c2138](https://github.com/NG-ZORRO/ng-zorro-antd/commit/71c2138ce28e07539784d8fb228adf122ed13a33)) +* **tabs:** need add .ant-tabs-tab class reduce css computing time consuming([#7935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7935)) ([#7936](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7936)) ([198644a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/198644a09ac828c4e9b208799c8be1a57cd8ce86)) + + ## 16.1.0 `2023-07-16` diff --git a/docs/changelog.zh-CN.md b/docs/changelog.zh-CN.md index e421b43857..fd65e98b68 100755 --- a/docs/changelog.zh-CN.md +++ b/docs/changelog.zh-CN.md @@ -13,6 +13,57 @@ timeline: true * 主版本号:含有破坏性更新和新特性,不在发布周期内。 --- +## 16.2.0 + +`2023-09-18` + +### Bug Fixes + +* **list:** 修复同步操作项不显示在项目中的问题 ([#7958](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7958)) ([3b6bdec](https://github.com/NG-ZORRO/ng-zorro-antd/commit/3b6bdecef32ee4d9bb14491b617870733cfd9553)) +* **tree:** 修复 `nzBeforeDrop` 拖拽样式不消失问题 ([#8015](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8015)) ([2d0b3f7](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2d0b3f71490e38f8512285f81fcf3baa8f6eb4db)) +* **button:** 添加 `ant-btn-icon-only` class ([#7631](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7631)) ([#7678](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7678)) ([7470ed6](https://github.com/NG-ZORRO/ng-zorro-antd/commit/7470ed66e1651d753fa43e197a4ab0d548744885)) +* **cascader:** 修复自定义已选项后会出现 title undefined 问题 ([#8011](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8011)) ([10003db](https://github.com/NG-ZORRO/ng-zorro-antd/commit/10003db77b9bda21772733c41b3c503ee85d5c81)), closes [#8006](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8006) +* **core:** 修复 CSP 问题 ([#8059](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8059)) ([295b333](https://github.com/NG-ZORRO/ng-zorro-antd/commit/295b333774990a420c39ba67912598dafd2f1842)) +* **cron-expression:** 清除 console 警告 ([#7926](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7926)) ([b358345](https://github.com/NG-ZORRO/ng-zorro-antd/commit/b358345c14746501e47d7e73dffe41d32b9ab118)) +* **date-picker:** 更新代码注释 ([#7991](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7991)) ([8b6b653](https://github.com/NG-ZORRO/ng-zorro-antd/commit/8b6b653547d92a27079c27b3ef7e68df68a4f5fd)) +* **i18n:** 更新国际化文案 ([#7901](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7901)) ([9bfce45](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9bfce45a37a9c50aafbcaf96a8db9450bc2c5bf1)) +* **message:** 关闭后清理 DOM ([#7965](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7965)) ([71ead99](https://github.com/NG-ZORRO/ng-zorro-antd/commit/71ead99aa781e50f3c896107f5b668b9a2cea767)), closes [#7772](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7772) +* **message:** 修复 `overlay` 的 `z-index` ([#8081](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8081)) ([b1d2095](https://github.com/NG-ZORRO/ng-zorro-antd/commit/b1d20953eda23c9dcb4f74530621cf9cf1a33e45)) +* **notification:** 更新操作不创建新的 `messageId` ([#8000](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8000)) ([e240264](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e240264796dfd3a8692efcb92178688b78d0b69f)) +* **qrcode:** 优化 demo 样式 ([#8020](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8020)) ([078aaf9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/078aaf91335d2d9fa085d06a792ddd49c17948e0)) +* **table:** 自定义列移除空格 ([#8022](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8022)) ([15e244c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/15e244cc954cab1186d33006c7915f34d92e4d6d)) +* **time-picker:** 修复 `modelChange` 触发两次问题 ([#7902](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7902)) ([74c13a4](https://github.com/NG-ZORRO/ng-zorro-antd/commit/74c13a49f92a263a05a34af63f6a2b71a554078e)) +* **tree-view:** 修复重复渲染问题 ([#8035](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8035)) ([68cb4b2](https://github.com/NG-ZORRO/ng-zorro-antd/commit/68cb4b2d25d3bc149e4f8e80c030a16db75959c2)) +* **tree:** 移除 console ([#8019](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8019)) ([fa0312a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/fa0312a4c68b26902ca28ed974754599b17b2d8a)) +* **watermark:** 修复重绘问题 ([#8012](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8012)) ([030318e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/030318e82725d7650c98bf0ec06d2b23df16d9f0)) +* **showcase:** 修复 `rtl` 模式的样式问题 ([#8063](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8063)) ([d57b7da](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d57b7dac5817cb1de9de9edda2343a6089854fff)) + + +### Features + +* **core:** 支持 `provide` 使用方式 ([#7952](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7952)) ([150c6ca](https://github.com/NG-ZORRO/ng-zorro-antd/commit/150c6cab4636fa9daa1e892d27b894c6b7381b35)) +* **cascader:** 支持 `observable` 加载数据 ([#8048](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8048)) ([1436f21](https://github.com/NG-ZORRO/ng-zorro-antd/commit/1436f212130041bec03d6f2d2d7f5591dff04b7a)) +* **color-picker:** 支持颜色选择器组件 ([#8013](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8013)) ([8439704](https://github.com/NG-ZORRO/ng-zorro-antd/commit/843970459fdb18dfa0ddc861d02e6c21e87c12b4)) +* **cron-expression:** 新增单元测试 ([#7993](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7993)) ([605e969](https://github.com/NG-ZORRO/ng-zorro-antd/commit/605e969013cf48a29f4786765cf6c6da9f10643a)) +* **cron-expression:** 支持 `nzDisabled` && `nzBorderless` 属性 ([#7992](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7992)) ([6d31bde](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6d31bde3ef1f43cc145d2009afcf90931e96a731)) +* **dropdown:** close context menu on escape ([#7915](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7915)) ([6d0032e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6d0032ededc140a017c01158ae76402a86c7b334)) +* **dropdown:** 优化 `NzContextMenuService#create()` ([#7768](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7768)) ([9b3e6cb](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9b3e6cba852d4a782d15311c910b747a3bbc4d02)) +* **form:** 支持 `label wrap` ([#7892](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7892)) ([37391de](https://github.com/NG-ZORRO/ng-zorro-antd/commit/37391de29afdd3126dbbdcae6ca3ba2e637fd596)) +* **input:** `number` 类型支持隐藏步骤 ([#8003](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8003)) ([0f3aed5](https://github.com/NG-ZORRO/ng-zorro-antd/commit/0f3aed599874e0d1c2786f2d14fec52128afbec8)) +* **modal:** 移除 `nzComponentParams` 过期属性 ([#7930](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7930)) ([baab16c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/baab16c497902f0cbf2668fb061ac8d40ffd18b2)) +* **qrcode:** 支持新特性 ([#8001](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8001)) ([718ba29](https://github.com/NG-ZORRO/ng-zorro-antd/commit/718ba2943c7c7e12c8526e52e8806955d3fb0504)) +* **resizable:** `NzResizeEvent` 暴露 `direction` ([#7987](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7987)) ([4143473](https://github.com/NG-ZORRO/ng-zorro-antd/commit/41434734ffe839f3ed71bd19486a5f76adc20463)) +* **resizable:** 支持更多鼠标类型 ([#8042](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8042)) ([e564714](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e56471423142d71ce9117707f7240c83f6fe44e5)) +* **table:** 支持自定义展示列 ([#7966](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7966)) ([d26870f](https://github.com/NG-ZORRO/ng-zorro-antd/commit/d26870f9ffd3f5122e95246a24587c739b04fd8a)) + + +### Performance Improvements + +* **select:** 支持传递 `nzKey` ([#8033](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8033)) ([e94da4e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e94da4eddd663a1e7a5e9e6e0781f1a6da59f1c7)) +* **select:** 移除不必要的类型 ([#7850](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7850)) ([71c2138](https://github.com/NG-ZORRO/ng-zorro-antd/commit/71c2138ce28e07539784d8fb228adf122ed13a33)) +* **tabs:** 添加 `.ant-tabs-tab` 样式以减少 css 计算消耗 ([#7935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7935)) ([#7936](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7936)) ([198644a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/198644a09ac828c4e9b208799c8be1a57cd8ce86)) + + ## 16.1.0 `2023-07-16`