90 Commits
Author SHA1 Message Date
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
Tomdy QinandOpenHippy 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
corinli 19cf3c3bcd fix(hippy-react-web): fix multiple react in dev 2023-07-17 09:03:54 +00:00
tomdyqin 68727acaf3 fix(@hippy/react-web): fix Image repeatedly triggering onError 2023-07-17 09:00:07 +00:00
tomdyqin 015b0c18c3 feat(@hippy/react-web): remove font default style for Text 2023-06-15 13:35:54 +08:00
tomdyqin 7d20a9275d fix(@hippy/react-web): fixed style when numberofLines > 1 2023-04-04 07:34:21 +00:00
tomdyqin 15a497ffe2 fix(@hippy/react-web): fix text default value and ellipsis not work 2023-03-27 19:57:19 +08:00
tomdyqin fed34a495e feat(@hippy/react-web): add build config for the declaration 2023-03-27 19:57:19 +08:00
zoomchan-cxj 3a9e3a4276 chore(react-web): perf build script 2023-03-16 16:53:27 +08:00
corinli 6ac9887e57 feat(hippy-react-web): add cjs formatted output 2023-03-14 03:03:36 +00:00
+12 421daf2269 feat(webrenderer): merge webrenderer repo to hippy repo (#2609)
* feat(webrenderer): re init hippy-web-renderer

* test(test): change test logic

* style(eslint): fix lint warn

* refactor(copyright): add copyright info

* refactor(copyright): add copyright info

* revert(lockfile): revert package-lock.json

* refactor(conflict): fix type conflict

* feat(vue): support to merge styles on root element of child component

* refactor(ios): make project build with library

* fix(ios): need to callback when url loading error

* fix(android): fix setTextColor not working

* ci(workflows): add github actions for project calc code of lines

* refactor(webrenderer): version 0.0.4 publish

* ci(workflows): android build tests will run all build types

* fix(workflows): fix CodeQL languages detection bug on PR request

* ci(workflows): replaced obsolete workflow command

replaced obsolete workflow output command `set-output`
with `GITHUB_OUTPUT` environment file.

* fix(vue-css-loader): update loader-utils to safe version

* ci(workflows): CodeQL analyses will check all Android projects

* feat(workflows): add project code line exclude files support

* fix(workflow): fix CodeQL exception when default run

* fix(iOS): refresh header not rebound automatically

xxx

* fix(iOS): delete tmp log

* ci(workflows): add ios artifact release

* ci(workflow): add minimum V8 version test into android build tests

* feat(ci): implement iOS project artifact compare

* feat(workflows): iOS build tests add different configurations

* refactor(ios): use work space to manager projects

* refactor(ios): use work space to manager projects

* feat(workflows): remove unnecessary `Cocoapods` installation step

* feat(workflows): `XCode` project adaptation

* feat(core): adapt to different v8 versions

* refactor(ios): modify project configurations

rename scheme from 'hippy' to 'HippyLibrary',rename target name from 'hippy' to 'HippyLibrary'

keep static library product name unchanged

* feat(workflows): change `XCode` project scheme name

* fix(android): waterfall banner not affected by parent honrizon padding;

* 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>

* fix(react,vue): fix getBoundingClientRect errMsg syntax

* fix(ios): correct hittest when view has animation

* fix(ios): subviews of animated view cannot be clicked

* fix(android): edit `getBoundingClientRect` callback format

* fix(ios): edit `getBoundingClientRect` callback format

* fix(react,vue): change measureInAppWindow error return value

* fix(ios): need to extern as C if cpp is defined

* fix(workflows): fix backtrace parsing incorrect problem in crash report

* chore(deps): bump loader-utils in /packages/hippy-vue-css-loader

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(vue): add whitespace handler config

* fix(android): horizontal scroll view smoothScrollToPage crash

* feat(v8): heap limit increases considering the old generation capacity

* feat(core): add performance api for new x5 v8

* fix(v8): fix `V8` OOM crash when inspector enable the js debugger

* 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>

* perf(vue): ignore to append existed node to improve router performance

* refactor(vue-next): remove Date.now in trace log

* chore(docs): add homepage and README some docs

* refactor(ios): set xcode project compatility vertion to xcode 10.0

* feat(vue): add beforeRenderToNative hook to support computed style

* fix(android): fix JSI cause JNI local reference table overflow

* fix(core): fix the problem of multi-threading at startup time

* ci(workflows): adjust the labeling rules

* chore(ios): set cpp version to c++17

* feat(workflows): add auto-merge labeler in PR

* feat(workflows): change stale label name

* feat(workflows): change license check configuration file path

* ci(workflows): add js release workflow

* feat(workflows): add PR review notification

* ci(codeowner): change demo path

* fix(core): fix reload bug for inspector

* ci(workflows): fix js release issue

* 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>

* Revert "feat(android): add `nestedScrollPriority` for `ListView` and `ScrollView` (#2744)"

This reverts commit 2644658376.

* 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

* ci(workflows): setup node to npm registry

* fix(ios): animated image is not released when the view is removed

* feat(workflows): workflow add `squash-merge` action

* feat(workflows): use `Hippy Action Bot` as action executor

* ci(labeler): add new labels (#2762)

* ci(codeowner): change codeowner classificatioin (#2761)

* Revert "fix(ios): animated image is not released when the view is removed"

This reverts commit 6af195837d.

* fix(devtools): fix try catch exception when update context

* feat(workflows): optimizing pull request greeting message (#2765)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* fix(workflows): change workflows bot app key and id (#2768)

* fix(workflows): fix triage outputs incorrect problem in crash report (#2767)

* feat(workflows): integrate `squash-merge` and `rebase-merge` action (#2772)

* fix(workflows): change `pull_request_help_needed` label name

* fix(ios): avoid animated image multi thread operation crash

* fix(devtools): callback fail when debug ws disconnect

* feat(workflows): add pull request merge guard and update it's action

* refactor(workflows): refactor pull requests checks approval process

* ci(codeowner): change CODEOWNERS classification (#2799)

* fix(workflows): change mentioned user in the PR review notification (#2801)

* chore(commitlint): adjust rules for length of commit message check (#2807)

* feat(workflows): users cannot perform merge action on their own PRs (#2809)

* fix(workflows): update Github bot app key and id configuration (#2810)

* refactor(ios): perfect copyright notice (#2821)

* feat(vue-next): add beforeRenderToNative hook (#2775)

* 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>

* fix(ios): fix ConsoleModule.log not working (#2812)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* feat(core): dynamic loading support custom protocols (#2827)

* feat(core): allow all schemas to dynamic load (#2829)

* chore(deps): bump json5 and loader-utils (#2830)

Removes [json5](https://github.com/json5/json5). It's no longer used after updating ancestor dependency [loader-utils](https://github.com/webpack/loader-utils). These dependencies need to be updated together.

Updates `loader-utils` from 1.4.2 to 3.2.1
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.2...v3.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(bump): update loader-utils to 1.4.2

* feat(workflows): add regular requested reviewers notification

* chore(bump): update loader-utils to 2.0.4 to fix json5 issue (#2833)

* feat(workflows): PR review notification add mention user (#2834)

* feat(core): support android dimensions to extend customized parameters

* chore(example): rebuild examples to update code

* feat(ios): add method to create custom scrollview (#2839)

* fix(android): remove web url judge in fetchResourceWithUri (#2840)

* chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(android): text with negative letterSpacing wraps at wrong position (#2843)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* chore(codeowner): change settings.gradle codeowner

* feat(workflows): PR review notification filter draft PR (#2854)

* feat(workflows): add pull requests auto updater (#2855)

* feat(android): enable Safe ICF to optimize binary size (#2857)

* fix(core): add handle_scope for v8 exception (#2860)

* feat(workflows): only uses non-merge commits as valid commits (#2862)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* feat(workflows): add pull requests auto merger

* fix(workflows): fix rebase-merge label name

* feat(workflows): change review notification schedule

* fix(workflows): change auto_merger comment message

* fix(devtools): remove regular expression injection (#2865)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* fix(webrenderer): fix animation valid logic error

* style(lint): fix lint errors

* feat(workflows): add self-hosted runners monitor

* chore(deps): bump ua-parser-js in /packages/hippy-react-web

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(workflows): skip privilege escalation when conditions are met

skip privilege escalation when
invoked by a user with admin role
or contains only one normal commit.

* chore(codeowner): add C++ codeowner

* refactor(workflows): refactor CodeQL analyses script to save resources

* feat(workflows): use variables that only exist in pull requests event

* fix(workflows): fix the workflow exception caused by cancel status

* perf(workflows): use ubuntu replace macos in order to improve efficiency

* feat(workflows): optimize self-hosted runner alarm strategy

* revert(lockfile): revert package-lock.json

* refactor(ios): make project build with library

* ci(workflows): add github actions for project calc code of lines

* refactor(webrenderer): version 0.0.4 publish

* ci(workflows): android build tests will run all build types

* fix(workflows): fix CodeQL languages detection bug on PR request

* ci(workflows): replaced obsolete workflow command

replaced obsolete workflow output command `set-output`
with `GITHUB_OUTPUT` environment file.

* fix(vue-css-loader): update loader-utils to safe version

* ci(workflows): CodeQL analyses will check all Android projects

* feat(workflows): add project code line exclude files support

* fix(workflow): fix CodeQL exception when default run

* fix(iOS): refresh header not rebound automatically

xxx

* fix(iOS): delete tmp log

* ci(workflows): add ios artifact release

* ci(workflow): add minimum V8 version test into android build tests

* feat(ci): implement iOS project artifact compare

* feat(workflows): iOS build tests add different configurations

* refactor(ios): use work space to manager projects

* refactor(ios): use work space to manager projects

* feat(workflows): remove unnecessary `Cocoapods` installation step

* feat(workflows): `XCode` project adaptation

* refactor(ios): modify project configurations

rename scheme from 'hippy' to 'HippyLibrary',rename target name from 'hippy' to 'HippyLibrary'

keep static library product name unchanged

* feat(workflows): change `XCode` project scheme name

* 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>

* fix(react,vue): fix getBoundingClientRect errMsg syntax

* fix(ios): correct hittest when view has animation

* fix(ios): subviews of animated view cannot be clicked

* fix(android): edit `getBoundingClientRect` callback format

* fix(ios): edit `getBoundingClientRect` callback format

* fix(react,vue): change measureInAppWindow error return value

* fix(workflows): fix backtrace parsing incorrect problem in crash report

* chore(deps): bump loader-utils in /packages/hippy-vue-css-loader

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat(vue): add whitespace handler config

* feat(v8): heap limit increases considering the old generation capacity

* fix(v8): fix `V8` OOM crash when inspector enable the js debugger

* chore(docs): add homepage and README some docs

* refactor(ios): set xcode project compatility vertion to xcode 10.0

* feat(vue): add beforeRenderToNative hook to support computed style

* fix(core): fix the problem of multi-threading at startup time

* ci(workflows): adjust the labeling rules

* chore(ios): set cpp version to c++17

* feat(workflows): add auto-merge labeler in PR

* ci(workflows): add js release workflow

* feat(workflows): add PR review notification

* ci(codeowner): change demo path

* fix(core): fix reload bug for inspector

* ci(workflows): fix js release issue

* 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>

* Revert "feat(android): add `nestedScrollPriority` for `ListView` and `ScrollView` (#2744)"

This reverts commit 2644658376.

* 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

* ci(workflows): setup node to npm registry

* fix(ios): animated image is not released when the view is removed

* feat(workflows): workflow add `squash-merge` action

* feat(workflows): use `Hippy Action Bot` as action executor

* ci(labeler): add new labels (#2762)

* ci(codeowner): change codeowner classificatioin (#2761)

* Revert "fix(ios): animated image is not released when the view is removed"

This reverts commit 6af195837d.

* feat(workflows): optimizing pull request greeting message (#2765)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* fix(workflows): change workflows bot app key and id (#2768)

* fix(workflows): fix triage outputs incorrect problem in crash report (#2767)

* feat(workflows): integrate `squash-merge` and `rebase-merge` action (#2772)

* fix(workflows): change `pull_request_help_needed` label name

* fix(ios): avoid animated image multi thread operation crash

* feat(workflows): add pull request merge guard and update it's action

* refactor(workflows): refactor pull requests checks approval process

* ci(codeowner): change CODEOWNERS classification (#2799)

* fix(workflows): change mentioned user in the PR review notification (#2801)

* feat(workflows): users cannot perform merge action on their own PRs (#2809)

* fix(workflows): update Github bot app key and id configuration (#2810)

* refactor(ios): perfect copyright notice (#2821)

* feat(vue-next): add beforeRenderToNative hook (#2775)

* chore(deps): bump json5 and loader-utils (#2830)

Removes [json5](https://github.com/json5/json5). It's no longer used after updating ancestor dependency [loader-utils](https://github.com/webpack/loader-utils). These dependencies need to be updated together.

Updates `loader-utils` from 1.4.2 to 3.2.1
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.2...v3.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(bump): update loader-utils to 1.4.2

* feat(workflows): add regular requested reviewers notification

* chore(bump): update loader-utils to 2.0.4 to fix json5 issue (#2833)

* feat(workflows): PR review notification add mention user (#2834)

* chore(example): rebuild examples to update code

* chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(codeowner): change settings.gradle codeowner

* feat(workflows): PR review notification filter draft PR (#2854)

* fix(core): add handle_scope for v8 exception (#2860)

* feat(workflows): only uses non-merge commits as valid commits (#2862)

Co-authored-by: Zoom Chan <zoom_chan@163.com>

* feat(workflows): add pull requests auto merger

* fix(workflows): fix rebase-merge label name

* feat(workflows): change review notification schedule

* fix(workflows): change auto_merger comment message

* style(lint): fix lint errors

* feat(workflows): use classic PAT instead of Github App Token

* feat(workflows): add self-hosted runners monitor

* feat(workflows): skip privilege escalation when conditions are met

skip privilege escalation when
invoked by a user with admin role
or contains only one normal commit.

* chore(codeowner): add C++ codeowner

* refactor(workflows): refactor CodeQL analyses script to save resources

* feat(workflows): use variables that only exist in pull requests event

* fix(workflows): fix the workflow exception caused by cancel status

* perf(workflows): use ubuntu replace macos in order to improve efficiency

* feat(workflows): optimize self-hosted runner alarm strategy

* refactor(webrenderer): fix eslint warnings && add build

* chore(webrenderer): fix webrenderer build error

* chore(webrenderer): update build logic and pack.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: luomy <ozonelmy@163.com>
Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: superzheng <superzheng@tencent.com>
Co-authored-by: luoyibu <luoyibu@users.noreply.github.com>
Co-authored-by: pollyzhang <pollyzhang@tencent.com>
Co-authored-by: FE-xiaoJiang <3401384168@qq.com>
Co-authored-by: Ray <isarraypro@gmail.com>
Co-authored-by: siguangli <siguangli@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: chestershen <chestershen@tencent.com>
Co-authored-by: Super Zheng <medns@126.com>
Co-authored-by: HOHOHOTangoDown <iystina7@gmail.com>
Co-authored-by: eltonqin <eltonqin@tencent.com>
Co-authored-by: xpyue <xpyue@tencent.com>
Co-authored-by: xpyue <1055978080@qq.com>
Co-authored-by: ivanfanwu <ivanfanwu@tencent.com>
Co-authored-by: DMX <34561818+crazyming9528@users.noreply.github.com>
Co-authored-by: questguo <questguo@tencent.com>
Co-authored-by: churchill-zhang <long.dragon.zhang@gmail.com>
2023-02-03 14:30:25 +08:00
dependabot[bot] 5e4c98b9b6 chore(deps): bump ua-parser-js in /packages/hippy-react-web
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:43:39 +08:00
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
little 8f2750932c chore(hippy-react-web): output es5 code 2022-09-07 19:49:21 +08:00
zoomchan-cxj d0d16a54bc refactor(react,vue): fix lint issue & perf code 2022-09-03 00:17:46 +08:00
zoomchan-cxj e9133429a2 chore(version): change sdk publish information 2022-08-09 22:09:22 +08:00
corinli 68514aa18e fix(hippy-react-web): fix error handler 2022-07-11 14:22:32 +08:00
corinli f3bc54d613 fix(hippy-react-web): add unhandleRejection event handler 2022-07-11 14:22:32 +08:00
corinli 842b1448c3 fix(hippy-react-web): fix img onClick envet does not emit 2022-07-11 14:22:32 +08:00
corinli e68bf95939 fix(hippy-react-web): fix borwser does not support addRule 2022-07-11 14:22:32 +08:00
zoomchan-cxj 4e57003cbd fix(npm): update lerna to fix vulernable npm package 2022-07-06 11:23:17 +08:00
LittleCoandZoom Chan 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
LittleCoandZoom Chan 4213c32e3a feat(hippy-react-web): fix web style issues (#2087)
* feat(hippy-react-web): fix web style issues

* feat(hippy-react-web): fix code magic number

* feat(hippy-react-web): fix pull header refresh distance

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

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-06-23 11:47:34 +08:00
LittleCoandZoom Chan e63436f0a0 feat(hippy-react-web): support tree-sharking & fix issues (#2069)
* feat(hippy-react-web): support tree-sharking & fix issues

* feat(hippy-react-web): use en comment

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-06-21 20:09:33 +08:00
zoomchan-cxj 702c61c9dc refactor(package-lock): change registry in lock 2022-05-30 01:04:34 -05: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
zoomchan-cxj 754d78b601 fix(hippy-react-web): change rmc-list-view to hippy domain
some npm dependencies of rmc-list-view have vulnerable risk
2022-05-24 05:26:12 -05:00
zoomchan-cxj 0d09c3e9ab refactor(react): revert package-lock changes 2022-05-24 01:08:49 -05:00
LittleCoandZoom Chan 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 294dc6ee16 refactor(hippy-react-web): fix some lint problems 2022-04-18 16:38:48 +08:00
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 ebaec0d810 refactor(ts): fixed some ts issues 2022-01-23 12:29:02 +08:00
zoomchan-cxj 9e7fb7019b build(js): change ts syntax & rollup babel config 2022-01-14 18:55:02 +08:00
zoomchan-cxj e884802767 refactor(hippy-react): fix ts member-accessibility 2022-01-14 02:01:36 +08:00
zoomchan-cxj e7ecb6d23a fix(js): update ts version and ts declaration issues 2022-01-13 23:36:06 +08:00
zoomchan-cxj 98b167046f feat(react,vue): add caret color parser 2021-12-10 04:12:24 -06:00
zoomchan-cxj 7d439133af refactor(hippy-react): perf react update logic 2021-12-09 02:59:32 -06:00
zoomchan-cxj 82e4a44caa refactor(licence): add licence to each js file 2021-11-25 11:31:35 -06:00
shayxu fa6fd48db9 fix(hippy-react-web): event.path is not supported for safari 2021-11-21 18:42:50 +08:00
zoomchan-cxj c879e4beca chore(lockfile): update npm lockfile 2021-11-01 18:21:03 +08:00
derekazhang f721994fd2 feat(vue): jsi 2021-11-01 11:25:40 +08:00
Alan ZhangandZoom Chan ee210f3cd1 feat(animation): animation cubic-bezier timingFunction (#785)
Co-authored-by: Zoom Chan <shermanchen@tencent.com>
2021-08-29 22:58:00 +08:00
zoomchan-cxj b70744d74d refactor(import): perf order of imported modules👏 2021-08-19 16:27:22 +08:00
bluepink 3500234844 fix(hippy-react-web): correct lineHeight style values (#901)
* fix(hippy-react-web): correct lineHeight style values

* chore(hippy-react-web): change lineHeight comment
2021-08-04 13:28:56 +08:00
zoomchan-cxj 0744032a92 chore(lint): add commitlint & eslint check before commit 2021-07-28 00:54:11 +08:00
zoomchan-cxj 32011e859a chore(docs): perf documents 2021-07-07 12:56:35 +08:00
zoomchan-cxj 8ed5e22ada feat(hippy-react-web): update swiper 2021-06-18 18:01:53 +08:00
zoomchan-cxj d79df6417a chore(hippy-react-web): update ua-parser-js ver 2021-05-07 02:57:39 -05:00