69 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
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
wwwcg 17ffbf7666 feat(ios): add onKeyboardWillHide callback for iOS 2023-03-17 11:00:19 +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
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
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
jiangxuefeng ae45ea8df6 feat(android): update docs and demo for android waterfall banner render; (#2412)
perf(android): no need to add a method findView in RenderNode class;

fix(android): android waterfall support banner render;
2022-10-11 10:36:31 +08:00
iPel 596045b2d7 fix(docs, android): expandPullHeader method for ListView (#2494)
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-09-22 10:23:21 +00:00
iPel bbf48d9963 docs(text): correct breakStrategy typos 2022-08-30 20:26:54 +08:00
zoomchan-cxj cfe4157494 feat(vue): support ScrollView & ListView scroll related event params 2022-08-24 01:04:03 +08:00
PBA 82e8954c52 docs(web-renderer): add instructions for hippy-react and hippy-vue (#2353)
* docs(web-renderer): add instructions for hippy-react and hippy-vue

* docs(web-renderer): add instructions for hippy-react and hippy-vue

Co-authored-by: Mohannnnn <1063022109@qq.com>
2022-08-10 11:36:45 +08:00
zoomchan-cxj 0be905a138 docs(homepage): change docs structure 2022-08-05 18:27:11 +08:00
iPel 47e600af3a feat(android): add breakStrategy prop for Text and TextInput (#2285)
* feat(android): add `textBreakStrategy` prop for `Text` and `TextInput`

* feat(android): update demo

* feat(android): update demo

* feat(android): update prop name

* feat(vue): update keb style

* feat(core): resolve pr issues

* feat(core): resolve pr issues

* feat(core): resolve pr issues
2022-07-26 13:05:00 +08:00
zoomchan-cxj 3f37ac400b feat(hippy-react): support horizontal PullHeader & PullFooter 2022-07-21 21:06:03 +08:00
iPel e18e73c45a feat(core): update docs 2022-07-21 14:25:33 +08:00
iPel 826bf05c09 feat(core): update docs and demo 2022-07-21 14:25:33 +08:00
iPel b75ff2fe11 feat(core): add isFocused method for TextInput 2022-07-21 14:25:33 +08:00
zoomchan-cxj 5d272d3b2b docs(homepage): update web docs 2022-07-20 17:58:53 +08:00
zoomchan-cxj d6a662023f refactor(demo): change ellipsizeMode demo 2022-07-15 00:45:45 +08:00
iPel 592a4171ac feat(android): add ellipsizeMode prop support for Text componment (#2221)
* feat(Android): Text Componment handle numberOfLines and ellipsizeMode

* feat(Android): Text Componment handle numberOfLines and ellipsizeMode

update docs

* feat(Android): Text Componment handle numberOfLines and ellipsizeMode

- update docs
- fix image span range

* feat(Android): Text Componment handle numberOfLines and ellipsizeMode

- update docs
- fix image span range

* feat(Android): Text Componment handle numberOfLines and ellipsizeMode

- update vue demo

Co-authored-by: siguangli <siguangli@qq.com>
2022-07-14 20:54:26 +08:00
LittleCo 54c03f35bd fix(hippy-react-web): support react-web ListView renderPullFooter (#2166)
* feat(hippy-react-web): support onFooterPulling

* feat(hippy-react-web): reset cookie & support collapse option

* feat(hippy-react-web): doc update & rm unused code

* feat(hippy-react-demo): use latest @hippy/rmc dep

* feat(hippy-react-demo): use latest @hippy/rmc dep

* feat(hippy-react-web): fix pulling footer offset

* feat(hippy-react-web): update cookieModule

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-07-05 21:24:25 +08:00
zoomchan-cxj 89c1417772 docs(react,vue): add renderPullFooter & collpase options docs 2022-06-20 11:13:31 +08:00
zoomchan-cxj 4c502722ae docs(readme&homepage): change some doc expression 2022-05-30 01:04:34 -05:00
ozonelmy 0d9293290a chore(docs): add keyboardheightchanged event for ios 2022-05-23 01:37:58 -05:00
LittleCo a41d671365 feat(hippy-react-web): perfect hippy-react-web components (#1427)
* feat(hippy-react-web): supports hippy-react components

* feat(hippy-react-web): fix cr issues

* feat(hippy-react-web): add boxShadow

* feat(hippy-react-web): add textShadow

* feat(hippy-react-web): update ScrollView & demo Slider

* feat(hippy-react-web): fix tabHost scroll

* feat(hippy-react-web): add Localization

* feat(hippy-react-web): NetInfo & websocket

* feat(hippy-react-web): networkModule

* feat(hippy-react-web): fix pullHeader

* feat(hippy-react-web): add refreshWrapper

* feat(hippy-react-web): fix useLayout

* feat(hippy-react-web): add AsyncStorage

* feat(hippy-react-web): color transform

* feat(hippy-react-web): fix device.screen in safari

* feat(hippy-react-web): rm pullHeader getPullHeaderHeight prop

* feat(hippy-react-web): rm pullHeader getPullHeaderHeight prop

* feat(hippy-react-web): local image

* feat(hippy-react-web): code improve & add Modal animation

* feat(hippy-react-web): support modal animated

* feat(hippy-react-web): refactor viewpager

* feat(hippy-react-web): add warn when use unsupported prop

* feat(hippy-react-web): add asyncStorage methods

* feat(hippy-react-web): add ImageLoaderModule

* feat(hippy-react-web): add Image getSize prefetch

* feat(hippy-react-web): PixelRatio & docs

* feat(hippy-react-web): callNative add init function

* docs(video): change to gif

* docs(debug): perf debug steps introduction

* fix(core): fix log delegate crash

* refactor(core): refactor log delegate and remove lock for log

* feat(hippy-react-web): rm demo code & add RippleViewAndroid export

* feat(hippy-react-web): update components docs

* feat(hippy-react-web): add license header

* feat(hippy-react-web): update hippy-react docs

* feat(hippy-react-web): rm list-view prop

* feat(hippy-react-web): tranform linear-gradient

* feat(hippy-react-web): add view unsupported method  warning

* feat(ios): localstorage can handle error

* fix(ios): fix value fetch error

* fix(hippy-react-web): fix cr issues

* chore(hippy-react-web): rm unused console

* docs(hippy-vue-web): update react-web components

* chore(hippy-react-web): fix listview & modal issues

* chore(hippy-react-web): rm unused console

* refactor(hippy-react-web): refactor Image

* fix(hippy-react-web): fix image resizeMode

* fix(hippy-react-web): fix rippleViewAndroid error

* docs(hippy-react-web): add hippy-react-web module info

* refactor(hippy-react-web): rename prop to props

* fix(hippy-react-web): onAppear observeer

* feat(hippy-react-web): publish react-web@14.0-beta.1

* feat(hippy-react-web): fix uiM issues & fix typo

* chore(hippy-react-demo): support web dev hot reload

* chore(hippy-react-web): add source-map

* chore(hippy-react-web): rm ts hotreload

* chore(ios): recover ios localStorage

Co-authored-by: corinli <corinli@tencent.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: pollyzhang <pollyzhang@tencent.com>
Co-authored-by: mengyanluo <mengyanluo@tencent.com>
2022-04-17 21:33:54 +08:00
zoomchan-cxj 4662d588a0 chore(exmaple): perf example style 2022-03-31 15:44:03 +08:00
zoomchan-cxj e2b454d1df docs(platform): change supported platform expression 2022-03-29 20:44:58 +08:00
zoomchan-cxj 5d1fa8a84a docs(react,vue): update docs 2022-03-28 17:29:03 +08:00
zoomchan-cxj 906466ba8c refactor(example,doc): fix compatible issue 2022-03-27 21:42:40 +08:00
zoomchan-cxj 5b7c50c3a6 fix(react,vue): add TextInput color parser 2022-03-21 20:45:39 +08:00
zoomchan-cxj db19a1acc2 docs(textinput): perf numberOfLines introduction 2022-03-17 00:36:44 +08:00
zoomchan-cxj 41d30c475e chore(docs): add structure info 2022-03-01 15:52:46 +08:00
zoomchan-cxj 45bcbd4bb0 refactor(ripple): perf demo & document 2022-02-28 00:29:53 +08:00
zoomchan-cxj 72e2724b92 docs(ripple): change ripple doc 2022-02-22 20:12:32 +08:00
jiangxuefeng 3ddde03e41 feat(android): view adds touch ripple feature (#989)
* feat(android): add support to hippy-vue

feat(android): add water ripple feature to View

feat(docs): add water ripple fusage docs

feat(android): view add water ripple feature

* fix(android): ripple feature improve version control

* fix(android): problem that ripple be covered by backgroundImage fixed

* fix(android): enhence setBackground version judgement for ripple

* fix(android): optimize for ripple, avoid being covered

* fix(android): fix demo and docs for ripple

* fix(android): optimize color parse for ripple & add ripple doc for vue

* fix(android): optimize & add ripple test for hippy-vue

Co-authored-by: Zoom Chan <shermanchen@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-02-18 17:20:02 +08:00
zoomchan-cxj be308436aa chore(npm): update vulerable package version 2022-02-16 16:41:29 +08:00
zoomchan-cxj e7ecb6d23a fix(js): update ts version and ts declaration issues 2022-01-13 23:36:06 +08:00
zoomchan-cxj b858f475c7 chore(cdn): change cdn path to opensource 2022-01-10 17:11:23 +08:00
zoomchan-cxj a284d16275 chore(doc,ts): change some docs introduction and ts syntax 2021-12-15 23:46:14 -06:00
zoomchan-cxj 17fa1ec367 docs(homepage): add docs 2021-12-15 05:26:05 -06:00
zoomchan-cxj 7dd85cc3cf chore(docs): add webview introduction 2021-10-08 18:29:34 +08:00
zoomchan-cxj b17bf8bce9 chore(doc): refactor docs 2021-09-28 23:59:29 +08:00
zoomchan-cxj a4ba4502e5 fix(css-loader): collapsable transfer to boolean 2021-09-18 10:33:48 +08:00
Zoom Chan 41c96226a8 feat(react,vue,ios,android): add waterfall component for hippy (#933)
* feat: add waterfall component for hippy

* feat(android): make WaterfallView extends HippyListView

* feat(android): support 'animated' for scrollToXXX

* feat(vue): demo add scrollToXXX

* feat(android): add onScroll event params

* feat(ios):fix scrollToIndex bug

* feat(android): fix scrollToIndex with anim

* feat(vue): perf vue waterfall component&demo

* feat(react): add waterfall component

* feat(react): add waterfall component

* refactor(core): build example

* fix(android): water fall view reuse error

* feat(android): change the onEndReached event send time

* feat(android): change the water fall view padding logic

* feat(android): change the water fall view padding logic

* feat(react): add react waterfall document

* feat(ios): improve waterfall item reuse proxy (#1)

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

* feat(ios): fix bug that HippyWaterfallView's bridge isn't assigned

* docs(waterfall): add waterfall doc

* docs(waterfall): add waterfall doc

* chore(build): build react example

Co-authored-by: JerryChu <528994690@qq.com>
Co-authored-by: genesisli <genesisli@tencent.com>
Co-authored-by: derekazhang(张爱民) <derekazhang@tencent.com>
Co-authored-by: xilinzheng <xilinzheng@tencent.com>
Co-authored-by: hengyangji <hengyangji@tencent.com>
Co-authored-by: sweetPotatoZheng <72075059+sweetPotatoZheng@users.noreply.github.com>
2021-08-18 18:55:34 +08:00
Box Tsang 37795d3cec feat(ios): enable swipe to delete in UITableView (#935)
* feat(ios): enable swipe to delete in UITableView

* docs(hippy-react): fix conflicts

* feat(vue): support swipe to delete

* docs(vue): typo fix

* docs(vue): markdownlint fint

* docs(listview): add min support ver

* feat(listview): add demo case

* feat(reactdemo): add a line

* revert(vuedemo): del yarn.lock

* revert(reactdemo): del yarn.lock

* feat(reactdemo): eslint fix

* docs(react): change function type

* feat(reactdemo): trigger build
2021-08-17 17:37:29 +08:00