Commit Graph

142 Commits

Author SHA1 Message Date
GetKnowledgeByGitHub
5c798bae84
docs: slots (#386)
* feat(md): add <slot/> to jsx md

Co-authored-by: GetKnowledge <xxx@qq.com>
2021-04-12 13:15:44 +08:00
Daniel
0e4a660a60
docs: update README, add new user. (#270)
* docs: Update README, add new user.
2021-04-10 22:04:21 +08:00
Amour1688
c48dbb7dc8 v1.0.4 2021-03-29 21:04:28 +08:00
Amour1688
1972dbad32 style: format code 2021-03-22 10:26:54 +08:00
Amour1688
3a83e668f4 fix: dynamic slot flag not working 2021-03-15 23:37:01 +08:00
dependabot-preview[bot]
de17052e7d
chore(deps-dev): bump vue from 3.0.5 to 3.0.7 (#356)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.5 to 3.0.7.
- [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-03-15 17:36:14 +08:00
Amour1688
a744cb1aab chore(deps-dev): bump typescript to 4.2.3 2021-03-13 14:51:16 +08:00
Amour1688
e9b83a0f96 feat: v-model targe value should support variable 2021-03-13 14:38:00 +08:00
Amour1688
4c858a26e4 fix: jsx-explorer default text value error 2021-03-04 16:55:43 +08:00
Amour1688
b2d0394281 test: snap 2021-03-04 10:24:00 +08:00
Amour1688
17c2894067 feat: jsx-explorer support options 2021-03-03 23:58:09 +08:00
Amour1688
98b4f92f48 feat: v-model targe value support variable (#331) 2021-03-03 10:23:32 +08:00
JokcyLou
ec50fddc8a
feat: add pragma option and support @jsx annotation (#322)
* add pragma option and support @jsx annotation

* update syntax and remove useless eslint rule

* use BabelCore.BabelFile as type definition of state.file

* update chinese doc
2021-02-28 18:08:42 +08:00
Amour1688
57f670711d fix: typo [ci skip] 2021-02-12 21:47:04 +08:00
Amour1688
fa36f02535 v1.0.3 2021-02-06 21:51:19 +08:00
Amour1688
4c69e3ce71 test: snap for KeepAlive 2021-02-06 21:45:53 +08:00
Amour1688
f1c9629b88 fix: child nodes of KeepAlive should not be transformed to slots 2021-02-04 22:18:07 +08:00
Amour1688
ee3faaf58b v1.0.2 2021-01-17 00:23:07 +08:00
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