Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for various border radius in hover effect #75

Closed

Conversation

gokul1099
Copy link

Summary:

This PR adapts hoverStyle API to properly use variable corner radius for each corner of the view. This is continuation of #66.
this PR fixes #69

Changelog:

[VISIONS] - added support for various border radius in hover effect

Test Plan:

  1. Experiment with various border radius for each corner

okwasniewski and others added 30 commits January 19, 2024 11:57
fix: address issues with scale, ScrollView prop

feat: move min_visionos_version_supported to Helpers

feat: implement `visionos_hoverStyle` prop

chore: update README.MD

fix: refactor visionos_hoverStyle to take a string and new arch support

docs: add link to rn-tester's README.md (callstack#5)

chore: change VisionOS to visionOS (callstack#13)

chore: use `min_supported_versions` for third-party-podspecs (callstack#18)

chore: remove not necessary ifs TARGET_OS_VISION, minimise code diff (callstack#22)

feat: add visionos support
* fix: remove keyboard listerners and mark as unsupported

* chore: replace warn with warnOnce
* [WIP] feat: make hermes build for visionOS

* feat: point to callstack/hermes-visionos fork, update README

* fix: remove USE_HERMES from project.pbxproj
* feat: add visionOS as separate target to fix iOS tests

* fix: disable multiple windows support

* feat: add visionOS App Icon

* fix: creating Release build
* chore: disable some of upstream pipelines

* tests: update snapshot for visionOS

* chore: disable more jobs, fix isVisionOS

* fix: Keyboard.js, adjust pipeline_selection.js

* feat: run iOS tests every night
* Update README.md

* fix: update README link

* feat: add caution section

* fix: bring back info about Hermes
* Add platform guidelines to README

* fix: link to docs
…stack#35)

* rename react-native package to @callstack/react-native-visionos

* fix typo

* Make JS and TS tests independent of react-native package name

* change name in template

* replace more refs in e2e tests

* revert tests changes

* disable js e2e tests for visionos

* bring back react-native for other platforms compat

* ci: run js, no e2e js
…allstack#32)

* rename react-native package to @callstack/react-native-visionos

* wip: metro setup for other platform

* fix(flow): add .ios.visionos as support platform

* fix some flow errors

* fix flow

* revert Platform.select change

* revert KeyboardAvoidingView change

* fix type

* change kBundlePath to ios.visionos

* fix: remove redundant isVisionOS

* use custom resolver options to read platform for OOT

* fix types

* remove formatting

* add/remove platform checks

* document variant behavior

* use visionOS Keyboard mock

* use visionOS KeyboardAvoidingView mock

* use visionOS InputAccessoryView mock

* test: add test for metroPlatformResolver

* move implementation to user space

* create out-of-tree-platforms package and bring back resolver options

* revert flow changes

* revert sourceExts changes

* update links

* add comments

* fix visionos typo

* adjust lockfile

* revert loadMetroConfig change

* remove podfile lock

* revert scripts changes
* feat: implement OOT release script

* docs: add readme on Release process

* fix: remove header file

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* add reference

---------

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
* feat: setup @callstack/out-of-tree-platforms to build properly

* feat: add build packages step to `oot-release.js` script

* chore: format package.json
* Update CLI to v12.1.1

# Conflicts:
#	packages/community-cli-plugin/package.json
#	packages/react-native/cli.js
#	packages/react-native/package.json

* feat: implement visionos react-native template

* feat: modify template look

* feat: add `@callstack/out-of-tree-platforms` to metro config

* fix: metro config

* feat: update supported platforms

---------

Co-authored-by: szymonrybczak <szymon.rybczak@gmail.com>
* task(StatusBar component): show warn when using StatusBar

* pr suggestions
* fix: remove unnecessary libevent.podspec

* fix: make OCMock build for visionOS
feat: use Xcode beta globally

feat: use callstack/hermes-visionos fork

feat: test Hermes

feat: reset cache keys

fix: use callstack/hermes

fix: use correct hermes source tarball

fix: use never xcode version

test only JSC

fix: change Xcode version

fix: use m1 executor

feat: add cocoapods cache

fix: remove hermes from cache keys

fix: rbenv reset cache

test: use 15.2
@okwasniewski
Copy link
Member

Thanks for opening the PR! I'm sorry that this happened once again with the rebase messing up your git history 😅 Can you open a new one / also rebase it?

@gokul1099
Copy link
Author

Thanks for opening the PR! I'm sorry that this happened once again with the rebase messing up your git history 😅 Can you open a new one / also rebase it?

😅sure will rebase it and open a new one

@gokul1099
Copy link
Author

gokul1099 commented Jan 23, 2024

Will raise a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hover style API: variable border radius
7 participants