Commit Graph

124 Commits

Author SHA1 Message Date
Amour1688
1698603278
feat: should merge generated imports (#274) 2021-01-17 00:15:54 +08:00
Amour1688
03586776d6 fix: typo [ci skip] 2021-01-16 23:11:00 +08:00
Amour1688
c0a3d56b7f v1.0.1 2021-01-09 21:28:52 +08:00
Amour1688
76add10663 docs: enableObjectSlots 2021-01-09 21:18:32 +08:00
Amour1688
689ceea4c0 feat: export interface VueJSXPluginOptions 2021-01-09 21:18:02 +08:00
dependabot-preview[bot]
764afcdb3c
chore(deps-dev): bump @vue/compiler-dom from 3.0.4 to 3.0.5 (#250)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.0.5/packages/compiler-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-09 00:01:08 +08:00
Amour1688
9238fab697
feat: support optional enableObjectSlots (#259)
* feat: user can toggle off the object slot syntax parser (#257)

* chore(deps-dev): bump vue from 3.0.0 to 3.0.5 (#246)

Bumps [vue](https://github.com/vuejs/vue) from 3.0.0 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/eslint-plugin (#244)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.9.1 to 4.11.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.11.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/parser from 4.9.1 to 4.11.1 (#245)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.9.1 to 4.11.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.11.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* feat: user can toggle off the object slot syntax parser

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* feat: default value of enableObjectSlots should be true

Co-authored-by: 逆寒 <869732751@qq.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-08 23:18:56 +08:00
dependabot-preview[bot]
03e839047c
chore(deps-dev): bump vue from 3.0.0 to 3.0.5 (#246)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-01 21:09:25 +08:00
Amour1688
503e232741 v1.0.0 2020-12-26 01:02:41 +08:00
Amour1688
86c0912bad docs: update RAEDME 2020-12-13 11:48:41 +08:00
Amour1688
cf25aa0b65 v1.0.0-rc.5 2020-12-12 00:44:16 +08:00
Amour1688
87f614b703 chore: add test for object slots 2020-12-12 00:36:33 +08:00
dependabot-preview[bot]
c04904f209
chore(deps-dev): bump @vue/compiler-dom from 3.0.0 to 3.0.4 (#208)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.0 to 3.0.4.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.0.4/packages/compiler-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-12 00:12:31 +08:00
zkwolf
b0fb8c0db4
fix: jsx slot render unexpected #215 (#218)
* fix: jsx slot render unexpected #215

* test: update test
2020-12-11 23:46:34 +08:00
Amour1688
fe68d384c9 v1.0.0-rc.4 2020-12-08 22:19:39 +08:00
John60676
215aaedd05
docs: add v-models docs (#207) 2020-12-08 14:21:22 +08:00
Amour1688
a0a60ee46d docs: update README 2020-12-07 23:17:45 +08:00
Amour1688
5b6323f22a
feat: should support passing object slots via JSX children (#204)
* feat: should support passing object slots via JSX children

* feat: add unit test

* feat: remove `cloneDeep` of `isSlot`

* chore(deps): add `@babel/template`
2020-12-07 23:05:41 +08:00
Che Guevara
832df5b6bd
docs(README-zh_CN.md): enrich translation (#179) 2020-11-29 19:09:10 +08:00
Amour1688
9ea52ee9a1
feat: use addNamed import (#196) 2020-11-29 19:02:03 +08:00
Amour1688
1ba60fbc85 fix: declared emitted event in the emits option 2020-10-29 14:09:56 +08:00
John60676
cc1d9679dc
fix: model can be v-model argument (#153) 2020-10-28 22:05:13 +08:00
John60676
604d53b956
feat: support v-models (#140)
* feat: support multiple bindings

* refactor: optimize code

* test: add underscore modifier case

* refactor: modify value to values

* refactor: remove underscore modifier support

* refactor: optimize v-models

* refactor: optimize code
2020-10-28 18:42:43 +08:00
Amour1688
1fdcfd0ce2 style: optimize code 2020-10-19 14:50:25 +08:00
Amour1688
f50b9e37fd fix: <A {...{ a: 1 }} /> throw error when override props 2020-10-17 10:29:08 +08:00
Amour1688
e9aa278b20 fix: ts error 2020-10-12 13:49:27 +08:00
dependabot-preview[bot]
5d4a501bfe
chore(deps-dev): bump vue from 3.0.0-rc.10 to 3.0.0 (#128)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0-rc.10 to 3.0.0.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-09 15:58:51 +08:00
dependabot-preview[bot]
bac6fde576
chore(deps-dev): bump @vue/compiler-dom from 3.0.0-rc.10 to 3.0.0 (#124)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.0-rc.10 to 3.0.0.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.0.0/packages/compiler-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-09 10:33:00 +08:00
hangzou
4318ca17e0
docs: update slot's description (#116)
* docs: update slot's description
2020-09-24 17:19:00 +08:00
Amour1688
0e2253b6a8 docs: update v-model [ci skip] 2020-09-22 11:55:56 +08:00
hangzou
e898d0eaf8
docs: add new user in README (#108)
* feat(docs): add new user in README

* docs: update README-zh & change element plus' link
2020-09-20 13:14:57 +08:00
Amour1688
ad8c3cbfe6 chore: use generateUidIdentifier 2020-09-15 11:59:54 +08:00
Amour1688
01f812c19e docs: mergeProps 2020-09-14 17:42:03 +08:00
Amour1688
bd938b770d v1.0.0-rc.3 2020-09-14 17:23:43 +08:00
Amour1688
b23cfe0020 test: overrideProps snapshot 2020-09-09 17:19:36 +08:00
Amour1688
e16695d87e feat: optional mergePros 2020-09-09 17:07:47 +08:00
Amour1688
45290ca1ee chore: add snapshot 2020-09-08 14:12:42 +08:00
Amour1688
4398191f95 chore: remove webpack-dev-server 2020-09-08 14:12:19 +08:00
Amour1688
94b4f3aa80 feat: merge static and dynamic class / style attributes into array 2020-09-08 12:58:01 +08:00
Amour1688
bf59811f43 fix: mergeProps order error 2020-09-07 22:24:29 +08:00
Amour1688
f519920db2 chore: set monaco-editor jsx as preserve 2020-09-06 11:33:12 +08:00
Amour1688
53739e1d5c chore: monaco in cdn 2020-09-05 21:58:07 +08:00
dependabot-preview[bot]
d00a225a2d
chore(deps-dev): bump vue from 3.0.0-rc.9 to 3.0.0-rc.10 (#91)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0-rc.9 to 3.0.0-rc.10.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-05 11:32:51 +08:00
dependabot-preview[bot]
98fe1c8051
chore(deps-dev): bump @vue/compiler-dom from 3.0.0-rc.9 to 3.0.0-rc.10 (#93)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.0-rc.9 to 3.0.0-rc.10.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.0.0-rc.10/packages/compiler-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-05 11:32:31 +08:00
Amour1688
8bfd6667d5 docs: fix wrong spelling of ts 2020-09-04 17:49:29 +08:00
dependabot-preview[bot]
5001c1e912
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#88)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.10.1 to 4.0.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.0.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 22:12:10 +08:00
dependabot-preview[bot]
0c01e71932
chore(deps-dev): bump typescript from 3.9.6 to 4.0.2 (#89)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 15:09:11 +08:00
dependabot-preview[bot]
341d461261
chore(deps-dev): bump @typescript-eslint/parser from 3.10.1 to 4.0.1 (#85)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.10.1 to 4.0.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.0.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 15:05:35 +08:00
Amour1688
1b7fb1b307 docs: update README for TypeScript 2020-09-01 10:14:36 +08:00
dependabot-preview[bot]
dcf22537b1
chore(deps-dev): bump vue from 3.0.0-rc.7 to 3.0.0-rc.9 (#79)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0-rc.7 to 3.0.0-rc.9.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-31 15:12:19 +08:00