diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2a26c683f1a..56e5184a8bd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0](https://github.com/haoziqaq/varlet/compare/v1.3.5...v1.4.0) (2021-05-19)
+
+
+### Bug Fixes
+
+* **slider:** fix error method ([6e1774f](https://github.com/haoziqaq/varlet/commit/6e1774fa57f805027603b2b2c3ed5be08067ea91))
+* **snackbar:** add install method of snackbar component ([0b403cc](https://github.com/haoziqaq/varlet/commit/0b403cccfb53685488c45ecf86aedd58b96f1553))
+* **type:** fix error type of snackbar ([430e382](https://github.com/haoziqaq/varlet/commit/430e3828a68e595f049599231a36b379dfa81a37))
+* **types:** fix snackbar option type ([a04588e](https://github.com/haoziqaq/varlet/commit/a04588e7f1c181670681024ede8e038471185f1f))
+* **ui/button:** fix button block style to class ([433633c](https://github.com/haoziqaq/varlet/commit/433633cf82e1adccb542b69e04ad7a458884a313))
+
+
+### Features
+
+* 添加form组件单元测试 ([93420c1](https://github.com/haoziqaq/varlet/commit/93420c1d344e906d5a7f5ec7a91bc4ece82d40f5))
+
+
+
+
+
## [1.3.5](https://github.com/haoziqaq/varlet/compare/v1.3.4...v1.3.5) (2021-05-14)
diff --git a/lerna.json b/lerna.json
index 828ac82fa66..e79e35fbdf0 100644
--- a/lerna.json
+++ b/lerna.json
@@ -15,5 +15,5 @@
"ignoreChanges": [
"**/*.md"
],
- "version": "1.3.5"
+ "version": "1.4.0"
}
diff --git a/packages/varlet-cli/CHANGELOG.md b/packages/varlet-cli/CHANGELOG.md
index 5178ebb9602..e882b6f941b 100644
--- a/packages/varlet-cli/CHANGELOG.md
+++ b/packages/varlet-cli/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0](https://github.com/haoziqaq/varlet/compare/v1.3.5...v1.4.0) (2021-05-19)
+
+**Note:** Version bump only for package @varlet/cli
+
+
+
+
+
## [1.3.5](https://github.com/haoziqaq/varlet/compare/v1.3.4...v1.3.5) (2021-05-14)
**Note:** Version bump only for package @varlet/cli
diff --git a/packages/varlet-cli/package.json b/packages/varlet-cli/package.json
index 6259f4d4664..e1b4c45fda7 100644
--- a/packages/varlet-cli/package.json
+++ b/packages/varlet-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@varlet/cli",
- "version": "1.3.5",
+ "version": "1.4.0",
"description": "cli of varlet",
"bin": {
"varlet-cli": "./lib/index.js"
@@ -37,7 +37,7 @@
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@varlet/markdown-loader": "^1.0.0",
- "@varlet/ui": "^1.3.5",
+ "@varlet/ui": "^1.4.0",
"@vue/compiler-sfc": "^3.0.7",
"@vue/test-utils": "^2.0.0-rc.6",
"autoprefixer": "9",
diff --git a/packages/varlet-ui/CHANGELOG.md b/packages/varlet-ui/CHANGELOG.md
index d7a8acb56ec..7eb13b48bdb 100644
--- a/packages/varlet-ui/CHANGELOG.md
+++ b/packages/varlet-ui/CHANGELOG.md
@@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0](https://github.com/haoziqaq/varlet/compare/v1.3.5...v1.4.0) (2021-05-19)
+
+
+### Bug Fixes
+
+* **slider:** fix error method ([6e1774f](https://github.com/haoziqaq/varlet/commit/6e1774fa57f805027603b2b2c3ed5be08067ea91))
+* **snackbar:** add install method of snackbar component ([0b403cc](https://github.com/haoziqaq/varlet/commit/0b403cccfb53685488c45ecf86aedd58b96f1553))
+* **type:** fix error type of snackbar ([430e382](https://github.com/haoziqaq/varlet/commit/430e3828a68e595f049599231a36b379dfa81a37))
+* **types:** fix snackbar option type ([a04588e](https://github.com/haoziqaq/varlet/commit/a04588e7f1c181670681024ede8e038471185f1f))
+* **ui/button:** fix button block style to class ([433633c](https://github.com/haoziqaq/varlet/commit/433633cf82e1adccb542b69e04ad7a458884a313))
+
+
+### Features
+
+* 添加form组件单元测试 ([93420c1](https://github.com/haoziqaq/varlet/commit/93420c1d344e906d5a7f5ec7a91bc4ece82d40f5))
+
+
+
+
+
## [1.3.5](https://github.com/haoziqaq/varlet/compare/v1.3.4...v1.3.5) (2021-05-14)
diff --git a/packages/varlet-ui/package.json b/packages/varlet-ui/package.json
index 11e7e950dae..31dde425569 100644
--- a/packages/varlet-ui/package.json
+++ b/packages/varlet-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@varlet/ui",
- "version": "1.3.5",
+ "version": "1.4.0",
"description": "A material like components library",
"module": "es/index.js",
"main": "cjs/index.js",
diff --git a/packages/varlet-ui/src/button/Button.vue b/packages/varlet-ui/src/button/Button.vue
index bf0e1b21403..0b3dd2de0fe 100644
--- a/packages/varlet-ui/src/button/Button.vue
+++ b/packages/varlet-ui/src/button/Button.vue
@@ -4,7 +4,7 @@
class="var-button var--box"
:class="[
`var-button--${size}`,
- block ? 'var--flex' : 'var--inline-flex',
+ block ? 'var--flex var-button--block' : 'var--inline-flex',
disabled ? 'var-button--disabled' : null,
text ? `var-button--text-${type}` : `var-button--${type}`,
text ? 'var-button--text' : 'var-elevation--1',
@@ -15,7 +15,6 @@
:style="{
color: textColor,
background: color,
- width: block ? '100%' : null,
}"
:disabled="disabled"
@click="handleClick"
diff --git a/packages/varlet-ui/src/button/__tests__/__snapshots__/index.spec.js.snap b/packages/varlet-ui/src/button/__tests__/__snapshots__/index.spec.js.snap
index 8f75ef5e655..0f74ecbdd46 100644
--- a/packages/varlet-ui/src/button/__tests__/__snapshots__/index.spec.js.snap
+++ b/packages/varlet-ui/src/button/__tests__/__snapshots__/index.spec.js.snap
@@ -127,7 +127,7 @@ exports[`test button example 1`] = `
大型按钮
-块级按钮