diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 96e36e416f1..ed12e2b41e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,19 +6,28 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - name: Checkout + uses: actions/checkout@v2 + + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 6 + + - name: Set node version to 14 + uses: actions/setup-node@v2 with: node-version: '14.x' + cache: 'pnpm' - name: Install dependencies - run: yarn bootstrap + run: pnpm bootstrap - name: Run linter - run: yarn lint + run: pnpm lint - name: Run test cases - run: cd packages/varlet-ui && yarn test + run: cd packages/varlet-ui && pnpm test - name: Report coverage to Codecov uses: codecov/codecov-action@v1 diff --git a/.github/workflows/deploy-site-sync-gitee.yaml b/.github/workflows/deploy-site-sync-gitee.yaml index c6b2c64dfe7..0c275a84491 100644 --- a/.github/workflows/deploy-site-sync-gitee.yaml +++ b/.github/workflows/deploy-site-sync-gitee.yaml @@ -8,16 +8,25 @@ jobs: deploy-site-sync-gitee: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - name: Checkout + uses: actions/checkout@v2 + + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 6 + + - name: Set node version to 14 + uses: actions/setup-node@v2 with: node-version: '14.x' + cache: 'pnpm' - name: Install dependencies - run: yarn bootstrap + run: pnpm bootstrap - name: Build site - run: cd packages/varlet-ui && yarn build + run: cd packages/varlet-ui && pnpm build - name: Deploy site uses: JamesIves/github-pages-deploy-action@4.1.1 diff --git a/.github/workflows/preview-build.yaml b/.github/workflows/preview-build.yaml index 81195cde381..56ee7e589d1 100644 --- a/.github/workflows/preview-build.yaml +++ b/.github/workflows/preview-build.yaml @@ -8,16 +8,25 @@ jobs: preview-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - name: Checkout + uses: actions/checkout@v2 + + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 6 + + - name: Set node version to 14 + uses: actions/setup-node@v2 with: node-version: '14.x' + cache: 'pnpm' - name: Install dependencies - run: yarn bootstrap + run: pnpm bootstrap - name: Build site - run: cd packages/varlet-ui && yarn build + run: cd packages/varlet-ui && pnpm build - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/.husky/commit-msg b/.husky/commit-msg index e8511eaeaf6..d15d5fc68ac 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install commitlint --edit $1 +npx --no-install varlet-cli commit-lint $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index d37daa075e2..0a3a6c49f5b 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install lint-staged +npx --no-install lint-staged --allow-empty diff --git a/.prettierignore b/.prettierignore index 4eb8f29e455..d1761ea8fef 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,5 +9,9 @@ packages/varlet-ui/es/** packages/varlet-ui/umd/** packages/varlet-ui/site/** packages/varlet-ui/public/** +packages/varlet-ui/.varlet/** +packages/varlet-ui/types/global.d.ts *.md +pnpm-lock.yaml +pnpm-workspace.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 9153dbbe593..3c6df97e49f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,36 @@ -# Change Log +## [1.24.3](https://github.com/haoziqaq/varlet/compare/1.24.2...1.24.3) (2021-12-30) -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [1.24.1](https://github.com/haoziqaq/varlet/compare/v1.24.0...v1.24.1) (2021-12-27) + +## [1.24.2](https://github.com/haoziqaq/varlet/compare/v1.24.1...1.24.2) (2021-12-30) ### Bug Fixes -* **ui/elevation:** resolve shadow cannot display ([227b2db](https://github.com/haoziqaq/varlet/commit/227b2dbab2884a8914ef5a530c18dfffff010323)) +* **cli:** fix release tag ([5341cfc](https://github.com/haoziqaq/varlet/commit/5341cfc4496d5b5222a2599ee494546483dcd5a4)) +* **cli:** remove unuseful import ([21e8b74](https://github.com/haoziqaq/varlet/commit/21e8b741ac4249d413a16d465ea5dd73e83114cd)) +* **compile:** move config to entry function to aviod generate unnecessary folder ([f99b050](https://github.com/haoziqaq/varlet/commit/f99b050a71c605ea907f70f855850469b652ff5c)) +* **config:** add parameter to control generate folder ([6a17558](https://github.com/haoziqaq/varlet/commit/6a175585e4f5070b0a312de403c5dbbf9e26c08d)) +* **create:** move config to entry function to aviod generate unnecessary folder ([333cfae](https://github.com/haoziqaq/varlet/commit/333cfae36313a4c8364471e076a2d6fb3b7e1818)) +* **date-picker:** fix eslint error ([5c9b12c](https://github.com/haoziqaq/varlet/commit/5c9b12cc4a06f7a877a3061d8f51cd6bc44c7a1f)) +* modify component.spec ([9f5f022](https://github.com/haoziqaq/varlet/commit/9f5f02245fea94fa3e45248391ea24fd4d5c81d2)) +* modify home.zh-CN ([3664a6d](https://github.com/haoziqaq/varlet/commit/3664a6d8d72b6545391ec7ff425ba2878bd106ee)) +* modify openSourceGuide.zh-CN ([cf263ed](https://github.com/haoziqaq/varlet/commit/cf263ed55cfafd0d9339f7fc2697e096b6b1e3cc)) +* remove yarn usage in script ([40d5fd2](https://github.com/haoziqaq/varlet/commit/40d5fd283de8ad598088c2d09949f979a5dfaff6)) +* **ui/elevation:** resolve shadow cannot display ([f8dedba](https://github.com/haoziqaq/varlet/commit/f8dedbaeb5e7af080c5f91d4501747f43ca893fa)) +* **ui/menu:** modify the implementation of sloving offsetHeight error ([9871022](https://github.com/haoziqaq/varlet/commit/987102260cf30279306914075b3f82b6083d4406)) +* **ui/menu:** reslove error of getting offsetHeight when alignment is set as bottom ([d05a7f9](https://github.com/haoziqaq/varlet/commit/d05a7f94d5a939205ade2e7df48ba1f7e6ac2a67)) +* **ui/swipe:** fix stopAutoplay function ([7cad9d5](https://github.com/haoziqaq/varlet/commit/7cad9d5fcb3b0eb4747423d44dc4935616181fdf)) +* **ui/swipe:** fix stopAutoplay function ([b2390fb](https://github.com/haoziqaq/varlet/commit/b2390fb52b13e4227f0436bb8cc6b4645cc73300)) + + + +## [1.24.1](https://github.com/haoziqaq/varlet/compare/v1.24.0...v1.24.1) (2021-12-27) + +### Bug Fixes +* **ui/elevation:** resolve shadow cannot display ([227b2db](https://github.com/haoziqaq/varlet/commit/227b2dbab2884a8914ef5a530c18dfffff010323)) @@ -20,9 +40,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes * **card:** add word-break for description ([38d7427](https://github.com/haoziqaq/varlet/commit/38d74270eed5bc71b4f821f5433604b7a62eecbc)) -* **cli:** fix icon vertical-align ([f015092](https://github.com/haoziqaq/varlet/commit/f0150923b9d33c6f61c9810887ea294015a35621)) * **cli/site:** adjust z-index of the sidebar and code toolbar for site ([5b81918](https://github.com/haoziqaq/varlet/commit/5b8191822305e5a485003223d3109a6554b33251)) +* **cli:** fix icon vertical-align ([f015092](https://github.com/haoziqaq/varlet/commit/f0150923b9d33c6f61c9810887ea294015a35621)) * **d.ts:** fix pack declare lost after build ([d7df27e](https://github.com/haoziqaq/varlet/commit/d7df27e439a2b28fa4a9cfb867129611f2a268b3)) +* fix test fail ([78f20ec](https://github.com/haoziqaq/varlet/commit/78f20ec46bea357fd12c1da68b02ce7dc9cc2918)) * **loading:** add transition for overlay ([2a62eaa](https://github.com/haoziqaq/varlet/commit/2a62eaa8eed6a5ff77222b48932b39655744ffae)) * **loading:** expose marigin css variable ([313d232](https://github.com/haoziqaq/varlet/commit/313d232b363981ce94c11e419ace904bfc2b246d)) * **placeholder:** text-overflow to ellipsis ([7c586d2](https://github.com/haoziqaq/varlet/commit/7c586d2f7e751a12993d06e46d460ac25de24b22)) @@ -34,7 +55,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **types:** fix prompts that could not find a declaration file when import translation file ([e17c6d2](https://github.com/haoziqaq/varlet/commit/e17c6d2c430f1b4601875e98ca92d075a1de5813)) * **ui/input, select:** fix placeholder animation and var--ellipsis class ([458ab30](https://github.com/haoziqaq/varlet/commit/458ab307652328ace71dc0523323422f7ebdbaac)) * **ui/swipe:** do not use initialIndex when resize ([46e997e](https://github.com/haoziqaq/varlet/commit/46e997e8f014432149f409e40545592757ae4484)) -* fix test fail ([78f20ec](https://github.com/haoziqaq/varlet/commit/78f20ec46bea357fd12c1da68b02ce7dc9cc2918)) ### Features @@ -49,8 +69,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.11](https://github.com/haoziqaq/varlet/compare/v1.23.10...v1.23.11) (2021-12-10) @@ -63,8 +81,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.10](https://github.com/haoziqaq/varlet/compare/v1.23.9...v1.23.10) (2021-12-01) @@ -74,8 +90,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.9](https://github.com/haoziqaq/varlet/compare/v1.23.8...v1.23.9) (2021-11-25) @@ -85,18 +99,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.8](https://github.com/haoziqaq/varlet/compare/v1.23.7...v1.23.8) (2021-11-24) ### Bug Fixes * **cli:** add ts ignore to generate routes ([3363578](https://github.com/haoziqaq/varlet/commit/3363578eb2763282fd3c274ab75374cbff94c92b)) -* **d.ts:** repair type ([b925e7e](https://github.com/haoziqaq/varlet/commit/b925e7ea63c4154b3c26cb711fde4a7382633c80)) * compatible dayjs for nuxt ([0b3b540](https://github.com/haoziqaq/varlet/commit/0b3b540694e13130686773d9bcd3c3c4d21da496)) - - +* **d.ts:** repair type ([b925e7e](https://github.com/haoziqaq/varlet/commit/b925e7ea63c4154b3c26cb711fde4a7382633c80)) @@ -116,8 +126,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.6](https://github.com/haoziqaq/varlet/compare/v1.23.5...v1.23.6) (2021-11-22) @@ -127,27 +135,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.5](https://github.com/haoziqaq/varlet/compare/v1.23.4...v1.23.5) (2021-11-21) ### Bug Fixes +* **cli/compile:** add commonjs bundle ([4a424d4](https://github.com/haoziqaq/varlet/commit/4a424d4c066f7de69cbf561a5bc9279862739637)) +* **cli/compile:** add match commonjs script extname function ([2b5b1bd](https://github.com/haoziqaq/varlet/commit/2b5b1bde5e1c16d4e58ce2a100ae4a1a3cc428ce)) +* **cli/compile:** fix compile module readdir ([9c3ad08](https://github.com/haoziqaq/varlet/commit/9c3ad08410009e50b288f033b8fdbe10a8c01160)) * **cli:** add module moduleCompatible option in varlet.config.js ([0b1d95f](https://github.com/haoziqaq/varlet/commit/0b1d95fc740a225240ee3f28e06015f4538b2304)) * **cli:** expose lib folder ([2a8848a](https://github.com/haoziqaq/varlet/commit/2a8848a6f064aa91d56875ba467c46da79589a79)) * **cli:** fix commonjs compiler ([c5c2b12](https://github.com/haoziqaq/varlet/commit/c5c2b12f163bed130b3c6c0ee0eb805fe4a015f1)) * **cli:** fix inline css plugin ([3e8b7b4](https://github.com/haoziqaq/varlet/commit/3e8b7b4e5489bc67dd38f8787477f07e2a13e7ac)) -* **cli/compile:** add commonjs bundle ([4a424d4](https://github.com/haoziqaq/varlet/commit/4a424d4c066f7de69cbf561a5bc9279862739637)) -* **cli/compile:** add match commonjs script extname function ([2b5b1bd](https://github.com/haoziqaq/varlet/commit/2b5b1bde5e1c16d4e58ce2a100ae4a1a3cc428ce)) -* **cli/compile:** fix compile module readdir ([9c3ad08](https://github.com/haoziqaq/varlet/commit/9c3ad08410009e50b288f033b8fdbe10a8c01160)) -* **ui:** dayjs compatible ([3f2289b](https://github.com/haoziqaq/varlet/commit/3f2289bdf39e82529df94fea6fec9dd7739a5c96)) +* compatible nuxt ([d681176](https://github.com/haoziqaq/varlet/commit/d6811763867f44731544c8c218e5368896aab6b1)) * **ui/list:** support nuxt ([dd7a71e](https://github.com/haoziqaq/varlet/commit/dd7a71ee37e2eadbacc6febd22949ef664997cb3)) * **ui/popup,input:** support nuxt ([def81ef](https://github.com/haoziqaq/varlet/commit/def81ef821a8ce679287702316bd98ca363bc7f4)) * **ui/sticky:** support nuxt ([29c24d6](https://github.com/haoziqaq/varlet/commit/29c24d61a0e91ceb948ff5a3e1bc6eb4c52b416a)) -* compatible nuxt ([d681176](https://github.com/haoziqaq/varlet/commit/d6811763867f44731544c8c218e5368896aab6b1)) - - +* **ui:** dayjs compatible ([3f2289b](https://github.com/haoziqaq/varlet/commit/3f2289bdf39e82529df94fea6fec9dd7739a5c96)) @@ -160,8 +164,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.3](https://github.com/haoziqaq/varlet/compare/v1.23.2...v1.23.3) (2021-11-20) @@ -171,8 +173,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.23.2](https://github.com/haoziqaq/varlet/compare/v1.23.0...v1.23.2) (2021-11-20) @@ -182,16 +182,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.23.0](https://github.com/haoziqaq/varlet/compare/v1.22.10...v1.23.0) (2021-11-19) ### Bug Fixes +* add assert for example lang ([7ce8bae](https://github.com/haoziqaq/varlet/commit/7ce8baefeaaf0f10d2638cb4927ccbf570b28006)) * **cli:** bump typescript and commander version ([af893e9](https://github.com/haoziqaq/varlet/commit/af893e970b71ddc46365187c94ecba244513ef5a)) * **cli:** error when building with vite ([6e60e8f](https://github.com/haoziqaq/varlet/commit/6e60e8f9b225fb0978a517f120589bdc8d5026b4)) * **cli:** error when building with vite ([e786702](https://github.com/haoziqaq/varlet/commit/e78670201ae31d8bdfd710cfbbf9c794da0c0aa2)) +* code styles ([79f48c2](https://github.com/haoziqaq/varlet/commit/79f48c260f0424dfeccc659b4e77b68a2cdfe09b)) +* code styles ([776da40](https://github.com/haoziqaq/varlet/commit/776da4099f4a458cc4b19f4e80a037b8d7737086)) * **collapse:** modify border style ([9e0f2f3](https://github.com/haoziqaq/varlet/commit/9e0f2f3a885828757cbe1d9d2af1d21c323133ec)) * **date-picker:** add nullish coalescing ([9c3914b](https://github.com/haoziqaq/varlet/commit/9c3914bede52371483c05505475f67e4045570dd)) * **date-picker:** add nullish coalescing ([8644d88](https://github.com/haoziqaq/varlet/commit/8644d8841587e6831c8175a5e4596b92f23d08d6)) @@ -199,51 +200,48 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **doc:** progress bar should not use unmount function ([0587103](https://github.com/haoziqaq/varlet/commit/05871038e42a50f38fdc2a201107d786431691cd)) * **fix(ui/space):add space.d.ts for space:** fix(ui/space):add space.d.ts for space ([29fe945](https://github.com/haoziqaq/varlet/commit/29fe945119a83c549ab13058343f72f07466781e)) * **fix(ui/space):add space.d.ts for space:** fix(ui/space):add space.d.ts for space ([1fd3fac](https://github.com/haoziqaq/varlet/commit/1fd3fac9288e78dfec2f62754773426c03f63feb)) +* import dark themes of form related components ([32e6f08](https://github.com/haoziqaq/varlet/commit/32e6f08b9fab066be249158ef5d1c646ab536d57)) * **picker:** optimize dark mode ([c7304b3](https://github.com/haoziqaq/varlet/commit/c7304b37128096cc5a4b86e275a07de0015f32b7)) * **site:** modify the width of nav ([af0bfbe](https://github.com/haoziqaq/varlet/commit/af0bfbe8557182fa23083b8a4060625b18132c92)) * **site:** support bg-color for dark mode of nav button ([b8417fe](https://github.com/haoziqaq/varlet/commit/b8417fe0873b8ecea4bcef21068aa0328ec32f88)) * **slider:** modify error color of track ([64f8cf3](https://github.com/haoziqaq/varlet/commit/64f8cf33b32aeeeceab54f9610067f0794b0b066)) * **types:** fix eslint error ([91e181d](https://github.com/haoziqaq/varlet/commit/91e181da75538c78640abf7a60a31bdbc9fc8156)) +* **types:** fix eslint error ([fa1d696](https://github.com/haoziqaq/varlet/commit/fa1d6961b20f2a3a3083b530f6629715a5099ae5)) * **ui,cli:** move dark theme import to example ([579e461](https://github.com/haoziqaq/varlet/commit/579e461a620c2a7e416193b43368b885ec02b862)) * **ui/icon:** transition property all to transform ([860d8ce](https://github.com/haoziqaq/varlet/commit/860d8cebdf4a09992080b7fa8ef599a0d47be3f8)) * **ui/select, darkmode:** fix select disabled color lose, fix darkmode color ([8cfc654](https://github.com/haoziqaq/varlet/commit/8cfc654df9f14724f0fd5261b0e90a2faed59b78)) * **ui/space:** add common css ([5b439a8](https://github.com/haoziqaq/varlet/commit/5b439a8afe0267ba9f118d205fa56e23d434d504)) -* add assert for example lang ([7ce8bae](https://github.com/haoziqaq/varlet/commit/7ce8baefeaaf0f10d2638cb4927ccbf570b28006)) -* code styles ([79f48c2](https://github.com/haoziqaq/varlet/commit/79f48c260f0424dfeccc659b4e77b68a2cdfe09b)) -* code styles ([776da40](https://github.com/haoziqaq/varlet/commit/776da4099f4a458cc4b19f4e80a037b8d7737086)) -* import dark themes of form related components ([32e6f08](https://github.com/haoziqaq/varlet/commit/32e6f08b9fab066be249158ef5d1c646ab536d57)) -* **types:** fix eslint error ([fa1d696](https://github.com/haoziqaq/varlet/commit/fa1d6961b20f2a3a3083b530f6629715a5099ae5)) * **ui/tab-item:** tab-item example style ([c4f2ba4](https://github.com/haoziqaq/varlet/commit/c4f2ba48f73d87012cb769bbccc93accca296985)) * **ui/tab,tab-item,tabs,tabs-items:** suppotr darkmode & remove nerver used vaiable `tab-color` ([681619d](https://github.com/haoziqaq/varlet/commit/681619d25d2a971ed73f6a7d16b892d6d3d751b0)) ### Features +* **checkbox:** add dark mode ([cee8c2c](https://github.com/haoziqaq/varlet/commit/cee8c2c098c9f7cb26b232397f14d62a4bd5d311)) * **cli/generators:** support dark mode ([4795af8](https://github.com/haoziqaq/varlet/commit/4795af8c25cc155eb1fe7cd8d8a6b23b45379989)) -* **divider:** support dark mode ([fa7e5ab](https://github.com/haoziqaq/varlet/commit/fa7e5ab58803285bc5cd13f7bc41477c5ba2ef4f)) -* **picker:** picker support dark mode ([2d404d7](https://github.com/haoziqaq/varlet/commit/2d404d7c779d2df292bc6e6fe5521249740b1526)) -* **ui/space:** add new component name is space ([6f6e5e5](https://github.com/haoziqaq/varlet/commit/6f6e5e524cb2c13ff4ff24a5d2afa4ffe5ab759f)) +* **collapse:** add dark mode ([9c9f505](https://github.com/haoziqaq/varlet/commit/9c9f505ed4fd909c0a7c4ab19eae27cabb9b25e3)) * darkmode for time-picker&date-picker&card ([6878326](https://github.com/haoziqaq/varlet/commit/6878326b4f0915eec6a1eeee1e6b93f9ad1c85af)) * darkmode for time-picker&date-picker&card ([beaefdb](https://github.com/haoziqaq/varlet/commit/beaefdbf6f5131e7fce8f51d5605d1309f2fa0c2)) * darkmode for time-picker&date-picker&card ([df633e9](https://github.com/haoziqaq/varlet/commit/df633e97c2529ddd9789c1e61a06e9b28c4cf19c)) * darkmode for time-picker&date-picker&card ([f372a92](https://github.com/haoziqaq/varlet/commit/f372a9235a468a1e662dfd3002d72e7e008481ac)) -* merge remote ([523b9f8](https://github.com/haoziqaq/varlet/commit/523b9f8ec63928088a8f635c07c1014cfc148251)) -* merge remote ([4abf933](https://github.com/haoziqaq/varlet/commit/4abf9332110db8081a21b6888fb1a7552922eb22)) -* **collapse:** add dark mode ([9c9f505](https://github.com/haoziqaq/varlet/commit/9c9f505ed4fd909c0a7c4ab19eae27cabb9b25e3)) +* **divider:** support dark mode ([fa7e5ab](https://github.com/haoziqaq/varlet/commit/fa7e5ab58803285bc5cd13f7bc41477c5ba2ef4f)) * **form&rate&counter:** add watchthemes ([3a2cd90](https://github.com/haoziqaq/varlet/commit/3a2cd9037b72d745f0616f84ae2f976817d8b8cb)) -* merge remote ([f50006c](https://github.com/haoziqaq/varlet/commit/f50006c905d9f20bd1e33301205c45a3fa027329)) -* **checkbox:** add dark mode ([cee8c2c](https://github.com/haoziqaq/varlet/commit/cee8c2c098c9f7cb26b232397f14d62a4bd5d311)) * **icons:** add new icons ([ffd80da](https://github.com/haoziqaq/varlet/commit/ffd80da571adcb37474f32ef4d3220307598e69c)) * **index-bar:** add dark mode ([32f30af](https://github.com/haoziqaq/varlet/commit/32f30af7581227a3bb622f389e965d9054bab64c)) * **input:** add dark mode ([befd63c](https://github.com/haoziqaq/varlet/commit/befd63cb3a8d05bfd753e32e70601ded6b47f6df)) * **locale:** add types and add optional chaining for date-picker ([654d60f](https://github.com/haoziqaq/varlet/commit/654d60f4bb8c70204db05e6352ec1d42619dbe90)) * **locale:** add types and add optional chaining for date-picker ([140e2ba](https://github.com/haoziqaq/varlet/commit/140e2bafe01bd48e07620c07264e72cef60d45f7)) * **menu:** add dark-mode ([e2807f6](https://github.com/haoziqaq/varlet/commit/e2807f6f45ee3331acdd3b9ba4180b16096f0114)) +* merge remote ([523b9f8](https://github.com/haoziqaq/varlet/commit/523b9f8ec63928088a8f635c07c1014cfc148251)) +* merge remote ([4abf933](https://github.com/haoziqaq/varlet/commit/4abf9332110db8081a21b6888fb1a7552922eb22)) +* merge remote ([f50006c](https://github.com/haoziqaq/varlet/commit/f50006c905d9f20bd1e33301205c45a3fa027329)) +* **picker:** picker support dark mode ([2d404d7](https://github.com/haoziqaq/varlet/commit/2d404d7c779d2df292bc6e6fe5521249740b1526)) * **pull-refresh&switch:** add dark mode ([5936817](https://github.com/haoziqaq/varlet/commit/5936817b80c526c724a8b0f732196f436e5d1f17)) * **radio:** add dark mode ([1a1fc57](https://github.com/haoziqaq/varlet/commit/1a1fc5705e7481e7c3568267b9b01ee4f83902c1)) * **select:** add dark mode ([151bfc0](https://github.com/haoziqaq/varlet/commit/151bfc0eb3c417794f6c8caef1954c021bf10bb1)) * **steps/pagination/table:** support dark mode ([ad04ea7](https://github.com/haoziqaq/varlet/commit/ad04ea7ce3ec4ebf96605ac6db297daa8b7099fd)) * **ui/skeleton:** adaptatiton darkmode for skeleton ([3ee30f6](https://github.com/haoziqaq/varlet/commit/3ee30f6712e881d0751cc7a0ea09f4f6e638cd61)) +* **ui/space:** add new component name is space ([6f6e5e5](https://github.com/haoziqaq/varlet/commit/6f6e5e524cb2c13ff4ff24a5d2afa4ffe5ab759f)) * **ui/space:** var-space complete ([1d13b68](https://github.com/haoziqaq/varlet/commit/1d13b688aab5a6b6d9ee1339e566d5fab68adca6)) * **ui/space:** var-space complete ([9af956c](https://github.com/haoziqaq/varlet/commit/9af956c190733302474586d5e7f0710bd88b2a15)) * **uploader:** 添加onRemove条件删除 ([ad44d1e](https://github.com/haoziqaq/varlet/commit/ad44d1e2b8d6514178970e15a47e656394316756)) @@ -257,8 +255,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.10](https://github.com/haoziqaq/varlet/compare/v1.22.9...v1.22.10) (2021-11-03) @@ -270,8 +266,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.9](https://github.com/haoziqaq/varlet/compare/v1.22.8...v1.22.9) (2021-10-31) @@ -281,8 +275,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.8](https://github.com/haoziqaq/varlet/compare/v1.22.7...v1.22.8) (2021-10-31) @@ -295,8 +287,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.7](https://github.com/haoziqaq/varlet/compare/v1.22.6...v1.22.7) (2021-10-22) @@ -311,8 +301,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.6](https://github.com/haoziqaq/varlet/compare/v1.22.4...v1.22.6) (2021-10-18) @@ -320,13 +308,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **cli/jest:** add root config check ([052a338](https://github.com/haoziqaq/varlet/commit/052a338c9860b6d7d92e652dea0efdd8fbe41217)) * **cli/site:** optimize site style ([aaec99e](https://github.com/haoziqaq/varlet/commit/aaec99ee9abcf6807e5629e5f07a7475452b6b5a)) +* fix types ([f9a372f](https://github.com/haoziqaq/varlet/commit/f9a372fb86268fa59903ef4b0c3c519cdefcf722)) * **slider/types:** fix template types ([31da191](https://github.com/haoziqaq/varlet/commit/31da19127549971732fb5f28289ee52060232a7c)) * **snackbar/types:** fix types of related loading props ([0e8d4f4](https://github.com/haoziqaq/varlet/commit/0e8d4f4230e40e5e5f431a7246cac38984b2c381)) -* **ui:** fix types ([ead022f](https://github.com/haoziqaq/varlet/commit/ead022f620f05993229682f304060530ce856f7e)) * **ui/checkbox, radio:** fix prop types ([219cab8](https://github.com/haoziqaq/varlet/commit/219cab8f17d2fbedc7c186a2e61191a8676f779d)) * **ui/pagination, cli/site:** fix size and total cannot be centered vertically in the pagination, ad ([ad3eb81](https://github.com/haoziqaq/varlet/commit/ad3eb81269cdb005bb41a8c8127bb07bdc62ff91)) -* fix types ([f9a372f](https://github.com/haoziqaq/varlet/commit/f9a372fb86268fa59903ef4b0c3c519cdefcf722)) * **ui/types:** fix types ([c87784d](https://github.com/haoziqaq/varlet/commit/c87784d4c8e32584a7a245854365259f95849fbe)) +* **ui:** fix types ([ead022f](https://github.com/haoziqaq/varlet/commit/ead022f620f05993229682f304060530ce856f7e)) ### Reverts @@ -335,8 +323,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.4](https://github.com/haoziqaq/varlet/compare/v1.22.3...v1.22.4) (2021-10-14) @@ -346,8 +332,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.3](https://github.com/haoziqaq/varlet/compare/v1.22.2...v1.22.3) (2021-10-10) @@ -358,8 +342,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.2](https://github.com/haoziqaq/varlet/compare/v1.22.1...v1.22.2) (2021-10-08) @@ -369,8 +351,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.22.1](https://github.com/haoziqaq/varlet/compare/v1.22.0...v1.22.1) (2021-10-08) @@ -384,46 +364,42 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.22.0](https://github.com/haoziqaq/varlet/compare/v1.21.0...v1.22.0) (2021-10-08) ### Bug Fixes * **back-top:** cover the style of button ([b5046ae](https://github.com/haoziqaq/varlet/commit/b5046ae8e2b1c90e1583718d989e9c62528eadbb)) +* **cli/gen:** add default themes ([2d68e91](https://github.com/haoziqaq/varlet/commit/2d68e91c2fc83d1db4063ae576144815e24f17e5)) +* **cli/site:** increase app-bar vars weight ([b3e8d15](https://github.com/haoziqaq/varlet/commit/b3e8d150b843c603b090d8e2da3ec05e02f2a32e)) * **cli:** fix dev server logger ([4e9f81d](https://github.com/haoziqaq/varlet/commit/4e9f81dabf854961e3bd99c445a0a8566b26db66)) * **cli:** fix dev server port log error ([2e82806](https://github.com/haoziqaq/varlet/commit/2e82806817f23e4da2f4d80e4200c3da5a4dc439)) * **cli:** remove unuseful code and opt dev logger ([18da4b5](https://github.com/haoziqaq/varlet/commit/18da4b590bf4194581d10edff8f4b1a052ff2b69)) -* **cli/gen:** add default themes ([2d68e91](https://github.com/haoziqaq/varlet/commit/2d68e91c2fc83d1db4063ae576144815e24f17e5)) -* **cli/site:** increase app-bar vars weight ([b3e8d15](https://github.com/haoziqaq/varlet/commit/b3e8d150b843c603b090d8e2da3ec05e02f2a32e)) +* fix component path name ([bbd8b1f](https://github.com/haoziqaq/varlet/commit/bbd8b1fbd62bdc4a084eb53f63f3d896f7ca4c1a)) * **input:** text-color of disabled in safari ([dd33256](https://github.com/haoziqaq/varlet/commit/dd33256c87f3d708583694e12f17ea19961812a3)) * **pagination:** add keydown event to switch page ([414decb](https://github.com/haoziqaq/varlet/commit/414decb43bd8009776111a0bf84ad8b967ccb38e)) * **pagination:** fix current and size not update ([463d891](https://github.com/haoziqaq/varlet/commit/463d8916960c8c9d1a32555f0a405c4b073d0502)) * **pagination:** remove padding ([83d214a](https://github.com/haoziqaq/varlet/commit/83d214ad80423b67829b9cedf2f338f5ffe4ab25)) +* remove console ([3ee3548](https://github.com/haoziqaq/varlet/commit/3ee35486f9ad760e7463a7fe981edcf29eb336be)) * **ui/button:** remove line-height ([c0d2422](https://github.com/haoziqaq/varlet/commit/c0d2422e1a8735f7acf0459c2c4a2d8ba20bd4e2)) -* **ui/ripple:** add style variables ([551a666](https://github.com/haoziqaq/varlet/commit/551a66696c2e87fdbc2fe9b04f89350affc64d8a)) * **ui/ripple, ui/menu:** opt ripple animation, fix menu left error on transition animation running ([0f714de](https://github.com/haoziqaq/varlet/commit/0f714de1c40af46116fd07d7717525c2c63d0470)) +* **ui/ripple:** add style variables ([551a666](https://github.com/haoziqaq/varlet/commit/551a66696c2e87fdbc2fe9b04f89350affc64d8a)) * **ui/skeleton:** add avatar-border-radius css vars ([ddf259f](https://github.com/haoziqaq/varlet/commit/ddf259fab66bb0630e78c48fccd63429b87d2f0f)) * **ui/table:** add table-tbody-td-font-size variable ([861217e](https://github.com/haoziqaq/varlet/commit/861217e49fc1594d66182a076c648bef4d462942)) -* fix component path name ([bbd8b1f](https://github.com/haoziqaq/varlet/commit/bbd8b1fbd62bdc4a084eb53f63f3d896f7ca4c1a)) -* remove console ([3ee3548](https://github.com/haoziqaq/varlet/commit/3ee35486f9ad760e7463a7fe981edcf29eb336be)) ### Features * **cli:** add preview command that can preview document site for production ([3fea1f1](https://github.com/haoziqaq/varlet/commit/3fea1f1fed8a2f0fdb0d2fd5e7880531335a6711)) +* **cli:** migrate the build tool to vite ([c0eb94c](https://github.com/haoziqaq/varlet/commit/c0eb94c3c82683abb49b8561e181e75aa843aac4)) +* pagination ([62b27a8](https://github.com/haoziqaq/varlet/commit/62b27a8fde6c647cd072093ca0398348498a56e2)) * **pagination:** add declaration file ([30fd32b](https://github.com/haoziqaq/varlet/commit/30fd32b9f5af842c7fd187e5aed9535d0eb5d195)) * **table:** add declaration file ([30072d3](https://github.com/haoziqaq/varlet/commit/30072d3ccd2f6cddcf7ddbc734d85266489d9d32)) -* pagination ([62b27a8](https://github.com/haoziqaq/varlet/commit/62b27a8fde6c647cd072093ca0398348498a56e2)) -* **cli:** migrate the build tool to vite ([c0eb94c](https://github.com/haoziqaq/varlet/commit/c0eb94c3c82683abb49b8561e181e75aa843aac4)) * **ui/pagination:** ui/pagination ([3f8e24c](https://github.com/haoziqaq/varlet/commit/3f8e24c075c31853b2a6de94bcd02b4bb4195d2c)) * **ui/table:** ui/table ([abd3f7d](https://github.com/haoziqaq/varlet/commit/abd3f7da5001902870ad7a322cfa5122c41ed395)) - - # [1.21.0](https://github.com/haoziqaq/varlet/compare/v1.20.0...v1.21.0) (2021-09-22) @@ -442,8 +418,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.20.0](https://github.com/haoziqaq/varlet/compare/v1.19.0...v1.20.0) (2021-09-15) @@ -453,19 +427,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.19.0](https://github.com/haoziqaq/varlet/compare/v1.18.1...v1.19.0) (2021-09-13) ### Bug Fixes +* **cli/gen:** localize static resources ([80f9097](https://github.com/haoziqaq/varlet/commit/80f9097fde3c5e18f3ac162979b45bdb0147ffe4)) * **cli:** add public folder to linter ignore ([d10a799](https://github.com/haoziqaq/varlet/commit/d10a7996efe9963a4f3c7247b1c5d2f2baac2502)) * **cli:** fix prepare scripts to husky ([d0ff087](https://github.com/haoziqaq/varlet/commit/d0ff087834a5b2c4e1cacd6cb6e7e7ad0412aeda)) * **cli:** fix the parameter passing method of webpack-dev-server ([0d88843](https://github.com/haoziqaq/varlet/commit/0d88843af5b15b59b27321f61f2701e562d4f8af)) * **cli:** optimize site style ([f789d77](https://github.com/haoziqaq/varlet/commit/f789d7795a86736ad4f67f758759a17283e7dcdb)) * **cli:** optimize site style ([9287d7b](https://github.com/haoziqaq/varlet/commit/9287d7b004f9b6508d065f62bb3d2e7b370499f5)) -* **cli/gen:** localize static resources ([80f9097](https://github.com/haoziqaq/varlet/commit/80f9097fde3c5e18f3ac162979b45bdb0147ffe4)) * **doc:** fix typo ([6371e4e](https://github.com/haoziqaq/varlet/commit/6371e4e7e53fa03589ac99247ab2abec8330e5c5)) @@ -476,8 +448,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.18.1](https://github.com/haoziqaq/varlet/compare/v1.18.0...v1.18.1) (2021-09-10) @@ -487,15 +457,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.18.0](https://github.com/haoziqaq/varlet/compare/v1.17.4...v1.18.0) (2021-09-10) ### Bug Fixes -* **cli:** babel configuration-related path optimization ([b79db48](https://github.com/haoziqaq/varlet/commit/b79db48df980fb192e184239d8cf7b4fde252733)) * **cli/gen:** remove unuseful config ([2085b39](https://github.com/haoziqaq/varlet/commit/2085b39e384b9d9a66d50591dc1ca3d784292bd8)) +* **cli:** babel configuration-related path optimization ([b79db48](https://github.com/haoziqaq/varlet/commit/b79db48df980fb192e184239d8cf7b4fde252733)) ### Features @@ -504,8 +472,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.17.4](https://github.com/haoziqaq/varlet/compare/v1.17.3...v1.17.4) (2021-09-09) @@ -515,8 +481,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.17.3](https://github.com/haoziqaq/varlet/compare/v1.17.2...v1.17.3) (2021-09-09) @@ -526,8 +490,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.17.2](https://github.com/haoziqaq/varlet/compare/v1.17.1...v1.17.2) (2021-09-09) @@ -537,8 +499,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.17.1](https://github.com/haoziqaq/varlet/compare/v1.17.0...v1.17.1) (2021-09-09) @@ -548,8 +508,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.17.0](https://github.com/haoziqaq/varlet/compare/v1.16.3...v1.17.0) (2021-09-09) @@ -564,21 +522,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.16.3](https://github.com/haoziqaq/varlet/compare/v1.16.2...v1.16.3) (2021-09-09) ### Bug Fixes +* **cli, markdown-loader:** optimize generators, markdown-loader lock highlight version ([9b3e3bb](https://github.com/haoziqaq/varlet/commit/9b3e3bba6e0c67fa53df23718fddfb8e9f09990f)) +* **cli,markdown-loader:** markdown-loader add style option, linter ignore generators ([7ca8844](https://github.com/haoziqaq/varlet/commit/7ca884425eb94df89995ab502a491a26bbefc9d4)) +* **cli/compile-types:** fix the component name of types ([4d999ee](https://github.com/haoziqaq/varlet/commit/4d999ee876e90b2c22dd93a0d17da8c181307378)) * **cli:** add site theme config property ([9bf4945](https://github.com/haoziqaq/varlet/commit/9bf49450a9b6082d5e384ae78d4f8bace568d209)) * **cli:** fix generators progress color ([7e62811](https://github.com/haoziqaq/varlet/commit/7e62811e5fa8fa4d87ac7d0bf98cd510f5900eb6)) * **cli:** handle sfc style block's lang non-existent ([96c8551](https://github.com/haoziqaq/varlet/commit/96c85513937e97eebd5c43575e96b689ae3cf3df)) * **cli:** optimized Baidu statistics, add varlet-cli-app generators template, fix cli depend version ([703517e](https://github.com/haoziqaq/varlet/commit/703517eddf8842093897800e4a940906bb632c5f)) * **cli:** themes add progress color config ([f804915](https://github.com/haoziqaq/varlet/commit/f80491508fb80bd7c15c9e014eac78f95430dc57)) -* **cli, markdown-loader:** optimize generators, markdown-loader lock highlight version ([9b3e3bb](https://github.com/haoziqaq/varlet/commit/9b3e3bba6e0c67fa53df23718fddfb8e9f09990f)) -* **cli,markdown-loader:** markdown-loader add style option, linter ignore generators ([7ca8844](https://github.com/haoziqaq/varlet/commit/7ca884425eb94df89995ab502a491a26bbefc9d4)) -* **cli/compile-types:** fix the component name of types ([4d999ee](https://github.com/haoziqaq/varlet/commit/4d999ee876e90b2c22dd93a0d17da8c181307378)) ### Performance Improvements @@ -587,8 +543,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.16.2](https://github.com/haoziqaq/varlet/compare/v1.16.1...v1.16.2) (2021-09-01) @@ -599,8 +553,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.16.1](https://github.com/haoziqaq/varlet/compare/v1.16.0...v1.16.1) (2021-08-31) @@ -610,15 +562,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.16.0](https://github.com/haoziqaq/varlet/compare/v1.15.0...v1.16.0) (2021-08-30) ### Bug Fixes -* **cli:** bump version ([3da0433](https://github.com/haoziqaq/varlet/commit/3da04335751955cc0596fddecdcd671add0177de)) * **cli/eslint:** add ext ([6fa3971](https://github.com/haoziqaq/varlet/commit/6fa39716015036c891aaff9cc3452b044baa0eda)) +* **cli:** bump version ([3da0433](https://github.com/haoziqaq/varlet/commit/3da04335751955cc0596fddecdcd671add0177de)) * **compile:** remove unnecessary camelize method ([e9fd509](https://github.com/haoziqaq/varlet/commit/e9fd509fb07e29be47f11333e595a852bdc1971c)) * **site:** remove import ([2b6c499](https://github.com/haoziqaq/varlet/commit/2b6c4996275dba15ce7bc0a8a83cd7a5f1e7ba8c)) @@ -629,8 +579,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.15.0](https://github.com/haoziqaq/varlet/compare/v1.14.2...v1.15.0) (2021-08-13) @@ -640,8 +588,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.14.2](https://github.com/haoziqaq/varlet/compare/v1.14.1...v1.14.2) (2021-08-12) @@ -651,17 +597,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.14.1](https://github.com/haoziqaq/varlet/compare/v1.14.0...v1.14.1) (2021-08-04) ### Bug Fixes -* **ui/image-preview:** tap can't trigger close ([ecf7afe](https://github.com/haoziqaq/varlet/commit/ecf7afec2392678bcf65b306cdbccf23d85997c3)) * optimize style of slider example ([8940bb6](https://github.com/haoziqaq/varlet/commit/8940bb6a712c11efca2f3eb5fd5761923db62dd3)) - - +* **ui/image-preview:** tap can't trigger close ([ecf7afe](https://github.com/haoziqaq/varlet/commit/ecf7afec2392678bcf65b306cdbccf23d85997c3)) @@ -679,14 +621,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.13.5](https://github.com/haoziqaq/varlet/compare/v1.13.4...v1.13.5) (2021-07-31) -**Note:** Version bump only for package root - - - ## [1.13.4](https://github.com/haoziqaq/varlet/compare/v1.13.3...v1.13.4) (2021-07-31) @@ -705,8 +641,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.13.3](https://github.com/haoziqaq/varlet/compare/v1.13.1...v1.13.3) (2021-07-31) @@ -716,8 +650,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.13.1](https://github.com/haoziqaq/varlet/compare/v1.13.0...v1.13.1) (2021-07-31) @@ -727,8 +659,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.13.0](https://github.com/haoziqaq/varlet/compare/v1.12.0...v1.13.0) (2021-07-30) @@ -753,9 +683,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - -# [1.12.0](https://github.com/haoziqaq/varlet/compare/v1.11.0...v1.12.0) (2021-07-29) +# [1.12.0](https://github.com/haoziqaq/varlet/compare/v1.11.1...v1.12.0) (2021-07-29) ### Bug Fixes @@ -768,10 +696,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features +* **cli/site:** support hmr ([5ff00d6](https://github.com/haoziqaq/varlet/commit/5ff00d61ec0d1a332557c87142d5afb04f4a6fdb)) * **cli:** add babel-presets ([1c5825d](https://github.com/haoziqaq/varlet/commit/1c5825d907115b4c1b017c6fb1747cef7f72d29d)) * **cli:** support jsx tsx ([8d8c946](https://github.com/haoziqaq/varlet/commit/8d8c9466c80cac7820f9268ac7b257c9870e13be)) * **cli:** support jsx tsx ([132fade](https://github.com/haoziqaq/varlet/commit/132fade5a12de1b8c71263ee72aec364564f0f35)) -* **cli/site:** support hmr ([5ff00d6](https://github.com/haoziqaq/varlet/commit/5ff00d61ec0d1a332557c87142d5afb04f4a6fdb)) + ## [1.11.1](https://github.com/haoziqaq/varlet/compare/v1.11.0...v1.11.1) (2021-07-29) @@ -783,8 +712,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.11.0](https://github.com/haoziqaq/varlet/compare/v1.10.0...v1.11.0) (2021-07-28) @@ -800,8 +727,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.10.0](https://github.com/haoziqaq/varlet/compare/v1.9.7...v1.10.0) (2021-07-22) @@ -819,8 +744,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.9.7](https://github.com/haoziqaq/varlet/compare/v1.9.6...v1.9.7) (2021-07-21) @@ -830,8 +753,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.9.6](https://github.com/haoziqaq/varlet/compare/v1.9.5...v1.9.6) (2021-07-20) @@ -842,8 +763,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.9.5](https://github.com/haoziqaq/varlet/compare/v1.9.4...v1.9.5) (2021-07-19) @@ -853,9 +772,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **cli:** fix build error ([27f1947](https://github.com/haoziqaq/varlet/commit/27f19477986c5979784953a2f3ef3c5e7f4fd0f1)) * **cli:** fix eslint pattern ([ae93da1](https://github.com/haoziqaq/varlet/commit/ae93da12af4853bcb42e746d0d89f7fddc7be792)) * **cli:** modify the logic of create route ([d60158a](https://github.com/haoziqaq/varlet/commit/d60158ac5b7ddc13eb9c41f1a8f27bb6f5c26d8f)) -* **ui/button:** button add white-space nowrap ([97626e1](https://github.com/haoziqaq/varlet/commit/97626e19aaca9cbd6b6126901e0962727c24142e)) * modify the logic of create routes ([8c00955](https://github.com/haoziqaq/varlet/commit/8c0095573909db9cd406f8554466f153f39e98b7)) * remove unnecessary code ([578b842](https://github.com/haoziqaq/varlet/commit/578b842d7cdf8e1b71cf54fc3242e1bfb0d34e3d)) +* **ui/button:** button add white-space nowrap ([97626e1](https://github.com/haoziqaq/varlet/commit/97626e19aaca9cbd6b6126901e0962727c24142e)) ### Reverts @@ -864,8 +783,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.9.4](https://github.com/haoziqaq/varlet/compare/v1.9.2...v1.9.4) (2021-07-17) @@ -875,14 +792,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.9.2](https://github.com/haoziqaq/varlet/compare/v1.9.0...v1.9.2) (2021-07-17) -**Note:** Version bump only for package root - - - # [1.9.0](https://github.com/haoziqaq/varlet/compare/v1.8.0...v1.9.0) (2021-07-17) @@ -891,11 +802,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes * adjust the execution position of the remove function ([7fc61de](https://github.com/haoziqaq/varlet/commit/7fc61deb9eca3bf30a4ecf1d37f531d2c1b154e8)) -* **ui/swipe:** fix vertical swipe indicator margin error ([a23a266](https://github.com/haoziqaq/varlet/commit/a23a2664462b5a785e713f29951ed8f7a31b27b8)) * enhance type import ([ae000e5](https://github.com/haoziqaq/varlet/commit/ae000e5755fe3e7618c96a46fa5f3cde89dcb86f)) * remove unnecessary inheritAttrs prop ([91d9503](https://github.com/haoziqaq/varlet/commit/91d95033ed94111c49b7af75713ec7cfd8504a58)) * remove unnecessary inheritAttrs prop and update way of import type ([72522ba](https://github.com/haoziqaq/varlet/commit/72522ba93c2e5c69f3a7e3cd4ee0ee6b8463e107)) * remove unnecessary less import ([a10ee49](https://github.com/haoziqaq/varlet/commit/a10ee49f5aa839f957268f981d156b405fed9f46)) +* **ui/swipe:** fix vertical swipe indicator margin error ([a23a266](https://github.com/haoziqaq/varlet/commit/a23a2664462b5a785e713f29951ed8f7a31b27b8)) ### Features @@ -904,34 +815,30 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.8.0](https://github.com/haoziqaq/varlet/compare/v1.7.1...v1.8.0) (2021-07-02) ### Bug Fixes -* support styleVars keyName ([fa2d4b5](https://github.com/haoziqaq/varlet/commit/fa2d4b58e2cbaec585ccca81c3721a04ffd3ae25)) -* **ui/rate:** fix rate default color of props ([5bca5ea](https://github.com/haoziqaq/varlet/commit/5bca5ea41402960fad1e6f62f4ec42f2053e8580)) * fix the bug of style-provider when update ([0640b4e](https://github.com/haoziqaq/varlet/commit/0640b4e00282edbf9495af8ebadb2a64873d4ea5)) * fix the prop name of style-provider ([36dd315](https://github.com/haoziqaq/varlet/commit/36dd3159581df3a98d78dd6761ed96c418dacda7)) -* 更新类型引入 ([b1636f3](https://github.com/haoziqaq/varlet/commit/b1636f3b94fd5461a4c3f150fbc39a3de0842b0d)) -* **ui/swipe:** fix touchable bug ([1c16e5d](https://github.com/haoziqaq/varlet/commit/1c16e5d28803bc397a7a4d892ed057f3173078c2)) * remove useless code and warning ([9674482](https://github.com/haoziqaq/varlet/commit/96744820a53dba35ef89a79e0d9c79ac7444a04a)) +* support styleVars keyName ([fa2d4b5](https://github.com/haoziqaq/varlet/commit/fa2d4b58e2cbaec585ccca81c3721a04ffd3ae25)) +* **ui/rate:** fix rate default color of props ([5bca5ea](https://github.com/haoziqaq/varlet/commit/5bca5ea41402960fad1e6f62f4ec42f2053e8580)) +* **ui/swipe:** fix touchable bug ([1c16e5d](https://github.com/haoziqaq/varlet/commit/1c16e5d28803bc397a7a4d892ed057f3173078c2)) +* 更新类型引入 ([b1636f3](https://github.com/haoziqaq/varlet/commit/b1636f3b94fd5461a4c3f150fbc39a3de0842b0d)) ### Features +* add style-provider ([d4008ea](https://github.com/haoziqaq/varlet/commit/d4008ea8679e827f954d0dfe4aa6ec559b39f8af)) * **ui/card:** add style provider for card ([a47e7c9](https://github.com/haoziqaq/varlet/commit/a47e7c90ce1f7a18a1d1cd299118240d289192cd)) * **ui/image-preview:** Add a click event to the close-icon button ([2ee89a2](https://github.com/haoziqaq/varlet/commit/2ee89a2ccf414321bc634f0d85cbe9330dab5534)) * **ui/image-preview:** Add an action to determine Scale in handleCloseClick function ([c0f159b](https://github.com/haoziqaq/varlet/commit/c0f159b2d7f6c08915d7ad230a7906416eb97397)) -* add style-provider ([d4008ea](https://github.com/haoziqaq/varlet/commit/d4008ea8679e827f954d0dfe4aa6ec559b39f8af)) * **ui/image-preview:** add new component image-preview prototype ([25a8907](https://github.com/haoziqaq/varlet/commit/25a8907c2173218dc011088bd5d93b8abe581e1b)) - - ## [1.7.1](https://github.com/haoziqaq/varlet/compare/v1.7.0...v1.7.1) (2021-06-19) @@ -943,22 +850,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.7.0](https://github.com/haoziqaq/varlet/compare/v1.6.0...v1.7.0) (2021-06-14) ### Bug Fixes -* **ui/divider:** fix dynamic description ([5a47460](https://github.com/haoziqaq/varlet/commit/5a474608096acedbe8120368d8a3e7c9ea27890c)) -* **ui/divider:** support passing string inset with unit to divider ([5cbd457](https://github.com/haoziqaq/varlet/commit/5cbd45743435c3e1fcd2b1dcbd0662b92ff4240b)) -* fix import path and progress style ([81d1651](https://github.com/haoziqaq/varlet/commit/81d1651ca2a036174c29e98d2aedeb963d17c31d)) * **cli/site:** add hover for lang button ([5ce2822](https://github.com/haoziqaq/varlet/commit/5ce2822d8e1c8c8bd0981cb55d534387e51f6403)) * **date-picker:** add hover style ([a6b4e42](https://github.com/haoziqaq/varlet/commit/a6b4e42bfeb0a93c8d43063ddf6efecfe2048ace)) * **divider/types:** export divider interface ([e01d452](https://github.com/haoziqaq/varlet/commit/e01d452f13767c732fa39ca85b2f264d15de185a)) +* fix import path and progress style ([81d1651](https://github.com/haoziqaq/varlet/commit/81d1651ca2a036174c29e98d2aedeb963d17c31d)) +* **ui/divider:** fix dynamic description ([5a47460](https://github.com/haoziqaq/varlet/commit/5a474608096acedbe8120368d8a3e7c9ea27890c)) * **ui/divider:** fix type declaration ([b8ff9ac](https://github.com/haoziqaq/varlet/commit/b8ff9ac452117e41964bda1d78d4b9a9c5d57a2f)) * **ui/divider:** fix vertical divider ([1aee499](https://github.com/haoziqaq/varlet/commit/1aee499556d5ad80e28a9130ca40f9ec0401db4b)) * **ui/divider:** remove unnecessary type conversion ([792a8aa](https://github.com/haoziqaq/varlet/commit/792a8aa8eacaa1f98e141fad5792eec2f57ccf55)) +* **ui/divider:** support passing string inset with unit to divider ([5cbd457](https://github.com/haoziqaq/varlet/commit/5cbd45743435c3e1fcd2b1dcbd0662b92ff4240b)) * **ui/utils:** support vw vh ([b444ed0](https://github.com/haoziqaq/varlet/commit/b444ed0775fd2b2fea6f250b6f8698c92300b5d1)) * **vscode-extension:** add appbar to siteMap ([9595981](https://github.com/haoziqaq/varlet/commit/9595981e33f0554ee78b60a980a5583180ef472a)) @@ -978,8 +883,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.6.0](https://github.com/haoziqaq/varlet/compare/v1.5.0...v1.6.0) (2021-06-02) @@ -995,8 +898,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.5.0](https://github.com/haoziqaq/varlet/compare/v1.4.9...v1.5.0) (2021-06-02) @@ -1012,22 +913,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.4.9](https://github.com/haoziqaq/varlet/compare/v1.4.8...v1.4.9) (2021-05-31) -**Note:** Version bump only for package root - - - ## [1.4.8](https://github.com/haoziqaq/varlet/compare/v1.4.7...v1.4.8) (2021-05-31) -**Note:** Version bump only for package root - - - ## [1.4.7](https://github.com/haoziqaq/varlet/compare/v1.4.6...v1.4.7) (2021-05-31) @@ -1062,8 +953,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.4.6](https://github.com/haoziqaq/varlet/compare/v1.4.5...v1.4.6) (2021-05-25) @@ -1073,17 +962,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.4.5](https://github.com/haoziqaq/varlet/compare/v1.4.4...v1.4.5) (2021-05-21) ### Bug Fixes -* use ScrollTo method to replace back-top animation ([88b6577](https://github.com/haoziqaq/varlet/commit/88b65773a13eff1b1764a6751fc9d7109ef95e61)) * **ui/tabs:** fix bug of tabs scrolling fail in the safari ([3e96046](https://github.com/haoziqaq/varlet/commit/3e960460069c67a95945819fa238508b218342b1)) - - +* use ScrollTo method to replace back-top animation ([88b6577](https://github.com/haoziqaq/varlet/commit/88b65773a13eff1b1764a6751fc9d7109ef95e61)) @@ -1096,22 +981,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.4.3](https://github.com/haoziqaq/varlet/compare/v1.4.2...v1.4.3) (2021-05-20) -**Note:** Version bump only for package root - - - ## [1.4.2](https://github.com/haoziqaq/varlet/compare/v1.4.1...v1.4.2) (2021-05-20) -**Note:** Version bump only for package root - - - ## [1.4.1](https://github.com/haoziqaq/varlet/compare/v1.4.0...v1.4.1) (2021-05-19) @@ -1124,8 +999,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.4.0](https://github.com/haoziqaq/varlet/compare/v1.3.5...v1.4.0) (2021-05-19) @@ -1144,8 +1017,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.3.5](https://github.com/haoziqaq/varlet/compare/v1.3.4...v1.3.5) (2021-05-14) @@ -1155,17 +1026,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.3.4](https://github.com/haoziqaq/varlet/compare/v1.3.3...v1.3.4) (2021-05-13) ### Bug Fixes -* **ui/select:** fix bug of select blur event can't trigger ([b9918fc](https://github.com/haoziqaq/varlet/commit/b9918fcd08a6805408b18a7e0765213974bde235)) * **ui/select ui/radio:** fix bug of select click event repeat trigger, radio unit test complete ([21e6fcb](https://github.com/haoziqaq/varlet/commit/21e6fcbf9335358022080d0221ad57a76b00a1a2)) - - +* **ui/select:** fix bug of select blur event can't trigger ([b9918fc](https://github.com/haoziqaq/varlet/commit/b9918fcd08a6805408b18a7e0765213974bde235)) @@ -1178,8 +1045,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.3.2](https://github.com/haoziqaq/varlet/compare/v1.3.1...v1.3.2) (2021-05-10) @@ -1190,8 +1055,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.3.1](https://github.com/haoziqaq/varlet/compare/v1.3.0...v1.3.1) (2021-05-08) @@ -1201,15 +1064,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.3.0](https://github.com/haoziqaq/varlet/compare/v1.2.3...v1.3.0) (2021-05-08) ### Bug Fixes -* **index-bar:** remove useless prop and dont trigger click after call scrollTo method ([bba5152](https://github.com/haoziqaq/varlet/commit/bba5152dd4db1bacb1f6c62b28b8705d3c504a3a)) * fix typo ([ffc0ba8](https://github.com/haoziqaq/varlet/commit/ffc0ba85f1f15f8c919c411e81e41e5375500dc9)) +* **index-bar:** remove useless prop and dont trigger click after call scrollTo method ([bba5152](https://github.com/haoziqaq/varlet/commit/bba5152dd4db1bacb1f6c62b28b8705d3c504a3a)) ### Features @@ -1218,14 +1079,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.2.3](https://github.com/haoziqaq/varlet/compare/v1.2.2...v1.2.3) (2021-05-07) -**Note:** Version bump only for package root - - - ## [1.2.2](https://github.com/haoziqaq/varlet/compare/v1.2.1...v1.2.2) (2021-05-06) @@ -1234,10 +1089,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes * **badge:** optimize code and hide icon when dot prop is true ([7246fd3](https://github.com/haoziqaq/varlet/commit/7246fd369e379437c29c6be5c77fdfca113f6799)) -* **types:** vite build typescript error ([cd1a402](https://github.com/haoziqaq/varlet/commit/cd1a4028900ab91bc3aa0692d1f0653ea8f0bdd5)) * fix test example warning ([fb16f71](https://github.com/haoziqaq/varlet/commit/fb16f71f324920b6b40c7281d56062b28205d4e5)) - - +* **types:** vite build typescript error ([cd1a402](https://github.com/haoziqaq/varlet/commit/cd1a4028900ab91bc3aa0692d1f0653ea8f0bdd5)) @@ -1250,8 +1103,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.2.0](https://github.com/haoziqaq/varlet/compare/v1.1.0...v1.2.0) (2021-04-26) @@ -1266,8 +1117,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.1.0](https://github.com/haoziqaq/varlet/compare/v1.0.1...v1.1.0) (2021-04-26) @@ -1284,8 +1133,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [1.0.1](https://github.com/haoziqaq/varlet/compare/v1.0.0...v1.0.1) (2021-04-24) @@ -1295,14 +1142,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [1.0.0](https://github.com/haoziqaq/varlet/compare/v0.13.3...v1.0.0) (2021-04-21) -**Note:** Version bump only for package root - - - ## [0.13.3](https://github.com/haoziqaq/varlet/compare/v0.13.2...v0.13.3) (2021-04-20) @@ -1315,8 +1156,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.13.2](https://github.com/haoziqaq/varlet/compare/v0.13.1...v0.13.2) (2021-04-19) @@ -1327,8 +1166,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.13.1](https://github.com/haoziqaq/varlet/compare/v0.13.0...v0.13.1) (2021-04-19) @@ -1337,10 +1174,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **site:** change logo and back url of mobile ([2709c6c](https://github.com/haoziqaq/varlet/commit/2709c6ca8d084e0360d9014bcadecb074ae2b453)) * **site:** fix the bug of mouseenter trigger ([d2e4b6d](https://github.com/haoziqaq/varlet/commit/d2e4b6d5a98f04986a05296a0c272d2e6706de8d)) * **ui/counter ui/input ui/select:** 修复counter移动端长按touchend失效的问题,修复input select颜色显示的问题 ([a0e6f6a](https://github.com/haoziqaq/varlet/commit/a0e6f6af9889b50aa2a3ea19d6bb9b0ba28da386)) -* **ui/input:** 修复验证错误时光标颜色问题 ([03fc188](https://github.com/haoziqaq/varlet/commit/03fc188bb93c714862cc5531e26a2c23db58ca5e)) * **ui/input ui/select:** 修改input select样式 ([56cc7bf](https://github.com/haoziqaq/varlet/commit/56cc7bfb62fd60475a612872a4049a9308dcddcc)) - - +* **ui/input:** 修复验证错误时光标颜色问题 ([03fc188](https://github.com/haoziqaq/varlet/commit/03fc188bb93c714862cc5531e26a2c23db58ca5e)) @@ -1350,9 +1185,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes * **collapse:** fix wrong style ([6e778f4](https://github.com/haoziqaq/varlet/commit/6e778f47bf470be29c7e0bf3649b9b13e2f20ca5)) -* **index-bar:** fix mount error and remove active prop ([0dcb98f](https://github.com/haoziqaq/varlet/commit/0dcb98fbe9284c8242db8b384e8047651b4913eb)) * fix some wrong style and docs error ([71cd483](https://github.com/haoziqaq/varlet/commit/71cd4836c2fa6c773ef999000b41bb4c4905451d)) * fix wrong z-index of snackbar and prevent touchmove event of pull-refresh example ([3be0b22](https://github.com/haoziqaq/varlet/commit/3be0b226291d87bba5b660d4e9ea6e2b5f3c3ca9)) +* **index-bar:** fix mount error and remove active prop ([0dcb98f](https://github.com/haoziqaq/varlet/commit/0dcb98fbe9284c8242db8b384e8047651b4913eb)) * **rate:** add validator and import component style ([9b76d36](https://github.com/haoziqaq/varlet/commit/9b76d361399119431c910607592a44df837b632e)) * **rate:** fix error data ([e135560](https://github.com/haoziqaq/varlet/commit/e135560b55b30ce9a6363cfb019cd1f961e75745)) * **snackbar:** modify the way of transition ([eb8aada](https://github.com/haoziqaq/varlet/commit/eb8aadaa493b9af4b993f012d8b9874b2d6d2906)) @@ -1361,10 +1196,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features -* **cli/site:** 修改手机样式 自适应高度 ([37029e2](https://github.com/haoziqaq/varlet/commit/37029e2a76fbf6a2995fc4e634c81defe0633fc3)) * **cli/site markdown-loader/:** 修改文档整体风格 ([288a1f8](https://github.com/haoziqaq/varlet/commit/288a1f8e5a6e81e21accd1b2f18082ac2ee4b74e)) - - +* **cli/site:** 修改手机样式 自适应高度 ([37029e2](https://github.com/haoziqaq/varlet/commit/37029e2a76fbf6a2995fc4e634c81defe0633fc3)) @@ -1377,8 +1210,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.12.1](https://github.com/haoziqaq/varlet/compare/v0.12.0...v0.12.1) (2021-04-14) @@ -1388,8 +1219,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [0.12.0](https://github.com/haoziqaq/varlet/compare/v0.11.4...v0.12.0) (2021-04-14) @@ -1399,8 +1228,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.11.4](https://github.com/haoziqaq/varlet/compare/v0.11.3...v0.11.4) (2021-04-11) @@ -1413,8 +1240,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.11.3](https://github.com/haoziqaq/varlet/compare/v0.11.2...v0.11.3) (2021-04-09) @@ -1425,8 +1250,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.11.2](https://github.com/haoziqaq/varlet/compare/v0.11.1...v0.11.2) (2021-04-08) @@ -1436,8 +1259,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.11.1](https://github.com/haoziqaq/varlet/compare/v0.11.0...v0.11.1) (2021-04-08) @@ -1449,8 +1270,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [0.11.0](https://github.com/haoziqaq/varlet/compare/v0.10.7...v0.11.0) (2021-04-07) @@ -1465,8 +1284,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.10.7](https://github.com/haoziqaq/varlet/compare/v0.10.6...v0.10.7) (2021-04-07) @@ -1476,8 +1293,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.10.6](https://github.com/haoziqaq/varlet/compare/v0.10.5...v0.10.6) (2021-04-07) @@ -1487,8 +1302,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.10.5](https://github.com/haoziqaq/varlet/compare/v0.10.4...v0.10.5) (2021-04-07) @@ -1498,14 +1311,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.10.4](https://github.com/haoziqaq/varlet/compare/v0.10.3...v0.10.4) (2021-04-07) -**Note:** Version bump only for package root - - - ## [0.10.3](https://github.com/haoziqaq/varlet/compare/v0.10.2...v0.10.3) (2021-04-07) @@ -1513,11 +1320,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes +* fix the bug of invalid style in build ([56c85f0](https://github.com/haoziqaq/varlet/commit/56c85f06c911379384918faeeb9d5377f2297632)) * **ui/*:** 解决组件依赖css优先级问题 优化所有组件文档排版 ([3791438](https://github.com/haoziqaq/varlet/commit/3791438b9d77e381488047a0a4d74f67f4526c59)) * **ui/docs:** 完善快速开始,按需引入文档 ([0cd23c5](https://github.com/haoziqaq/varlet/commit/0cd23c59e2dcb9394cbdb579ed1c2754bab2426d)) -* fix the bug of invalid style in build ([56c85f0](https://github.com/haoziqaq/varlet/commit/56c85f06c911379384918faeeb9d5377f2297632)) - - @@ -1530,8 +1335,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.10.1](https://github.com/haoziqaq/varlet/compare/v0.10.0...v0.10.1) (2021-04-06) @@ -1541,8 +1344,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [0.10.0](https://github.com/haoziqaq/varlet/compare/v0.9.6...v0.10.0) (2021-04-06) @@ -1557,8 +1358,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.9.6](https://github.com/haoziqaq/varlet/compare/v0.9.5...v0.9.6) (2021-04-06) @@ -1568,8 +1367,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.9.5](https://github.com/haoziqaq/varlet/compare/v0.9.4...v0.9.5) (2021-04-06) @@ -1579,8 +1376,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.9.4](https://github.com/haoziqaq/varlet/compare/v0.9.3...v0.9.4) (2021-04-06) @@ -1590,8 +1385,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.9.3](https://github.com/haoziqaq/varlet/compare/v0.9.2...v0.9.3) (2021-04-06) @@ -1601,8 +1394,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.9.2](https://github.com/haoziqaq/varlet/compare/v0.9.1...v0.9.2) (2021-04-06) @@ -1613,8 +1404,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - ## [0.9.1](https://github.com/haoziqaq/varlet/compare/v0.9.0...v0.9.1) (2021-04-06) @@ -1624,20 +1413,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - # [0.9.0](https://github.com/haoziqaq/varlet/compare/v0.8.0...v0.9.0) (2021-04-06) ### Bug Fixes +* add boolean check of toNumber method ([f5c5193](https://github.com/haoziqaq/varlet/commit/f5c5193866a07938fe14ebf0144f6f6e84b3e47c)) * **back-top:** modify some errors ([fbde4f2](https://github.com/haoziqaq/varlet/commit/fbde4f21f094e2e8add2df0798c562a408a5cf87)) * **cell:** change attr container ([a86a370](https://github.com/haoziqaq/varlet/commit/a86a370b1cbb644d7f69f37d3f960faf5fa1f0e5)) -* **cli:** work in progress ([ed362c7](https://github.com/haoziqaq/varlet/commit/ed362c785ab6f7ab52c61c8ccb19a4eec0b1f217)) -* **cli:** 优化compileRoutes正则 ([b9223c2](https://github.com/haoziqaq/varlet/commit/b9223c2e63c4f767b319b24c159a4a949a8a4204)) -* **cli:** 优化compileRoutes的正则匹配 ([2a500dc](https://github.com/haoziqaq/varlet/commit/2a500dce3e22f5c725b9660c8ec01180717fc363)) -* **cli:** 优化site routes ([8f11570](https://github.com/haoziqaq/varlet/commit/8f1157057a73fe4dbbcd4b818da3d8c661c7a293)) -* **cli:** 修改了文档站点的样式 ([ac28f9f](https://github.com/haoziqaq/varlet/commit/ac28f9ff6094ee198bca3b2f1d46bc9548de378e)) * **cli, ui:** 重构了 mobile和组件库的i18n设计 ([bf6c870](https://github.com/haoziqaq/varlet/commit/bf6c870a82c4d309f10ae555b48a13d1810e66fa)) * **cli,ui:** icon 文档和重构 ([84fac70](https://github.com/haoziqaq/varlet/commit/84fac70fc627c9e15620000cf34fac69ce6da628)) * **cli,ui:** 修改pc站点布局, 修改menu left获取问题 ([87d6041](https://github.com/haoziqaq/varlet/commit/87d6041aba6e579973da67a2d63c144b4d4aa95d)) @@ -1645,10 +1428,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **cli/site:** 优化路由联动 ([d7bbef3](https://github.com/haoziqaq/varlet/commit/d7bbef370d2feb1c6298eb29b942dbbe241f7dbe)) * **cli/site:** 修复语言不同步的问题 ([3271d06](https://github.com/haoziqaq/varlet/commit/3271d06e37faa73e98a68b5986433d27d8be591f)) * **cli/site:** 修改手机缩放比例 ([777a38c](https://github.com/haoziqaq/varlet/commit/777a38c46268cf5f394d467eddb149faddc63997)) +* **cli:** work in progress ([ed362c7](https://github.com/haoziqaq/varlet/commit/ed362c785ab6f7ab52c61c8ccb19a4eec0b1f217)) +* **cli:** 优化compileRoutes正则 ([b9223c2](https://github.com/haoziqaq/varlet/commit/b9223c2e63c4f767b319b24c159a4a949a8a4204)) +* **cli:** 优化compileRoutes的正则匹配 ([2a500dc](https://github.com/haoziqaq/varlet/commit/2a500dce3e22f5c725b9660c8ec01180717fc363)) +* **cli:** 优化site routes ([8f11570](https://github.com/haoziqaq/varlet/commit/8f1157057a73fe4dbbcd4b818da3d8c661c7a293)) +* **cli:** 修改了文档站点的样式 ([ac28f9f](https://github.com/haoziqaq/varlet/commit/ac28f9ff6094ee198bca3b2f1d46bc9548de378e)) * **index-bar:** modify scroll container ([8c70cb8](https://github.com/haoziqaq/varlet/commit/8c70cb8bade2c27772d3a541b6291c18acc2da3a)) * **pull-refresh:** fix error classname ([fedeff0](https://github.com/haoziqaq/varlet/commit/fedeff03c87656e3713f32f0f30e85a3bfd02008)) -* **root:** bootstrap脚本增加ui的compile操作 ([f6eaa11](https://github.com/haoziqaq/varlet/commit/f6eaa119b83b3f607090a489b7f89e8f5a56a1ca)) +* remove unnecessary code and add example ([0505305](https://github.com/haoziqaq/varlet/commit/0505305540ff748beaeb1185d3f07bcc1adfc736)) * **root/scripts:** 修改bootstrap命令执行顺序 解决compile失败的问题 ([4022fec](https://github.com/haoziqaq/varlet/commit/4022fec95a613a1696714837e327de0218a940ce)) +* **root:** bootstrap脚本增加ui的compile操作 ([f6eaa11](https://github.com/haoziqaq/varlet/commit/f6eaa119b83b3f607090a489b7f89e8f5a56a1ca)) * **site:** return to the previous step and display the left active menu in the visual box ([5ed5313](https://github.com/haoziqaq/varlet/commit/5ed53133de4763dbf360d192324d35674a4e5c52)) * **site:** solve the problem of incorrect display of mobile phone ([2a549e8](https://github.com/haoziqaq/varlet/commit/2a549e8eb134e94cc9196908d59b488b059ac70e)) * **slider:** make sure maxWidth exist ([052bb70](https://github.com/haoziqaq/varlet/commit/052bb70c58c738529610a3ae8caa251d33a85a47)) @@ -1657,6 +1446,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **time-picker:** fix bug of irremovability ([b359852](https://github.com/haoziqaq/varlet/commit/b3598522a85a684312e07a9168dfdec5c01be034)) * **time-picker:** fix some bugs ([96d45e3](https://github.com/haoziqaq/varlet/commit/96d45e39c3e7fb5f8a28d3fe24a52ecc03217dce)) * **time-picker:** fix the bug of touchmove and wrong handleStyle ([7383396](https://github.com/haoziqaq/varlet/commit/7383396ed318e9e3be4fc3e703f4333d50a442a1)) +* **ui/popup:** 重写example ([dd4efa8](https://github.com/haoziqaq/varlet/commit/dd4efa8cfdca28e2ac39a82ad02d2123b34a2518)) +* **ui/row col:** 修复offset偏移问题 ([ebd3986](https://github.com/haoziqaq/varlet/commit/ebd39863f771e928390d71108eec360a24df935d)) +* **ui/select,option:** 修复了v-model失效的问题 ([bf72234](https://github.com/haoziqaq/varlet/commit/bf72234847446816e2a7075f89a6b1f8f8b1227f)) +* **ui/skeleton,button,ripple:** 完成skeleton button ripple的文档编写 ([846ffe9](https://github.com/haoziqaq/varlet/commit/846ffe990b8c755d033843bea3c30ccb8da7e491)) * **ui:** counter原型完成 ([d7f5a52](https://github.com/haoziqaq/varlet/commit/d7f5a526ff44cc49323f498836d192a75a08745c)) * **ui:** menu重构完成 文档编写完成 ([6bd43ca](https://github.com/haoziqaq/varlet/commit/6bd43cad39129c82ad3bbafdcda8165dc11dc7be)) * **ui:** 修复select 在multiple chips模式下 无法关闭chip的bug ([8015120](https://github.com/haoziqaq/varlet/commit/80151200c30ab3dc70289c78d2ca6687916f7836)) @@ -1664,16 +1457,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * **ui:** 增加parse时间格式的工具函数 ([5851cbb](https://github.com/haoziqaq/varlet/commit/5851cbb02e9ff8455f07db42a0f47b61110f2fa4)) * **ui:** 移除menu缩放动画 ([1566535](https://github.com/haoziqaq/varlet/commit/1566535a3ceb97dcb9f5fc3efdc258252e547833)) * **ui:** 重构dialog 完善文档 ([0ba2eb1](https://github.com/haoziqaq/varlet/commit/0ba2eb11081babfc4d48539b6661de3610c1fe77)) -* **ui/row col:** 修复offset偏移问题 ([ebd3986](https://github.com/haoziqaq/varlet/commit/ebd39863f771e928390d71108eec360a24df935d)) -* **varlet-ui:** error report in modification ([f8b9020](https://github.com/haoziqaq/varlet/commit/f8b90205837ea059df2f626f4fe9fe2c25e994a7)) -* add boolean check of toNumber method ([f5c5193](https://github.com/haoziqaq/varlet/commit/f5c5193866a07938fe14ebf0144f6f6e84b3e47c)) * **ui:** 重构menu 重写menu example ([edacc76](https://github.com/haoziqaq/varlet/commit/edacc762427eaf1c77614209f636f18bde5b33b8)) -* **ui/popup:** 重写example ([dd4efa8](https://github.com/haoziqaq/varlet/commit/dd4efa8cfdca28e2ac39a82ad02d2123b34a2518)) -* **ui/select,option:** 修复了v-model失效的问题 ([bf72234](https://github.com/haoziqaq/varlet/commit/bf72234847446816e2a7075f89a6b1f8f8b1227f)) -* **ui/skeleton,button,ripple:** 完成skeleton button ripple的文档编写 ([846ffe9](https://github.com/haoziqaq/varlet/commit/846ffe990b8c755d033843bea3c30ccb8da7e491)) * **varlet-icons:** add icon ([6d5f8f2](https://github.com/haoziqaq/varlet/commit/6d5f8f222d5e7b7a279aa2b0c0e797b03dbcea35)) +* **varlet-ui:** error report in modification ([f8b9020](https://github.com/haoziqaq/varlet/commit/f8b90205837ea059df2f626f4fe9fe2c25e994a7)) * **varlet-ui:** modify phone size ([9e92861](https://github.com/haoziqaq/varlet/commit/9e92861d4fbfd562edbdaf67dd14154e6092b01e)) -* remove unnecessary code and add example ([0505305](https://github.com/haoziqaq/varlet/commit/0505305540ff748beaeb1185d3f07bcc1adfc736)) ### Features @@ -1683,21 +1470,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * add less variable of time-picker, date-picker ([28f6131](https://github.com/haoziqaq/varlet/commit/28f6131924c13c38fbfe2b97ded4254b51735247)) * add less variables of cell, back-top, pull-refresh, progress, switch, slider, index-bar ([ef9750d](https://github.com/haoziqaq/varlet/commit/ef9750d717a37b6b7c9ca9476a39561775c37dfd)) * add less variables of step, collapse and define cubic func ([2a8be2d](https://github.com/haoziqaq/varlet/commit/2a8be2d822ff137f1dd49661f76f63c4ecd68256)) +* countdown ([f3fd177](https://github.com/haoziqaq/varlet/commit/f3fd17770fe367cdfeb41023928f90dc27a3983d)) * **countdown:** i18n and refactor the way of formatting ([7be2461](https://github.com/haoziqaq/varlet/commit/7be2461b6692e285c4975fd1880c145d35907e5c)) * **loading:** i18n ([9c2240d](https://github.com/haoziqaq/varlet/commit/9c2240d419c1c1c63379eef579426560b2be2d45)) * **slider:** docs and i18n ([3aab17b](https://github.com/haoziqaq/varlet/commit/3aab17b3e2163477944159d515e13be68b799dcf)) * **snackbar:** call the snackbar function directly ([7f486c8](https://github.com/haoziqaq/varlet/commit/7f486c8ed622346e9cd9bec0d8c57f36f2a077ef)) -* **ui/row ui/col:** 新增row col组件 ([8b0ee5f](https://github.com/haoziqaq/varlet/commit/8b0ee5fde3d5db33f69c9ad532e660b4293bdad5)) -* countdown ([f3fd177](https://github.com/haoziqaq/varlet/commit/f3fd17770fe367cdfeb41023928f90dc27a3983d)) * steps ([4a70c31](https://github.com/haoziqaq/varlet/commit/4a70c31c694ee5c2365b5038df72ca5831ca31df)) +* **ui/row ui/col:** 新增row col组件 ([8b0ee5f](https://github.com/haoziqaq/varlet/commit/8b0ee5fde3d5db33f69c9ad532e660b4293bdad5)) ### Reverts -* press wrong ([bfe9ee8](https://github.com/haoziqaq/varlet/commit/bfe9ee8ae7d618c7baec0ddf2c120c6b8e2eae93)) * **cell:** revert attr position ([01b690f](https://github.com/haoziqaq/varlet/commit/01b690f21eb2823e9ec52f81ac69c35f3fb642f9)) - - +* press wrong ([bfe9ee8](https://github.com/haoziqaq/varlet/commit/bfe9ee8ae7d618c7baec0ddf2c120c6b8e2eae93)) @@ -1706,81 +1491,81 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes +* add icon and modify icon style ([3080c8c](https://github.com/haoziqaq/varlet/commit/3080c8c8878d5606e7ee310c81caadc020092231)) +* add icon for snackbar and fix snackbar clear function ([56f322e](https://github.com/haoziqaq/varlet/commit/56f322e7be2d594f8e8ffdcce7a3d735edb3d191)) +* add removed code ([8c9ba91](https://github.com/haoziqaq/varlet/commit/8c9ba9112b42dd301a4387279f9017a7c78b5c5f)) +* add sticky prop ([6ae504f](https://github.com/haoziqaq/varlet/commit/6ae504fc7f1e31c1c9bf4637bbe40f22d5ee0396)) +* add url-loader and build icons ([c4c219a](https://github.com/haoziqaq/varlet/commit/c4c219a246722cde4d4f60f58b45b223977eba1f)) +* **all package.json:** 修订版本 ([c6fc097](https://github.com/haoziqaq/varlet/commit/c6fc09740cda2fb121485e41d01caab082633e2e)) +* **cli ui/tabs ui/tab:** cli修订依赖版本 tabs tab通信完成 切换效果完成 ([44c9495](https://github.com/haoziqaq/varlet/commit/44c9495469b99d49343f0a20ecf30d406d76e844)) +* **cli,ui:** 支持组件库,文档i18n ([b76e664](https://github.com/haoziqaq/varlet/commit/b76e66474ae48fffe0722650c4d03499b127aab5)) * **cli:** webpack4.x -> 5.x ([967b63a](https://github.com/haoziqaq/varlet/commit/967b63a7294058e91dabe0eb27e132c0a3a33baf)) * **cli:** 修复windows template highlight 编译异常 ([babb72d](https://github.com/haoziqaq/varlet/commit/babb72d8169d8918bdd09c289227a60b3659f415)) * **cli:** 增加模版高亮 默认值描述 ([847ae41](https://github.com/haoziqaq/varlet/commit/847ae4173634cac959783d4d27c4d4a3b4a6908b)) -* **cli,ui:** 支持组件库,文档i18n ([b76e664](https://github.com/haoziqaq/varlet/commit/b76e66474ae48fffe0722650c4d03499b127aab5)) * **date-picker:** modify varible name ([e282a91](https://github.com/haoziqaq/varlet/commit/e282a91df0bf5bbf9ea653bd18d961447e7d4e0f)) * **date-picker:** remove ts error of dayjs ([68e9ff5](https://github.com/haoziqaq/varlet/commit/68e9ff52951bb80f25dccced98072387e6491fde)) * **expansion-panels:** add matchIndex and watch modelValue to update ([cdd7584](https://github.com/haoziqaq/varlet/commit/cdd7584a340a18241e9995391973657101305d07)) -* **root:** 移除了ui/coverage,hightlight的版本控制 ([0c5893d](https://github.com/haoziqaq/varlet/commit/0c5893d9f04fe35e105167a31540c9d1408ec596)) -* **root:** 移除单元测试统计的stylelint ([8b86ee3](https://github.com/haoziqaq/varlet/commit/8b86ee303ede7f0070829f6de53c188467194bdb)) -* **scripts/bootstrap:** 修复命令 兼容macos ([32f61b2](https://github.com/haoziqaq/varlet/commit/32f61b2352d64aafae19694da380614cc314e8e5)) -* **ui:** 增加单元测试命令 测试覆盖率统计 ide高亮支持 优化cli代码可读性 ([91882c6](https://github.com/haoziqaq/varlet/commit/91882c65349b83140598612fef650330bbf57d56)) -* modify some style ([ee7be71](https://github.com/haoziqaq/varlet/commit/ee7be710ad1ff0b3d8b9fe349726b5c271e2d21d)) -* **ui:** ui/input,checkbox,checkbox-group,radio,radio-group原型完成 优化父子组件通信 ([3af4a62](https://github.com/haoziqaq/varlet/commit/3af4a6205b8a4c1a2f77decdfe4382f0fc9dc24d)) -* modify style ([72d28b3](https://github.com/haoziqaq/varlet/commit/72d28b35ecbd1b8bfa2d1a2406e566e1b346d1ea)) -* **all package.json:** 修订版本 ([c6fc097](https://github.com/haoziqaq/varlet/commit/c6fc09740cda2fb121485e41d01caab082633e2e)) -* **cli ui/tabs ui/tab:** cli修订依赖版本 tabs tab通信完成 切换效果完成 ([44c9495](https://github.com/haoziqaq/varlet/commit/44c9495469b99d49343f0a20ecf30d406d76e844)) +* fix snackbar bugs ([0f05496](https://github.com/haoziqaq/varlet/commit/0f054960a95cbe992d39bdd87f3571bdf5f706e6)) * **merge:** merge code ([c4af410](https://github.com/haoziqaq/varlet/commit/c4af4102e8435663c9fafd3c0f2f3ae0678ce968)) -* **progress:** modify default track color ([a853bb1](https://github.com/haoziqaq/varlet/commit/a853bb1d2dd588814c1622a878cdbeec9f1d3098)) -* **ui/dialog picker:** 优化close方法 ([5b426ab](https://github.com/haoziqaq/varlet/commit/5b426abdbd2cb9fee62dd88842a865b61498f263)) -* **ui/form, checkbox-group checkbox select input:** 抽离了form-details useValidation ([53f9cde](https://github.com/haoziqaq/varlet/commit/53f9cde793fc75ee8170baed6deb63bba25e16be)) -* **ui/picker:** 优化picker api ([42ee8bf](https://github.com/haoziqaq/varlet/commit/42ee8bf7254b53bd362e633472c04dfaed1cdee5)) -* **ui/picker:** 优化代码 ([10f27b7](https://github.com/haoziqaq/varlet/commit/10f27b794a54cdee20fcb0577de6c781803fe99c)) -* **ui/picker:** 创建工具栏 ([2ed6e8a](https://github.com/haoziqaq/varlet/commit/2ed6e8a0ced451aa695012bb39a2a2b791633fe9)) -* **ui/picker:** 多列picker原型完成 ([e41f497](https://github.com/haoziqaq/varlet/commit/e41f497861647871b5a5d072d4cee4dcf471d050)) -* **ui/picker:** 完成了多列模式的基本功能 ([882c014](https://github.com/haoziqaq/varlet/commit/882c014328fd992e3b7ca1d624123719595c7cb8)) -* **ui/picker:** 级连模式完成 ([dcd55b9](https://github.com/haoziqaq/varlet/commit/dcd55b9076337db5b09393d482cdf28f47159b76)) -* **ui/picker:** 设计了基本的样式和基本dom结构 完成了基本的滚动 ([9d9f1b9](https://github.com/haoziqaq/varlet/commit/9d9f1b93f80f0c8e33819da32c0f6b49984d6ca9)) -* **ui/picker dialog:** 优化单例模式流程 ([0c78a72](https://github.com/haoziqaq/varlet/commit/0c78a72f7d3190a001cad49da71064dd2c4a9862)) -* **ui/picker, dialog:** 优化单例流程 ([4ca25a2](https://github.com/haoziqaq/varlet/commit/4ca25a2385667670267e400cddfd560191ec4670)) -* **ui/picker,dialog:** 修改成统一的单例模式 增加close方法 ([095b346](https://github.com/haoziqaq/varlet/commit/095b346d4ae314ac0e6db50c02baaa06f008a9c8)) -* **ui/picker,popup,dialog:** picker命令式原型完成 ([6c12f71](https://github.com/haoziqaq/varlet/commit/6c12f71834b2fdccc0b0733917151facb2ebca01)) -* **ui/ripple:** 优化了ripple的动画 ([f219a14](https://github.com/haoziqaq/varlet/commit/f219a144b53140342460ef9e75eb5eab2020a4fd)) -* **ui/ripple:** 水波纹会自行设置容器的 overflow position zIndex 并在波纹结束时进行还原 ([a112796](https://github.com/haoziqaq/varlet/commit/a112796ec48c5bab48e918843b3336606a8d8152)) -* **ui/select utils/component:** select option组件原型完成 增加了inject前的provide key判断 ([7f7795a](https://github.com/haoziqaq/varlet/commit/7f7795a09ea5ee53c4821aff6cdfe67675aa9e2c)) -* **ui/sticky:** 粘性默认使用css的sticky属性进行帧数提升 不支持的浏览器降级成fixed模式 ([f43bdd3](https://github.com/haoziqaq/varlet/commit/f43bdd31eb2402560d36040e3f481bc524851242)) -* **ui/swipe:** 修复了touching状态下autoplay没禁止的bug ([40fcb2e](https://github.com/haoziqaq/varlet/commit/40fcb2e2e5b7690605a0f6c47e81c9d4444be695)) -* **ui/swipe:** 增加resize方法 ([a453b66](https://github.com/haoziqaq/varlet/commit/a453b66003ed60478e2f94d0f3ab8b8488031392)) -* **ui/swipe list:** 优化swipe list ([9439763](https://github.com/haoziqaq/varlet/commit/9439763b798ff929be905c7f05b71167939c3025)) -* **ui/swipe, swipe-item:** 原型完成 ([9e7a45b](https://github.com/haoziqaq/varlet/commit/9e7a45b04eab9086fc2bb7c8c26f2c777ff12c25)) -* add removed code ([8c9ba91](https://github.com/haoziqaq/varlet/commit/8c9ba9112b42dd301a4387279f9017a7c78b5c5f)) -* add sticky prop ([6ae504f](https://github.com/haoziqaq/varlet/commit/6ae504fc7f1e31c1c9bf4637bbe40f22d5ee0396)) +* modify componentName ([206a3c0](https://github.com/haoziqaq/varlet/commit/206a3c04938cd3f21c7f495989e9c8bb7aa118b0)) * modify execution timing ([d3c66bb](https://github.com/haoziqaq/varlet/commit/d3c66bb68fc12988dbfd22b58f6c64ac6f9818e3)) * modify name of import loading ([0b9d7e4](https://github.com/haoziqaq/varlet/commit/0b9d7e48187eb7a7c49d0d6eac708f30070b5e49)) +* modify some style ([ee7be71](https://github.com/haoziqaq/varlet/commit/ee7be710ad1ff0b3d8b9fe349726b5c271e2d21d)) +* modify style ([72d28b3](https://github.com/haoziqaq/varlet/commit/72d28b35ecbd1b8bfa2d1a2406e566e1b346d1ea)) * modify ts to js of example ([d6d269f](https://github.com/haoziqaq/varlet/commit/d6d269f4d159c3cb6bea7605424ab8baf52db6a5)) +* modify type ([b9dd910](https://github.com/haoziqaq/varlet/commit/b9dd910a3845acbd449d3d93190436273ba25070)) +* **progress:** modify default track color ([a853bb1](https://github.com/haoziqaq/varlet/commit/a853bb1d2dd588814c1622a878cdbeec9f1d3098)) * **pull-refresh:** modify default style ([9b78580](https://github.com/haoziqaq/varlet/commit/9b78580080d0bfeea2bbe3d2398290bd5b3e98b5)) -* **root:** 增加less文件的prettier格式化规则 合并代码 ([e74af2c](https://github.com/haoziqaq/varlet/commit/e74af2cd7fc0714a1aa4e7d80a7e2d6bdefaf587)) +* rewrite emulator ([9215a83](https://github.com/haoziqaq/varlet/commit/9215a8343bf9d8cd6fd2c271358f53dd6d98a563)) * **root ui/utils:** 创建了项目依赖统一安装脚本 优化了父子组件通信 ([a6bba67](https://github.com/haoziqaq/varlet/commit/a6bba67506fc0354ff7ecc12dde34df19223e016)) +* **root:** 增加less文件的prettier格式化规则 合并代码 ([e74af2c](https://github.com/haoziqaq/varlet/commit/e74af2cd7fc0714a1aa4e7d80a7e2d6bdefaf587)) +* **root:** 移除了ui/coverage,hightlight的版本控制 ([0c5893d](https://github.com/haoziqaq/varlet/commit/0c5893d9f04fe35e105167a31540c9d1408ec596)) +* **root:** 移除单元测试统计的stylelint ([8b86ee3](https://github.com/haoziqaq/varlet/commit/8b86ee303ede7f0070829f6de53c188467194bdb)) +* **scripts/bootstrap:** 修复命令 兼容macos ([32f61b2](https://github.com/haoziqaq/varlet/commit/32f61b2352d64aafae19694da380614cc314e8e5)) * **snackbar:** fix zIndex and loading ([aaf2459](https://github.com/haoziqaq/varlet/commit/aaf245907ab331cbeb4c2dba3783e233745a88f6)) * **snackbar:** modify switch mode of icon ([d8c943a](https://github.com/haoziqaq/varlet/commit/d8c943a9a7755ddddb716856466ede707b096fdc)) +* **ui/dialog picker:** 优化close方法 ([5b426ab](https://github.com/haoziqaq/varlet/commit/5b426abdbd2cb9fee62dd88842a865b61498f263)) +* **ui/form, checkbox-group checkbox select input:** 抽离了form-details useValidation ([53f9cde](https://github.com/haoziqaq/varlet/commit/53f9cde793fc75ee8170baed6deb63bba25e16be)) +* **ui/icon ui/image ui/lazy:** 增加lazy的处理状态 icon原型完成 增加image的load error监听 ([661b111](https://github.com/haoziqaq/varlet/commit/661b111d75061d434d480256b6977908a6dc8ca2)) * **ui/icon:** icon name支持图片地址 ([a5bcb49](https://github.com/haoziqaq/varlet/commit/a5bcb49d51c7acebf2fe4f515215cc1376fc66f4)) * **ui/icon:** icon name支持图片地址 ([0884dd7](https://github.com/haoziqaq/varlet/commit/0884dd7f5bf59fc8b72f363a6e42e9ac23881822)) * **ui/icon:** 增加复制icon功能 ([5282655](https://github.com/haoziqaq/varlet/commit/52826554b46d7121a1209a471be9e6242c8c1167)) -* **ui/icon ui/image ui/lazy:** 增加lazy的处理状态 icon原型完成 增加image的load error监听 ([661b111](https://github.com/haoziqaq/varlet/commit/661b111d75061d434d480256b6977908a6dc8ca2)) * **ui/input:** input 原型完成 ([d945477](https://github.com/haoziqaq/varlet/commit/d945477086414fe6a1fb9a24c811e0ac6f8df264)) * **ui/input:** input 默认trigger方式修改为 onInput onClear ([bbaed93](https://github.com/haoziqaq/varlet/commit/bbaed93f93bdea3fc938afc43517c8af4c79a9a7)) * **ui/input:** input增加异步校验功能 ([da0c5f0](https://github.com/haoziqaq/varlet/commit/da0c5f0feb40501165369e3f51023a56f56aacb4)) * **ui/input:** 修复line在error状态下没变红色的BUG ([7f8298d](https://github.com/haoziqaq/varlet/commit/7f8298d2e9c5ea77d81602bced2e2789bfec5d85)) * **ui/list:** list原型完成 ([669590e](https://github.com/haoziqaq/varlet/commit/669590e460c82f457a73594a518e02c05a1138eb)) +* **ui/picker dialog:** 优化单例模式流程 ([0c78a72](https://github.com/haoziqaq/varlet/commit/0c78a72f7d3190a001cad49da71064dd2c4a9862)) +* **ui/picker, dialog:** 优化单例流程 ([4ca25a2](https://github.com/haoziqaq/varlet/commit/4ca25a2385667670267e400cddfd560191ec4670)) +* **ui/picker,dialog:** 修改成统一的单例模式 增加close方法 ([095b346](https://github.com/haoziqaq/varlet/commit/095b346d4ae314ac0e6db50c02baaa06f008a9c8)) +* **ui/picker,popup,dialog:** picker命令式原型完成 ([6c12f71](https://github.com/haoziqaq/varlet/commit/6c12f71834b2fdccc0b0733917151facb2ebca01)) +* **ui/picker:** 优化picker api ([42ee8bf](https://github.com/haoziqaq/varlet/commit/42ee8bf7254b53bd362e633472c04dfaed1cdee5)) +* **ui/picker:** 优化代码 ([10f27b7](https://github.com/haoziqaq/varlet/commit/10f27b794a54cdee20fcb0577de6c781803fe99c)) +* **ui/picker:** 创建工具栏 ([2ed6e8a](https://github.com/haoziqaq/varlet/commit/2ed6e8a0ced451aa695012bb39a2a2b791633fe9)) +* **ui/picker:** 多列picker原型完成 ([e41f497](https://github.com/haoziqaq/varlet/commit/e41f497861647871b5a5d072d4cee4dcf471d050)) +* **ui/picker:** 完成了多列模式的基本功能 ([882c014](https://github.com/haoziqaq/varlet/commit/882c014328fd992e3b7ca1d624123719595c7cb8)) +* **ui/picker:** 级连模式完成 ([dcd55b9](https://github.com/haoziqaq/varlet/commit/dcd55b9076337db5b09393d482cdf28f47159b76)) +* **ui/picker:** 设计了基本的样式和基本dom结构 完成了基本的滚动 ([9d9f1b9](https://github.com/haoziqaq/varlet/commit/9d9f1b93f80f0c8e33819da32c0f6b49984d6ca9)) +* **ui/ripple:** 优化了ripple的动画 ([f219a14](https://github.com/haoziqaq/varlet/commit/f219a144b53140342460ef9e75eb5eab2020a4fd)) +* **ui/ripple:** 水波纹会自行设置容器的 overflow position zIndex 并在波纹结束时进行还原 ([a112796](https://github.com/haoziqaq/varlet/commit/a112796ec48c5bab48e918843b3336606a8d8152)) +* **ui/select utils/component:** select option组件原型完成 增加了inject前的provide key判断 ([7f7795a](https://github.com/haoziqaq/varlet/commit/7f7795a09ea5ee53c4821aff6cdfe67675aa9e2c)) * **ui/sticky:** sticky原型完成 ([8acff00](https://github.com/haoziqaq/varlet/commit/8acff00e2def9c062d2e767cecd320939bf3cfdd)) * **ui/sticky:** 修复number类型offsetTop失效的bug ([e7ac6bd](https://github.com/haoziqaq/varlet/commit/e7ac6bd0df0f6c0ff189b1f96a221d3ff9353043)) * **ui/sticky:** 增加scroll事件监听 ([19e1447](https://github.com/haoziqaq/varlet/commit/19e1447055a4f3e479435a61d9593e573275068e)) +* **ui/sticky:** 粘性默认使用css的sticky属性进行帧数提升 不支持的浏览器降级成fixed模式 ([f43bdd3](https://github.com/haoziqaq/varlet/commit/f43bdd31eb2402560d36040e3f481bc524851242)) +* **ui/swipe list:** 优化swipe list ([9439763](https://github.com/haoziqaq/varlet/commit/9439763b798ff929be905c7f05b71167939c3025)) +* **ui/swipe, swipe-item:** 原型完成 ([9e7a45b](https://github.com/haoziqaq/varlet/commit/9e7a45b04eab9086fc2bb7c8c26f2c777ff12c25)) +* **ui/swipe:** 修复了touching状态下autoplay没禁止的bug ([40fcb2e](https://github.com/haoziqaq/varlet/commit/40fcb2e2e5b7690605a0f6c47e81c9d4444be695)) +* **ui/swipe:** 增加resize方法 ([a453b66](https://github.com/haoziqaq/varlet/commit/a453b66003ed60478e2f94d0f3ab8b8488031392)) * **ui/tabs tab tabs-items tab-item:** 优化了父子之间传值 增加resize方法 ([771b156](https://github.com/haoziqaq/varlet/commit/771b15699c98ffb6e5ecfcb2a777b04fcf0118a7)) -* **ui/tabs ui/tab:** tabs tab原型完成 ([01d6330](https://github.com/haoziqaq/varlet/commit/01d633031a56f4d593a85613a680ed244f49fb2c)) * **ui/tabs ui/tabs-items:** 优化视图切换 增加tabs垂直布局支持 ([1f032ae](https://github.com/haoziqaq/varlet/commit/1f032ae6f084ff8b60c239e2af2b6315b3b864b7)) +* **ui/tabs ui/tab:** tabs tab原型完成 ([01d6330](https://github.com/haoziqaq/varlet/commit/01d633031a56f4d593a85613a680ed244f49fb2c)) +* **ui/utils ui/tabs tab tabs-items tab-item:** 优化组件通信 ([487d751](https://github.com/haoziqaq/varlet/commit/487d7516862042f2abee7ea314a30f6e7d33f118)) +* **ui/utils:** 修改了获取滚动容器的实现 ([9cd5a23](https://github.com/haoziqaq/varlet/commit/9cd5a237927cdd096b92f3388cb58ba3805e19ca)) +* **ui:** ui/input,checkbox,checkbox-group,radio,radio-group原型完成 优化父子组件通信 ([3af4a62](https://github.com/haoziqaq/varlet/commit/3af4a6205b8a4c1a2f77decdfe4382f0fc9dc24d)) +* **ui:** 增加单元测试命令 测试覆盖率统计 ide高亮支持 优化cli代码可读性 ([91882c6](https://github.com/haoziqaq/varlet/commit/91882c65349b83140598612fef650330bbf57d56)) * **恢复list:** 恢复被删除的ui/list ([b2fd79e](https://github.com/haoziqaq/varlet/commit/b2fd79ed4818cb36b76cedb36cd6b9c97124c206)) * **恢复list:** 恢复被删除的ui/list ([4e52780](https://github.com/haoziqaq/varlet/commit/4e527801594edba24be27fbd76b3946f182748d1)) -* add icon and modify icon style ([3080c8c](https://github.com/haoziqaq/varlet/commit/3080c8c8878d5606e7ee310c81caadc020092231)) -* add icon for snackbar and fix snackbar clear function ([56f322e](https://github.com/haoziqaq/varlet/commit/56f322e7be2d594f8e8ffdcce7a3d735edb3d191)) -* add url-loader and build icons ([c4c219a](https://github.com/haoziqaq/varlet/commit/c4c219a246722cde4d4f60f58b45b223977eba1f)) -* fix snackbar bugs ([0f05496](https://github.com/haoziqaq/varlet/commit/0f054960a95cbe992d39bdd87f3571bdf5f706e6)) -* modify type ([b9dd910](https://github.com/haoziqaq/varlet/commit/b9dd910a3845acbd449d3d93190436273ba25070)) -* **ui/utils:** 修改了获取滚动容器的实现 ([9cd5a23](https://github.com/haoziqaq/varlet/commit/9cd5a237927cdd096b92f3388cb58ba3805e19ca)) -* **ui/utils ui/tabs tab tabs-items tab-item:** 优化组件通信 ([487d751](https://github.com/haoziqaq/varlet/commit/487d7516862042f2abee7ea314a30f6e7d33f118)) -* modify componentName ([206a3c0](https://github.com/haoziqaq/varlet/commit/206a3c04938cd3f21c7f495989e9c8bb7aa118b0)) -* rewrite emulator ([9215a83](https://github.com/haoziqaq/varlet/commit/9215a8343bf9d8cd6fd2c271358f53dd6d98a563)) ### Features @@ -1789,22 +1574,22 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * add rate ([dffc1dd](https://github.com/haoziqaq/varlet/commit/dffc1ddb710d3630f866a4199aaee97fb2be630e)) * add rate ([bdcccc2](https://github.com/haoziqaq/varlet/commit/bdcccc2ae24fa17668f0a9a169e68b1d196cba12)) * backTop ([efaf596](https://github.com/haoziqaq/varlet/commit/efaf5962638cdc3a783ad5fbd2c6b107b0843a56)) +* **button:** add forbidripple prop ([092c57d](https://github.com/haoziqaq/varlet/commit/092c57d4990f1ca0296c955323a6595d7003a2ce)) * cell ([c8e8a58](https://github.com/haoziqaq/varlet/commit/c8e8a58fe29024413bd9811d407fad7afc8332c7)) * date-picker ([bcfa3d2](https://github.com/haoziqaq/varlet/commit/bcfa3d2e6d1112d98d4c98d7fdd2ad5e786fc06e)) * expansion-panels ([61c2694](https://github.com/haoziqaq/varlet/commit/61c26946785be0ea40151ae29c62a7dc888ed317)) +* **expansion-panels:** add example ([8ef77ac](https://github.com/haoziqaq/varlet/commit/8ef77ac9d687bb46a897deca6e497660e75538f4)) * finish indexbar ([923aa37](https://github.com/haoziqaq/varlet/commit/923aa37e9e80e4247b39497a65653893250649bd)) * indexbar ([650c174](https://github.com/haoziqaq/varlet/commit/650c174be8cce0a3213f9bb07bce89c8db0ebfcd)) +* **loading:** add circle ([ee1f020](https://github.com/haoziqaq/varlet/commit/ee1f0201ab468e17668267d33de8414c54b06cc6)) * pull-refresh done ([152c90c](https://github.com/haoziqaq/varlet/commit/152c90cd94b535edf8305d6fa0b085bc75ef3a89)) +* pullRefresh ([8669e0b](https://github.com/haoziqaq/varlet/commit/8669e0bf76395db657d50acf059fba39faac4e4b)) * slider ([d2ac037](https://github.com/haoziqaq/varlet/commit/d2ac037ba0f15978cceab3dfbfc4e7710a2de8e8)) -* time-picker ([40048a4](https://github.com/haoziqaq/varlet/commit/40048a4ad7963aae926bf3f66c4ba6804e8308c7)) -* **button:** add forbidripple prop ([092c57d](https://github.com/haoziqaq/varlet/commit/092c57d4990f1ca0296c955323a6595d7003a2ce)) -* **expansion-panels:** add example ([8ef77ac](https://github.com/haoziqaq/varlet/commit/8ef77ac9d687bb46a897deca6e497660e75538f4)) -* **loading:** add circle ([ee1f020](https://github.com/haoziqaq/varlet/commit/ee1f0201ab468e17668267d33de8414c54b06cc6)) * **slider:** add validation ([a6c4e60](https://github.com/haoziqaq/varlet/commit/a6c4e602814ad94d73fcac8c7b606c179e5996ac)) -* **switch:** add validation ([68aabef](https://github.com/haoziqaq/varlet/commit/68aabef30ae118651bde9f8313ae54f152f97bda)) -* pullRefresh ([8669e0b](https://github.com/haoziqaq/varlet/commit/8669e0bf76395db657d50acf059fba39faac4e4b)) -* switch ([86729d7](https://github.com/haoziqaq/varlet/commit/86729d7aa5ee8b732a11582aa7cc9c59a0a81102)) * **snackbar:** add clear ([aebe81b](https://github.com/haoziqaq/varlet/commit/aebe81ba23504eee0633d3aa1b6e574e3a8d3d4c)) +* switch ([86729d7](https://github.com/haoziqaq/varlet/commit/86729d7aa5ee8b732a11582aa7cc9c59a0a81102)) +* **switch:** add validation ([68aabef](https://github.com/haoziqaq/varlet/commit/68aabef30ae118651bde9f8313ae54f152f97bda)) +* time-picker ([40048a4](https://github.com/haoziqaq/varlet/commit/40048a4ad7963aae926bf3f66c4ba6804e8308c7)) ### Performance Improvements @@ -1813,460 +1598,338 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - -# [0.7.0](https://user/haoziqaq/varlet/compare/v0.5.13...v0.7.0) (2020-12-25) - - -### Bug Fixes - -* **cli/compiler:** 修复cjs编译bug 增加编译不同模块标准库css,less入口文件 ([226bc04](https://user/haoziqaq/varlet/commits/226bc0426f217e834512990edf78077f92fbed78)) -* **icons:** 子包@varlet/icons完成 svg待选 ([76c8cbd](https://user/haoziqaq/varlet/commits/76c8cbd9ff7494e442e6a0edcaed4e9e603905da)) -* **ui:** 添加@varlet/icons依赖 ([f32de8c](https://user/haoziqaq/varlet/commits/f32de8cd8936a4fee07ad4cb1506c1863730b51a)) -* fix style of snackbar ([2858e3e](https://user/haoziqaq/varlet/commits/2858e3e972fea79a49b8efa9757235a97e385392)) -* **cli:** 修改.vue文件编译逻辑 ([5e2e64a](https://user/haoziqaq/varlet/commits/5e2e64a48acdcf81ba446acc668ebbb32d519ce9)) -* **cli:** 重构部分代码 ([e4840dc](https://user/haoziqaq/varlet/commits/e4840dc59c5087a007d819a0f8db9db795f234a9)) -* **commands:** modify indexTemplate of create ([48a0687](https://user/haoziqaq/varlet/commits/48a068701253ceeaca11937a24251c5f5712d435)) -* **loading:** remove text ([86ec547](https://user/haoziqaq/varlet/commits/86ec5475af3d98e523cb1ddf81b42f830e9b4d82)) -* **snackbar:** add type definition ([a3283ff](https://user/haoziqaq/varlet/commits/a3283ff7f4e2f32ff55ced1a8d2b54d885df4be8)) -* **snackbar:** modify default duration ([520cf47](https://user/haoziqaq/varlet/commits/520cf47bfab6effec9e4bf64baf759b82f5b0881)) -* **snackbar:** modify position prop ([2862958](https://user/haoziqaq/varlet/commits/2862958021311cdd16eb3f540570a9351438b2d6)) -* **ui:** button原型制作中 已完成基本type size color基本交互 ([5d528ea](https://user/haoziqaq/varlet/commits/5d528ead4d3f13df3d70ee95b837cd819ef4d1e4)) -* **ui:** button原型完成 ([cdf32e5](https://user/haoziqaq/varlet/commits/cdf32e5f8a1e431fa052684f828d0dbceab46f96)) -* **ui:** menu组件原型完成 重构button popup dialog skeleton的props ([09a57b1](https://user/haoziqaq/varlet/commits/09a57b1d692eeab909ab0c1e2672d1095f2df12e)) -* **ui:** popup dialog原型完成 ([4c3da72](https://user/haoziqaq/varlet/commits/4c3da72d776d682c4b1be1b96e445076f53012c1)) -* **ui:** snackbar index.ts重构 ([a76a0be](https://user/haoziqaq/varlet/commits/a76a0be18dab5fd317d2011704764f4fe1ad4e98)) -* **ui:** snackbar 解决动画问题 ([da87973](https://user/haoziqaq/varlet/commits/da87973acb1b44b194459d9cda76bb31da5227ba)) -* **ui:** 修复类型问题 ([10ebe7a](https://user/haoziqaq/varlet/commits/10ebe7a90e9dfe71b5d87712f5bc55374213cff0)) -* **ui:** 修改了ripple的定位 ([67fd0cc](https://user/haoziqaq/varlet/commits/67fd0cc137a0e64b9c7058477ad56d9c5ed2b6f9)) -* **ui:** 增加button组件的loading参数校验 ([4d839c1](https://user/haoziqaq/varlet/commits/4d839c1297bf3069d5e8f299ff64d9eed822c853)) -* **ui:** 增加ui全局上下文 适配teleport keep-alive 锁操作 ([d237750](https://user/haoziqaq/varlet/commits/d237750e8efa0ef33841239c0c2e19d745726abe)) -* **ui:** 定义组件上下文对象 ([4e926c7](https://user/haoziqaq/varlet/commits/4e926c70fcbd49b848205709bcde00a93420bb98)) -* **ui:** 按钮组件开发 ([4fddcbd](https://user/haoziqaq/varlet/commits/4fddcbda84737fb499e0adcc798b5a73f5cf55ea)) -* **ui/image:** image原型完成 ([97fcc83](https://user/haoziqaq/varlet/commits/97fcc8333ef1648dd82fe2b34ab284cc753600b8)) -* **ui/lazy:** lazy原型完成 ([e332fa8](https://user/haoziqaq/varlet/commits/e332fa86eed8f6d1598473ba19b023a19c7ed54b)) -* **ui/lazy:** 修复CacheInstance类型错误 ([1573b56](https://user/haoziqaq/varlet/commits/1573b5614099fcc2da18c440dd1d27a332076adb)) -* **ui/lazy:** 修复了lazy在兼容模式下 图片从视口外操作到视口内没有进行check的bug ([8af34d0](https://user/haoziqaq/varlet/commits/8af34d0f0aa8b2f36002e43657de130095871340)) -* **ui/lazy:** 修复了部分情况下图片update重复check的bug ([f8fcf78](https://user/haoziqaq/varlet/commits/f8fcf7892a9b6b37c5400d49a931fbad7cbb631b)) -* **ui/lazy:** 增加1px像素占位 增加图片URL缓存 ([865a10c](https://user/haoziqaq/varlet/commits/865a10c7e51b0308c99d7387ab5740c7843e31b1)) -* **ui/lazy:** 增加局部滚动的案例cover ([c24820a](https://user/haoziqaq/varlet/commits/c24820a97d59fe2a97a9902afbc8f09615e99897)) -* **ui/lazy:** 增加绑定事件配置 ([64a95cb](https://user/haoziqaq/varlet/commits/64a95cb0777cbf695bfd6d0269a344af4e6ae813)) -* **ui/lazy,skeleton:** 修改了skeleton样式 取消了lazy尝试请求的请求数参数 ([df1c8e1](https://user/haoziqaq/varlet/commits/df1c8e1ee6ef1d5db88ff2a4e50dc1a42ff224a7)) -* **ui/styles:** 修改common.less中的状态名 ([8e30223](https://user/haoziqaq/varlet/commits/8e302236c8d6f90e042eaa5deffcdfb12a4958dd)) -* add class for transition-group ([75e3df6](https://user/haoziqaq/varlet/commits/75e3df66067c26fb4eaa9c17d549a2e59501e536)) -* add isDeclarative for snackbar ([a156647](https://user/haoziqaq/varlet/commits/a156647f2917e6f82b069557f851844e6647a0a5)) -* add margin for loading text and detection componentName ([b42046e](https://user/haoziqaq/varlet/commits/b42046e7538d8b05b61b47085446f73c9c46a1b3)) -* add typescript type(App) ([4d49a7b](https://user/haoziqaq/varlet/commits/4d49a7bde63167b93c144badc353d0004af91109)) -* modify loading docs and example ([66be153](https://user/haoziqaq/varlet/commits/66be153e324c1378e80ee4ab94c0c7609ddd936e)) -* modify size and animation of loading ([63eb392](https://user/haoziqaq/varlet/commits/63eb392b01a46b469b1f9944f364970a64e686bb)) -* remove console ([675f910](https://user/haoziqaq/varlet/commits/675f910b8639d9f985c53fd43f8804e30b101029)) - - -### Features - -* add button for menu ([e9e1860](https://user/haoziqaq/varlet/commits/e9e1860ccfb1f50624467c32d0ee2fba291a44f9)) -* add chips ([ed1cc95](https://user/haoziqaq/varlet/commits/ed1cc95d8a41d064804ec04be43714bbb69ef9eb)) -* add progress ([170d515](https://user/haoziqaq/varlet/commits/170d5150aa3dd43c2d2c13ad5c43a154f91749a2)) -* add propsEmits for loading ([41bfdab](https://user/haoziqaq/varlet/commits/41bfdab7d298901cdbbcc77ae14326b765af5a8f)) -* add touch emulater ([6836953](https://user/haoziqaq/varlet/commits/6836953943f38229b5b46361f30f077a00116db7)) -* complete snackbar ([f7aa36b](https://user/haoziqaq/varlet/commits/f7aa36b27d232242ddc796a5550086ef2a75e94d)) -* loading ([d93e481](https://user/haoziqaq/varlet/commits/d93e4812b18f8d4cb310797947416f8feeb97271)) -* modify loading size ([321526c](https://user/haoziqaq/varlet/commits/321526c3290e431eb5dbd82891712acddde15839)) -* snackbar ([ff3483d](https://user/haoziqaq/varlet/commits/ff3483d0a734ca822eb03b44710b20a7093f783a)) - - -### Performance Improvements - -* add validator for progress mode ([8eb9721](https://user/haoziqaq/varlet/commits/8eb9721cc4b4c7141a48efa285c2b383e8cab2e0)) -* refactor snackbar ([fd58373](https://user/haoziqaq/varlet/commits/fd583733d6c85a60d2fc05f7613c59689fdabe1d)) - - - - - -# [0.6.0](https://user/haoziqaq/varlet/compare/v0.5.13...v0.6.0) (2020-12-24) - - -### Bug Fixes - -* **cli:** 修改.vue文件编译逻辑 ([5e2e64a](https://user/haoziqaq/varlet/commits/5e2e64a48acdcf81ba446acc668ebbb32d519ce9)) -* **cli:** 重构部分代码 ([e4840dc](https://user/haoziqaq/varlet/commits/e4840dc59c5087a007d819a0f8db9db795f234a9)) -* **commands:** modify indexTemplate of create ([48a0687](https://user/haoziqaq/varlet/commits/48a068701253ceeaca11937a24251c5f5712d435)) -* **loading:** remove text ([86ec547](https://user/haoziqaq/varlet/commits/86ec5475af3d98e523cb1ddf81b42f830e9b4d82)) -* **snackbar:** add type definition ([a3283ff](https://user/haoziqaq/varlet/commits/a3283ff7f4e2f32ff55ced1a8d2b54d885df4be8)) -* **snackbar:** modify default duration ([520cf47](https://user/haoziqaq/varlet/commits/520cf47bfab6effec9e4bf64baf759b82f5b0881)) -* **snackbar:** modify position prop ([2862958](https://user/haoziqaq/varlet/commits/2862958021311cdd16eb3f540570a9351438b2d6)) -* **ui:** button原型制作中 已完成基本type size color基本交互 ([5d528ea](https://user/haoziqaq/varlet/commits/5d528ead4d3f13df3d70ee95b837cd819ef4d1e4)) -* **ui:** button原型完成 ([cdf32e5](https://user/haoziqaq/varlet/commits/cdf32e5f8a1e431fa052684f828d0dbceab46f96)) -* **ui:** menu组件原型完成 重构button popup dialog skeleton的props ([09a57b1](https://user/haoziqaq/varlet/commits/09a57b1d692eeab909ab0c1e2672d1095f2df12e)) -* **ui:** popup dialog原型完成 ([4c3da72](https://user/haoziqaq/varlet/commits/4c3da72d776d682c4b1be1b96e445076f53012c1)) -* **ui:** snackbar index.ts重构 ([a76a0be](https://user/haoziqaq/varlet/commits/a76a0be18dab5fd317d2011704764f4fe1ad4e98)) -* **ui:** snackbar 解决动画问题 ([da87973](https://user/haoziqaq/varlet/commits/da87973acb1b44b194459d9cda76bb31da5227ba)) -* **ui:** 修复类型问题 ([10ebe7a](https://user/haoziqaq/varlet/commits/10ebe7a90e9dfe71b5d87712f5bc55374213cff0)) -* **ui:** 修改了ripple的定位 ([67fd0cc](https://user/haoziqaq/varlet/commits/67fd0cc137a0e64b9c7058477ad56d9c5ed2b6f9)) -* **ui:** 增加button组件的loading参数校验 ([4d839c1](https://user/haoziqaq/varlet/commits/4d839c1297bf3069d5e8f299ff64d9eed822c853)) -* **ui:** 增加ui全局上下文 适配teleport keep-alive 锁操作 ([d237750](https://user/haoziqaq/varlet/commits/d237750e8efa0ef33841239c0c2e19d745726abe)) -* **ui:** 定义组件上下文对象 ([4e926c7](https://user/haoziqaq/varlet/commits/4e926c70fcbd49b848205709bcde00a93420bb98)) -* **ui:** 按钮组件开发 ([4fddcbd](https://user/haoziqaq/varlet/commits/4fddcbda84737fb499e0adcc798b5a73f5cf55ea)) -* **ui/image:** image原型完成 ([97fcc83](https://user/haoziqaq/varlet/commits/97fcc8333ef1648dd82fe2b34ab284cc753600b8)) -* **ui/lazy:** lazy原型完成 ([e332fa8](https://user/haoziqaq/varlet/commits/e332fa86eed8f6d1598473ba19b023a19c7ed54b)) -* **ui/lazy:** 修复CacheInstance类型错误 ([1573b56](https://user/haoziqaq/varlet/commits/1573b5614099fcc2da18c440dd1d27a332076adb)) -* **ui/lazy:** 修复了lazy在兼容模式下 图片从视口外操作到视口内没有进行check的bug ([8af34d0](https://user/haoziqaq/varlet/commits/8af34d0f0aa8b2f36002e43657de130095871340)) -* **ui/lazy:** 修复了部分情况下图片update重复check的bug ([f8fcf78](https://user/haoziqaq/varlet/commits/f8fcf7892a9b6b37c5400d49a931fbad7cbb631b)) -* **ui/lazy:** 增加1px像素占位 增加图片URL缓存 ([865a10c](https://user/haoziqaq/varlet/commits/865a10c7e51b0308c99d7387ab5740c7843e31b1)) -* **ui/lazy:** 增加局部滚动的案例cover ([c24820a](https://user/haoziqaq/varlet/commits/c24820a97d59fe2a97a9902afbc8f09615e99897)) -* **ui/lazy:** 增加绑定事件配置 ([64a95cb](https://user/haoziqaq/varlet/commits/64a95cb0777cbf695bfd6d0269a344af4e6ae813)) -* **ui/styles:** 修改common.less中的状态名 ([8e30223](https://user/haoziqaq/varlet/commits/8e302236c8d6f90e042eaa5deffcdfb12a4958dd)) -* add class for transition-group ([75e3df6](https://user/haoziqaq/varlet/commits/75e3df66067c26fb4eaa9c17d549a2e59501e536)) -* add isDeclarative for snackbar ([a156647](https://user/haoziqaq/varlet/commits/a156647f2917e6f82b069557f851844e6647a0a5)) -* add margin for loading text and detection componentName ([b42046e](https://user/haoziqaq/varlet/commits/b42046e7538d8b05b61b47085446f73c9c46a1b3)) -* add typescript type(App) ([4d49a7b](https://user/haoziqaq/varlet/commits/4d49a7bde63167b93c144badc353d0004af91109)) -* modify loading docs and example ([66be153](https://user/haoziqaq/varlet/commits/66be153e324c1378e80ee4ab94c0c7609ddd936e)) -* modify size and animation of loading ([63eb392](https://user/haoziqaq/varlet/commits/63eb392b01a46b469b1f9944f364970a64e686bb)) -* remove console ([675f910](https://user/haoziqaq/varlet/commits/675f910b8639d9f985c53fd43f8804e30b101029)) +# [0.7.0](https://github.com/haoziqaq/varlet/compare/v0.5.13...v0.7.0) (2020-12-25) + + +### Bug Fixes + +* add class for transition-group ([75e3df6](https://github.com/haoziqaq/varlet/commit/75e3df66067c26fb4eaa9c17d549a2e59501e536)) +* add isDeclarative for snackbar ([a156647](https://github.com/haoziqaq/varlet/commit/a156647f2917e6f82b069557f851844e6647a0a5)) +* add margin for loading text and detection componentName ([b42046e](https://github.com/haoziqaq/varlet/commit/b42046e7538d8b05b61b47085446f73c9c46a1b3)) +* add typescript type(App) ([4d49a7b](https://github.com/haoziqaq/varlet/commit/4d49a7bde63167b93c144badc353d0004af91109)) +* **cli/compiler:** 修复cjs编译bug 增加编译不同模块标准库css,less入口文件 ([226bc04](https://github.com/haoziqaq/varlet/commit/226bc0426f217e834512990edf78077f92fbed78)) +* **cli:** 修改.vue文件编译逻辑 ([5e2e64a](https://github.com/haoziqaq/varlet/commit/5e2e64a48acdcf81ba446acc668ebbb32d519ce9)) +* **cli:** 重构部分代码 ([e4840dc](https://github.com/haoziqaq/varlet/commit/e4840dc59c5087a007d819a0f8db9db795f234a9)) +* **commands:** modify indexTemplate of create ([48a0687](https://github.com/haoziqaq/varlet/commit/48a068701253ceeaca11937a24251c5f5712d435)) +* fix style of snackbar ([2858e3e](https://github.com/haoziqaq/varlet/commit/2858e3e972fea79a49b8efa9757235a97e385392)) +* **icons:** 子包@varlet/icons完成 svg待选 ([76c8cbd](https://github.com/haoziqaq/varlet/commit/76c8cbd9ff7494e442e6a0edcaed4e9e603905da)) +* **loading:** remove text ([86ec547](https://github.com/haoziqaq/varlet/commit/86ec5475af3d98e523cb1ddf81b42f830e9b4d82)) +* modify loading docs and example ([66be153](https://github.com/haoziqaq/varlet/commit/66be153e324c1378e80ee4ab94c0c7609ddd936e)) +* modify size and animation of loading ([63eb392](https://github.com/haoziqaq/varlet/commit/63eb392b01a46b469b1f9944f364970a64e686bb)) +* remove console ([675f910](https://github.com/haoziqaq/varlet/commit/675f910b8639d9f985c53fd43f8804e30b101029)) +* **snackbar:** add type definition ([a3283ff](https://github.com/haoziqaq/varlet/commit/a3283ff7f4e2f32ff55ced1a8d2b54d885df4be8)) +* **snackbar:** modify default duration ([520cf47](https://github.com/haoziqaq/varlet/commit/520cf47bfab6effec9e4bf64baf759b82f5b0881)) +* **snackbar:** modify position prop ([2862958](https://github.com/haoziqaq/varlet/commit/2862958021311cdd16eb3f540570a9351438b2d6)) +* **ui/image:** image原型完成 ([97fcc83](https://github.com/haoziqaq/varlet/commit/97fcc8333ef1648dd82fe2b34ab284cc753600b8)) +* **ui/lazy,skeleton:** 修改了skeleton样式 取消了lazy尝试请求的请求数参数 ([df1c8e1](https://github.com/haoziqaq/varlet/commit/df1c8e1ee6ef1d5db88ff2a4e50dc1a42ff224a7)) +* **ui/lazy:** lazy原型完成 ([e332fa8](https://github.com/haoziqaq/varlet/commit/e332fa86eed8f6d1598473ba19b023a19c7ed54b)) +* **ui/lazy:** 修复CacheInstance类型错误 ([1573b56](https://github.com/haoziqaq/varlet/commit/1573b5614099fcc2da18c440dd1d27a332076adb)) +* **ui/lazy:** 修复了lazy在兼容模式下 图片从视口外操作到视口内没有进行check的bug ([8af34d0](https://github.com/haoziqaq/varlet/commit/8af34d0f0aa8b2f36002e43657de130095871340)) +* **ui/lazy:** 修复了部分情况下图片update重复check的bug ([f8fcf78](https://github.com/haoziqaq/varlet/commit/f8fcf7892a9b6b37c5400d49a931fbad7cbb631b)) +* **ui/lazy:** 增加1px像素占位 增加图片URL缓存 ([865a10c](https://github.com/haoziqaq/varlet/commit/865a10c7e51b0308c99d7387ab5740c7843e31b1)) +* **ui/lazy:** 增加局部滚动的案例cover ([c24820a](https://github.com/haoziqaq/varlet/commit/c24820a97d59fe2a97a9902afbc8f09615e99897)) +* **ui/lazy:** 增加绑定事件配置 ([64a95cb](https://github.com/haoziqaq/varlet/commit/64a95cb0777cbf695bfd6d0269a344af4e6ae813)) +* **ui/styles:** 修改common.less中的状态名 ([8e30223](https://github.com/haoziqaq/varlet/commit/8e302236c8d6f90e042eaa5deffcdfb12a4958dd)) +* **ui:** button原型制作中 已完成基本type size color基本交互 ([5d528ea](https://github.com/haoziqaq/varlet/commit/5d528ead4d3f13df3d70ee95b837cd819ef4d1e4)) +* **ui:** button原型完成 ([cdf32e5](https://github.com/haoziqaq/varlet/commit/cdf32e5f8a1e431fa052684f828d0dbceab46f96)) +* **ui:** menu组件原型完成 重构button popup dialog skeleton的props ([09a57b1](https://github.com/haoziqaq/varlet/commit/09a57b1d692eeab909ab0c1e2672d1095f2df12e)) +* **ui:** popup dialog原型完成 ([4c3da72](https://github.com/haoziqaq/varlet/commit/4c3da72d776d682c4b1be1b96e445076f53012c1)) +* **ui:** snackbar index.ts重构 ([a76a0be](https://github.com/haoziqaq/varlet/commit/a76a0be18dab5fd317d2011704764f4fe1ad4e98)) +* **ui:** snackbar 解决动画问题 ([da87973](https://github.com/haoziqaq/varlet/commit/da87973acb1b44b194459d9cda76bb31da5227ba)) +* **ui:** 修复类型问题 ([10ebe7a](https://github.com/haoziqaq/varlet/commit/10ebe7a90e9dfe71b5d87712f5bc55374213cff0)) +* **ui:** 修改了ripple的定位 ([67fd0cc](https://github.com/haoziqaq/varlet/commit/67fd0cc137a0e64b9c7058477ad56d9c5ed2b6f9)) +* **ui:** 增加button组件的loading参数校验 ([4d839c1](https://github.com/haoziqaq/varlet/commit/4d839c1297bf3069d5e8f299ff64d9eed822c853)) +* **ui:** 增加ui全局上下文 适配teleport keep-alive 锁操作 ([d237750](https://github.com/haoziqaq/varlet/commit/d237750e8efa0ef33841239c0c2e19d745726abe)) +* **ui:** 定义组件上下文对象 ([4e926c7](https://github.com/haoziqaq/varlet/commit/4e926c70fcbd49b848205709bcde00a93420bb98)) +* **ui:** 按钮组件开发 ([4fddcbd](https://github.com/haoziqaq/varlet/commit/4fddcbda84737fb499e0adcc798b5a73f5cf55ea)) +* **ui:** 添加@varlet/icons依赖 ([f32de8c](https://github.com/haoziqaq/varlet/commit/f32de8cd8936a4fee07ad4cb1506c1863730b51a)) ### Features -* add button for menu ([e9e1860](https://user/haoziqaq/varlet/commits/e9e1860ccfb1f50624467c32d0ee2fba291a44f9)) -* add chips ([ed1cc95](https://user/haoziqaq/varlet/commits/ed1cc95d8a41d064804ec04be43714bbb69ef9eb)) -* add progress ([170d515](https://user/haoziqaq/varlet/commits/170d5150aa3dd43c2d2c13ad5c43a154f91749a2)) -* add propsEmits for loading ([41bfdab](https://user/haoziqaq/varlet/commits/41bfdab7d298901cdbbcc77ae14326b765af5a8f)) -* complete snackbar ([f7aa36b](https://user/haoziqaq/varlet/commits/f7aa36b27d232242ddc796a5550086ef2a75e94d)) -* loading ([d93e481](https://user/haoziqaq/varlet/commits/d93e4812b18f8d4cb310797947416f8feeb97271)) -* modify loading size ([321526c](https://user/haoziqaq/varlet/commits/321526c3290e431eb5dbd82891712acddde15839)) -* snackbar ([ff3483d](https://user/haoziqaq/varlet/commits/ff3483d0a734ca822eb03b44710b20a7093f783a)) +* add button for menu ([e9e1860](https://github.com/haoziqaq/varlet/commit/e9e1860ccfb1f50624467c32d0ee2fba291a44f9)) +* add chips ([ed1cc95](https://github.com/haoziqaq/varlet/commit/ed1cc95d8a41d064804ec04be43714bbb69ef9eb)) +* add progress ([170d515](https://github.com/haoziqaq/varlet/commit/170d5150aa3dd43c2d2c13ad5c43a154f91749a2)) +* add propsEmits for loading ([41bfdab](https://github.com/haoziqaq/varlet/commit/41bfdab7d298901cdbbcc77ae14326b765af5a8f)) +* add touch emulater ([6836953](https://github.com/haoziqaq/varlet/commit/6836953943f38229b5b46361f30f077a00116db7)) +* complete snackbar ([f7aa36b](https://github.com/haoziqaq/varlet/commit/f7aa36b27d232242ddc796a5550086ef2a75e94d)) +* loading ([d93e481](https://github.com/haoziqaq/varlet/commit/d93e4812b18f8d4cb310797947416f8feeb97271)) +* modify loading size ([321526c](https://github.com/haoziqaq/varlet/commit/321526c3290e431eb5dbd82891712acddde15839)) +* snackbar ([ff3483d](https://github.com/haoziqaq/varlet/commit/ff3483d0a734ca822eb03b44710b20a7093f783a)) ### Performance Improvements -* add validator for progress mode ([8eb9721](https://user/haoziqaq/varlet/commits/8eb9721cc4b4c7141a48efa285c2b383e8cab2e0)) -* refactor snackbar ([fd58373](https://user/haoziqaq/varlet/commits/fd583733d6c85a60d2fc05f7613c59689fdabe1d)) - - +* add validator for progress mode ([8eb9721](https://github.com/haoziqaq/varlet/commit/8eb9721cc4b4c7141a48efa285c2b383e8cab2e0)) +* refactor snackbar ([fd58373](https://github.com/haoziqaq/varlet/commit/fd583733d6c85a60d2fc05f7613c59689fdabe1d)) -## [0.5.13](https://user/haoziqaq/varlet/compare/v0.5.10...v0.5.13) (2020-11-27) +## [0.5.13](https://github.com/haoziqaq/varlet/compare/v0.5.10...v0.5.13) (2020-11-27) ### Bug Fixes -* **ui/package.json:** fix ([6bb1761](https://user/haoziqaq/varlet/commits/6bb1761adb7d25cd27d6ff38ffe3f483f219a4be)) -* **ui/skeleton:** 修复row的迭代bug ([d1640ac](https://user/haoziqaq/varlet/commits/d1640ac6da277ef5023b0cfb136c5a0787d370cd)) - - +* **ui/package.json:** fix ([6bb1761](https://github.com/haoziqaq/varlet/commit/6bb1761adb7d25cd27d6ff38ffe3f483f219a4be)) +* **ui/skeleton:** 修复row的迭代bug ([d1640ac](https://github.com/haoziqaq/varlet/commit/d1640ac6da277ef5023b0cfb136c5a0787d370cd)) -## [0.5.10](https://user/haoziqaq/varlet/compare/v0.5.9...v0.5.10) (2020-11-27) +## [0.5.10](https://github.com/haoziqaq/varlet/compare/v0.5.9...v0.5.10) (2020-11-27) ### Bug Fixes -* **cli ui:** 统一给每个包增加另一个style入口 方便babel-import-plugin解析 ([cd1ef49](https://user/haoziqaq/varlet/commits/cd1ef4957d9659c840d710bc423f44234d8340d2)) +* **cli ui:** 统一给每个包增加另一个style入口 方便babel-import-plugin解析 ([cd1ef49](https://github.com/haoziqaq/varlet/commit/cd1ef4957d9659c840d710bc423f44234d8340d2)) - - -## [0.5.9](https://user/haoziqaq/varlet/compare/v0.5.8...v0.5.9) (2020-11-27) +## [0.5.9](https://github.com/haoziqaq/varlet/compare/v0.5.8...v0.5.9) (2020-11-27) ### Bug Fixes -* **all package.json:** 修改了peer依赖 改成了依赖大于目标版本 ([294eced](https://user/haoziqaq/varlet/commits/294ecedce9e2f4bb85eea6556eac34e450818d05)) - +* **all package.json:** 修改了peer依赖 改成了依赖大于目标版本 ([294eced](https://github.com/haoziqaq/varlet/commit/294ecedce9e2f4bb85eea6556eac34e450818d05)) - -## [0.5.8](https://user/haoziqaq/varlet/compare/v0.5.7...v0.5.8) (2020-11-27) +## [0.5.8](https://github.com/haoziqaq/varlet/compare/v0.5.7...v0.5.8) (2020-11-27) ### Bug Fixes -* **cli/site ui:** skeleton组件原型完成 文档完成 ([374100f](https://user/haoziqaq/varlet/commits/374100f2bcfaafd1ca0369b560e05ecde292de7d)) - +* **cli/site ui:** skeleton组件原型完成 文档完成 ([374100f](https://github.com/haoziqaq/varlet/commit/374100f2bcfaafd1ca0369b560e05ecde292de7d)) - -## [0.5.7](https://user/haoziqaq/varlet/compare/v0.5.6...v0.5.7) (2020-11-26) +## [0.5.7](https://github.com/haoziqaq/varlet/compare/v0.5.6...v0.5.7) (2020-11-26) ### Bug Fixes -* **ui:** ripple指令原型完成 ([43f8665](https://user/haoziqaq/varlet/commits/43f8665e3254fe66b69ca542c9c5daa49a30cce4)) - - +* **ui:** ripple指令原型完成 ([43f8665](https://github.com/haoziqaq/varlet/commit/43f8665e3254fe66b69ca542c9c5daa49a30cce4)) -## [0.5.6](https://user/haoziqaq/varlet/compare/v0.5.5...v0.5.6) (2020-11-23) +## [0.5.6](https://github.com/haoziqaq/varlet/compare/v0.5.5...v0.5.6) (2020-11-23) ### Bug Fixes -* **cli:** 启动生成varlet.config.js ([d8dfa5e](https://user/haoziqaq/varlet/commits/d8dfa5ef9ec48ab1c234db0a2b4e20baf3c8f934)) - - +* **cli:** 启动生成varlet.config.js ([d8dfa5e](https://github.com/haoziqaq/varlet/commit/d8dfa5ef9ec48ab1c234db0a2b4e20baf3c8f934)) -## [0.5.5](https://user/haoziqaq/varlet/compare/v0.5.4...v0.5.5) (2020-11-23) +## [0.5.5](https://github.com/haoziqaq/varlet/compare/v0.5.4...v0.5.5) (2020-11-23) ### Bug Fixes -* **cli:** 修改ts-loader配置 allowTsInNodeModules ([cf65039](https://user/haoziqaq/varlet/commits/cf65039ca0da0021f52cdabecd61029e2abaf485)) +* **cli:** 修改ts-loader配置 allowTsInNodeModules ([cf65039](https://github.com/haoziqaq/varlet/commit/cf65039ca0da0021f52cdabecd61029e2abaf485)) - - -## [0.5.4](https://user/haoziqaq/varlet/compare/v0.5.3...v0.5.4) (2020-11-23) +## [0.5.4](https://github.com/haoziqaq/varlet/compare/v0.5.3...v0.5.4) (2020-11-23) ### Bug Fixes -* **cli:** tsconfig.json加入生产依赖 ([7c56dd2](https://user/haoziqaq/varlet/commits/7c56dd22f54001c503dabadd9e77392ce043ad10)) - - +* **cli:** tsconfig.json加入生产依赖 ([7c56dd2](https://github.com/haoziqaq/varlet/commit/7c56dd22f54001c503dabadd9e77392ce043ad10)) -## [0.5.3](https://user/haoziqaq/varlet/compare/v0.5.2...v0.5.3) (2020-11-23) +## [0.5.3](https://github.com/haoziqaq/varlet/compare/v0.5.2...v0.5.3) (2020-11-23) ### Bug Fixes -* **cli:** 把shim作为生产依赖 ([4e099d9](https://user/haoziqaq/varlet/commits/4e099d9c464795ddcc9047871020dfba7cfe6c85)) +* **cli:** 把shim作为生产依赖 ([4e099d9](https://github.com/haoziqaq/varlet/commit/4e099d9c464795ddcc9047871020dfba7cfe6c85)) - - -## [0.5.2](https://user/haoziqaq/varlet/compare/v0.5.1...v0.5.2) (2020-11-23) +## [0.5.2](https://github.com/haoziqaq/varlet/compare/v0.5.1...v0.5.2) (2020-11-23) ### Bug Fixes -* **all changelog:** 修正版本号 ([af8f2b6](https://user/haoziqaq/varlet/commits/af8f2b65d01a436601a5ebfe076be1f75df95c5c)) -* **添加tsconfig.json到cli的依赖列表:** tsconfig.json ([3e55747](https://user/haoziqaq/varlet/commits/3e55747cf3e9877ed30646d13dde35f7c6f0e0a5)) - +* **all changelog:** 修正版本号 ([af8f2b6](https://github.com/haoziqaq/varlet/commit/af8f2b65d01a436601a5ebfe076be1f75df95c5c)) +* **添加tsconfig.json到cli的依赖列表:** tsconfig.json ([3e55747](https://github.com/haoziqaq/varlet/commit/3e55747cf3e9877ed30646d13dde35f7c6f0e0a5)) - -## [0.5.1](https://user/haoziqaq/varlet/compare/v0.6.0...v0.5.1) (2020-11-23) +## [0.5.1](https://github.com/haoziqaq/varlet/compare/v0.6.0...v0.5.1) (2020-11-23) ### Bug Fixes -* **all packages/package.json:** 发包失败重新发包 ([849f9ae](https://user/haoziqaq/varlet/commits/849f9ae95f6ada7cb6e101d976826944bf1e15b3)) - +* **all packages/package.json:** 发包失败重新发包 ([849f9ae](https://github.com/haoziqaq/varlet/commit/849f9ae95f6ada7cb6e101d976826944bf1e15b3)) - -# [0.5.1](https://user/haoziqaq/varlet/compare/v0.5.0...v0.6.0) (2020-11-23) +# [0.6.0](https://github.com/haoziqaq/varlet/compare/v0.5.0...v0.6.0) (2020-11-23) ### Bug Fixes -* add active style ([e23ecb2](https://user/haoziqaq/varlet/commits/e23ecb27e564ef761c3f9bd1588956dc0a0e4385)) -* modify router path ([5451c55](https://user/haoziqaq/varlet/commits/5451c552072ad8f1693cf46e51499be0623db2f6)) -* sentenced to empty ([2f21c5b](https://user/haoziqaq/varlet/commits/2f21c5b52753ac4b520c9cf8530b6b35dd2658f8)) -* **cli:** 增加功能create命令生成单测模板 ([0a2cf55](https://user/haoziqaq/varlet/commits/0a2cf55042d18ed0889a2a44ac390eb8dffbf245)) +* add active style ([e23ecb2](https://github.com/haoziqaq/varlet/commit/e23ecb27e564ef761c3f9bd1588956dc0a0e4385)) +* **cli:** 增加功能create命令生成单测模板 ([0a2cf55](https://github.com/haoziqaq/varlet/commit/0a2cf55042d18ed0889a2a44ac390eb8dffbf245)) +* modify router path ([5451c55](https://github.com/haoziqaq/varlet/commit/5451c552072ad8f1693cf46e51499be0623db2f6)) +* sentenced to empty ([2f21c5b](https://github.com/haoziqaq/varlet/commit/2f21c5b52753ac4b520c9cf8530b6b35dd2658f8)) ### Features -* add style of site ([b936468](https://user/haoziqaq/varlet/commits/b9364680cc6bd4952a2e01a62e4c897af8ff6b97)) -* **markdown-loader:** addcard-warpper ([38ec300](https://user/haoziqaq/varlet/commits/38ec3005e4fa523863bc853f67cc5398073f716d)) -* add config to globalProperties ([00e2ebf](https://user/haoziqaq/varlet/commits/00e2ebf5ee38e1cb2eb0638ad03d724c837eeb44)) -* add example of checkbox ([6effb17](https://user/haoziqaq/varlet/commits/6effb177ade2f8e69a2756f9481829688c0f3961)) -* add iframe and add style ([5086937](https://user/haoziqaq/varlet/commits/508693748e3f9ee574d4db33b9fd83bd57bd66b1)) -* add markdon-loader ([7dc787b](https://user/haoziqaq/varlet/commits/7dc787bfc7719aeef3bdab263a6fffe267e2c9e7)) -* add test file and router ([fb6615c](https://user/haoziqaq/varlet/commits/fb6615c0d92fc086cd91824f4aa49750c0433526)) -* connect nav and router ([0bc640f](https://user/haoziqaq/varlet/commits/0bc640f2cf2081abc378b5db8644d8edeb374763)) +* add config to globalProperties ([00e2ebf](https://github.com/haoziqaq/varlet/commit/00e2ebf5ee38e1cb2eb0638ad03d724c837eeb44)) +* add example of checkbox ([6effb17](https://github.com/haoziqaq/varlet/commit/6effb177ade2f8e69a2756f9481829688c0f3961)) +* add iframe and add style ([5086937](https://github.com/haoziqaq/varlet/commit/508693748e3f9ee574d4db33b9fd83bd57bd66b1)) +* add markdon-loader ([7dc787b](https://github.com/haoziqaq/varlet/commit/7dc787bfc7719aeef3bdab263a6fffe267e2c9e7)) +* add style of site ([b936468](https://github.com/haoziqaq/varlet/commit/b9364680cc6bd4952a2e01a62e4c897af8ff6b97)) +* add test file and router ([fb6615c](https://github.com/haoziqaq/varlet/commit/fb6615c0d92fc086cd91824f4aa49750c0433526)) +* connect nav and router ([0bc640f](https://github.com/haoziqaq/varlet/commit/0bc640f2cf2081abc378b5db8644d8edeb374763)) +* **markdown-loader:** addcard-warpper ([38ec300](https://github.com/haoziqaq/varlet/commit/38ec3005e4fa523863bc853f67cc5398073f716d)) ### Performance Improvements -* add .DS_Store ([a78828e](https://user/haoziqaq/varlet/commits/a78828e530f914d211213b115be3d5726225fea5)) - - +* add .DS_Store ([a78828e](https://github.com/haoziqaq/varlet/commit/a78828e530f914d211213b115be3d5726225fea5)) -# [0.5.0](https://user/haoziqaq/varlet/compare/v0.4.0...v0.5.0) (2020-11-13) +# [0.5.0](https://github.com/haoziqaq/varlet/compare/v0.4.0...v0.5.0) (2020-11-13) ### Bug Fixes -* **.gitignore:** 移除cli routes文件的依赖托管 ([1576643](https://user/haoziqaq/varlet/commits/15766436d3e9e3f16f527635b5fbc97349d39d13)) -* **cli:** 移除typescript依赖 ([67cd726](https://user/haoziqaq/varlet/commits/67cd726ea0fbc72279e8c9a83b13d0bbc4803c6b)) +* **.gitignore:** 移除cli routes文件的依赖托管 ([1576643](https://github.com/haoziqaq/varlet/commit/15766436d3e9e3f16f527635b5fbc97349d39d13)) +* **cli:** 移除typescript依赖 ([67cd726](https://github.com/haoziqaq/varlet/commit/67cd726ea0fbc72279e8c9a83b13d0bbc4803c6b)) ### Features -* **cli:** 增加jest单测命令 一键执行所有单测文件 或是执行某一个组件的单测文件 ([b23bfee](https://user/haoziqaq/varlet/commits/b23bfeebf6be90f4e417e3210c3fc82976f59b73)) -* add auto create pc site route ([65cd41a](https://user/haoziqaq/varlet/commits/65cd41a085a22eee4c4cf0b39b3ba727939b4ed3)) +* add auto create pc site route ([65cd41a](https://github.com/haoziqaq/varlet/commit/65cd41a085a22eee4c4cf0b39b3ba727939b4ed3)) +* **cli:** 增加jest单测命令 一键执行所有单测文件 或是执行某一个组件的单测文件 ([b23bfee](https://github.com/haoziqaq/varlet/commit/b23bfeebf6be90f4e417e3210c3fc82976f59b73)) ### Performance Improvements -* ignore varlet-cli/lib ([41cf49b](https://user/haoziqaq/varlet/commits/41cf49bb85aa7e620a7ce47d38d3a172d175ee24)) - - +* ignore varlet-cli/lib ([41cf49b](https://github.com/haoziqaq/varlet/commit/41cf49bb85aa7e620a7ce47d38d3a172d175ee24)) -# [0.4.0](https://user/haoziqaq/varlet/compare/v0.3.2...v0.4.0) (2020-11-10) +# [0.4.0](https://github.com/haoziqaq/varlet/compare/v0.3.2...v0.4.0) (2020-11-10) ### Features -* **cli:** 支持打包成umd ([af0645f](https://user/haoziqaq/varlet/commits/af0645f8bf648717bf8d616024ac612af4764a51)) +* **cli:** 支持打包成umd ([af0645f](https://github.com/haoziqaq/varlet/commit/af0645f8bf648717bf8d616024ac612af4764a51)) +## [0.3.2](https://github.com/haoziqaq/varlet/compare/v0.3.1...v0.3.2) (2020-11-09) -## [0.3.2](https://user/haoziqaq/varlet/compare/v0.3.1...v0.3.2) (2020-11-09) -**Note:** Version bump only for package root - - - - - -## [0.3.1](https://user/haoziqaq/varlet/compare/v0.3.0...v0.3.1) (2020-11-09) +## [0.3.1](https://github.com/haoziqaq/varlet/compare/v0.3.0...v0.3.1) (2020-11-09) ### Bug Fixes -* **cli:** 修改.vue文件编译规则 ([71ab372](https://user/haoziqaq/varlet/commits/71ab37266132fa0771802aa57dbef1e6e3670e5a)) +* **cli:** 修改.vue文件编译规则 ([71ab372](https://github.com/haoziqaq/varlet/commit/71ab37266132fa0771802aa57dbef1e6e3670e5a)) - - -# [0.3.0](https://user/haoziqaq/varlet/compare/v0.2.1...v0.3.0) (2020-11-06) +# [0.3.0](https://github.com/haoziqaq/varlet/compare/v0.2.1...v0.3.0) (2020-11-06) ### Features -* **cli:** 实现compile命令,可编译出es,commonjs规范两套发布代码|实现--watch文件监听,按需编译有改动的文件 ([a00695a](https://user/haoziqaq/varlet/commits/a00695a2f0dc66e7ee9674c6ee18e12583cf614b)) - - +* **cli:** 实现compile命令,可编译出es,commonjs规范两套发布代码|实现--watch文件监听,按需编译有改动的文件 ([a00695a](https://github.com/haoziqaq/varlet/commit/a00695a2f0dc66e7ee9674c6ee18e12583cf614b)) -## [0.2.1](https://user/haoziqaq/varlet/compare/v0.2.0...v0.2.1) (2020-11-03) +## [0.2.1](https://github.com/haoziqaq/varlet/compare/v0.2.0...v0.2.1) (2020-11-03) ### Bug Fixes -* **cli:** 修复了node_modules的依赖包没被webpack扫进去的bug ([128a0fa](https://user/haoziqaq/varlet/commits/128a0fa44609ef20d5a16d99a25307ccb34be927)) +* **cli:** 修复了node_modules的依赖包没被webpack扫进去的bug ([128a0fa](https://github.com/haoziqaq/varlet/commit/128a0fa44609ef20d5a16d99a25307ccb34be927)) - - -# [0.2.0](https://user/haoziqaq/varlet/compare/v0.1.7...v0.2.0) (2020-11-03) +# [0.2.0](https://github.com/haoziqaq/varlet/compare/v0.1.7...v0.2.0) (2020-11-03) ### Bug Fixes -* **gitignore:** 修改gitignore ([0b51c3d](https://user/haoziqaq/varlet/commits/0b51c3d09e29bf4c54faaeac3373073982429ab7)) -* **packages/varlet-cli/lib:** 移除了packages/varlet-cli/lib ([3d71b03](https://user/haoziqaq/varlet/commits/3d71b03746838a31fb8922eedda8770699fb6743)) +* **gitignore:** 修改gitignore ([0b51c3d](https://github.com/haoziqaq/varlet/commit/0b51c3d09e29bf4c54faaeac3373073982429ab7)) +* **packages/varlet-cli/lib:** 移除了packages/varlet-cli/lib ([3d71b03](https://github.com/haoziqaq/varlet/commit/3d71b03746838a31fb8922eedda8770699fb6743)) ### Features -* **packages/**:** 架构调整,实现varlet-cli dev build命令 ([1ca2cf6](https://user/haoziqaq/varlet/commits/1ca2cf636af766615d6e733d5c96ac2d2349b34f)) - +* **packages/**:** 架构调整,实现varlet-cli dev build命令 ([1ca2cf6](https://github.com/haoziqaq/varlet/commit/1ca2cf636af766615d6e733d5c96ac2d2349b34f)) - -## [0.1.7](https://user/haoziqaq/varlet/compare/v0.1.6...v0.1.7) (2020-10-30) +## [0.1.7](https://github.com/haoziqaq/varlet/compare/v0.1.6...v0.1.7) (2020-10-30) ### Bug Fixes -* **所有子包的package.json:** 移除了publicConfig ([1ce49db](https://user/haoziqaq/varlet/commits/1ce49db96acb99578517765b4751276d86c1c170)) - +* **所有子包的package.json:** 移除了publicConfig ([1ce49db](https://github.com/haoziqaq/varlet/commit/1ce49db96acb99578517765b4751276d86c1c170)) - -## [0.1.6](https://user/haoziqaq/varlet/compare/v0.1.5...v0.1.6) (2020-10-30) +## [0.1.6](https://github.com/haoziqaq/varlet/compare/v0.1.5...v0.1.6) (2020-10-30) ### Bug Fixes -* **lerna.json:** 修改lerna.json的publishConfig字段 ([a6ea83f](https://user/haoziqaq/varlet/commits/a6ea83fa70738d7d5d41db377f0f19671c23a755)) - - +* **lerna.json:** 修改lerna.json的publishConfig字段 ([a6ea83f](https://github.com/haoziqaq/varlet/commit/a6ea83fa70738d7d5d41db377f0f19671c23a755)) -## [0.1.5](https://user/haoziqaq/varlet/compare/v0.1.4...v0.1.5) (2020-10-30) +## [0.1.5](https://github.com/haoziqaq/varlet/compare/v0.1.4...v0.1.5) (2020-10-30) ### Bug Fixes -* **lerna.json:** 修改了lerna.json的public选项 ([831e521](https://user/haoziqaq/varlet/commits/831e5219eaa9628decafa53d8e97274c5900c408)) - - +* **lerna.json:** 修改了lerna.json的public选项 ([831e521](https://github.com/haoziqaq/varlet/commit/831e5219eaa9628decafa53d8e97274c5900c408)) -## [0.1.4](https://user/haoziqaq/varlet/compare/v0.1.3...v0.1.4) (2020-10-30) +## [0.1.4](https://github.com/haoziqaq/varlet/compare/v0.1.3...v0.1.4) (2020-10-30) ### Bug Fixes -* **root package.json:** 修改主包package.json ([1ecfad0](https://user/haoziqaq/varlet/commits/1ecfad052da65abb7329dc5c4645717722366496)) +* **root package.json:** 修改主包package.json ([1ecfad0](https://github.com/haoziqaq/varlet/commit/1ecfad052da65abb7329dc5c4645717722366496)) - - -## [0.1.3](https://user/haoziqaq/varlet/compare/v0.1.2...v0.1.3) (2020-10-30) +## [0.1.3](https://github.com/haoziqaq/varlet/compare/v0.1.2...v0.1.3) (2020-10-30) ### Bug Fixes -* **所有子包的package.json:** 修改publicConfig字段 ([d711a57](https://user/haoziqaq/varlet/commits/d711a57f6307d8dd9b2f5b2b9a9a869a10d02f7d)) - - - +* **所有子包的package.json:** 修改publicConfig字段 ([d711a57](https://github.com/haoziqaq/varlet/commit/d711a57f6307d8dd9b2f5b2b9a9a869a10d02f7d)) -## [0.1.2](https://user/haoziqaq/varlet/compare/v0.1.1...v0.1.2) (2020-10-30) -**Note:** Version bump only for package root +## [0.1.2](https://github.com/haoziqaq/varlet/compare/v0.1.1...v0.1.2) (2020-10-30) +## [0.1.1](https://github.com/haoziqaq/varlet/compare/v0.1.0...v0.1.1) (2020-10-30) -## [0.1.1](https://user/haoziqaq/varlet/compare/v0.1.0...v0.1.1) (2020-10-30) - -**Note:** Version bump only for package root - +# [0.1.0](https://github.com/haoziqaq/varlet/compare/5913d0b1edb1d72e6c6439af1525a692291861ba...v0.1.0) (2020-10-30) +### Features -# 0.1.0 (2020-10-30) +* **初始化仓库:** 初始化规范化配置 monorepo配置 ([5913d0b](https://github.com/haoziqaq/varlet/commit/5913d0b1edb1d72e6c6439af1525a692291861ba)) -### Features -* **初始化仓库:** 初始化规范化配置 monorepo配置 ([5913d0b](https://user/haoziqaq/varlet/commits/5913d0b1edb1d72e6c6439af1525a692291861ba)) diff --git a/README.en-US.md b/README.en-US.md index 612f1376896..1a12f4de357 100644 --- a/README.en-US.md +++ b/README.en-US.md @@ -74,3 +74,9 @@ import '@varlet/ui/es/style.js' createApp(App).use(Varlet).mount('#app') ``` + +### Contributors + + + + diff --git a/README.md b/README.md index 94d295456c8..706e1850358 100644 --- a/README.md +++ b/README.md @@ -74,3 +74,9 @@ import '@varlet/ui/es/style.js' createApp(App).use(Varlet).mount('#app') ``` +### Contributors + + + + + diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 98ee7dfc244..00000000000 --- a/commitlint.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: ['@commitlint/config-conventional'], -} diff --git a/lerna.json b/lerna.json deleted file mode 100644 index 35074176fc0..00000000000 --- a/lerna.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "packages": [ - "packages/varlet-cli", - "packages/varlet-eslint-config", - "packages/varlet-icons", - "packages/varlet-markdown-loader", - "packages/varlet-stylelint-config", - "packages/varlet-touch-emulator", - "packages/varlet-ui" - ], - "useWorkspaces": true, - "npmClient": "yarn", - "command": { - "version": { - "conventionalCommits": true - } - }, - "publishConfig": { - "access": "public" - }, - "ignoreChanges": [ - "**/*.md" - ], - "version": "1.24.1" -} diff --git a/package.json b/package.json index f211784984f..cb2a091e7d5 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,13 @@ { - "name": "root", "private": true, - "useWorkspaces": true, - "version": "0.0.0", - "author": "haoziqaq <357229046@qq.com>", - "main": "index.js", - "npmClient": "yarn", - "workspaces": [ - "packages/*" - ], - "license": "MIT", + "version": "1.24.3", "scripts": { - "lint": "varlet-cli lint", - "bootstrap": "yarn && node scripts/bootstrap.mjs", - "commit": "git-cz", + "preinstall": "npx only-allow pnpm", "prepare": "husky install", - "publish": "node scripts/publish.mjs && lerna publish", - "gen": "varlet-cli gen" - }, - "config": { - "commitizen": { - "path": "./node_modules/cz-lerna-changelog" - } + "bootstrap": "pnpm install && node scripts/bootstrap.mjs", + "lint": "varlet-cli lint", + "changelog": "varlet-cli changelog", + "release": "node scripts/publish.mjs && varlet-cli release" }, "lint-staged": { "*.{ts,tsx,js,vue,less}": "prettier --write", @@ -62,15 +48,24 @@ "packages/varlet-ui/site/**", "packages/varlet-ui/coverage/**", "packages/varlet-ui/highlight/**", - "packages/varlet-ui/public/**" + "packages/varlet-ui/public/**", + "packages/varlet-ui/.varlet/**" ] }, "devDependencies": { + "@varlet/cli": "workspace:*", + "@varlet/icons": "workspace:*", + "@varlet/eslint-config": "workspace:*", + "@varlet/stylelint-config": "workspace:*", + "typescript": "^4.4.4", + "prettier": "^2.3.2", + "stylelint": "^13.13.1", + "eslint": "^7.30.0", + "husky": "^7.0.1", "surge": "^0.23.0", - "cz-lerna-changelog": "^2.0.3", "execa": "^5.0.0", - "lerna": "^3.22.1", - "ora": "^5.4.0", - "vue": "3.2.16" - } -} + "lint-staged": "^10.5.0", + "ora": "^5.4.0" + }, + "packageManager": "pnpm@6.24.3" +} \ No newline at end of file diff --git a/packages/varlet-cli/README.en-US.md b/packages/varlet-cli/README.en-US.md index 4f0c91561f4..9cce300036a 100644 --- a/packages/varlet-cli/README.en-US.md +++ b/packages/varlet-cli/README.en-US.md @@ -13,21 +13,21 @@ The out-of-the-box `Vue3 component library` rapid prototyping tool provides a se - 7.Out-of-the-box code publishing tool, publish to npm and github, and automatically generate a change log - 8.Support `Typescript` - 9.Support `Dark Mode` +- 10.Based on `pnpm` ### Quickstart `@varlet/cli` has built-in `single file component (sfc)` and `tsx, jsx` two styles of component library project templates, which can be directly generated by the `gen` command. -To help users directly enter the development of the component itself, it is recommended to use `yarn` as a package management tool. First, make sure that `yarn` is installed and added to the system environment variables. -The installation and configuration methods of `yarn` are not introduced here. +To help users directly enter the development of the component itself, it is recommended to use `pnpm` as a package management tool. ```shell # Install command line tools -yarn global add @varlet/cli +pnpm add @varlet/cli -g # Use the gen command to generate the project varlet-cli gen projectName cd projectName -yarn -yarn dev +pnpm install +pnpm dev ``` Then by simply modifying some basic information of the component library template, @@ -238,6 +238,24 @@ varlet-cli test -wa varlet-cli lint ``` +#### Lint commit message + +```shell +varlet-cli commit-lint +``` + +#### Generate changelog + +```shell +varlet-cli changelog +``` + +#### Release component library + +```shell +varlet-cli release +``` + #### Quickly create a component folder ```shell @@ -282,19 +300,13 @@ module.exports = { #### git-hook -`husky`, `lint-staged` cooperate with `eslint`, `stylelint`, `commitlint` to check before commit, +`husky`, `lint-staged` cooperate with `eslint`, `stylelint`, `varlet-cli commit-lint` to check before commit, `package.json` configuration is as follows ```json { "scripts": { - "prepare": "husky install", - "commit": "git-cz" - }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } + "prepare": "husky install" }, "lint-staged": { "*.{ts,tsx,js,vue,less}": "prettier --write", @@ -331,15 +343,6 @@ module.exports = { } ``` -create `commitlint.config.js` - -```js -// commitlint.config.js -module.exports = { - extends: ['@commitlint/config-conventional'], -} -``` - create `.prettierignore` ```text @@ -373,36 +376,13 @@ create `tsconfig.json` } ``` -### Release code +#### Note before release -Use `release-it` and `conventional-changelog` for code release and update log generation. -The configuration of `package.json` is as follows +- 1.The registry of npm must set to the official npm mirror +- 2.The npm must execute the login command for user login -```json -{ - "scripts": { - "genlog": "conventional-changelog -p angular -i CHANGELOG.md -s", - "genAllLog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", - "release": "yarn compile && release-it" - }, - "release-it": { - "git": { - "changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}", - "tagName": "v${version}", - "commitMessage": "chore: release ${version}", - "requireCleanWorkingDir": false - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": "angular", - "infile": "CHANGELOG.md" - } - } - } -} -``` - -#### Note before release +### Contributors -- 1.The registry of npm and yarn must set to the official npm mirror -- 2.Both npm and yarn must execute the login command for user login \ No newline at end of file + + + \ No newline at end of file diff --git a/packages/varlet-cli/README.md b/packages/varlet-cli/README.md index cdfa47e076d..d67b43cc858 100644 --- a/packages/varlet-cli/README.md +++ b/packages/varlet-cli/README.md @@ -13,20 +13,21 @@ - 7.开箱即用的代码发布工具,发布到npm和github,并自动生成更新日志 - 8.支持`Typescript` - 9.支持`暗黑模式` +- 10.基于`pnpm` ### 快速开始 `@varlet/cli`内置了`单文件组件(sfc)`和`tsx, jsx`两种风格的组件库项目模板,可以通过`gen`命令直接生成。 -帮助用户直接进入组件本身的开发,这里推荐使用`yarn`作为包管理工具,首先确保安装了`yarn`并且添加到系统环境变量中去,这里不展开介绍`yarn`的安装和配置方法。 +帮助用户直接进入组件本身的开发,推荐使用`pnpm`作为包管理工具。 ```shell # 安装命令行工具 -yarn global add @varlet/cli +pnpm add @varlet/cli -g # 使用gen命令生成项目 varlet-cli gen 项目名 cd 项目名 -yarn -yarn dev +pnpm install +pnpm dev ``` 然后通过简单修改一些组件库模板的基础信息,就可以开始组件库的开发了 @@ -233,6 +234,24 @@ varlet-cli test -wa varlet-cli lint ``` +#### 校验提交信息 + +```shell +varlet-cli commit-lint +``` + +#### 生成更新日志 + +```shell +varlet-cli changelog +``` + +#### 发布组件库 + +```shell +varlet-cli release +``` + #### 快速创建一个组件文件夹 ```shell @@ -277,18 +296,12 @@ module.exports = { #### git-hook -`husky`,`lint-staged`配合`eslint`,`stylelint`,`commitlint`做commit前的检查,`package.json`配置如下 +`husky`,`lint-staged`配合`eslint`,`stylelint`,`varlet-cli commit-lint`做commit前的检查,`package.json`配置如下 ```json { "scripts": { - "prepare": "husky install", - "commit": "git-cz" - }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } + "prepare": "husky install" }, "lint-staged": { "*.{ts,tsx,js,vue,less}": "prettier --write", @@ -325,15 +338,6 @@ module.exports = { } ``` -创建`commitlint.config.js` - -```js -// commitlint.config.js -module.exports = { - extends: ['@commitlint/config-conventional'], -} -``` - 创建`.prettierignore` ```text @@ -367,35 +371,13 @@ src/*/__tests__/** } ``` -### 发布代码 +#### 发布前注意 -使用`release-it`和`conventional-changelog`进行代码发布和更新日志的生成,`package.json`配置如下 +- 1.npm的仓库源必须指向npm官方镜像 +- 2.执行npm login进行登录 -```json -{ - "scripts": { - "genlog": "conventional-changelog -p angular -i CHANGELOG.md -s", - "genAllLog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", - "release": "yarn compile && release-it" - }, - "release-it": { - "git": { - "changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}", - "tagName": "v${version}", - "commitMessage": "chore: release ${version}", - "requireCleanWorkingDir": false - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": "angular", - "infile": "CHANGELOG.md" - } - } - } -} -``` - -#### 发布前注意 +### Contributors -- 1.npm和yarn的仓库源必须指向npm官方镜像 -- 2.npm和yarn都必须执行login命令进行用户登录 \ No newline at end of file + + + \ No newline at end of file diff --git a/packages/varlet-cli/generators/base/.husky/commit-msg b/packages/varlet-cli/generators/base/.husky/commit-msg index e8511eaeaf6..d15d5fc68ac 100755 --- a/packages/varlet-cli/generators/base/.husky/commit-msg +++ b/packages/varlet-cli/generators/base/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install commitlint --edit $1 +npx --no-install varlet-cli commit-lint $1 diff --git a/packages/varlet-cli/generators/base/.prettierignore b/packages/varlet-cli/generators/base/.prettierignore index 50d4d9a3530..88ff3d3cecc 100644 --- a/packages/varlet-cli/generators/base/.prettierignore +++ b/packages/varlet-cli/generators/base/.prettierignore @@ -3,5 +3,6 @@ es/** umd/** site/** public/** +types/global.d.ts *.md diff --git a/packages/varlet-cli/generators/base/README.md b/packages/varlet-cli/generators/base/README.md index 8d916136a73..6742c5ad04f 100644 --- a/packages/varlet-cli/generators/base/README.md +++ b/packages/varlet-cli/generators/base/README.md @@ -8,8 +8,8 @@ ### Quickstart ```shell -yarn -yarn dev +pnpm install +pnpm dev ``` ### Commands @@ -17,72 +17,66 @@ yarn dev #### Start the development server ```shell -yarn dev +pnpm dev ``` #### Build documentation site ```shell -yarn build +pnpm build ``` #### Building component libraries ```shell -yarn compile +pnpm compile ``` #### Lint code ```shell -yarn lint +pnpm lint ``` #### Run unit test ```shell -yarn test +pnpm test ``` #### Run unit test in watch mode ```shell -yarn test:watch +pnpm test:watch or -yarn test:watchAll +pnpm test:watchAll ``` #### Quickly create a component folder ```shell -yarn run create +pnpm run create ``` #### Mount git hook ```shell -yarn husky +pnpm husky ``` #### Generate changelog ```shell -yarn genlog +pnpm changelog ``` -#### Generate all changelog - -```shell -yarn genAllLog -``` - -#### Publish +#### Release tips: -- 1.The registry of npm and yarn must be the official source of npm -- 2.Both npm and yarn must be logged in +- 1.The registry of npm must be the official source of npm +- 2.The npm must be logged in ```shell -yarn release +pnpm release ``` diff --git a/packages/varlet-cli/generators/base/commitlint.config.js b/packages/varlet-cli/generators/base/commitlint.config.js deleted file mode 100644 index 98ee7dfc244..00000000000 --- a/packages/varlet-cli/generators/base/commitlint.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: ['@commitlint/config-conventional'], -} diff --git a/packages/varlet-cli/generators/base/package.json b/packages/varlet-cli/generators/base/package.json index dc4004a8319..3fa2f4d5814 100644 --- a/packages/varlet-cli/generators/base/package.json +++ b/packages/varlet-cli/generators/base/package.json @@ -17,16 +17,15 @@ "license": "MIT", "scripts": { "husky": "husky install", - "commit": "git-cz", + "preinstall": "npx only-allow pnpm", "dev": "varlet-cli dev", "build": "varlet-cli build", "preview": "varlet-cli preview", "compile": "varlet-cli compile", "create": "varlet-cli create", "lint": "varlet-cli lint", - "genlog": "conventional-changelog -p angular -i CHANGELOG.md -s", - "genAllLog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", - "release": "yarn compile && release-it", + "changelog": "varlet-cli changelog", + "release": "pnpm compile && varlet-cli release", "test": "varlet-cli jest", "test:watch": "varlet-cli jest -w", "test:watchAll": "varlet-cli jest -wa" @@ -35,27 +34,22 @@ "vue": "^3.2.0" }, "devDependencies": { - "@varlet/cli": "^1.20.0-alpha.0", - "vue": "3.2.16" - }, - "release-it": { - "git": { - "changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}", - "tagName": "v${version}", - "commitMessage": "chore: release ${version}", - "requireCleanWorkingDir": false - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": "angular", - "infile": "CHANGELOG.md" - } - } - }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } + "@varlet/cli": "workspace:*", + "@varlet/touch-emulator": "workspace:*", + "@varlet/icons": "workspace:*", + "@varlet/eslint-config": "workspace:*", + "@varlet/stylelint-config": "workspace:*", + "@vue/test-utils": "2.0.0-rc.6", + "typescript": "^4.4.4", + "vue-router": "4.0.12", + "vue": "3.2.16", + "live-server": "^1.2.1", + "prettier": "^2.3.2", + "stylelint": "^13.13.1", + "eslint": "^7.30.0", + "lint-staged": "^10.5.0", + "lodash-es": "^4.17.21", + "clipboard": "^2.0.6" }, "lint-staged": { "*.{ts,tsx,js,vue,less}": "prettier --write", @@ -88,11 +82,13 @@ "site/**", "coverage/**", "public/**", - "highlight/**" + "highlight/**", + ".varlet/**" ] }, "browserslist": [ "Chrome >= 51", "iOS >= 10" - ] + ], + "packageManager": "pnpm@6.24.3" } diff --git a/packages/varlet-cli/lib/index.js b/packages/varlet-cli/lib/index.js index 1fe41bc2495..5e25a9342f2 100755 --- a/packages/varlet-cli/lib/index.js +++ b/packages/varlet-cli/lib/index.js @@ -30,8 +30,11 @@ var jest_1 = require("./commands/jest"); var lint_1 = require("./commands/lint"); var gen_1 = require("./commands/gen"); var preview_1 = require("./commands/preview"); +var changelog_1 = require("./commands/changelog"); +var release_1 = require("./commands/release"); +var commitLint_1 = require("./commands/commitLint"); var program = new commander_1.Command(); -program.version("varlet-cli " + require('../package.json').version).usage(' [options]'); +program.version("varlet-cli ".concat(require('../package.json').version)).usage(' [options]'); program .command('dev') .option('-f --force', 'Force dep pre-optimization regardless of whether deps have changed') @@ -55,10 +58,18 @@ program .option('-cc --clearCache', 'Clear test cache') .action(jest_1.jest); program.command('gen ').description('Generate cli application').action(gen_1.gen); +program + .command('changelog') + .option('-rc --releaseCount ', 'Release count') + .option('-f --file ', 'Changelog filename') + .description('Generate changelog') + .action(changelog_1.changelog); +program.command('release').description('Release all packages and generate changelogs').action(release_1.release); +program.command('commit-lint ').description('Lint commit message').action(commitLint_1.commitLint); program.on('command:*', function (_a) { var _b = __read(_a, 1), cmd = _b[0]; program.outputHelp(); - logger_1.default.error("\nUnknown command " + cmd + ".\n"); + logger_1.default.error("\nUnknown command ".concat(cmd, ".\n")); process.exitCode = 1; }); program.parse(); diff --git a/packages/varlet-cli/package.json b/packages/varlet-cli/package.json index 8280a86a16b..99e60ab8c5a 100644 --- a/packages/varlet-cli/package.json +++ b/packages/varlet-cli/package.json @@ -1,6 +1,6 @@ { "name": "@varlet/cli", - "version": "1.24.0", + "version": "1.24.3", "description": "cli of varlet", "bin": { "varlet-cli": "./lib/index.js" @@ -33,53 +33,40 @@ }, "gitHead": "ee9c3866bedad96c86365b0f9888a3a6bb781b1f", "dependencies": { + "@varlet/icons": "workspace:*", + "@varlet/markdown-vite-plugin": "workspace:*", + "@varlet/touch-emulator": "workspace:*", "@babel/core": "^7.14.8", "@babel/preset-env": "^7.14.8", "@babel/preset-typescript": "^7.14.5", - "@commitlint/cli": "^11.0.0", - "@commitlint/config-conventional": "^11.0.0", - "@release-it/conventional-changelog": "^3.3.0", - "@varlet/eslint-config": "^1.13.0", - "@varlet/icons": "^1.24.0", - "@varlet/markdown-vite-plugin": "^1.24.0", - "@varlet/stylelint-config": "^1.9.0", - "@varlet/touch-emulator": "^1.0.1", + "@babel/helper-plugin-utils": "^7.14.5", + "vue": "3.2.16", + "vite": "2.6.5", "@vitejs/plugin-vue": "1.9.2", "@vitejs/plugin-vue-jsx": "1.1.8", - "@vue/babel-plugin-jsx": "^1.0.7", - "@vue/compiler-sfc": "3.2.22", - "@vue/test-utils": "^2.0.0-rc.6", - "babel-jest": "26.6.3", + "vite-plugin-html": "^2.1.0", + "@vue/babel-plugin-jsx": "1.0.7", + "@vue/compiler-sfc": "3.2.16", + "conventional-changelog": "^3.1.25", "chalk": "^4.1.0", + "glob": "^7.2.0", + "semver": "^7.3.5", "chokidar": "^3.5.2", - "clipboard": "^2.0.6", "commander": "^8.3.0", - "commitizen": "^4.2.2", - "conventional-changelog-cli": "^2.1.1", - "cz-conventional-changelog": "^3.3.0", - "eslint": "^7.30.0", "execa": "^5.0.0", "fs-extra": "^9.0.1", "hash-sum": "^2.0.0", - "husky": "^7.0.1", "inquirer": "^8.1.2", - "jest": "^26.6.3", "less": "^3.12.2", - "lint-staged": "^10.5.0", - "live-server": "^1.2.1", "lodash": "^4.17.21", - "lodash-es": "^4.17.21", "ora": "^5.4.0", - "prettier": "^2.3.2", - "release-it": "^14.11.5", "slash": "^3.0.0", - "stylelint": "^13.13.1", - "ts-jest": "^26.5.1", "typescript": "^4.4.4", - "vite": "2.6.5", - "vite-plugin-html": "^2.1.0", + "jest": "^26.6.3", + "babel-jest": "26.6.3", + "ts-jest": "^26.5.1", "vue-jest": "^5.0.0-alpha.8", - "vue-router": "4.0.12" + "lodash-es": "^4.17.21" }, "devDependencies": { "@types/babel__core": "^7.1.12", @@ -90,6 +77,12 @@ "@types/lodash-es": "^4.17.5" }, "peerDependencies": { - "vue": "3.2.16" + "@varlet/touch-emulator": "workspace:*", + "@vue/test-utils": "^2.0.0-rc.6", + "vue": "3.2.16", + "vue-router": "4.0.12", + "live-server": "^1.2.1", + "lodash-es": "^4.17.21", + "clipboard": "^2.0.6" } -} +} \ No newline at end of file diff --git a/packages/varlet-cli/site/components/utils/elements.ts b/packages/varlet-cli/site/components/utils/elements.ts index 7e903a8c35b..7fa004b59be 100644 --- a/packages/varlet-cli/site/components/utils/elements.ts +++ b/packages/varlet-cli/site/components/utils/elements.ts @@ -1,6 +1,5 @@ import { isNumber, isString, toNumber, kebabCase } from './shared' import type { StyleVars } from '../../utils' -import { requestAnimationFrame } from '@varlet/ui/src/utils/elements' export function getLeft(element: HTMLElement): number { const { left } = element.getBoundingClientRect() diff --git a/packages/varlet-cli/site/index.html b/packages/varlet-cli/site/index.html index 6d5b764c03d..9b8842accda 100644 --- a/packages/varlet-cli/site/index.html +++ b/packages/varlet-cli/site/index.html @@ -9,6 +9,9 @@ + + + diff --git a/packages/varlet-ui/src/menu/__tests__/__snapshots__/index.spec.js.snap b/packages/varlet-ui/src/menu/__tests__/__snapshots__/index.spec.js.snap index b0f5a1891ff..7d230faf351 100644 --- a/packages/varlet-ui/src/menu/__tests__/__snapshots__/index.spec.js.snap +++ b/packages/varlet-ui/src/menu/__tests__/__snapshots__/index.spec.js.snap @@ -2,106 +2,33 @@ exports[`test menu click forbid trigger 1`] = ` "
- -
+
+ +
- -
- -
" `; -exports[`test menu example 1`] = ` -"
对齐方式
-
-
- - -
-
-
-
- - -
-
-
偏移量
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
注册事件
-
- - -
-
" -`; - exports[`test menu trigger 1`] = ` "
- -
+
+ +
- -
- -
" `; exports[`test menu trigger 2`] = ` "
- +
+
- -
- -
" `; diff --git a/packages/varlet-ui/src/menu/__tests__/index.spec.js b/packages/varlet-ui/src/menu/__tests__/index.spec.js index 50370445a8e..04914bf744e 100644 --- a/packages/varlet-ui/src/menu/__tests__/index.spec.js +++ b/packages/varlet-ui/src/menu/__tests__/index.spec.js @@ -1,15 +1,8 @@ -import example from '../example' import Menu from '..' import VarMenu from '../Menu' import { mount } from '@vue/test-utils' import { createApp } from 'vue' -import { delay } from '../../utils/jest' - -test('test menu example', () => { - const wrapper = mount(example) - expect(wrapper.html()).toMatchSnapshot() - wrapper.unmount() -}) +import { delay, mockStubs } from '../../utils/jest' test('test menu plugin', () => { const app = createApp({}).use(Menu) @@ -21,7 +14,6 @@ const Wrapper = { [VarMenu.name]: VarMenu, }, data: () => ({ - mounted: false, show: false, }), template: ` @@ -29,9 +21,8 @@ const Wrapper = {