Commit Graph
125 Commits
Author SHA1 Message Date
maxli 49b8a59b9a fix(android): add padding left to waterfall item layout 2024-10-07 17:41:45 +08:00
yokotsandzealotchen 62102ab1e8 feat(vue-next): minify webpack bundle size (#3983)
* chore(drive/js): bump up ttypescript version

Current ttypescript version not support node v16.20.2, the latest v16 version.
It will cause this issue: https://github.com/cevek/ttypescript/issues/150

* fix(hipp-vue-next): correct patchProps types

align patchProps types with vue runtime core, but
there also have some spec tests to fix

* refactor(vue-next): minify generated style code

just like fromSsrAstNodes, optimize the output in hippy-vue-css-loader,
and make hippy-vue-next-style-parser to compatible with old and new format.

* build(example-scripts): remove webpack.NamedModulesPlugin

webpack.NamedModulesPlugin was deprecated in v4 and removed in v5.
these plugin are default in devlopment mode and should not be configured in production mode,
because it will expose file path and increase bundle sizes.

https://v4.webpack.js.org/migrate/4/#deprecatedremoved-plugins

* chore(examples): update vue3 assets

---------

Co-authored-by: zealotchen <92966734+zealotchen0@users.noreply.github.com>
2024-09-29 19:38:43 +08:00
zealotchen e425834374 feat(vue-next): fix vue next version on 3.4.32 2024-09-19 20:05:48 +08:00
3eed19d7fa feat(web): support web renderer for 3.0 (#4043)
* feat(web-renderer): init web-renderer

* feat(web-renderer): node operate & node event logic commit

* feat(web-renderer): compatible 3.x ui module change

* feat(web-renderer): compatible 3.x event system change

* feat(web-renderer): compatible 3.x event system change

* feat(web-renderer): compatible 3.x image & input component change

* feat(web-renderer): compatible 3.x swiper component change

* feat(web-renderer): compatible 3.x event & component change

* feat(web-renderer): remove unused type

* feat(web-renderer): fix getBoundingClientRect callback issue

* feat(web-renderer): support dynamicLoad & global variable

* feat(web-renderer): simple fix list-view scroll outside range issue

* feat(web-renderer): fix nested scroll demo issue

* feat(web-renderer): fix text-input default value issue

* feat(web-renderer): fix build type mismatch issue

* feat(web-renderer): fix react demo misspelling name

* feat(web-renderer): add animation support

* feat(web-render): fix e2e test issue & update docs

* feat(web-render): remove unused code

* fix(web-renderer): fix codeReview issue

* fix(vue-next): fix vue patchProp params type issue

* feat(web): fix dymamic load for web render

---------

Co-authored-by: birdguo <birdguo@tencent.com>
Co-authored-by: birdguo <gguoyu@users.noreply.github.com>
2024-09-19 17:27:18 +08:00
birdguo 700cfdf06e fix(vue-next): fix vuejs ugrade issue (#4004)
* fix(vue-next): fix vuejs ugrade issue

1. fix vuejs 3.4.32 patchProps API change issue
2. compatible vuejs compiler-core API change issue
3. upgrade vue-next demo package version

* fix(vue-next): fix vue-next-ssr-demo issue

1. compatible vue upgrade issue
2. fix vue-next-ssr demo issue
2024-09-11 15:22:08 +08:00
wwwcg 0bd662309c fix(ios): onShow event of modal component not working (#4012)
remove obsolete onLayout property of shadowView
2024-09-02 21:43:43 +08:00
zealotchen ac3fd3dbce fix(vue-next): fix beforeLoadStyle not work 2024-08-26 14:32:23 +08:00
zealotchen f16de8b315 feat(demo): update demo dependency 2024-07-24 12:19:41 +08:00
zealotchen ee29b3e765 feat(js): fix waterfall for iOS and ohos 2024-07-12 16:36:36 +08:00
siguangliandmaxli d967cba0a4 fix(android): font weight compatible with version 2.x (#3948)
Co-authored-by: maxli <maxli@tencent.com>
2024-07-10 14:12:37 +08:00
siguangliandmaxli ed73c09102 feat(android): text input support lineHeight (#3936)
Co-authored-by: maxli <maxli@tencent.com>
2024-07-01 19:35:17 +08:00
wwwcg ebbfaafba1 feat(ios): add paragraph styles support for TextInput
TextInput Current support:
1.lineHeight
2.lineSpacing
3.lineHeightMultiple
2024-06-26 14:49:24 +08:00
zealotchen eb89254b8b feat(react): add font style inherit 2024-06-20 21:50:49 +08:00
siguangliandsiguangli 3a3364c384 feat(android): add orientationChange event for Modal (#3861)
Co-authored-by: siguangli <maxli@tencent.com>
2024-05-17 19:38:50 +08:00
birdguo 3aa1ca4b05 fix(vue-next): fix vue-next package dependencies issue
* fix(vue-next): fix vue package dependencies issue

* fix(vue-next): fix vue-next package dependencies issue
2024-04-21 00:28:35 +08:00
zealotchen f141cc0776 feat(js): remove demo clipboard 2024-04-09 03:13:59 +00:00
8dad9f2463 feat(android): refactoring WaterfallView (#3809)
* feat(android): refactoring WaterfallView

* fix(vue3): fix vue3 refreshing && vue2 style

* fix(android): fix PullRefreshContainer size for recycler view

* fix(android): add copyright header for ItemLayoutParams

---------

Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: zealotchen <zealotchen@tencent.com>
2024-04-08 13:03:23 +08:00
siguangliandmaxli b38e990d13 feat(android): support fcp monitor (#3796)
* feat(android): support fcp monitor

* fix(android): rename to PAINT_TYPE_KEY

---------

Co-authored-by: maxli <maxli@tencent.com>
2024-03-27 14:09:34 +08:00
birdguo 70fd38b707 fix(vue-next): fix js release bundle size too big issue (#3779) 2024-03-18 21:46:30 +08:00
98df553255 feat(android): add modal features (#3680)
Co-authored-by: andrezhuang <andrezhuang@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2024-02-01 20:05:17 +08:00
birdguo df6c5bf4ad feature(vue-next): hippy vue next ssr for 3.0 (#3539)
* feat(vue-next): commit ssr init version

* feat(vue-next): remove unused method & fix ts type issue

* feat(vue-next): optimize build file types & update doc

* feat(vue-next): ssr support commit for library & demo

* fix(vue-next): fix eslint issue

* fix(vue-next): compatible hippy 3.x node operate method & ui

* fix(vue-next): remove unused code

* fix(vue-next): fix ssr demo issue

* fix(vue-next): fix div demo issue & native background android issue

* docs(vue-next): add new vue-next ssr docs
2024-01-19 17:58:40 +08:00
birdguo a4262e4f33 fix(vue-next): remove vue prod devtools global sign for ios&android 2024-01-05 18:32:24 +08:00
zealotchen 0abc46658d fix(vue): fix vue3 demo iframe bug 2023-05-22 16:58:37 +08:00
zoomchan-cxj 98309213f8 feat(react): add hippy3.0 new demo 2023-05-04 00:42:46 +00:00
zoomchan-cxj 5923ea8077 feat(vue3): support vue3 for hippy3.0 2023-04-27 22:29:31 +08:00
zoomchan-cxj 8a70fa4c79 refactor(example): update examples 2023-04-27 22:29:31 +08:00
zoomchan-cxj 6e067d3550 fix(vue): fix vue style diff error 2023-04-03 23:48:59 +08:00
shermanchen 203d437e6e refactor(example): change dependency to v3.0 2023-03-21 22:51:35 +08:00
zoomchan-cxj 93a21ab7f1 refactor(demo): change vue-loader dependency judgement 2023-03-21 13:41:32 +08:00
zoomchan-cxj b0580a0292 fix(demo): fix cross-env script error 2023-03-21 11:33:34 +08:00
zoomchan-cxj 0142790ecf fix(examples): compatible with legacy openssl when running webpack 2023-03-15 17:09:37 +08:00
zoomchan-cxj 9ed39d704c feat(vue): add whitespace handler config 2023-02-23 02:37:22 +00:00
60f71e9459 feat(android,ios,js): add getBoundingClientRect api (#2914)
* feat(android): add `getBoundingClientRect` api

* feat(ios): add `getBoundingClientRect` api

* feat(react,vue): add getBoundingClientRect api

* docs(homepage): add getBoundingClient api docs

* fix(android): use ArrayUtils, MapUtils access params

* fix(android): modify pair alloc time

---------

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: shermanchen <shermanchen@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-02-10 03:09:51 +00:00
shermanchen 592f7cf1b4 chore(examples): change static folder path 2023-01-09 17:31:43 +08:00
iPelandwwwcg e9eb76e45c feat(ios,android,vue): add load result param for webView's onLoadEnd api (#2668)
* feat(ios,vue): add load result param for webView's onLoadEnd api

* feat(android): add load result param for webView's onLoadEnd api

* feat(vue, doc): fix onLoadEnd params and update docs

* feat(docs,vue,react): add load result param for webView's onLoadEnd api

Co-authored-by: wwwcg <isarraypro@gmail.com>
2022-11-25 07:26:49 +00:00
zoomchan-cxj a9c4f37c5d feat(vue): support to merge styles on root element of child component 2022-11-08 11:49:19 +08:00
zoomchan-cxj 875d8eea84 feat(vue): fix attribute selector & support deep selector 2022-10-25 21:10:58 +08:00
zoomchan-cxj 549f1ecabb refactor(demo): fix demo script not compatible 2022-10-20 16:08:45 +08:00
shermanchen d5577ee8b8 fix(vue): fix web-renderer script 2022-10-20 16:08:45 +08:00
jonasluo f9134fb99e fix(ios): update vue example 2022-10-14 15:19:43 +08:00
jonasluo 299de73e82 feat(ios): listview stick cell wrong offset while refreshing 2022-10-14 15:19:43 +08:00
zoomchan-cxj d04ea9f813 refactor(vue): perf code & example 2022-10-12 18:41:30 +08:00
zoomchan-cxj 7b829e0efb feat(vue-css-loader): change dist file name to be parsed by vue-loader 2022-10-10 10:32:40 +08:00
zoomchan-cxj d72d9f8486 feat(vue): support scoped & attribute selector 2022-09-19 20:52:37 +08:00
zoomchan-cxj 2f60d94d2d fix(debug-server): fix wepback & node md4 hash not campatible 2022-09-19 13:31:36 +08:00
zoomchan-cxj 53919fa97f feat(vue): perf first screen attributes node update 2022-09-14 10:43:06 +08:00
zoomchan-cxj 6393dc3cea fix(hippy-react): remove NetInfo duplicated EventEmitter creating 2022-09-14 10:43:06 +08:00
zoomchan-cxj 4b8bcd9473 feat(vue): support ScrollView & ListView scroll related event params 2022-09-14 10:43:06 +08:00
zoomchan-cxj 0cc843c4b5 chore(version): change sdk publish information 2022-08-15 17:33:37 +08:00
zoomchan-cxj 04a5e8acaf feat(hippy-vue): support once modifier 2022-08-15 17:33:37 +08:00