148 Commits
Author SHA1 Message Date
979faf79e5 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-21 14:42:58 +08:00
zoomchan-cxj 68f9c02829 feat(react,vue): show nodeId in debug mode 2023-05-25 21:12:22 +08:00
zoomchan-cxj 064e63639f fix(react): listview initialListSize default value set to 15 2023-04-04 00:05:55 +08:00
zoomchan-cxj 78fa1191ba refactor(react): change console.reportUncaughtException to console.error 2023-03-16 17:33:48 +08:00
zoomchan-cxj aaa5d4c62e feat(react): support fontWeight in number 2023-03-16 17:32:39 +08:00
zoomchan-cxj 1f8b48c900 docs(homepage): change scrollTo parameter docs 2023-03-16 17:32:39 +08:00
FE-xiaoJiang 70fbde4d5a 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-03-16 17:27:25 +08:00
zoomchan-cxj 2a96aaf43c fix(react,vue): change measureInAppWindow error return value 2022-11-25 14:19:07 +08:00
zoomchan-cxj 8348fef6fd fix(react,vue): fix getBoundingClientRect errMsg syntax 2022-11-25 14:19:07 +08:00
92ab25bb2f 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-25 14:19:03 +08:00
zoomchan-cxj 8634501c6d perf(react): assign initialListSize if not undefined 2022-10-26 14:30:30 +08:00
zoomchan-cxj eec33c2a14 refactor(react): change HippyEvent name to EventBus 2022-10-12 21:48:20 +08:00
0445c4ec41 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-11 14:24:18 +08:00
zoomchan-cxj 0b84e88ccb fix(hippy-react): support to emit multi parameters for HippyEvent 2022-10-11 14:19:22 +08:00
zoomchan-cxj 93a291ae57 feat(hippy-react): add HippyEvent to listen global events 2022-10-11 14:17:10 +08:00
zoomchan-cxj 2a1aaf42f6 refactor(react,vue): fix lint issue & perf code 2022-09-07 20:42:55 +08:00
zoomchan-cxj c50d3d06b8 refactor(react,vue): perf netInfo removeEventListener logic 2022-09-07 17:18:18 +08:00
zoomchan-cxj 8591c9fbe1 fix(hippy-react): remove NetInfo duplicated EventEmitter creating 2022-09-07 17:15:23 +08:00
zoomchan-cxj 96c670a8f0 fix(hippy-react): add overflow scroll to fix listview unable to scroll 2022-08-26 16:11:09 +08:00
zoomchan-cxj 510a587cd6 fix(vue): fix regular expressions catastrophic backtracking 2022-08-23 16:43:11 +08:00
zoomchan-cxj d5309c20c3 feat(hippy-vue): support breakStrategy 2022-08-01 16:47:50 +08:00
zoomchan-cxj f9541f2e3e feat(hippy-react): support horizontal PullHeader & PullFooter 2022-07-25 13:16:58 +08:00
iPel c84a5662e1 feat(core): add isFocused method for TextInput 2022-07-25 13:16:58 +08:00
zoomchan-cxj eb55f3e439 fix(react): add ref null judgement for getElementFromFiberRef 2022-07-25 13:12:25 +08:00
zoomchan-cxj e21c92268a ci(js): add node_modules cache 2022-06-21 21:44:47 +08:00
zoomchan-cxj af0129a57a feat(react,vue): add collapsePullHeaderWithOptions api 2022-06-21 21:44:47 +08:00
zoomchan-cxj 32ac1c76a8 refactor(demo): perf react&vue demo 2022-06-21 21:44:47 +08:00
zoomchan-cxj 5944182dc6 feat(hippy-react): add callUIFunction debug log 2022-06-21 21:44:43 +08:00
chestershen 5a7bdf7667 feat(devtools): support react-devtools 2022-05-28 00:21:59 +08:00
zoomchan-cxj 2943a35a32 refactor(react): revert package-lock changes 2022-05-28 00:09:47 +08:00
LittleCoandZoom Chan 43b785b46b 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-27 23:57:08 +08:00
zoomchan-cxj ac36f8f877 feat(hippy-vue): merge vue updating attriute operation 2022-05-27 23:52:03 +08:00
zoomchan-cxj b34d7efdce feat(hippy-vue): support to remove event & merge alias event registered 2022-05-27 23:45:55 +08:00
zoomchan-cxj fdae46aed8 feat(react): change updateNode to batch operation & perf event binding 2022-05-27 23:43:30 +08:00
zoomchan-cxj 645b007079 refactor(vue,react): refactor insertChild code 2022-05-25 22:29:12 +08:00
zoomchan-cxj 7bbed5684e feat(react,vue): add position absolute for modal default style 2022-04-27 11:22:59 +08:00
zoomchan-cxj 487c1f36f0 docs(react,vue): update docs 2022-03-29 10:46:24 +08:00
zoomchan-cxj 041fe1d56a refactor(example,doc): fix compatible issue 2022-03-29 10:46:19 +08:00
zoomchan-cxj f9f0e2b963 fix(react,vue): add TextInput color parser 2022-03-29 10:45:03 +08:00
zoomchan-cxj 403028d108 refactor(hippy-react): change pull-footer default props syntax 2022-03-08 23:56:06 +08:00
zoomchan-cxj 135e83efbd refactor(ripple): perf demo & document 2022-02-28 00:34:41 +08:00
5518ffb68a 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-25 18:47:12 +08:00
zoomchan-cxj e59c1a783a refactor(ts): fixed some ts issues 2022-02-09 10:27:38 +08:00
zoomchan-cxj 981b5f8542 build(js): change ts syntax & rollup babel config 2022-02-09 10:26:23 +08:00
zoomchan-cxj fcf67e34e7 refactor(hippy-react): fix ts member-accessibility 2022-02-09 10:26:07 +08:00
zoomchan-cxj 5bce8e9ded feat(react,vue): perf startBatch 2022-02-09 10:26:07 +08:00
zoomchan-cxj 58955b6c39 chore(npm): update npm packages 2022-02-09 10:26:04 +08:00
zoomchan-cxj 2df21c55ae fix(js): update ts version and ts declaration issues 2022-02-09 10:25:40 +08:00
zoomchan-cxj e3926d9582 fix(hippy-react): fixed network-info wrong stored listener 2022-01-25 11:50:42 +08:00
zoomchan-cxj c3a87c6fb5 refactor(hippy-react): refactor event code 2022-01-05 01:03:24 +08:00