179 Commits

Author SHA1 Message Date
zealotchen 59cc3dc2db feat(web): fix image local path (#4095)
* feat(react): add animation stop

* feat(web): fix image local path

* feat(web): remove unused code
2024-10-29 17:44:47 +08:00
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 2bbdfab115 feat(react): add animation stop (#3998)
* feat(react): add animation stop

* feat(react): revert react verison
2024-08-20 11:57:28 +08:00
Tomdy Qin fadfc8ca9d fix(hippy-react): fix declaration for animation and scroll-view (#3510)
* fix(hippy-react): fix declaration for animation and scroll-view

* fix(hippy-react): fix declaration for web-view

* fix(hippy-react): fix ScrollViewEvent declaration
2023-11-16 17:14:29 +08:00
Tomdy Qin 50156d8c84 fix(hippy-react-web): HippyTypes.Style for web (#3468)
* fix(hippy-react): StyleObj derivation

* fix(hippy-react): fix GenericStyleProp

* fix(hippy-react): fix TextStyleIOS

* fix(hippy-react): fix declaration

* fix(hippy-react): TouchableProps add onTouchStart

* fix(hippy-react-web): HippyTypes.Style for web
2023-09-01 16:43:33 +08:00
zealotchen 8e78c02bad fix(js): remove virtual for animation (#3467) 2023-08-28 19:56:36 +08:00
Tomdy Qin 8ebadcfdaa feat(hippy-react): modal visible default true and optional props (#3446)
* fix(hippy-react): modal visible default true and optional props

* fix(hippy-react): repeatCount can be 'loop'

* fix(hippy-react): fix ts declaration

* fix(hippy-react): borderStyle can be none

* fix(hippy-react): flex can be number%

* fix(hippy-react-web): flex style declaration

* fix(hippy-react): remove unused virtual

---------

Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-08-28 16:27:43 +08:00
Tomdy Qin 593a11dfe3 feat(hippy-react): fix declaration and export it (#3414)
* feat(hippy-react): fix declaration and export it;

refactor list-view for extends

* feat(hippy-react): fix style declaration

* feat(hippy-react): add StyleSheet.flatten && fix style declaration

* feat(hippy-react): fix style declaration

* feat(hippy-react-web): fix text-input setStyle error

* feat(scripts): update copyright

* feat(scripts): update copyright force
2023-08-07 16:41:10 +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
zoomchan-cxj 1aa299757c feat(react,vue): show nodeId in debug mode 2023-04-28 08:15:28 +00:00
zoomchan-cxj 634a793c95 fix(react): listview initialListSize default value set to 15 2023-03-28 15:19:45 +08:00
zoomchan-cxj 2b2361e504 refactor(react): change console.reportUncaughtException to console.error 2023-03-16 16:53:27 +08:00
zoomchan-cxj d6ae8e86f9 feat(react): support fontWeight in number 2023-03-15 16:59:01 +08:00
zoomchan-cxj df558f7f89 docs(homepage): change scrollTo parameter docs 2023-03-15 16:28:23 +08:00
FE-xiaoJiang 3ca8dddede feat(andr): add prod remotedebug, local bundle instead of remote server(#2849)
refactor(andr): prod remotedebug feature optimized

fix(andr): prod remotedebug createDebugUrl fixed

fix(andr): prod remotedebug optimize

(cherry picked from commit 25cce417d76c8cc729e0be1c6909076e7cad79db)

fix(andr): vue add tagName for debug in prod

fix(andr): change variable mProdRemoteDebugMode to mPureDebugMode

refactor(andr): add enum DebugMode to manage different mode

fix(andr): optimize debugMode code

fix(andr): logical judgment instead of instance variables to optimize

fix(andr): fix No correct copyright header;

fix(hippy-vue): fix unit test tagName fail
2023-02-21 06:17:33 +00:00
zoomchan-cxj e1d486896d fix(react,vue): change measureInAppWindow error return value 2022-11-16 15:13:18 +08:00
zoomchan-cxj 16288f44f8 fix(react,vue): fix getBoundingClientRect errMsg syntax 2022-11-15 18:14:29 +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 0068cced43 perf(react): assign initialListSize if not undefined 2022-10-26 12:02:56 +08:00
zoomchan-cxj 03a36ef131 refactor(react): change HippyEvent name to EventBus 2022-10-12 21:41:40 +08:00
Lxy 2346eb8d93 feat(hippy-vue-next): support vue3.x (#2357)
* feat(hippy-vue-next): initialize hippy-vue-next package

* feat(hippy-vue-next): rollup build config

* feat(example): add vue-next demo

* docs(hippy-vue-next): update vue version

* feat(hippy-vue-next): update branch up to date with Tencent:master

* feat(hippy-vue-next): update comment

* feat(example): use @vue/runtime-core with package

* docs(hippy-vue-next): update comment

* fix(hippy-vue-next): fix demo debug problem

* feat(hippy-vue-next): modify import type of runtime in demo

* feat(hippy-vue-next): generate d.ts file

* fix(hippy-vue-next): fix android horizontal problem in demo-list

* feat(hippy-vue-next): modify eslint options to check demo's code

* feat(hippy-vue-next): add vue-next unit test

* feat(hippy-vue-next): fix & commit unit tests

* feat(hippy-vue-next): ignore api-extractor warnings

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update comment

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update docs

* chore(license): add license header

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): add once event demo

* refactor(hippy-vue-next): rename tool package

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update comment

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): modify regexp

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): modify regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): reset old package-lock

* feat(hippy-vue-next): update breakStrategy demo

* feat(hippy-vue-next): add utils unit test case

* feat(hippy-vue-next): add utils & element unit test case

* feat(hippy-vue-next): add event & element unit test case

* feat(hippy-vue-next): add native unit test case

* feat(hippy-vue-next): add built-in & patch unit test case

* feat(hippy-vue-next): add patch unit test case

* feat(hippy-vue-next): add style unit test case

* feat(hippy-vue-next): add style unit test case

* feat(hippy-vue-next): add style & util unit test case

* fix(hippy-vue-next): fix swiper & animation warn in debug mode

* feat(hippy-vue-next): use shallowRef to up perf for component reactive

* fix(hippy-vue-next): fix animation warn in debug mode

* feat(hippy-vue-next): upgrade debug package

* feat(hippy-vue-next): fix CR problem

* feat(hippy-vue-next): fix CR problem

* feat(hippy-vue-next): app start support both callback & promise

* feat(hippy-vue-next): fix turbo proxy value problem

* feat(hippy-vue-next): update docs

* feat(hippy-vue-next): fix animation demo problem

* feat(hippy-vue-next): modify register hippy method to compatible vue2

* feat(hippy-vue-next): update docs

* feat(hippy-vue-next): update vue3 docs

* feat(hippy-vue-next): add waterfall lose props

* fix(vue-next): fix lint issues and logic robust issues

* feat(hippy-vue-next): add event bus & unit test case

* feat(hippy-vue-next): add webpack vendor options

* feat(hippy-vue-next): add webpack vendor options

* feat(hippy-vue-next): remove unused demo method

* feat(hippy-vue-next): modify event bus to compatible vue2

* feat(hippy-vue-next): modify event bus to compatible vue2

* feat(hippy-vue-next): add event-bus unit test cases

* feat(hippy-vue-next): add build vendor directive

* feat(hippy-vue-next): remove demo redundant method & add silent option

* feat(hippy-vue-next): update debug doc

* feat(hippy-vue-next): add console output style

* feat(hippy-vue-next): add custom nativeapis and components demo

* docs(text): extend custom nativeapis and components docs

* feat(hippy-vue-next): remove auto generated declaration files

* feat(hippy-vue-next): update demo list & compatible vue3.2.39+ event

* feat(hippy-vue-next): support scoped & attribute selector & merge update

* feat(hippy-vue-next): support scoped & add unit tests

* feat(hippy-vue-next): update vue-next-demo same to vue-demo

* feat(hippy-vue-next): add unit tests

* feat(hippy-vue-next): use named export instead universal export

* feat(hippy-vue-next): update css-loader name to compatible vue-loader

* feat(hippy-vue-next): fix style matched issue

* refactor(vue-next): update docs & lock

* fix(npm,eslint): update npm package & fix lint

* feat(hippy-vue-next): add style unit tests

* feat(hippy-vue-next): fix eslint issue

* feat(hippy-vue-next): add android router inject logic & doc

* feat(hippy-vue-next): use hippy history to solve router inject logic

* feat(hippy-vue-next): update router history doc

* feat(hippy-vue-next): update router history doc

* feat(vue): add getElemCss scoped judgement

* refactor(vue-demo): remove stop

Co-authored-by: anqinli <anqinli@tencent.com>
Co-authored-by: birdguo <birdguo@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
Co-authored-by: birdguo <gguoyu@users.noreply.github.com>
2022-10-08 21:12:31 +08:00
zoomchan-cxj d0d16a54bc refactor(react,vue): fix lint issue & perf code 2022-09-03 00:17:46 +08:00
zoomchan-cxj fa9234ab1e refactor(react,vue): perf netInfo removeEventListener logic 2022-08-31 13:05:04 +08:00
zoomchan-cxj b03feb7e3f fix(hippy-react): support to emit multi parameters for HippyEvent 2022-08-31 13:05:04 +08:00
zoomchan-cxj 932df7c791 feat(hippy-react): add HippyEvent to listen global events 2022-08-30 20:18:51 +08:00
zoomchan-cxj efd1e06592 fix(hippy-react): remove NetInfo duplicated EventEmitter creating 2022-08-30 20:18:51 +08:00
zoomchan-cxj 88ba24d553 fix(hippy-react): add overflow scroll to fix listview unable to scroll 2022-08-26 15:55:22 +08:00
zoomchan-cxj 901840f11f fix(vue): fix regular expressions catastrophic backtracking 2022-08-22 12:13:17 +08:00
zoomchan-cxj e9133429a2 chore(version): change sdk publish information 2022-08-09 22:09:22 +08:00
zoomchan-cxj 768f96f683 feat(hippy-vue): support breakStrategy 2022-07-22 22:30:01 +08:00
zoomchan-cxj 3f37ac400b feat(hippy-react): support horizontal PullHeader & PullFooter 2022-07-21 21:06:03 +08:00
iPel b75ff2fe11 feat(core): add isFocused method for TextInput 2022-07-21 14:25:33 +08:00
zoomchan-cxj 4e57003cbd fix(npm): update lerna to fix vulernable npm package 2022-07-06 11:23:17 +08:00
zoomchan-cxj b1d243e15f fix(react): add ref null judgement for getElementFromFiberRef 2022-06-29 10:49:01 +08:00
zoomchan-cxj 31db7bbff7 ci(js): add node_modules cache 2022-06-16 12:01:58 +08:00
zoomchan-cxj 92765625c2 feat(react,vue): add collapsePullHeaderWithOptions api 2022-06-16 12:01:58 +08:00
zoomchan-cxj 3fbe8ab656 refactor(demo): perf react&vue demo 2022-06-13 16:17:13 +08:00
zoomchan-cxj 942b646daa feat(hippy-react): add callUIFunction debug log 2022-06-10 15:12:56 +08:00
zoomchan-cxj ae442f5820 Revert "refactor(js): remove package-lock.json"
This reverts commit 345d0a4621.
2022-05-26 03:35:41 -05:00
zoomchan-cxj 345d0a4621 refactor(js): remove package-lock.json 2022-05-25 11:58:29 -05:00
chestershen 0156f833ae feat(devtools): support react-devtools 2022-05-25 07:00:12 -05:00
zoomchan-cxj 0d09c3e9ab refactor(react): revert package-lock changes 2022-05-24 01:08:49 -05:00
LittleCo a4423451c6 fix(hippy-react-web): fix hippy-react-web some issues (#1850)
* fix(hippy-react-web): measureInWindow return & Image method

* refactor(hippy-react-web): rf image default source

* fix(hippy-react-web): fix null pointer reference

* fix(hippy-react-web): fix touches default value

* fix(hippy-react-web): rm lock mirrors

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-05-24 11:52:08 +08:00
zoomchan-cxj 8d6a67241d refactor(vue,react): refactor insertChild code 2022-05-18 19:39:12 +08:00
zoomchan-cxj 71cd90a99c feat(hippy-vue): merge vue updating attriute operation 2022-05-12 20:23:28 +08:00
zoomchan-cxj 2455e5bb9d feat(hippy-vue): support to remove event & merge alias event registered 2022-05-06 23:51:39 +08:00
zoomchan-cxj d5ace9e879 feat(react): change updateNode to batch operation & perf event binding 2022-05-04 22:09:36 +08:00
zoomchan-cxj dec154fbe4 feat(react,vue): add position absolute for modal default style 2022-04-06 23:50:27 +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