133 Commits
Author SHA1 Message Date
zealotchen 2f3d98428f chore(js): update react vue vue-next demo bundle 2024-11-06 21:51:27 +08:00
zealotchen eb925f703b fix(js): add NamedModulesPlugin 2024-11-06 21:47:27 +08:00
zealotchen 3dc2aa9fec feat(web): fix webrender scawX scawY animation 2024-11-05 20:44:47 +08:00
zealotchen 8ee86ffffb feat(web): fix webrender image not show 2024-11-05 20:44:36 +08:00
yokotsandzealotchen 5aee7f754e 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-11-05 20:38:18 +08:00
zealotchen ed596b7032 feat(vue-next): fix vue next version on 3.4.32 2024-11-05 20:36:08 +08:00
birdguo 6a5026d66a 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-11-05 20:35:28 +08:00
maxli 6573f2124b fix(android): end reach check failed when set preloadItemNumber 2024-11-04 10:51:57 +08:00
siguangli 0ce4d47eb0 fix(android): waterfall scroll offset after dispatch layout 2024-11-04 10:50:31 +08:00
maxli a84fda7b90 fix(android): add padding left to waterfall item layout 2024-11-04 10:47:54 +08:00
siguangliandmaxli 12ffb0a130 fix(android): font weight compatible with version 2.x (#3948)
Co-authored-by: maxli <maxli@tencent.com>
2024-11-04 10:43:48 +08:00
siguangliandmaxli a5f4220895 feat(android): text input support lineHeight (#3936)
Co-authored-by: maxli <maxli@tencent.com>
2024-11-04 10:43:18 +08:00
wwwcg 8e59529f72 feat(ios): waterfall component support footer view (#4098)
refactor waterfall component
2024-10-30 16:53:43 +08:00
wwwcg 02c82db565 chore(demo): update list demo in both react and vue 2024-10-16 12:09:38 +08:00
wwwcg 0336c26eb3 docs(react,vue): update docs of pointerEvents prop 2024-10-08 16:55:43 +08:00
6e3697f7a4 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:41:06 +08:00
wwwcg cc825e1490 fix(ios): onShow event of modal component not working (#4012)
remove obsolete onLayout property of shadowView
2024-09-13 14:54:20 +08:00
zealotchen 35c8d23513 fix(vue-next): fix beforeLoadStyle not work 2024-08-26 14:44:50 +08:00
wwwcg 5aa12d9d98 feat(ios): add paragraph styles support for TextInput
TextInput Current support:
1.lineHeight
2.lineSpacing
3.lineHeightMultiple
2024-08-02 15:26:12 +08:00
zealotchen f717db5428 feat(react): add font style inherit 2024-06-20 21:52:17 +08:00
zealotchen 7ca089c03b chore(release): released 3.3.0 2024-06-20 15:26: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