diff --git a/CHANGELOG.md b/CHANGELOG.md index 082bb6a84cf..df7e1196f95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.23.10](https://github.com/haoziqaq/varlet/compare/v1.23.9...v1.23.10) (2021-12-01) + + +### Bug Fixes + +* **ui/icon:** fix vertical align to bottom ([b2c4da9](https://github.com/haoziqaq/varlet/commit/b2c4da9a1a4df2ee43b27b005576f3523e7a4e5f)) + + + + + ## [1.23.9](https://github.com/haoziqaq/varlet/compare/v1.23.8...v1.23.9) (2021-11-25) diff --git a/lerna.json b/lerna.json index 9fa799fdc8b..6780dc8cb27 100644 --- a/lerna.json +++ b/lerna.json @@ -21,5 +21,5 @@ "ignoreChanges": [ "**/*.md" ], - "version": "1.23.9" + "version": "1.23.10" } diff --git a/packages/varlet-ui/CHANGELOG.md b/packages/varlet-ui/CHANGELOG.md index 875f1f11f51..3e4a449b110 100644 --- a/packages/varlet-ui/CHANGELOG.md +++ b/packages/varlet-ui/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.23.10](https://github.com/haoziqaq/varlet/compare/v1.23.9...v1.23.10) (2021-12-01) + + +### Bug Fixes + +* **ui/icon:** fix vertical align to bottom ([b2c4da9](https://github.com/haoziqaq/varlet/commit/b2c4da9a1a4df2ee43b27b005576f3523e7a4e5f)) + + + + + ## [1.23.9](https://github.com/haoziqaq/varlet/compare/v1.23.8...v1.23.9) (2021-11-25) diff --git a/packages/varlet-ui/package.json b/packages/varlet-ui/package.json index 3a491e9566e..86029437c24 100644 --- a/packages/varlet-ui/package.json +++ b/packages/varlet-ui/package.json @@ -1,6 +1,6 @@ { "name": "@varlet/ui", - "version": "1.23.9", + "version": "1.23.10", "description": "A material like components library", "module": "es/index.js", "main": "lib/index.js", diff --git a/packages/varlet-ui/src/icon/icon.less b/packages/varlet-ui/src/icon/icon.less index 1cb63379dd8..75c51cdb4e8 100644 --- a/packages/varlet-ui/src/icon/icon.less +++ b/packages/varlet-ui/src/icon/icon.less @@ -12,6 +12,7 @@ align-items: center; font-size: var(--icon-size); color: inherit; + vertical-align: bottom; &--shrinking { transform: scale(0); diff --git a/packages/varlet-ui/src/utils/jest.ts b/packages/varlet-ui/src/utils/jest.ts index 07b726e098a..0b9a2e12523 100644 --- a/packages/varlet-ui/src/utils/jest.ts +++ b/packages/varlet-ui/src/utils/jest.ts @@ -208,14 +208,14 @@ export function mockStubs() { } } -export function mockConsole(method: keyof Console, fn = () => {}) { +export function mockConsole(method: keyof Console, fn: any = () => {}) { const originMethod = console[method] console[method] = fn return { mockRestore() { - console[method] = originMethod + console[method] = originMethod as any }, } }