270 Commits

Author SHA1 Message Date
wwwcg 053a116e62 feat(ios,js): refreshWrapper support viewPager (#3974)
* feat(ios): refreshWrapper support viewPager

* feat(react): refresh wrapper support horizontal and update demo

* feat(react): add refresh wrapper footer

* feat(react): modify refresh-wrapper refreshFooterCompleted

* feat(ios): add footer support to refreshWrapper

* docs(react): add footer to refresh wrapper component

---------

Co-authored-by: zealotchen <zealotchen@tencent.com>
2024-10-16 17:56:55 +08:00
zealotchen 0aa7901e3e feat(doc): remove readme md 2024-04-17 11:19:50 +08:00
zealotchen 8aa1711ec5 feat(doc): add README.md doc 2024-04-16 15:27:31 +08:00
zealotchen e12164dfcd feat(doc): rename english readme for security check 2024-04-16 11:19:04 +08:00
zealotchen 9bd3383208 feat(doc): rename readme for security check 2024-04-16 11:11:54 +08:00
wwwcg 7c13a42d41 fix(ios): turbo module not get called on destroyInstance event 2024-04-10 19:53:06 +08:00
wwwcg 4cfdb8fc3d fix(ios): remove unused initialization param of HippyRootView
and update integration documents
2024-01-26 17:20:26 +08:00
birdguo 952f2f7cc2 feature(vue-next): hippy vue next ssr (#3526)
* feat(hippy-vue-next): add ssr style parser

* feat(hippy-vue-next): add ssr runtime support

* feat(vue-next): add server renderer package

* feat(vue-next): server-renderer normal version commit

* feat(vue-next): optimize text render function

* feat(vue-next): add ssr render & compiler package

* feat(vue-next): init vue-next-ssr-demo

* feat(vue-next): ssr support scoped style & ssr bug fix

* feat(vue-next): fix ssr style issue

* feat(vue-next): fix ssr demo problem

* feat(vue-next): add webpack ssr build config

* feat(vue-next): webpack ssr demo commit

* feat(vue-next): fix build problem

* feat(vue-next): fix build problem

* feat(vue-next): fix ssr build problem

* docs(vue-next): add ssr description doc

* docs(vue-next): add how to use ssr doc& update demo readme

* docs(vue-next): add ssr how to use and description

* docs(vue-next): add ssr architecture image

* feat(vue-next): add ssr store usage & update docs

* feat(vue-next): add ssr unit-test and style parser unit-test

* feat(vue-next): add server-render unit test case

* feat(vue-next): add server-render vnode unit test case

* feat(vue-next): add server-render unit test case

* feat(vue-next): add compiler-ssr unit test case

* feat(vue-next): add ssr related unit test case & commit

* feat(vue-next): commit totally native component ssr support

* feat(vue-next): complete ssr render event map

* feat(vue-next): complete ssr render event map & add unit test case

* feat(vue-next): complete ssr render event map & add unit test case

* Revert "feat(vue-next): complete ssr render event map & add unit test case"

This reverts commit 72ac570f4e.

* feat(vue-next): add unit test setup file

* feat(vue-next): resolve fragment render problem

* feat(vue-next): fix native component render problem

* feat(vue-next): modify native component render unit test case

* fix(vue-next): fix websocket demo field name issue

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

* fix(vue-next): fix ssr text node render issue

* feat(vue-next): add ssr text node render unit test case

* feat(vue-next-demo): optimize ssr build

* feat(vue-next): compatible node props and style props

* feat(vue-next): compatible fontWeight && placeholder

* feat(vue-next): specify ssr package types & update demo pinia version

* feat(vue-next): compatible iframe ssr load issue

* feat(vue-next): compatible ssr style & store issue

* feat(vue-next): fix iframe ssr props issue

* feat(vue-next): fix textInput ssr props & style issue

* feat(vue-next): fix waterfall ssr issue

* feat(vue-next): fix pull-header-footer ssr issue

* feat(vue-next): fix nested scroll ssr issue

* feat(vue-next): fix loop animation ssr issue

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

* feat(vue-next): fix div demo & css comment property issue

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

* feat(vue-next): commit ssr dev mode all logic

* feat(vue-next): dev & build tools complete

* feat(vue-next): optimize dev experience

* docs(vue-next): update ssr usage doc

* feat(vue-next): add ssr render & style unit test case

* feat(vue-next): add ssr style-parse & ssr node parse unit test case

* docs(vue-next): optimize ssr doc

* feat(vue-next): update ssr demo node engines min version

* feat(vue-next): optimize ssr render string transform performance

* feat(vue-next): add new dir for ssr demo

* feat(vue-next): fix ssr demo issue & optimize comment

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

* docs(vue-next): update ssr docs

* docs(vue-next): update vue-next ssr docs
2024-01-19 21:08:42 +08:00
maxli 7c465ee68f chore(docs): android custom native view how to layout spec 2023-12-27 08:38:23 +00:00
ruifanyuan 9ced5ec5c6 chore(doc): add copy instruction for android 2023-12-15 07:06:14 +00:00
ruifanyuan 7a97313e0a chore(doc): move git and node installation step to common step on macOS 2023-12-07 17:02:22 +08:00
ruifanyuan 293db159d7 chore(docs): improve first part of integration.md 2023-12-07 08:38:10 +00:00
zealotchen c64bd70899 feat(vue): update vue3 & vue animation doc 2023-11-24 09:49:23 +00:00
iPel 740c5feff5 chore(doc): update debug guide docs 2023-11-03 13:31:48 +00:00
birdguo 99c5063da1 docs(vue-next): add register custom-component doc & use case 2023-11-01 08:42:03 +00:00
wwwcg 9899875658 feat(ios): rewrite animation module (#3436)
* feat(ios): rewrite animation module

BREAKING CHANGE: this commit is a breaking change! Animation related code needs to be checked!

* docs(ios): animation demo and doc update

* chore(ios): add license to all pop files, remove some animation support
2023-08-10 14:54:48 +08:00
wwwcg 5045885758 feat(ios): add NightMode change event 2023-07-27 06:19:57 +00:00
Toby 22f2e05ed8 feat(hippy-react): Text component add forbidUnicodeToChar (#3380)
* feat(hippy-react): Text component add forbidUnicodeToChar

* feat(hippy-react): Text component add forbidUnicodeToChar

---------

Co-authored-by: tobywanwan <tobywanwan@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-07-18 21:47:03 +08:00
pollyzhang e92cdabc0b feat(core): add readme for snapshot 2023-05-11 08:49:56 +00:00
luomy 67123c9f34 feat(ios, js): remove clipboard module 2023-05-05 09:46:20 +00:00
wwwcg 978849010f docs(ios): update integration guide for iOS 2023-04-08 04:42:30 +00:00
wwwcg 8a5b1e74f5 docs(ios): update integration guides 2023-03-27 06:19:50 +00:00
pollyzhang 92bc2ace59 fix(readme): fix English README of requestInterrupt method 2023-03-24 02:10:52 +00:00
pollyzhang dfff633eb9 fix(readme): fix readme of requestInterrupt method 2023-03-24 01:55:06 +00:00
wwwcg 17ffbf7666 feat(ios): add onKeyboardWillHide callback for iOS 2023-03-17 11:00:19 +08:00
zoomchan-cxj df558f7f89 docs(homepage): change scrollTo parameter docs 2023-03-15 16:28:23 +08:00
Xuanquan Zhuang a0976aae0e fix(android): return size after loading gif (#3001)
* fix(android): return size after loading gif

* fix(vue, vue-next): handle onLoadEnd params

* Revert "fix(vue, vue-next): handle onLoadEnd params"

This reverts commit 52aae10130.

* fix(android): return image size using onLoad

* fix(img): update demo about onLoad usage

* docs(img): update doc about onLoad usage

* fix(demo): modify attribute name

* fix(android): change if condition order

* fix(vue, vue-next): handle onLoadEnd params

* fix(vue, vue-next): remove unexpected events

* fix(vue, vue-next): modify code expression

* feat(react): update gif onLoad

* feat(vue, vue-next): update demo expression

---------

Co-authored-by: andrezhuang <andrezhuang@tencent.com>
2023-03-08 06:37:31 +00:00
Zoom Chan 32002c9663 docs(README): transfer some document to offcial website (#3010) 2023-03-06 16:16:53 +08:00
Xuanquan Zhuang 6eb7021beb docs(font): modify document about custom-font (#3007)
* docs(font): modify document about custom-font

* docs(font): modify en-us doc about custom-font

* docs(font): add spaces for doc

---------

Co-authored-by: andrezhuang <andrezhuang@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-03-06 06:20:38 +00:00
zoomchan-cxj eeb1065549 docs(vue3): fix dialog introduction error 2023-03-02 10:47:50 +08:00
birdguo a6ad0f91fc docs(vue,vue-next): update keep-alive hmr issue description 2023-03-01 04:18:52 +00:00
zoomchan-cxj 43ff7d9d6d chore(example,doc): add dialog attention for vue3.0 2023-02-27 16:56:55 +08:00
FE-xiaoJiang f8e1780d16 feat(docs): add docs for UserLocal debug mode;
feat(docs): add en docs for UserLocal debug mode;
2023-02-27 04:23:26 +00:00
wwwcg c56de50e05 feat(android, ios): nested rich text support vertical alignment setting (#2521)
* feat(ios): rich text images support vertical alignment setting

* feat(ios): add rich text's vertical align offset support

* feat(ios): margin support for nested component in richText

* feat(android): add `verticalAlign` for `Image` in rich text

* fix(android): backgroundColor not working in nested text

* feat(android): add properties for `Image` in rich text

`tintColor`, `backgroundColor`, `margin` and `padding`

* feat(ios): text in rich text support verticalAlign setting

* feat(android): verticalAlign for textnode

* feat(android): add backgroundColor in legacy mode

* fix(android): baseline align offset wrong

* feat(ios): support nested text verticalAlign style setting

* fix(android): verticalAlign for boringLayout

* chore(docs): add verticalAlign docs

* chore(ios): make verticalAlign default value baseline

* feat(vue): update text demo

* chore(ios): add verticalAlign and update demo

* chore(docs): update verticalAlign minimum supported version

---------

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: luomy <ozonelmy@163.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-02-22 03:33:04 +00:00
wwwcg 98523c9e68 feat(android,ios): add & perf performance timing ability (#2804)
* feat(ios): add and correct some entries in performance logger

* docs(performance): update performance guide

* feat(android): record separate event for `TimeMonitor`

* feat(docs): add android time monitor docs

* feat(docs): add startup performance guide

* feat(ios): add performanceLogger module

* fix(android,js): update performance api

* refactor(android): load time report

* fix(android): code style problems

* refactor(android): change monitor api

* refactor(ios): update performance module with turbo imp

* chore(android): add copyright header

* refactor(android,ios): remove instanceId implement

* feat(docs): add minimum support version

* refactor(android): rename nativeCallback method

* refactor(android): use single payload param in nativeCallback method

* feat(bridge): revert style changed

---------

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-02-22 02:46:56 +00:00
luomy 3a9d14ffd7 chore(docs): update onSizeChanged event document 2023-02-20 13:12:47 +00:00
iPel 3b6aebda35 fix(android): text with negative letterSpacing wraps at wrong position (#2843)
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2023-01-08 14:44:25 +00:00
DMX c810377069 chore(docs,demo): update WebRenderer docs & demo (#2566)
* chore(hippy-react-demo): remove hippy:dev from web:dev

* chore(hippy-react-demo): fix image path error in web-renderer dev mode

* docs(web): Update integration.md and package.json

Co-authored-by: questguo <questguo@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-12-26 02:35:10 +00:00
Zoom Chan 257d8135ae refactor(js): perf nestedScrollPriority demo & docs (#9)
* refactor(js): perf nestedScrollPriority demo & docs

* refactor(js): add nested scroll more pager item
2022-12-07 21:33:12 +08:00
iPel 6ec49593d8 feat(android): add nestedScrollPriority for ListView and ScrollView
* feat(android): squash branch scroll_conflict (#6)

* fix(android): nested scroll feature

  - edit priority api
  - scrollview prevent nested scroll when enabled paging
  - fix viewpager vertical issue
  - viewpager nested scroll
  - translate comments

* fix(android): Eltonqin/netscroll bugfix (#3)

* fix(android):HorizonScrollView may throw exception when handle onInterceptTouchEvent

* fix(android):post task still run after remove

* fix(android):post task still run after remove,modify format

Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll feature

  - viewpager nested scroll issue

* feat(docs): update docs

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll conflicts with pull refresh

* feat(docs, demo): update docs and demos

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>
2022-12-07 21:33:12 +08:00
zoomchan-cxj 8958a17054 Revert "feat(android): add nestedScrollPriority for ListView and ScrollView (#2744)"
This reverts commit 2644658376.
2022-12-07 21:33:12 +08:00
iPel 2644658376 feat(android): add nestedScrollPriority for ListView and ScrollView (#2744)
* fix(android): nested scroll conflict

* fix(android): nested scroll conflicts with pull refresh

* feat(android): add `nestedScrollPriority` for ListView and ScrollView

* feat(android): squash branch scroll_conflict (#6)

* fix(android): nested scroll feature

  - edit priority api
  - scrollview prevent nested scroll when enabled paging
  - fix viewpager vertical issue
  - viewpager nested scroll
  - translate comments

* fix(android): Eltonqin/netscroll bugfix (#3)

* fix(android):HorizonScrollView may throw exception when handle onInterceptTouchEvent

* fix(android):post task still run after remove

* fix(android):post task still run after remove,modify format

Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll feature

  - viewpager nested scroll issue

* feat(docs): update docs

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): nested scroll conflicts with pull refresh

* feat(docs, demo): update docs and demos

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>

* fix(android): update scrollview consumed value

* refactor(js): perf nestedScrollPriority demo & docs (#9)

* refactor(js): perf nestedScrollPriority demo & docs

* refactor(js): add nested scroll more pager item

Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-12-07 13:13:53 +00:00
zoomchan-cxj 7dfb0963b2 chore(docs): add homepage and README some docs 2022-11-25 20:53:21 +08:00
iPel 77abb9d93d feat(ios,android,vue): add load result param for webView's onLoadEnd api (#2667)
* 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(vue, doc): resolve pr problem

* feat(vue, doc): resolve pr problem

Co-authored-by: wwwcg <isarraypro@gmail.com>
2022-11-24 15:27:23 +08:00
zoomchan-cxj c0a933389f feat(vue): add whitespace handler config 2022-11-21 22:47:11 +08:00
Ray edc10205ff feat(android,ios,js): add getBoundingClientRect method (#2651)
* feat(android): add `getBoundingClientRect` api [WIP]

* feat(vue,react): add getBoundingClientRect api

* feat(android): add `getBoundingClientRect` api

* feat(ios): add getBoundingClientRect method

* docs(homepage): add getBoundingClientRect doc

* fix(demo): rm redundant file (#4)

* docs(homepage): add getBoundingClientRect doc

* fix(demo): rm redundant file

* fix(demo): rm redundant file

* refactor(vue-next-demo): rm unused code

* feat(android): add `getBoundingClientRect` api

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: siguangli <siguangli@qq.com>
2022-11-15 08:34:44 +00:00
zoomchan-cxj 8a80fa5476 feat(vue): support to merge styles on root element of child component 2022-11-03 16:11:36 +08:00
zoomchan-cxj 2f4cab9ce5 feat(vue): fix attribute selector & support deep selector 2022-10-25 16:20:51 +08:00
zoomchan-cxj 0f3341c29b fix(homepage): fix Bad HTML filtering regexp 2022-10-21 12:13:37 +08:00
zoomchan-cxj 9914d82ae5 refactor(demo): fix demo script not compatible 2022-10-20 15:39:16 +08:00